You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: Installation_Guide/Installation-Guide.rst
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,41 +121,45 @@ The current rocm.gpg.key is not available in a standard key ring distribution, b
121
121
sudo apt install rocm-dkms && sudo reboot
122
122
123
123
124
-
4. Set permissions. To access the GPU, you must be a user in the video group. Ensure your user account is a member of the video group prior to using ROCm. To identify the groups you are a member of, use the following command:
124
+
4. Set permissions. To access the GPU, you must be a user in the video and render groups. Ensure your user account is a member of the video and render groups prior to using ROCm. To identify the groups you are a member of, use the following command:
125
125
126
126
::
127
127
128
128
groups
129
129
130
130
131
-
5. To add your user to the video group, use the following command with the sudo password:
131
+
5. To add your user to the video and render groups, use the following command with the sudo password:
132
132
133
133
::
134
134
135
135
sudo usermod -a -G video $LOGNAME
136
136
137
-
6. By default, you must add any future users to the video group. To add future users to the video group, run the following command:
137
+
sudo usermod -a -G render $LOGNAME
138
+
139
+
6. By default, you must add any future users to the video and render groups. To add future users to the video and render groups, run the following command:
138
140
139
141
::
140
142
141
143
echo 'ADD_EXTRA_GROUPS=1' | sudo tee -a /etc/adduser.conf
142
144
143
145
echo 'EXTRA_GROUPS=video' | sudo tee -a /etc/adduser.conf
144
146
147
+
echo 'EXTRA_GROUPS=render' | sudo tee -a /etc/adduser.conf
148
+
145
149
7. Restart the system.
146
150
147
151
8. After restarting the system, run the following commands to verify that the ROCm installation is successful. If you see your GPUs listed by both commands, the installation is considered successful.
148
152
149
153
::
150
154
151
155
/opt/rocm/bin/rocminfo
152
-
/opt/rocm/opencl/bin/x86_64/clinfo
156
+
/opt/rocm/opencl/bin/clinfo
153
157
154
158
Note: To run the ROCm programs, add the ROCm binaries in your PATH.
155
159
156
160
::
157
161
158
-
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
162
+
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin' | sudo tee -a /etc/profile.d/rocm.sh
159
163
160
164
161
165
Uninstalling ROCm Packages from Ubuntu
@@ -326,14 +330,14 @@ After restarting the system, run the following commands to verify that the ROCm
326
330
::
327
331
328
332
/opt/rocm/bin/rocminfo
329
-
/opt/rocm/opencl/bin/x86_64/clinfo
333
+
/opt/rocm/opencl/bin/clinfo
330
334
331
335
332
336
**Note**: Add the ROCm binaries in your PATH for easy implementation of the ROCm programs.
333
337
334
338
::
335
339
336
-
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
340
+
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin' | sudo tee -a /etc/profile.d/rocm.sh
337
341
338
342
339
343
Compiling Applications Using HCC, HIP, and Other ROCm Software
@@ -424,7 +428,7 @@ The following section tells you how to perform an install and uninstall ROCm on
424
428
425
429
4. Verify the ROCm installation.
426
430
427
-
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.
431
+
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.
428
432
429
433
6. Set permissions.
430
434
@@ -454,14 +458,14 @@ To access the GPU, you must be a user in the video group. Ensure your user accou
454
458
::
455
459
456
460
/opt/rocm/bin/rocminfo
457
-
/opt/rocm/opencl/bin/x86_64/clinfo
461
+
/opt/rocm/opencl/bin/clinfo
458
462
459
463
Note: To run the ROCm programs more efficiently, add the ROCm binaries in your PATH.
460
464
461
465
462
466
::
463
467
464
-
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
468
+
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin'|sudo tee -a /etc/profile.d/rocm.sh
0 commit comments