diff --git a/tests/runtime/cuda/Testings.cmake b/tests/runtime/cuda/Testings.cmake index 231eaed3e..7171f15fc 100644 --- a/tests/runtime/cuda/Testings.cmake +++ b/tests/runtime/cuda/Testings.cmake @@ -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) @@ -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() \ No newline at end of file