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

This commit is contained in:
GunaShekar, Ajay
2025-04-29 08:51:04 -07:00
committed by GitHub
parent 184142b4b6
commit 52e72e9e00
4 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -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()