Skip to content

Commit c079ff2

Browse files
authored
follow up #788, improve docs (#791)
Installing the non-devel packages only works just fine for me. I also deleted rccl from the list since AFAIK, we don't support it atm (ref #651). It can always be added back once we can make use of it.
1 parent b380c1d commit c079ff2

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

docs/src/index.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff 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

docs/src/install_tips.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff 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

2727
If 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()`
3229
function prints the paths of any libraries found.
3330

3431
Depending on your GPU model and the functionality you want to use, you may have

0 commit comments

Comments
 (0)