Ideally `CMakeLists.txt` should use the `FindHIP` and `FindHiprtc` to locate HIP libraries and headers and should be similar to https://github.com/ROCm-Developer-Tools/hip-tests/blob/develop/samples/2_Cookbook/23_cmake_hiprtc/CMakeLists.txt. Resolve this when the following issue gets resolved. https://github.com/ROCm-Developer-Tools/HIP/issues/3131
Ideally
CMakeLists.txtshould use theFindHIPandFindHiprtcto locate HIP libraries and headers and should be similar to https://github.com/ROCm-Developer-Tools/hip-tests/blob/develop/samples/2_Cookbook/23_cmake_hiprtc/CMakeLists.txt.Resolve this when the following issue gets resolved.
ROCm/hip#3131