OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
VCluster_unit_tests.cu
1 #include <sstream>
2 #define BOOST_TEST_DYN_LINK
3 #include <boost/test/unit_test.hpp>
4 #include "timer.hpp"
5 #include <random>
6 #include "Point_test.hpp"
7 #include "VCluster/VCluster_base.hpp"
8 #include "VCluster/VCluster.hpp"
9 #include "VCluster/cuda/VCluster_unit_test_util_cuda.cuh"
10 
11 BOOST_AUTO_TEST_SUITE( VCluster_test_cuda )
12 
13 BOOST_AUTO_TEST_CASE(VCluster_bcast_complex_test)
14 {
15  Vcluster<> & vcl = create_vcluster();
16 
17  std::cout << "Broadcast complex test CUDA" << std::endl;
18 
19  test_single_all_broadcast_complex<aggregate<int,int>,CudaMemory,memory_traits_lin>(vcl);
20  test_single_all_broadcast_complex<aggregate<int,int>,CudaMemory,memory_traits_inte>(vcl);
21 }
22 
23 BOOST_AUTO_TEST_SUITE_END()
Transform the boost::fusion::vector into memory specification (memory_traits)
Transform the boost::fusion::vector into memory specification (memory_traits)
Definition: memory_conf.hpp:83
Implementation of VCluster class.
Definition: VCluster.hpp:58