CUDPP  2.2
CUDA Data-Parallel Primitives Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
CUDPPSegmentedScanPlan Class Reference

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
 
CUDPPManagerm_planManager
 

Detailed Description

Plan class for segmented scan algorithm.

Constructor & Destructor Documentation

CUDPPSegmentedScanPlan::CUDPPSegmentedScanPlan ( CUDPPManager mgr,
CUDPPConfiguration  config,
size_t  numElements 
)

SegmentedScan Plan constructor.

Parameters
[in]mgrpointer to the CUDPPManager
[in]configThe configuration struct specifying options
[in]numElementsThe maximum number of elements to be scanned

Member Data Documentation

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)


The documentation for this class was generated from the following files: