#include <cuda_solver.h>
Public Types | |
typedef CudaT * | CudaTMutablePtr |
typedef const CudaT * | CudaTPtr |
typedef PMemManager::mem_flags | MemFlags |
typedef MemManager< CudaT, ParallelTypes::CUDA > | PMemManager |
typedef vec4< CudaT >::Type | Vec4T |
Public Member Functions | |
CudaPGSSolver (int parallelFlags=DEFAULT_FLAGS, BatchType batchType=BatchTypes::DEFAULT_BATCH_TYPE, ReduceType reduceType=ReduceTypes::DEFAULT_REDUCE_TYPE, uint numBatches=ParallelOptions::MAXBATCHES) | |
Constructs an instance of an CUDA-based quickstep solver. | |
virtual void | initialize () |
Overloaded initialization of resources specific to CUDA. | |
virtual | ~CudaPGSSolver () |
Protected Member Functions | |
virtual void | loadConstraints () |
virtual void | preProcessDevice (const CudaT sorParam, const CudaT stepsize) |
virtual void | solveAndReduce (const int offset, const int batchSize) |
Definition at line 8 of file cuda_solver.h.
typedef CudaT* parallel_ode::CudaPGSSolver< CudaT, ParamsT >::CudaTMutablePtr |
Reimplemented from parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 9 of file cuda_solver.h.
typedef const CudaT* parallel_ode::CudaPGSSolver< CudaT, ParamsT >::CudaTPtr |
Reimplemented from parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 8 of file cuda_solver.h.
typedef PMemManager::mem_flags parallel_ode::CudaPGSSolver< CudaT, ParamsT >::MemFlags |
Reimplemented from parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 11 of file cuda_solver.h.
typedef MemManager<CudaT,ParallelTypes::CUDA> parallel_ode::CudaPGSSolver< CudaT, ParamsT >::PMemManager |
Reimplemented from parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 10 of file cuda_solver.h.
typedef vec4<CudaT>::Type parallel_ode::CudaPGSSolver< CudaT, ParamsT >::Vec4T |
Reimplemented from parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 7 of file cuda_solver.h.
parallel_ode::CudaPGSSolver< CudaT, ParamsT >::CudaPGSSolver | ( | int | parallelFlags = DEFAULT_FLAGS , |
|
BatchType | batchType = BatchTypes::DEFAULT_BATCH_TYPE , |
|||
ReduceType | reduceType = ReduceTypes::DEFAULT_REDUCE_TYPE , |
|||
uint | numBatches = ParallelOptions::MAXBATCHES | |||
) | [inline] |
Constructs an instance of an CUDA-based quickstep solver.
parallelFlags | Flags controller various parallel functionality | |
batchType | The type of batch strategy to be used | |
reduceType | The Type of reduction to be used | |
numBatches | The maximum number of batches to be used, if any |
Definition at line 21 of file cuda_solver.h.
virtual parallel_ode::CudaPGSSolver< CudaT, ParamsT >::~CudaPGSSolver | ( | ) | [inline, virtual] |
Definition at line 30 of file cuda_solver.h.
void parallel_ode::CudaPGSSolver< CudaT, ParamsT >::initialize | ( | ) | [inline, virtual] |
Overloaded initialization of resources specific to CUDA.
Reimplemented from parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 15 of file cuda_solver.cpp.
void parallel_ode::CudaPGSSolver< CudaT, ParamsT >::loadConstraints | ( | ) | [inline, protected, virtual] |
Reimplemented from parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 63 of file cuda_solver.cpp.
void parallel_ode::CudaPGSSolver< CudaT, ParamsT >::preProcessDevice | ( | const CudaT | sorParam, | |
const CudaT | stepsize | |||
) | [inline, protected, virtual] |
Reimplemented from parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 26 of file cuda_solver.cpp.
void parallel_ode::CudaPGSSolver< CudaT, ParamsT >::solveAndReduce | ( | const int | offset, | |
const int | batchSize | |||
) | [inline, protected, virtual] |
Implements parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 32 of file cuda_solver.cpp.