Skip to content

Commit

Permalink
Merge pull request #1280 from aarongreig/aaron/hotFixFindRocm
Browse files Browse the repository at this point in the history
Fix typo in FindRocmAgentEnumerator.cmake
  • Loading branch information
aarongreig committed Jan 26, 2024
2 parents cdde496 + cc9b424 commit b66cf9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindRocmAgentEnumerator.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# rocm_agent_enumerator is found.
#

find_program(ROCM_AGENT_ENUMERATOR NAMES not_rocm_agent_enumerator)
find_program(ROCM_AGENT_ENUMERATOR NAMES rocm_agent_enumerator)

if(ROCM_AGENT_ENUMERATOR)
set(ROCM_AGENT_ENUMERATOR_FOUND TRUE)
Expand Down
4 changes: 4 additions & 0 deletions test/conformance/device_code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ macro(add_device_binary SOURCE_FILE)
set(AMD_TARGET_BACKEND -Xsycl-target-backend=${TRIPLE})
set(AMD_OFFLOAD_ARCH --offload-arch=${AMD_ARCH})
set(AMD_NOGPULIB -nogpulib)
else()
set(AMD_TARGET_BACKEND)
set(AMD_OFFLOAD_ARCH)
set(AMD_NOGPULIB)
endif()
# images are not yet supported in sycl on AMD
if(${TRIPLE} MATCHES "amd" AND ${KERNEL_NAME} MATCHES "image_copy")
Expand Down

0 comments on commit b66cf9b

Please sign in to comment.