Skip to content

Commit

Permalink
Only run omp, cuda and hip tests for DistributedClosestPoint in…
Browse files Browse the repository at this point in the history
… `RAJA` configurations

These capabilities are provided by RAJA.
  • Loading branch information
kennyweiss committed Jan 24, 2023
1 parent d66c572 commit c31d404
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/axom/quest/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ if(ENABLE_MPI AND AXOM_ENABLE_SIDRE)

# Run the distributed closest point example on N ranks for each enabled policy
set(_policies "seq")
blt_list_append(TO _policies ELEMENTS "omp" IF ENABLE_OPENMP)
blt_list_append(TO _policies ELEMENTS "cuda" IF ENABLE_CUDA)
blt_list_append(TO _policies ELEMENTS "hip" IF ENABLE_HIP)
if(RAJA_FOUND)
blt_list_append(TO _policies ELEMENTS "cuda" IF ENABLE_CUDA)
blt_list_append(TO _policies ELEMENTS "hip" IF ENABLE_HIP)
blt_list_append(TO _policies ELEMENTS "omp" IF ENABLE_OPENMP)
endif()

# Non-zero empty-rank probability tests domain underloading case
set(_meshes "mdmesh.2x1" "mdmesh.2x3")
Expand Down

0 comments on commit c31d404

Please sign in to comment.