9#define BOOST_TEST_DYN_LINK
10#include <boost/test/unit_test.hpp>
12#include "Vector/vector_dist.hpp"
13#include "Operators/Vector/vector_dist_operators.hpp"
14#include "Operators/Vector/tests/vector_dist_operators_tests_util.hpp"
16BOOST_AUTO_TEST_SUITE( vector_dist_operators_apply_kernel_test_gpu )
18BOOST_AUTO_TEST_CASE( vector_dist_operators_apply_host_gpu_test )
20 if (create_vcluster().getProcessingUnits() > 3)
26 size_t bc[3]={PERIODIC,PERIODIC,PERIODIC};
31 vector_dist_gpu<3,float,aggregate<float,float,float,VectorS<3,float>,
VectorS<3,float>,
VectorS<3,float>,
float>> vd(512,box,bc,ghost);
37BOOST_AUTO_TEST_CASE( vector_dist_operators_apply_kernel_gpu_test )
39 if (create_vcluster().getProcessingUnits() > 3)
45 size_t bc[3]={PERIODIC,PERIODIC,PERIODIC};
50 vector_dist_gpu<3,float,aggregate<float,float,float,VectorS<3,float>,
VectorS<3,float>,
VectorS<3,float>,
float>> vd(512,box,bc,ghost);
55BOOST_AUTO_TEST_CASE( vector_dist_operators_apply_kernel_gpu_sort_test )
57 if (create_vcluster().getProcessingUnits() > 3)
63 size_t bc[3]={PERIODIC,PERIODIC,PERIODIC};
68 vector_dist_gpu<3,float,aggregate<float,float,float,VectorS<3,float>,
VectorS<3,float>,
VectorS<3,float>,
float>> vd(512,box,bc,ghost);
70 check_all_apply_ker_sort::check(vd);
73BOOST_AUTO_TEST_SUITE_END()
This class represent an N-dimensional box.
This class implement the point shape in an N-dimensional space.