PartialReduction< T > Struct Template Reference

Class to hold static array for partial reduction results and routine for final reduction. More...

#include <ReductionEvaluator.h>

Collaboration diagram for PartialReduction< T >:

Collaboration graph
[legend]

List of all members.

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

answer


Detailed Description

template<class T>
struct PartialReduction< T >

Class to hold static array for partial reduction results and routine for final reduction.

Two versions, one dummy for non-OpenMP, one for OpenMP operation.


Member Function Documentation

template<class T>
static void PartialReduction< T >::init (  )  [inline, static]

template<class T>
void PartialReduction< T >::storePartialResult ( const T &  result  )  [inline]

template<class T>
template<class Op >
void PartialReduction< T >::reduce ( T &  ret,
const Op &   
) [inline]


Member Data Documentation

template<class T>
T PartialReduction< T >::answer


The documentation for this struct was generated from the following file:

Generated on Wed Mar 16 06:20:24 2011 for FreePOOMA by  doxygen 1.5.9