OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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
11BOOST_AUTO_TEST_SUITE( VCluster_test_cuda )
12
13BOOST_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
23BOOST_AUTO_TEST_SUITE_END()
Implementation of VCluster class.
Definition VCluster.hpp:59
Transform the boost::fusion::vector into memory specification (memory_traits)
Transform the boost::fusion::vector into memory specification (memory_traits)