PartialReduction< T > Struct Template Reference

#include <ReductionEvaluator.h>

Collaboration diagram for PartialReduction< T >:

Collaboration graph
[legend]

List of all members.


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.

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


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 Sun May 17 21:43:48 2009 for FreePOOMA by  doxygen 1.5.5