SWDEV-441112 - fix hip-tests catch build on nvidia platform

hip/hip_runtime.h path was not used correctly in some tests

Change-Id: I1a3f5fba352273ce366404f398bb5c2f7d6f283f


[ROCm/hip-tests commit: 1d9aadbf92]
This commit is contained in:
Ajay
2024-01-14 02:48:11 +00:00
committed by Ajay GunaShekar
parent b32ac029a8
commit 3f986eceb2
5 changed files with 9 additions and 8 deletions
@@ -14,6 +14,7 @@ set(TEST_SRC
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/simple_kernel.code
COMMAND ${CMAKE_CXX_COMPILER} --genco --std=c++17
${CMAKE_CURRENT_SOURCE_DIR}/simple_kernel.cc
-I${HIP_PATH}/include/
-o simple_kernel.code --rocm-path=${ROCM_PATH}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/simple_kernel.cc)