add send-recv
This commit is contained in:
@@ -113,10 +113,17 @@ if (MPI_FOUND)
|
||||
set_cxx_standard(persistent)
|
||||
endif()
|
||||
|
||||
if (MPI_FOUND)
|
||||
add_executable(send-recv send_recv.cpp)
|
||||
target_link_libraries(send-recv MPI::MPI_CXX)
|
||||
set_cxx_options(send-recv)
|
||||
set_cxx_standard(send-recv)
|
||||
endif()
|
||||
|
||||
if (MPI_FOUND AND CMAKE_CUDA_COMPILER)
|
||||
add_executable(one-sided-gpu one_sided_gpu.cpp)
|
||||
target_link_libraries(one-sided-gpu MPI::MPI_CXX)
|
||||
target_link_libraries(one-sided-gpu CUDA::cudart)
|
||||
set_cxx_options(one-sided-gpu)
|
||||
set_cxx_standard(one-sided-gpu)
|
||||
endif()
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user