rocAL prerequisites

rocAL prerequisites#

Building rocAL from source requires CMake 3.10 or later, amdclang++ 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:

libstdc++-12-dev is required on Ubuntu 22.04 only 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 rocJPEG are installed by the package installer and the setup script, but aren’t required by rocAL. When installed, rocJPEG is used as the hardware image decoder and rocDecode is used as the hardware video decoder.

Note

TurboJPEG must be installed manually on SLES.
To use FFMPeg on SLES and RHEL, the FFMPeg-dev package must be installed manually.