OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
cuda_grid_unit_tests_func.cuh
1 /*
2  * cuda_gpu_compute.cuh
3  *
4  * Created on: Sep 29, 2017
5  * Author: i-bird
6  */
7 
8 #ifndef OPENFPM_DATA_SRC_GRID_CUDA_GPU_COMPUTE_CUH_
9 #define OPENFPM_DATA_SRC_GRID_CUDA_GPU_COMPUTE_CUH_
10 
12 
13 void gpu_grid_3D_compute(grid_gpu<3,Point_aggr_test> & g);
14 void gpu_grid_3D_compute_stencil(grid_gpu<3,Point_aggr_test> & g1, grid_gpu<3,Point_aggr_test> & g2,
15  grid_key_dx<3> & key1, grid_key_dx<3> & key2);
16 void gpu_grid_3D_one(grid_gpu<3,Point_aggr_test> & g);
17 void gpu_grid_3D_compute_grid_stencil(grid_gpu<3,Point_aggr_test> & g1, grid_gpu<3,Point_aggr_test> & g2,
18  grid_key_dx<3> & start, grid_key_dx<3> & stop);
19 
20 void gpu_grid_fill_vector(grid_gpu<3,Point_aggr_test> & g1, grid_key_dx<3> & start, grid_key_dx<3> & stop);
21 
22 void gpu_grid_fill_vector2(grid_gpu<3,Point_aggr_test> & g1, grid_key_dx<3> & start, grid_key_dx<3> & stop);
23 
24 void gpu_grid_gradient_vector(grid_gpu<3,Point_aggr_test> & g1, grid_gpu<3,Point_aggr_test> & g2, grid_key_dx<3> & start, grid_key_dx<3> & stop);
25 
26 
27 #endif /* OPENFPM_DATA_SRC_GRID_CUDA_GPU_COMPUTE_CUH_ */
grid_key_dx is the key to access any element in the grid
Definition: grid_key.hpp:18
aggregate of properties, from a list of object if create a struct that follow the OPENFPM native stru...
Definition: aggregate.hpp:214