Public Member Functions
parallel_ode::CompactReduceStrategy Class Reference

#include <parallel_reduce.h>

Inheritance diagram for parallel_ode::CompactReduceStrategy:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CompactReduceStrategy ()
virtual ReduceType getType () const
 Virtual function indicating the type of strategy.
virtual void initialize (int bodySize, int maxBodyRepetitionCount, const IntVector &batchRepetitionCount)
 Virtual function that initializes the strategy. Essentially, this is where the strides/sizes are deteremined.
virtual ~CompactReduceStrategy ()

Detailed Description

Compact reduction strategy.

Repeated body entries within a batch are strided, e.g. AAAAAAAABBBBBBBBBCCCCCCCC and there is no padding between different bodies

Definition at line 162 of file parallel_reduce.h.


Constructor & Destructor Documentation

Definition at line 167 of file parallel_reduce.h.

Definition at line 168 of file parallel_reduce.h.


Member Function Documentation

virtual ReduceType parallel_ode::CompactReduceStrategy::getType ( ) const [inline, virtual]

Virtual function indicating the type of strategy.

Returns:
The type of strategy

Reimplemented from parallel_ode::ReduceStrategy.

Definition at line 171 of file parallel_reduce.h.

void parallel_ode::CompactReduceStrategy::initialize ( int  bodySize,
int  maxBodyRepetitionCount,
const IntVector batchRepetitionCount 
) [virtual]

Virtual function that initializes the strategy. Essentially, this is where the strides/sizes are deteremined.

Parameters:
bodySizeThe number of bodies
maxBodyRepetitionCountThe maximum number of times a body is repeated for all batches
batchRepetitionCountThe maximum number of times a body is repeated in each batch

Reimplemented from parallel_ode::ReduceStrategy.

Definition at line 41 of file parallel_reduce.cpp.


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


parallel_quickstep
Author(s): Jared Duke
autogenerated on Fri Jan 3 2014 11:36:56