SWDEV-485275 - fix using CUID to host-only compilation
Change-Id: I9f818e045090299714e77132e2a036a804ab1856
This commit is contained in:
committad av
padivedi
förälder
5ebecf35c0
incheckning
754644f16e
@@ -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
|
||||
|
||||
Referens i nytt ärende
Block a user