Skip to content

A collection of Arch Linux PKGBUILDS for the ROCm platform with patches for Polaris/GFX803

Notifications You must be signed in to change notification settings

CosmicFusion/rocm-polaris-arch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

ROCm Polaris/GFX803 for Arch Linux

This repository hosts a collection of Arch Linux PKGBUILDs for the AMD ROCm Platform. With Patched libraries for Polaris/GFX803 .

Installation

The Arch Linux packages for ROCm Polaris are available on the AUR. Since many packages will be installed, it is recommended to use an AUR helper like paru.

Currently Only 2 Packages need patching to work with Polaris/GFX803 , which are the rocm-opencl-runtime and rocblas .

And the rocm-arch repository already patched rocm-opencl-runtime , leaving rocblas un-patched which means you will have to get it from here :

You have 2 options :

Option 1 :

the "bin" package re-packaged from Xuhuisheng ROCm repo . Which can be installed from the AUR , by using this command

paru -S rocblas-polaris-bin

Option 2 (Not tested) :

the source package . Which can be installed from the AUR , by using this command

paru -S rocblas-polaris

Recommendations for building from source , or using the source AUR Package

ROCm stack comprises around 50 packages including a fork of LLVM. Therefore, building all packages from source can take a long time and can use a lot of RAM. If you are experiencing the latter when building rocm-llvm set the number of threads for its compilation via the environment variable NINJAFLAGS,

export NINJAFLAGS="-jXX"

where XX is the number of threads you would like to use.

To speed up compilation of application libraries like rocblas or rocfft export AMDGPU_TARGETS and set it to the architecture name of your GPU. To find out this name, install rocminfo,

paru -S rocminfo

and call

rocminfo | grep gfx

for VEGA 56/64 the output is

  Name:                    gfx900
        Name:                    amdgcn-amd-amdhsa--gfx900:xnack-

Hence, you have to set AMDGPU_TARGETS to gfx900,

export AMDGPU_TARGETS="gfx900"

For additional installation configuration, such as adding a user to the video group, we refer to AMD's installation guide.

About

A collection of Arch Linux PKGBUILDS for the ROCm platform with patches for Polaris/GFX803

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages