AMD ROCm Performance Primitives (RPP) library is a comprehensive high-performance computer vision library for AMD processors with HIP/OpenCL/CPU back-ends.
/opencv/build$ cmake -DBACKEND=HIP ../rpp
-- INFO:ROCM_PATH Set -- /opt/rocm
TEST DEBUG: /opt/rocm/include
-- AMD ROCm Performance Primitives (RPP) Version -- 1.5.0
-- AMD RPP install path set to -- /opt/rocm
-- AMD RPP Backend set to -- HIP
-- AMD RPP Build Type -- Release
-- Using HALF --
Includes:/opt/rocm/include
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.22/Modules/FindOpenMP.cmake:544 (find_package_handle_standard_args)
CMakeLists.txt:138 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/florin/cust-ffmpeg/opencv/build/CMakeFiles/CMakeOutput.log".
See also "/home/florin/cust-ffmpeg/opencv/build/CMakeFiles/CMakeError.log".
From what I see in the error log, it cannot find omp.h file because it doesn't include the /opt/rocm folders.
Somehow the CMakeLists.txt doesn't find OpenMP.
From what I see in the error log, it cannot find omp.h file because it doesn't include the /opt/rocm folders.
I have the latest rocm-5.7.1 and I see there the omp.h header.
And this is the hipconfig output.
Any idea what I am missing?
Thank you