OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
VCluster_semantic_unit_cuda_tests.cu
1 #include "config.h"
2 #define BOOST_TEST_DYN_LINK
3 #include <boost/test/unit_test.hpp>
4 #include "VCluster/VCluster.hpp"
5 #include "VCluster/cuda/VCluster_semantic_unit_tests_funcs.hpp"
6 
7 
8 
9 BOOST_AUTO_TEST_SUITE( VCluster_cuda_tests )
10 
11 BOOST_AUTO_TEST_CASE( Vcluster_semantic_ssend_recv_layout_switch )
12 {
13  test_ssend_recv_layout_switch<HeapMemory>(0);
14 }
15 
16 BOOST_AUTO_TEST_CASE( Vcluster_semantic_gpu_direct )
17 {
18  test_ssend_recv_layout_switch<CudaMemory>(MPI_GPU_DIRECT);
19 }
20 
21 BOOST_AUTO_TEST_CASE (Vcluster_semantic_layout_inte_gather)
22 {
23  test_different_layouts<CudaMemory,memory_traits_inte>();
24  test_different_layouts<CudaMemory,memory_traits_lin>();
25 }
26 
27 BOOST_AUTO_TEST_SUITE_END()