Skip to content

Commit

Permalink
Enable (cuda|hip)_pingpong test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
therault committed Jun 14, 2023
1 parent 5d059a8 commit e329147
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/runtime/cuda/Testings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
if(PARSEC_HAVE_CUDA)
# parsec_addtest_cmd(runtime/cuda/get_best_device:gpu ${SHM_TEST_CMD_LIST} ${CTEST_CUDA_LAUNCHER_OPTIONS} runtime/cuda/testing_get_best_device -N 400 -t 20 -g 4)
if(TARGET nvlink)
parsec_addtest_cmd(runtime/cuda/nvlink:gpu ${SHM_TEST_CMD_LIST} ${CTEST_CUDA_LAUNCHER_OPTIONS} runtime/cuda/nvlink --mca device_cuda_enable 2)
parsec_addtest_cmd(runtime/cuda/nvlink:gpu ${SHM_TEST_CMD_LIST} ${CTEST_CUDA_LAUNCHER_OPTIONS} runtime/cuda/nvlink --mca device_cuda_enable 2 --mca device cuda)
endif()
if(TARGET cuda_pingpong)
parsec_addtest_cmd(runtime/cuda/cuda_pingpong:gpu ${SHM_TEST_CMD_LIST} ${CTEST_CUDA_LAUNCHER_OPTIONS} runtime/cuda/cuda_pingpong --mca device_cuda_enable 2 --mca device cuda)
endif()
if(TARGET stress)
# parsec_addtest_cmd(runtime/cuda/stress:gpu ${SHM_TEST_CMD_LIST} ${CTEST_CUDA_LAUNCHER_OPTIONS} runtime/cuda/stress)
Expand All @@ -11,3 +14,9 @@ if(PARSEC_HAVE_CUDA)
# parsec_addtest_cmd(runtime/cuda/stage:gpu ${SHM_TEST_CMD_LIST} ${CTEST_CUDA_LAUNCHER_OPTIONS} runtime/cuda/stage)
endif()
endif()

if(PARSEC_HAVE_HIP)
if(TARGET hip_pingpong)
parsec_addtest_cmd(runtime/cuda/hip_pingpong:gpu ${SHM_TEST_CMD_LIST} ${CTEST_CUDA_LAUNCHER_OPTIONS} runtime/cuda/hip_pingpong --mca device_hip_enable 2 --mca device hip)
endif()
endif()

0 comments on commit e329147

Please sign in to comment.