File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed
Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,7 @@ Pkg.add("AMDGPU")
5252 Although not included in the AMD's list of supported Linux distributions,
5353 Fedora provides its own ROCM packages.
5454 ```
55- sudo dnf install rocminfo rccl-devel rocblas-devel rocfft-devel rocsparse-devel rocsolver-devel rocrand-devel roctracer-devel miopen-devel rocm-hip-devel
56- ```
57- However, the libraries are not installed in the usual location (under
58- ` /opt/rocm ` ) so for ` AMDGPU ` to find them you must set an environment variable.
59- ```
60- export ROCM_PATH=/usr/lib64
55+ sudo dnf install rocminfo rocblas rocfft rocsparse rocsolver rocrand roctracer miopen rocm-hip-devel
6156 ```
6257
6358## Test
Original file line number Diff line number Diff line change @@ -17,18 +17,15 @@ To avoid this, use 'unsafe' conversion option:
1717
1818## ROCm system libraries
1919
20- AMDGPU.jl looks into standard directories
21- and uses ` Libdl.find_library ` to find ROCm libraries.
20+ On Linux, AMDGPU.jl queries the location of ROCm libraries through ` rocminfo ` by default.
21+ If not successful or on Windows, the following standard directories are searched:
2222
23- Standard path :
24- - Linux: ` /opt/rocm `
23+ Standard paths :
24+ - Linux: ` /opt/rocm ` , ` /usr `
2525- Windows: ` C:/Program Files/AMD/ROCm/<rocm-version> `
2626
2727If you have non-standard path for ROCm, set ` ROCM_PATH=<path> `
28- environment variable before launching Julia. For example, if ROCm is installed
29- in your Linux system root (e.g. on Fedora), set ` ROCM_PATH=/usr/lib64/rocm/gfx11 ` or
30- ` ROCM_PATH=/usr/lib64/rocm/gfx1103 ` , depending on your GPU's architecture. You
31- can query the architecture using the ` amdgpu-arch ` command. The ` AMDGPU.versioninfo() `
28+ environment variable before launching Julia. The ` AMDGPU.versioninfo() `
3229function prints the paths of any libraries found.
3330
3431Depending on your GPU model and the functionality you want to use, you may have
You can’t perform that action at this time.
0 commit comments