Add HINTS to find_dependency calls to ensure find_package(HIP) works without having to set ROCM_PATH or CMAKE_PREFIX_PATH externally.
With this change, having find_package(HIP CONFIG PATHS $ENV{ROCM_PATH} "/opt/rocm") will properly detect the additional libaries. Without it, CMAKE_PREFIX_PATH has to be set to /opt/rocm to be able to configure
Add HINTS to find_dependency calls to ensure find_package(HIP) works without having to set ROCM_PATH or CMAKE_PREFIX_PATH externally.
With this change, having find_package(HIP CONFIG PATHS $ENV{ROCM_PATH} "/opt/rocm") will properly detect the additional libaries. Without it, CMAKE_PREFIX_PATH has to be set to /opt/rocm to be able to configure