Skip to content

Commit

Permalink
Turn on CUDA_LAUNCH_BLOCKING only for fcompare. (Exawind#1406)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel authored Dec 13, 2024
1 parent fcc3dd5 commit e4e8cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ macro(setup_test)
set(SAVE_GOLDS_COMMAND "&& cp -R ${PLOT_TEST} ${SAVED_GOLDS_DIRECTORY}/${TEST_NAME}/")
endif()
if(AMR_WIND_TEST_WITH_FCOMPARE AND (NOT "${TEST_NAME}" MATCHES "hdf5$"))
set(FCOMPARE_COMMAND "&& ${FCOMPARE_EXE} ${FCOMPARE_TOLERANCE} ${PLOT_GOLD} ${PLOT_TEST}")
set(FCOMPARE_COMMAND "&& CUDA_LAUNCH_BLOCKING=1 ${FCOMPARE_EXE} ${FCOMPARE_TOLERANCE} ${PLOT_GOLD} ${PLOT_TEST}")
endif()
endmacro(setup_test)

Expand Down

0 comments on commit e4e8cf5

Please sign in to comment.