File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
test/conformance/device_code Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 99# rocm_agent_enumerator is found.
1010#
1111
12- find_program (ROCM_AGENT_ENUMERATOR NAMES not_rocm_agent_enumerator )
12+ find_program (ROCM_AGENT_ENUMERATOR NAMES rocm_agent_enumerator )
1313
1414if (ROCM_AGENT_ENUMERATOR)
1515 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)
5858 set (AMD_TARGET_BACKEND -Xsycl-target -backend=${TRIPLE} )
5959 set (AMD_OFFLOAD_ARCH --offload-arch=${AMD_ARCH} )
6060 set (AMD_NOGPULIB -nogpulib)
61+ else ()
62+ set (AMD_TARGET_BACKEND)
63+ set (AMD_OFFLOAD_ARCH)
64+ set (AMD_NOGPULIB)
6165 endif ()
6266 # images are not yet supported in sycl on AMD
6367 if (${TRIPLE} MATCHES "amd" AND ${KERNEL_NAME} MATCHES "image_copy" )
You can’t perform that action at this time.
0 commit comments