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 call hostToDevice for each properties
Definition at line 21 of file tokernel_transformation.hpp.
#include <tokernel_transformation.hpp>
Public Member Functions | |
| host_to_dev_all_prp (Tv &p) | |
| template<typename T > | |
| void | operator() (T &t) const |
| It call the copy function for each property. | |
Data Fields | |
| Tv & | p |
|
inline |
Definition at line 25 of file tokernel_transformation.hpp.
|
inline |
It call the copy function for each property.
Definition at line 31 of file tokernel_transformation.hpp.
| Tv& host_to_dev_all_prp< Tv >::p |
Definition at line 23 of file tokernel_transformation.hpp.