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 encap into another encap object
aggr_vect | aggregate that where i reduce |
type | of reduction to operare |
Definition at line 225 of file trash_bin.hpp.
#include <trash_bin.hpp>
Public Types | |
typedef boost::mpl::size< reduction_vectors >::type | nred |
Public Member Functions | |
__device__ __host__ | store_reduce_op_final (encap_type &destination, red_type(&red_final)[nred::value]) |
constructor | |
template<typename T > | |
__device__ __host__ void | operator() (T &t) |
It call the copy function for each property. | |
Data Fields | |
red_type(& | red_final )[nred::value] |
encap_type & | destination |
typedef boost::mpl::size<reduction_vectors>::type store_reduce_op_final< red_type, encap_type, reduction_vectors >::nred |
Definition at line 227 of file trash_bin.hpp.
|
inline |
constructor
src | source encapsulated object |
dst | source encapsulated object |
Definition at line 239 of file trash_bin.hpp.
|
inline |
It call the copy function for each property.
Definition at line 246 of file trash_bin.hpp.
encap_type& store_reduce_op_final< red_type, encap_type, reduction_vectors >::destination |
Definition at line 231 of file trash_bin.hpp.
red_type(& store_reduce_op_final< red_type, encap_type, reduction_vectors >::red_final)[nred::value] |
Definition at line 229 of file trash_bin.hpp.