ReductionKernel< T, Op, Expr, KernelTag > Class Template Reference

A ReductionKernel is a specific kind of iterate which reduces a particular expression with over a given domain. More...

#include <ReductionKernel.h>

Collaboration diagram for ReductionKernel< T, Op, Expr, KernelTag >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef ReductionKernel< T, Op,
Expr, KernelTag
This_t

Public Member Functions

 ReductionKernel (T &ret, const Op &op, const Expr &e, Pooma::CountingSemaphore &csem)
virtual ~ReductionKernel ()
virtual void run ()


Detailed Description

template<class T, class Op, class Expr, class KernelTag>
class ReductionKernel< T, Op, Expr, KernelTag >

A ReductionKernel is a specific kind of iterate which reduces a particular expression with over a given domain.

A ReductionKernel IS-AN Interate. That means that it has three primary functions:

  1. Construct given an expression and a domain. This will acquire locks on the data referenced by the expression.
  2. Destruct. This releases the locks on the data.
  3. Run the kernel by calling the member function run.

Member Typedef Documentation

template<class T, class Op, class Expr, class KernelTag>
typedef ReductionKernel<T, Op, Expr, KernelTag> ReductionKernel< T, Op, Expr, KernelTag >::This_t


Constructor & Destructor Documentation

template<class T , class Op , class Expr , class KernelTag >
ReductionKernel< T, Op, Expr, KernelTag >::ReductionKernel ( T &  ret,
const Op &  op,
const Expr &  e,
Pooma::CountingSemaphore csem 
) [inline]

References engineFunctor().

template<class T , class Op , class Expr , class KernelTag >
ReductionKernel< T, Op, Expr, KernelTag >::~ReductionKernel (  )  [inline, virtual]


Member Function Documentation

template<class T , class Op , class Expr , class KernelTag >
void ReductionKernel< T, Op, Expr, KernelTag >::run (  )  [inline, virtual]


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

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