Skip to content

Commit

Permalink
GPU_RDC not define for sycl
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Aug 1, 2024
1 parent e4434b3 commit 6934f89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tests/DeviceGlobal/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
if ((NOT (AMReX_GPU_BACKEND STREQUAL NONE)) AND (NOT AMReX_GPU_RDC))
if (( (AMReX_GPU_BACKEND STREQUAL "CUDA") OR
(AMReX_GPU_BACKEND STREQUAL "HIP" ) ) AND
(NOT AMReX_GPU_RDC))
return()
endif ()

Expand Down

0 comments on commit 6934f89

Please sign in to comment.