RPP#

AMD ROCm Performance Primitives (RPP) library is a comprehensive, high-performance computer vision library for AMD processors that have HIP, OpenCL, or CPU backends.

Latest release
Supported functionalities and variants


Supported 3D Functionalities Samples
| Input (nifti1 .nii medical image) | fused_multiply_add_scalar<br>(brightened 3D image) |
|---|---|
| |
Prerequisites
- Linux
- Ubuntu -
20.04/22.04 - RedHat -
8/9 - SLES -
15-SP5
- Ubuntu -
- ROCm-supported hardware
[!IMPORTANT]
gfx908or higher GPU required - Install ROCm
6.1.0or later with amdgpu-install: Required usecase - rocm[!IMPORTANT]
sudo amdgpu-install --usecase=rocm - CMake Version
3.5and abovesudo apt install cmake - Clang Version
5.0.1and abovesudo apt install clang - Half-precision floating-point library - Version
1.12.0or highersudo apt install half
[!IMPORTANT]
- Compiler features required
- C++17
- OpenMP
- Threads
>[!NOTE]
* All package installs are shown with the
aptpackage manager. Use the appropriate package manager for your operating system.
Installation instructions
The installation process uses the following steps:
- ROCm-supported hardware install verification
- Install ROCm
6.1.0or later with amdgpu-install with--usecase=rocm - Use either package install or source install as described below.
Package install
Install RPP runtime, development, and test packages.
- Runtime package -
rpponly provides the rpp librarylibrpp.so - Development package -
rpp-dev/rpp-develprovides the library, header files, and samples - Test package -
rpp-testprovides CTest to verify installation
[!NOTE] Package install will auto install all dependencies.
Ubuntu
RHEL
SLES
Source build and install
- Clone RPP git repository
[!NOTE] RPP has support for two GPU backends: OPENCL and HIP:
HIP Backend
- Run tests - test option instructions
>[!NOTE]
make testrequires test suite prerequisites installed
OCL Backend
Verify installation
The installer will copy
- Libraries into
/opt/rocm/lib - Header files into
/opt/rocm/include/rpp - Samples folder into
/opt/rocm/share/rpp - Documents folder into
/opt/rocm/share/doc/rpp
>[!NOTE]
Test suite prerequisites install is required to run tests
Verify with rpp-test package
Test package will install CTest module to test rpp. Follow below steps to test package install
Test Functionalities
To test latest Image/Voxel/Audio/Miscellaneous functionalities of RPP using a python script please view AMD ROCm Performance Primitives (RPP) Test Suite
MIVisionX support - OpenVX extension
MIVisionX RPP extension vx_rpp supports RPP functionality through the OpenVX Framework.
Technical support
For RPP questions and feedback, you can contact us at mivisionx.support@amd.com.
To submit feature requests and bug reports, use our GitHub issues page.
Documentation
You can build our documentation locally using the following code:
- Sphinx
- Doxygen
Release notes
All notable changes for each release are added to our changelog.
Tested configurations
- Linux distribution
- Ubuntu -
20.04/22.04 - RedHat -
8/9 - SLES -
15-SP5
- Ubuntu -
- ROCm: rocm-core -
6.1.0.60100-64 - OpenCV - 4.6.0