mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
88 lines
2.0 KiB
Markdown
88 lines
2.0 KiB
Markdown
# AMDGPU
|
|
|
|
1. [TL;DR](#tldr)
|
|
1. [Further readings](#further-readings)
|
|
1. [Sources](#sources)
|
|
|
|
## TL;DR
|
|
|
|
<details>
|
|
<summary>Requirements</summary>
|
|
|
|
[Supported distributions]
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary>Installation</summary>
|
|
<details style="margin-left: 1em">
|
|
<summary>OpenSUSE Leap, SUSE Linux Enterprise</summary>
|
|
|
|
See [Native installation on SLE].
|
|
|
|
```sh
|
|
sudo tee '/etc/zypp/repos.d/amdgpu.repo' <<EOF
|
|
[amdgpu]
|
|
name=amdgpu
|
|
baseurl=https://repo.radeon.com/amdgpu/6.0.2/sle/15.5/main/x86_64/
|
|
enabled=1
|
|
gpgcheck=1
|
|
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
|
|
EOF
|
|
sudo tee --append '/etc/zypp/repos.d/rocm.repo' <<EOF
|
|
[ROCm-6.0.2]
|
|
name=ROCm6.0.2
|
|
baseurl=https://repo.radeon.com/rocm/zyp/6.0.2/main
|
|
enabled=1
|
|
gpgcheck=1
|
|
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
|
|
EOF
|
|
sudo zypper ref
|
|
sudo zypper --gpg-auto-import-keys install 'amdgpu-dkms' 'rocm-opencl-runtime'
|
|
sudo reboot
|
|
```
|
|
|
|
</details>
|
|
</details>
|
|
|
|
<details>
|
|
<summary>Uninstallation</summary>
|
|
<details style="margin-left: 1em">
|
|
<summary>OpenSUSE Leap, SUSE Linux Enterprise</summary>
|
|
|
|
See [Native installation on SLE].
|
|
|
|
```sh
|
|
sudo zypper remove 'rocm-core'
|
|
sudo zypper remove --clean-deps 'amdgpu-dkms'
|
|
sudo zypper removerepo 'ROCm-6.0.2'
|
|
sudo zypper removerepo 'amdgpu'
|
|
sudo zypper clean --all
|
|
sudo reboot
|
|
```
|
|
|
|
</details>
|
|
</details>
|
|
|
|
## Further readings
|
|
|
|
### Sources
|
|
|
|
- [Supported distributions]
|
|
- [Native installation on SLE]
|
|
- [Components of ROCm programming models]
|
|
|
|
<!--
|
|
References
|
|
-->
|
|
|
|
<!-- In-article sections -->
|
|
<!-- Knowledge base -->
|
|
<!-- Files -->
|
|
<!-- Upstream -->
|
|
[components of rocm programming models]: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/native-install/package-manager-integration.html#components-of-rocm-programming-models
|
|
[native installation on sle]: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/native-install/sle.html
|
|
[supported distributions]: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html#supported-distributions
|
|
|
|
<!-- Others -->
|