File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
test/conformance/device_code Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,15 @@ macro(add_device_binary SOURCE_FILE)
12
12
if (${TRIPLE} MATCHES "amd" )
13
13
set (AMD_TARGET_BACKEND -Xsycl-target-backend=${TRIPLE} )
14
14
set (AMD_OFFLOAD_ARCH --offload-arch=${AMD_ARCH} )
15
+ set (AMD_NOGPULIB -nogpulib )
15
16
endif ()
16
17
# images are not yet supported in sycl on AMD
17
18
if (${TRIPLE} MATCHES "amd" AND ${KERNEL_NAME} MATCHES "image_copy" )
18
19
continue ()
19
20
endif ()
20
21
add_custom_command (OUTPUT ${EXE_PATH}
21
22
COMMAND ${UR_DPCXX} -fsycl -fsycl-targets=${TRIPLE} -fsycl-device-code-split=off
22
- ${AMD_TARGET_BACKEND} ${AMD_OFFLOAD_ARCH} ${SOURCE_FILE}
23
+ ${AMD_TARGET_BACKEND} ${AMD_OFFLOAD_ARCH} ${AMD_NOGPULIB} ${ SOURCE_FILE}
23
24
-o ${EXE_PATH}
24
25
25
26
COMMAND ${CMAKE_COMMAND} -E env SYCL_DUMP_IMAGES=true
You can’t perform that action at this time.
0 commit comments