m (→Members/Packagers/Reviewers: adding my name as an interested party) |
(update rocm-opencl/hip info) |
||
Line 30: | Line 30: | ||
| '''Name''' || '''Fedora Package''' || '''EPEL?''' || '''Upstream package name''' || '''Upstream URL''' || '''Notes''' || | | '''Name''' || '''Fedora Package''' || '''EPEL?''' || '''Upstream package name''' || '''Upstream URL''' || '''Notes''' || | ||
|- | |- | ||
| roct-thunk-interface || {{ package| | | roct-thunk-interface || {{ package|hsakmt|hsakmt}} || Yes || hsakmt-roct || https://github.com/radeonopencompute/roct-thunk-interface || || | ||
|- | |- | ||
| rocr-runtime || {{ package|rocm-runtime|rocm-runtime}} || Yes || hsa-rocr || https://github.com/radeonopencompute/rocr-runtime || || | | rocr-runtime || {{ package|rocm-runtime|rocm-runtime}} || Yes || hsa-rocr || https://github.com/radeonopencompute/rocr-runtime || || | ||
Line 42: | Line 42: | ||
| opencl-icd-loader || || || rocm-ocl-icd || https://github.com/KhronosGroup/OpenCL-ICD-Loader || Fedora already has {{ package|ocl-icd|ocl-icd}}, but the khronos version is required for GL-CL interop support || | | opencl-icd-loader || || || rocm-ocl-icd || https://github.com/KhronosGroup/OpenCL-ICD-Loader || Fedora already has {{ package|ocl-icd|ocl-icd}}, but the khronos version is required for GL-CL interop support || | ||
|- | |- | ||
| rocm-opencl-runtime || | | rocm-opencl-runtime || {{ package|rocm-opencl|rocm-opencl}} || Yes || rocm-opencl || https://github.com/radeonopencompute/rocm-opencl-runtime || || | ||
|- | |- | ||
| rocm_smi_lib || '''See notes''' || || rocm-smi-lib || https://github.com/radeonopencompute/rocm_smi_lib || The deprecated {{ package|rocm-smi|rocm-smi}} should be replaced by this | | rocm_smi_lib || '''See notes''' || || rocm-smi-lib || https://github.com/radeonopencompute/rocm_smi_lib || The deprecated {{ package|rocm-smi|rocm-smi}} should be replaced by this | ||
|- | |- | ||
| hip || || || hip-[ | | hip || ''See notes'' || || hip-[devel,docs,samples] || https://github.com/rocm-developer-tools/HIP || hip-devel is a subpackage of https://bugzilla.redhat.com/show_bug.cgi?id=2209759 || | ||
|- | |- | ||
| hipamd || || || | | hipamd || ''In Review'' || || hip-runtime-amd || https://github.com/rocm-developer-tools/hipamd || rocm-hip is a subpackage of https://bugzilla.redhat.com/show_bug.cgi?id=2209759 || | ||
|- | |- | ||
| rocm-cmake || || || rocm-cmake || https://github.com/radeonopencompute/rocm-cmake || Needed by most of the roc* and hip* packages below || | | rocm-cmake || || || rocm-cmake || https://github.com/radeonopencompute/rocm-cmake || Needed by most of the roc* and hip* packages below || | ||
Line 88: | Line 88: | ||
The ROCm packages in Fedora are built for all 64bit little endian systems (x86_64, arm64, ppc64le), but official support is for x86_64. | The ROCm packages in Fedora are built for all 64bit little endian systems (x86_64, arm64, ppc64le), but official support is for x86_64. | ||
HW support is highly dependent on LLVM version included in Fedora, so if you have newer HW, you might need to wait for newer LLVM versions to be introduced to Fedora (usually in the spring and the autumn). | |||
{{Admon/warning | Note that your millage may vary, as pre vega HW on ROCm is experimental, missing functionality, and not guaranteed to work on all HW }} | {{Admon/warning | Note that your millage may vary, as pre vega HW on ROCm is experimental, missing functionality, and not guaranteed to work on all HW }} | ||
Line 112: | Line 110: | ||
=== OpenCL === | === OpenCL === | ||
ROCm OpenCL can be installed with | ROCm OpenCL can be installed with: | ||
sudo dnf install rocm-opencl | sudo dnf install rocm-opencl | ||
Line 123: | Line 121: | ||
=== HIP === | === HIP === | ||
Early packages for Fedora 38/39 are located here: | |||
https://copr.fedorainfracloud.org/coprs/mystro256/rocm-hip/ | |||
Install with: | |||
sudo dnf copr enable mystro256/rocm-hip | |||
sudo dnf install rocm-hip | |||
= Intel = | = Intel = |
Revision as of 18:05, 24 May 2023
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)
- Tom Rix (CUDA, OpenCL, Vulkan Compute, Misc)
- Tim Flink
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.
HW support is highly dependent on LLVM version included in Fedora, so if you have newer HW, you might need to wait for newer LLVM versions to be introduced to Fedora (usually in the spring and the autumn).
Installation
Setup
To enable access to GPU resources for non-root users, the users must be added to the video
or render
group. The AMD ROCm Installation Guide (v5.2) and FAQs recommend the video
group for all ROCm-supported operating systems.
To add the current user to the video
group:
sudo usermod -a -G video $LOGNAME
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:
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
Early packages for Fedora 38/39 are located here: https://copr.fedorainfracloud.org/coprs/mystro256/rocm-hip/
Install with:
sudo dnf copr enable mystro256/rocm-hip sudo dnf install rocm-hip
Intel
TODO: incomplete, take me!