#include <parallel_batch.h>
Static Public Member Functions | |
static BatchStrategy * | create (BatchType batchType, int numBatches, bool bAlign=false, int alignment=ParallelOptions::DEFAULTALIGN) |
Creates a batch straegy according to the given arguments. |
Handles the creation of batch strategies according to a desired # of batches and alignment
Definition at line 192 of file parallel_batch.h.
static BatchStrategy* parallel_ode::BatchStrategyFactory::create | ( | BatchType | batchType, |
int | numBatches, | ||
bool | bAlign = false , |
||
int | alignment = ParallelOptions::DEFAULTALIGN |
||
) | [inline, static] |
Creates a batch straegy according to the given arguments.
batchType | The type of batch strategy |
numBatches | The maximum number of batches |
bAlign | Whether to align the batch index assignment |
alignment | The alignment width |
Definition at line 206 of file parallel_batch.h.