this class is a functor for "for_each" algorithm More...
this class is a functor for "for_each" algorithm
This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to calculate the size to pack a point
prp | set for properties |
Definition at line 315 of file SparseGridGpu_ker_util.hpp.
#include <SparseGridGpu_ker_util.hpp>
Public Types | |
typedef to_boost_vmpl< prp... >::type | vprp |
Public Member Functions | |
__device__ __host__ | sparsegridgpu_unpack_impl (unsigned int dataBlockPos, unsigned int offset, dataBuffer_type &dataBuff, unsigned int ppos, arr_arr_ptr< 1, sizeof...(prp)> &data_ptr, unsigned int n_pnt) |
constructor | |
template<typename T > | |
__device__ __host__ void | operator() (T &t) |
It call the copy function for each property. | |
Data Fields | |
unsigned int | dataBlockPos |
position of the block | |
unsigned int | offset |
offset | |
dataBuffer_type & | dataBuff |
data buffer | |
unsigned int | ppos |
point | |
arr_arr_ptr< 1, sizeof...(prp)> & | data_ptr |
data pointer | |
unsigned int | n_pnt |
Number of points to pack. | |
typedef to_boost_vmpl<prp...>::type sparsegridgpu_unpack_impl< AggregateT, dataBuffer_type, prp >::vprp |
Definition at line 317 of file SparseGridGpu_ker_util.hpp.
|
inline |
constructor
Definition at line 340 of file SparseGridGpu_ker_util.hpp.
|
inline |
It call the copy function for each property.
Definition at line 351 of file SparseGridGpu_ker_util.hpp.
arr_arr_ptr<1,sizeof...(prp)>& sparsegridgpu_unpack_impl< AggregateT, dataBuffer_type, prp >::data_ptr |
data pointer
Definition at line 332 of file SparseGridGpu_ker_util.hpp.
unsigned int sparsegridgpu_unpack_impl< AggregateT, dataBuffer_type, prp >::dataBlockPos |
position of the block
Definition at line 320 of file SparseGridGpu_ker_util.hpp.
dataBuffer_type& sparsegridgpu_unpack_impl< AggregateT, dataBuffer_type, prp >::dataBuff |
data buffer
Definition at line 326 of file SparseGridGpu_ker_util.hpp.
unsigned int sparsegridgpu_unpack_impl< AggregateT, dataBuffer_type, prp >::n_pnt |
Number of points to pack.
Definition at line 335 of file SparseGridGpu_ker_util.hpp.
unsigned int sparsegridgpu_unpack_impl< AggregateT, dataBuffer_type, prp >::offset |
offset
Definition at line 323 of file SparseGridGpu_ker_util.hpp.
unsigned int sparsegridgpu_unpack_impl< AggregateT, dataBuffer_type, prp >::ppos |
point
Definition at line 329 of file SparseGridGpu_ker_util.hpp.