#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 10 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 15 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 14 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 17 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 16 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 13 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 27 of file cuda_solver.h.
virtual parallel_ode::CudaPGSSolver< CudaT, ParamsT >::~CudaPGSSolver | ( | ) | [inline, virtual] |
Definition at line 36 of file cuda_solver.h.
void parallel_ode::CudaPGSSolver< CudaT, ParamsT >::initialize | ( | ) | [virtual] |
Overloaded initialization of resources specific to CUDA.
Reimplemented from parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 17 of file cuda_solver.cpp.
void parallel_ode::CudaPGSSolver< CudaT, ParamsT >::loadConstraints | ( | ) | [protected, virtual] |
Reimplemented from parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 65 of file cuda_solver.cpp.
void parallel_ode::CudaPGSSolver< CudaT, ParamsT >::preProcessDevice | ( | const CudaT | sorParam, |
const CudaT | stepsize | ||
) | [protected, virtual] |
Reimplemented from parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 28 of file cuda_solver.cpp.
void parallel_ode::CudaPGSSolver< CudaT, ParamsT >::solveAndReduce | ( | const int | offset, |
const int | batchSize | ||
) | [protected, virtual] |
Implements parallel_ode::ParallelPGSSolver< CudaT, ParamsT, ParallelTypes::CUDA >.
Definition at line 34 of file cuda_solver.cpp.