SWDEV-485275 - fix using CUID to host-only compilation
Change-Id: I9f818e045090299714e77132e2a036a804ab1856
[ROCm/hip-tests commit: 754644f16e]
This commit is contained in:
committed by
padivedi
parent
573ba928da
commit
d4c3bcdc0f
@@ -77,7 +77,7 @@ set(ALL_OPTION ALL )
|
||||
endif()
|
||||
|
||||
list(JOIN GPU_ARCH "," OFFLOAD_ARCH)
|
||||
add_custom_target(src_to_asm ${ALL_OPTION} COMMAND ${HIPCC} -c -S -I${INCLUDES} --cuda-host-only -target x86_64-linux-gnu -o ${SQ_HOST_ASM} ${SRCS}
|
||||
add_custom_target(src_to_asm ${ALL_OPTION} COMMAND ${HIPCC} -c -S -I${INCLUDES} --cuda-host-only -fuse-cuid=none -target x86_64-linux-gnu -o ${SQ_HOST_ASM} ${SRCS}
|
||||
COMMAND ${HIPCC} -c -S -I${INCLUDES} --cuda-device-only --offload-arch=${OFFLOAD_ARCH} ${SRCS})
|
||||
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ set(ALL_OPTION ALL )
|
||||
endif()
|
||||
|
||||
list(JOIN GPU_ARCH "," OFFLOAD_ARCH)
|
||||
add_custom_target(src_to_ir ${ALL_OPTION} COMMAND ${HIPCC} -c -emit-llvm -I${INCLUDES} --cuda-host-only -target x86_64-linux-gnu -o ${SQ_HOST_BC} ${SRCS}
|
||||
add_custom_target(src_to_ir ${ALL_OPTION} COMMAND ${HIPCC} -c -emit-llvm -I${INCLUDES} --cuda-host-only -fuse-cuid=none -target x86_64-linux-gnu -o ${SQ_HOST_BC} ${SRCS}
|
||||
COMMAND ${HIPCC} -c -emit-llvm -I${INCLUDES} --cuda-device-only --offload-arch=${OFFLOAD_ARCH} ${SRCS})
|
||||
|
||||
# Target for BC to LL
|
||||
|
||||
Reference in New Issue
Block a user