this class is a functor for "for_each" algorithm More...
#include <hostDevice_util_funcs.hpp>
Public Types | |
| typedef to_boost_vmpl< prp... >::type | v_prp |
| Convert the packed properties into an MPL vector. | |
Public Member Functions | |
| host_to_device_impl (typename layout_base< T_type >::type &dst, size_t start, size_t stop) | |
| constructor More... | |
| template<typename T > | |
| void | operator() (T &t) const |
| It call the copy function for each property. | |
Data Fields | |
| layout_base< T_type >::type & | dst |
| encapsulated destination object | |
| size_t | start |
| starting element | |
| size_t | stop |
| stop element | |
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 encap into another encap object
| encap | source |
| encap | dst |
Definition at line 103 of file hostDevice_util_funcs.hpp.
|
inline |
constructor
| src | source encapsulated object |
| dst | source encapsulated object |
Definition at line 123 of file hostDevice_util_funcs.hpp.