Verifying the ROCm Performance Primitives installation

Verifying the ROCm Performance Primitives installation#

After installation, verify that all the ROCm Performance Primitives (RPP) files have been copied to the right locations:

  • Libraries: /opt/rocm/lib

  • Header files: /opt/rocm/include/rpp

  • Samples: /opt/rocm/share/rpp

  • Documentation: /opt/rocm/share/doc/rpp

You can verify your installation using the CTest module. You will need to install the test suite prerequisites before building and running the tests.

mkdir rpp-test
cd rpp-test
cmake /opt/rocm/share/rpp/test/
ctest -VV

To test RPP’s functionality, run testALLScript.sh:

cd rpp/utilities/rpp-unittests/HIP_NEW
./testAllScript.sh
cd rpp/utilities/rpp-unittests/OCL_NEW
./testAllScript.sh
cd rpp/utilities/rpp-unittests/HOST_NEW
./testAllScript.sh