From Fedora Project Wiki

Heterogeneous Computing Special Interest Group


To encourage the packaging and accessibility of heterogeneous computing projects in Fedora and EPEL. This includes machine learning, OpenCL, and scientific computing.


While separate from the AI/ML SIG, we do share communication channels for now. If you're interested, please join us on:


Please add your name above if you want to help.


  • 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)


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!

For reference, pytorch still requires: rocblas, miopen, rocfft, hipfft, hipsparse, rccl, rocprim, hipcub, rocthrust

Name Fedora Package EPEL? Upstream package name Upstream URL Notes
roct-thunk-interface Package-x-generic-16.pnghsakmt Yes hsakmt-roct
rocr-runtime Package-x-generic-16.pngrocm-runtime Yes hsa-rocr
rocminfo Package-x-generic-16.pngrocminfo Yes rocminfo
rocm-compilersupport Package-x-generic-16.pngrocm-compilersupport Yes comgr
rocm-device-libs Package-x-generic-16.pngrocm-device-libs Yes rocm-device-libs
opencl-icd-loader rocm-ocl-icd Fedora already has Package-x-generic-16.pngocl-icd, but the khronos version is required for GL-CL interop support
rocm-opencl-runtime Package-x-generic-16.pngrocm-opencl (F38 or newer), Package-x-generic-16.pngrocm-opencl (F37 or older) Yes rocm-opencl rocm-opencl is now a sub-package of rocclr in Fedora 38+
rocm_smi_lib Package-x-generic-16.pngrocm-smi rocm-smi-lib
hipamd Package-x-generic-16.pngrocm-hip hip-runtime-amd rocm-hip is a subpackage of rocclr, currently in f38 updates testing:
hip Package-x-generic-16.pnghip hip-[devel,docs] hip-devel is a subpackage of rocclr
hip-samples hip-samples requires better cmake infra from upstream
rocm-cmake Package-x-generic-16.pngrocm-cmake rocm-cmake Needed by most of the roc* and hip* packages below
hipblas hipblas trix is working on this
hipsparse hipsparse Requires rocsparse?
rocalution rocalutio Requires rocblas
rocblas rocblas trix is working on this
rocfft rocfft tflink is working on this
hipfft ? Requires rocfft
rocmvalidationsuite rocm-validation-suite requires rocblas, rocm_smi_lib
rocprim Package-x-generic-16.pngrocprim rocprim
rocrand Package-x-generic-16.pngrocrand rocrand Also includes Package-x-generic-16.pnghiprand subpackage
rocsolver rocsolver
rocsparse rocsparse
rocthrust Package-x-generic-16.pngrocthrust rocthrust
hipcub Package-x-generic-16.pnghipcub hipcub
rccl ? BLOCKED - requires smi, cuda (which can not be met)
miopen ? requires rocblas
tensile In Review ? review:
rocdbgapi rocm-dbgapi tflink is working on this
rocgdb rocm-gdb A fork of Package-x-generic-16.pnggdb with ROCm related addons, Requires rocdbgapi tflink is working on this
rocprofiler rocprofiler BLOCKED - requires hsa-amd-aqlprofile, a closed source package
roctracer roctracer

HW Support

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.

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).

Note that your millage may vary, as pre vega HW on ROCm is experimental, missing functionality, and not guaranteed to work on all HW



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.

The render group is only required for Ubuntu v20.04.

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


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


HIP is included in Fedora 39 and is pending for Fedora 38. For Fedora 38, you will need to add --enable-repo=updates-testing to dnf if it's not available yet.

Install with:

   sudo dnf install rocm-hip

For use with Blender, you might need to also install "rocm-hip-devel" if it does not detect HIP.


TODO: incomplete, take me!


Packages that use HC


Build with:

   rpmbuild --with rocm