#include <ReductionEvaluator.h>
Public Member Functions | |
void | storePartialResult (const T &result) |
template<class Op > | |
void | reduce (T &ret, const Op &) |
Static Public Member Functions | |
static void | init () |
Public Attributes | |
T | answer |
Two versions, one dummy for non-OpenMP, one for OpenMP operation.
static void PartialReduction< T >::init | ( | ) | [inline, static] |
void PartialReduction< T >::storePartialResult | ( | const T & | result | ) | [inline] |
References PartialReduction< T >::answer.
Referenced by ReductionEvaluator< InlineKernelTag >::evaluate().
void PartialReduction< T >::reduce | ( | T & | ret, | |
const Op & | ||||
) | [inline] |
References PartialReduction< T >::answer.
Referenced by ReductionEvaluator< InlineKernelTag >::evaluate().
T PartialReduction< T >::answer |
Referenced by PartialReduction< T >::reduce(), and PartialReduction< T >::storePartialResult().