$search
#include <parallel_reduce.h>
Public Member Functions | |
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. | |
SequentialReduceStrategy () | |
virtual | ~SequentialReduceStrategy () |
Sequential reduction strategy.
Repeated body entries within a batch are ordered sequentialy, e.g. AAAAAAAA**BBBBBBBBB**CCCCCCCC where * indicates padding for alignment
Definition at line 123 of file parallel_reduce.h.
parallel_ode::SequentialReduceStrategy::SequentialReduceStrategy | ( | ) | [inline] |
Definition at line 127 of file parallel_reduce.h.
virtual parallel_ode::SequentialReduceStrategy::~SequentialReduceStrategy | ( | ) | [inline, virtual] |
Definition at line 128 of file parallel_reduce.h.
virtual ReduceType parallel_ode::SequentialReduceStrategy::getType | ( | ) | const [inline, virtual] |
Virtual function indicating the type of strategy.
Reimplemented from parallel_ode::ReduceStrategy.
Definition at line 131 of file parallel_reduce.h.
void parallel_ode::SequentialReduceStrategy::initialize | ( | int | bodySize, | |
int | maxBodyRepetitionCount, | |||
const IntVector & | batchRepetitionCount | |||
) | [virtual] |
Virtual function that initializes the strategy. Essentially, this is where the strides/sizes are deteremined.
bodySize | The number of bodies | |
maxBodyRepetitionCount | The maximum number of times a body is repeated for all batches | |
batchRepetitionCount | The maximum number of times a body is repeated in each batch |
Reimplemented from parallel_ode::ReduceStrategy.
Definition at line 21 of file parallel_reduce.cpp.