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 179 of file trash_bin.hpp.
#include <trash_bin.hpp>
Public Types | |
typedef boost::mpl::size< reduction_vectors >::type | nred |
Public Member Functions | |
__device__ __host__ | reduce_op_final (aggr_vect &red, red_type &red_space) |
constructor | |
template<typename T > | |
__device__ __host__ void | operator() (T &t) |
It call the copy function for each property. | |
Data Fields | |
aggr_vect & | red |
reduction aggregate | |
red_type * | red_space |
block to reduce | |
red_type | red_final [nred::value] |
typedef boost::mpl::size<reduction_vectors>::type reduce_op_final< aggr_vect, red_type, reduction_vectors >::nred |
Definition at line 187 of file trash_bin.hpp.
|
inline |
constructor
src | source encapsulated object |
dst | source encapsulated object |
Definition at line 197 of file trash_bin.hpp.
|
inline |
It call the copy function for each property.
Definition at line 204 of file trash_bin.hpp.
aggr_vect& reduce_op_final< aggr_vect, red_type, reduction_vectors >::red |
reduction aggregate
Definition at line 182 of file trash_bin.hpp.
red_type reduce_op_final< aggr_vect, red_type, reduction_vectors >::red_final[nred::value] |
Definition at line 189 of file trash_bin.hpp.
red_type* reduce_op_final< aggr_vect, red_type, reduction_vectors >::red_space |
block to reduce
Definition at line 185 of file trash_bin.hpp.