CUDPP
2.1
CUDA Data-Parallel Primitives Library
|
Plan class for segmented scan algorithm. More...
#include <cudpp_plan.h>
Inherits CUDPPPlan.
Public Member Functions | |
CUDPPSegmentedScanPlan (CUDPPManager *mgr, CUDPPConfiguration config, size_t numElements) | |
SegmentedScan Plan constructor. More... | |
virtual | ~CUDPPSegmentedScanPlan () |
SegmentedScan plan destructor. | |
Public Member Functions inherited from CUDPPPlan | |
CUDPPPlan (CUDPPManager *mgr, CUDPPConfiguration config, size_t numElements, size_t numRows, size_t rowPitch) | |
Plan base class constructor. More... | |
CUDPPHandle | getHandle () |
Public Attributes | |
void ** | m_blockSums |
unsigned int ** | m_blockFlags |
unsigned int ** | m_blockIndices |
size_t | m_numEltsAllocated |
size_t | m_numLevelsAllocated |
Public Attributes inherited from CUDPPPlan | |
CUDPPConfiguration | m_config |
size_t | m_numElements |
size_t | m_numRows |
size_t | m_rowPitch |
CUDPPManager * | m_planManager |
Plan class for segmented scan algorithm.
CUDPPSegmentedScanPlan::CUDPPSegmentedScanPlan | ( | CUDPPManager * | mgr, |
CUDPPConfiguration | config, | ||
size_t | numElements | ||
) |
SegmentedScan Plan constructor.
[in] | mgr | pointer to the CUDPPManager |
[in] | config | The configuration struct specifying options |
[in] | numElements | The maximum number of elements to be scanned |
void** CUDPPSegmentedScanPlan::m_blockSums |
Intermediate block sums array
unsigned int** CUDPPSegmentedScanPlan::m_blockFlags |
Intermediate block flags array
unsigned int** CUDPPSegmentedScanPlan::m_blockIndices |
Intermediate block indices array
size_t CUDPPSegmentedScanPlan::m_numEltsAllocated |
Number of elements allocated (maximum scan size)
size_t CUDPPSegmentedScanPlan::m_numLevelsAllocated |
Number of levels allocaed (in _scanBlockSums)