(Update rocm-opencl information) |
(Misc updates to ROCm) |
||
Line 18: | Line 18: | ||
= AMD's ROCm (OpenCL/HIP) = | = AMD's ROCm (OpenCL/HIP) = | ||
== Package status == | == Package status == | ||
Below is a list of ROCm packages with their status. | Below is a list of ROCm packages with their status. | ||
Line 81: | Line 80: | ||
| roctracer || || || roctracer || https://github.com/rocm-developer-tools/roctracer || || | | roctracer || || || roctracer || https://github.com/rocm-developer-tools/roctracer || || | ||
|} | |} | ||
== HW Support == | |||
{{Admon/warning | Upstream only officially supports x86_64, but they are open to pcc64le and arm64 patches}} | |||
The ROCm packages in Fedora are built for all 64bit little endian systems (x86_64, arm64, ppc64le), but official support is for x86_64. | |||
Most products starting with vega 10 (Radeon RX Vega) should work without configuration, but any pre-vega HW, such as the RX 400's or 500's, will require setting: | |||
export ROC_ENABLE_PRE_VEGA=1 | |||
To enable experimental support for older HW. | |||
== Installation == | == Installation == | ||
Line 104: | Line 114: | ||
sudo dnf install rocm-clinfo | sudo dnf install rocm-clinfo | ||
rocm-clinfo | rocm-clinfo | ||
=== HIP === | |||
TODO | |||
Some experimental builds exist here (use at your own risk): | |||
https://copr.fedorainfracloud.org/coprs/mystro256/rocm-hip/ | |||
[[Category:SIGs]] | [[Category:SIGs]] | ||
[[Category:Language-specific SIGs]] | [[Category:Language-specific SIGs]] | ||
[[Category:Fedora special-interest groups]] | [[Category:Fedora special-interest groups]] |
Revision as of 13:39, 6 July 2022
Heterogeneous Computing Special Interest Group
Mission
To encourage the packaging and accessibility of heterogeneous computing projects in Fedora and EPEL. This includes machine learning, OpenCL, and scientific computing.
Members/Packagers/Reviewers
- Jeremy Newton (ROCm related)
- Felix Schwarz (currently busy with certbot, borgbackup, WeasyPrint)
- Benson Muite
- Morgan Hough (Intel related while testing SODECL on Intel NUCs)
Please add your name above if you want to help.
Tasks
- Package and make HC related projects more accessible to users (such as OpenCL, AMD's ROCm HIP, Intel oneAPI, SYCL, Vulkan, OpenGL, etc.)
- Document installation, packages, and general use cases
- Translation of wiki pages and documentation (if applicable)
AMD's ROCm (OpenCL/HIP)
Package status
Below is a list of ROCm packages with their status. If something isn't packaged in Fedora or EPEL, feel free to take it!
This reference might be helpful for those attempting to package: https://gist.github.com/cgmb/edb7b790ab55681fb2ba5385ee02489b
HW Support
The ROCm packages in Fedora are built for all 64bit little endian systems (x86_64, arm64, ppc64le), but official support is for x86_64.
Most products starting with vega 10 (Radeon RX Vega) should work without configuration, but any pre-vega HW, such as the RX 400's or 500's, will require setting:
export ROC_ENABLE_PRE_VEGA=1
To enable experimental support for older HW.
Installation
Setup
For non-root usage, the user must be added to the vendor group:
sudo usermod -a -G vendor myusername
To check for rocm support of the running HW, you can install and run rocminfo:
sudo dnf install rocminfo rocminfo
OpenCL
ROCm OpenCL can be installed with (Fedora 36, EPEL8, and EPEL9 are currently in testing):
sudo dnf install rocm-opencl
As well, rocm-clinfo
or clinfo
can be installed to verify it is working, e.g.:
sudo dnf install rocm-clinfo rocm-clinfo
HIP
TODO
Some experimental builds exist here (use at your own risk): https://copr.fedorainfracloud.org/coprs/mystro256/rocm-hip/