#include <parallel_reduce.h>
Static Public Member Functions | |
static ReduceStrategy * | create (ReduceType reduceType, bool bClearBuffers=true, int bodyAlignment=ParallelOptions::DEFAULTALIGN) |
Creates a reduction strategy according the given arguments. |
Handles the creation of reduction strategies according to a desired type and alignment
Definition at line 179 of file parallel_reduce.h.
static ReduceStrategy* parallel_ode::ReduceStrategyFactory::create | ( | ReduceType | reduceType, |
bool | bClearBuffers = true , |
||
int | bodyAlignment = ParallelOptions::DEFAULTALIGN |
||
) | [inline, static] |
Creates a reduction strategy according the given arguments.
reduceType | The type of reduction |
bClearBuffers | Whether to clear the reduction buffers after each reduce operation |
bodyAlignment | The number of bodies per aligned memory stride |
Definition at line 191 of file parallel_reduce.h.