$search
#include <parallel_reduce.h>
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 () |
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.
parallel_ode::CompactReduceStrategy::CompactReduceStrategy | ( | ) | [inline] |
Definition at line 167 of file parallel_reduce.h.
virtual parallel_ode::CompactReduceStrategy::~CompactReduceStrategy | ( | ) | [inline, virtual] |
Definition at line 168 of file parallel_reduce.h.
virtual ReduceType parallel_ode::CompactReduceStrategy::getType | ( | ) | const [inline, virtual] |
Virtual function indicating 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.
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 41 of file parallel_reduce.cpp.