rocAL prerequisites#
rocAL requires ROCm running on accelerators based on the CDNA architecture installed with the AMDGPU installer.
rocAL can be installed on the following Linux environments:
Ubuntu 22.04 or 24.04
RedHat 8 or 9
SLES 15-SP5
Building rocAL from source requires CMake Version 3.10 or later, AMD Clang++ Version 18.0.0 or later, and the following compiler support:
C++17
OpenMP
Threads
Most prerequisites are installed with the package installer.
When building rocAL from source, the rocAL-setup.py
setup script can be used to install prerequisites:
rocAL-setup.py [-h] [--directory DIRECTORY; default ~/] \
[--rocm_path ROCM_PATH; default /opt/rocm] \
[--backend HIP|OCL; default HIP] \
[--ffmpeg ON|OFF; default OFF] \
[--reinstall ON|OFF; default OFF]
The following prerequisites are required and are installed with both the package installer and the setup script:
MIVisionX with AMD OpenVX™ and the VX_RPP and AMD Media extensions
The half-precision floating-point library version 1.12.0 or later
Google Protobuf version 3.12.4 or later
PyBind11 version 2.11.1
Python3, Python3 pip, and Python3 wheel
libstdc++-12-dev is required on Ubuntu 22.04 only and must be installed manually.
rocJPEG is required and must be installed manually.
FFMPEG is not required, but is installed by the package installer. It can also be installed with the setup script using the --ffmpeg
option.
rocDecode and OpenCV are not required, but are installed by the package installer and the setup script.
Note
FFMPeg-dev
package must be installed manually.