Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

Commit be6fad4

Browse files
authored
Corrected clinfo path
In Ubuntu 18.04.4 with ROCm 3.5.1 the full path to clinfo is /opt/rocm/opencl/bin/clinfo, not /opt/rocm/opencl/bin/x86_64/clinfo.
1 parent 47447e0 commit be6fad4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Installation_Guide/Installation-Guide.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ The current rocm.gpg.key is not available in a standard key ring distribution, b
140140
::
141141

142142
/opt/rocm/bin/rocminfo
143-
/opt/rocm/opencl/bin/x86_64/clinfo
143+
/opt/rocm/opencl/bin/clinfo
144144

145145
Note: To run the ROCm programs, add the ROCm binaries in your PATH.
146146

147147
::
148148

149-
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64' | sudo tee -a /etc/profile.d/rocm.sh
149+
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin' | sudo tee -a /etc/profile.d/rocm.sh
150150

151151

152152
Uninstalling ROCm Packages from Ubuntu
@@ -316,14 +316,14 @@ After restarting the system, run the following commands to verify that the ROCm
316316
::
317317

318318
/opt/rocm/bin/rocminfo
319-
/opt/rocm/opencl/bin/x86_64/clinfo
319+
/opt/rocm/opencl/bin/clinfo
320320

321321

322322
**Note**: Add the ROCm binaries in your PATH for easy implementation of the ROCm programs.
323323

324324
::
325325

326-
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64' | sudo tee -a /etc/profile.d/rocm.sh
326+
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin' | sudo tee -a /etc/profile.d/rocm.sh
327327

328328

329329
Compiling Applications Using HCC, HIP, and Other ROCm Software
@@ -414,7 +414,7 @@ The following section tells you how to perform an install and uninstall ROCm on
414414

415415
4. Verify the ROCm installation.
416416

417-
5. Run /opt/rocm/bin/rocminfo and /opt/rocm/opencl/bin/x86_64/clinfo commands to list the GPUs and verify that the ROCm installation is successful.
417+
5. Run /opt/rocm/bin/rocminfo and /opt/rocm/opencl/bin/clinfo commands to list the GPUs and verify that the ROCm installation is successful.
418418

419419
6. Set permissions.
420420

@@ -444,14 +444,14 @@ To access the GPU, you must be a user in the video group. Ensure your user accou
444444
::
445445

446446
/opt/rocm/bin/rocminfo
447-
/opt/rocm/opencl/bin/x86_64/clinfo
447+
/opt/rocm/opencl/bin/clinfo
448448

449449
Note: To run the ROCm programs more efficiently, add the ROCm binaries in your PATH.
450450

451451

452452
::
453453

454-
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64'|sudo tee -a /etc/profile.d/rocm.sh
454+
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin'|sudo tee -a /etc/profile.d/rocm.sh
455455
456456
**Uninstallation**
457457

0 commit comments

Comments
 (0)