Skip to content

Commit

Permalink
turn off RadhydroPulse for 3D-gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
chongchonghe committed Jan 6, 2024
1 parent a0191b5 commit 341f643
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/RadhydroPulse/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
add_executable(test_radhydro_pulse test_radhydro_pulse.cpp ../fextract.cpp ${QuokkaObjSources})
if (AMReX_SPACEDIM EQUAL 1)
add_executable(test_radhydro_pulse test_radhydro_pulse.cpp ../fextract.cpp ${QuokkaObjSources})

if(AMReX_GPU_BACKEND MATCHES "CUDA")
setup_target_for_cuda_compilation(test_radhydro_pulse)
endif(AMReX_GPU_BACKEND MATCHES "CUDA")
if(AMReX_GPU_BACKEND MATCHES "CUDA")
setup_target_for_cuda_compilation(test_radhydro_pulse)
endif(AMReX_GPU_BACKEND MATCHES "CUDA")

add_test(NAME RadhydroPulse COMMAND test_radhydro_pulse RadhydroPulse.in WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests)
add_test(NAME RadhydroPulse COMMAND test_radhydro_pulse RadhydroPulse.in WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests)
endif()

0 comments on commit 341f643

Please sign in to comment.