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 copy one device memory into another device memory
encap | source |
encap | dst |
Definition at line 35 of file copy_grid_fast.hpp.
#include <copy_grid_fast.hpp>
Public Member Functions | |
copy_fast_1d_device_memory (data_type &data_src, data_type &data_dst) | |
constructor | |
template<typename T > | |
void | operator() (T &t) const |
It call the copy function for each property. | |
Data Fields | |
data_type & | data_src |
set of pointers | |
data_type & | data_dst |
|
inline |
constructor
v | set of pointer buffers to set |
Definition at line 47 of file copy_grid_fast.hpp.
|
inline |
It call the copy function for each property.
Definition at line 53 of file copy_grid_fast.hpp.
data_type& copy_fast_1d_device_memory< lin_or_inte, data_type, S >::data_dst |
Definition at line 40 of file copy_grid_fast.hpp.
data_type& copy_fast_1d_device_memory< lin_or_inte, data_type, S >::data_src |
set of pointers
Definition at line 38 of file copy_grid_fast.hpp.