File tree 2 files changed +5
-1
lines changed
test/conformance/device_code
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 9
9
# rocm_agent_enumerator is found.
10
10
#
11
11
12
- find_program (ROCM_AGENT_ENUMERATOR NAMES not_rocm_agent_enumerator )
12
+ find_program (ROCM_AGENT_ENUMERATOR NAMES rocm_agent_enumerator )
13
13
14
14
if (ROCM_AGENT_ENUMERATOR)
15
15
set (ROCM_AGENT_ENUMERATOR_FOUND TRUE )
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ macro(add_device_binary SOURCE_FILE)
58
58
set (AMD_TARGET_BACKEND -Xsycl-target -backend=${TRIPLE} )
59
59
set (AMD_OFFLOAD_ARCH --offload-arch=${AMD_ARCH} )
60
60
set (AMD_NOGPULIB -nogpulib)
61
+ else ()
62
+ set (AMD_TARGET_BACKEND)
63
+ set (AMD_OFFLOAD_ARCH)
64
+ set (AMD_NOGPULIB)
61
65
endif ()
62
66
# images are not yet supported in sycl on AMD
63
67
if (${TRIPLE} MATCHES "amd" AND ${KERNEL_NAME} MATCHES "image_copy" )
You can’t perform that action at this time.
0 commit comments