Skip to content

Commit 1e51392

Browse files
committed
Add hint about ROCM_PATH to documentation
1 parent 8bf555b commit 1e51392

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/src/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ Standard path:
6767
- Windows: `C:/Program Files/AMD/ROCm/<rocm-version>`
6868

6969
If you have non-standard path for ROCm, set `ROCM_PATH=<path>`
70-
environment variable before launching Julia.
70+
environment variable before launching Julia. For example, if ROCm is installed
71+
in your Linux system root (e.g. on Fedora), set `ROCM_PATH=/usr/lib64/rocm/gfx11` or
72+
`ROCM_PATH=/usr/lib64/rocm/gfx1103`, depending on your GPU's architecture. You
73+
can query the architecture using the `amdgpu-arch` command. The `AMDGPU.versioninfo()`
74+
function prints the paths of any libraries found.
7175

7276
## Extra Setup Details
7377

0 commit comments

Comments
 (0)