Correct hsa header path for new directory layout

[ROCm/rccl commit: b397cb16ea]
This commit is contained in:
Ranjith Ramakrishnan
2022-11-04 09:52:16 -07:00
orang tua 826b93d98e
melakukan e3b28a9aec
+1 -1
Melihat File
@@ -19,7 +19,7 @@ if(BUILD_TESTS)
message("Looking for library files in ${ROCR_LIB_DIR}")
# Search for ROCr header file in user defined locations
find_path(ROCR_HDR hsa.h PATHS ${ROCR_INC_DIR} "/opt/rocm" PATH_SUFFIXES include/hsa REQUIRED)
find_path(ROCR_HDR hsa/hsa.h PATHS ${ROCR_INC_DIR} "/opt/rocm" PATH_SUFFIXES include REQUIRED)
INCLUDE_DIRECTORIES(${ROCR_HDR})
# Search for ROCr library file in user defined locations