From b397cb16eaf3d5ff528edda0d6cc29d09e8730d2 Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Fri, 4 Nov 2022 09:52:16 -0700 Subject: [PATCH] Correct hsa header path for new directory layout --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ad22347799..992e897faf 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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