SWDEV-524925 - hip-tests build with custom hip (#65)

[ROCm/hip-tests commit: 52e72e9e00]
This commit is contained in:
GunaShekar, Ajay authored and GitHub committed 2025-04-29 08:51:04 -07:00
1 vanhempi bcdc86805c
commit d14f5ed76f
4 files changed
+7 -4

No files matched your search

@@ -32,7 +32,8 @@ if(UNIX)
add_custom_target(SimpleKernel.code COMMAND ${CMAKE_CXX_COMPILER} --genco ${OFFLOAD_ARCH_STR}
${CMAKE_CURRENT_SOURCE_DIR}/SimpleKernel.cc
-o ${CMAKE_CURRENT_BINARY_DIR}/../../unit/callback/SimpleKernel.code
-I${HIP_PATH}/include -I${CMAKE_CURRENT_SOURCE_DIR}/../../include)
-I${HIP_PATH}/include -I${CMAKE_CURRENT_SOURCE_DIR}/../../include
--rocm-path=${ROCM_PATH})
set_property(GLOBAL APPEND PROPERTY G_INSTALL_CUSTOM_TARGETS ${CMAKE_CURRENT_BINARY_DIR}/SimpleKernel.code)
endif()