ROCm / rpp

AMD ROCm Performance Primitives (RPP) library is a comprehensive high-performance computer vision library for AMD processors with HIP/OpenCL/CPU back-ends.
https://rocm.docs.amd.com/projects/rpp/en/latest/
MIT License
53 stars 38 forks source link

Improve compiler setup #414

Closed trixirt closed 1 month ago

trixirt commented 1 month ago

If the user has passed in the compiler to use for building, use it. Otherwise set it to clang++

On Fedora there is no /opt/rocm/llvm/bin/clang++, the compiler used is a system compiler wrapped by hipcc. So set COMPILER_FOR_HIP to llvm/bin/clang++ only if that file exists, otherwise use the CMAKE_CXX_COMPILER.

kiritigowda commented 1 month ago

merge pending - CI -- http://math-ci.amd.com/blue/organizations/jenkins/main%2Fprecheckin%2Frpp/detail/PR-414/1/pipeline