Correct hsa header path for new directory layout

This commit is contained in:
Ranjith Ramakrishnan committed 2022-11-04 09:52:16 -07:00
1 orang tua effc4b255b
melakukan b397cb16ea
1 file changed
+1 -1
+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