CUDPP 2.0
CUDA Data-Parallel Primitives Library
Public Member Functions | Public Attributes
CUDPPScanPlan Class Reference

Plan class for scan algorithm. More...

#include <cudpp_plan.h>

Inherits CUDPPPlan.

List of all members.

Public Member Functions

 CUDPPScanPlan (CUDPPManager *mgr, CUDPPConfiguration config, size_t numElements, size_t numRows, size_t rowPitch)
 Scan Plan constructor.
virtual ~CUDPPScanPlan ()
 CUDPP scan plan destructor.

Public Attributes

void ** m_blockSums
size_t * m_rowPitches
size_t m_numEltsAllocated
size_t m_numRowsAllocated
size_t m_numLevelsAllocated

Detailed Description

Plan class for scan algorithm.


Constructor & Destructor Documentation

CUDPPScanPlan::CUDPPScanPlan ( CUDPPManager mgr,
CUDPPConfiguration  config,
size_t  numElements,
size_t  numRows,
size_t  rowPitch 
)

Scan Plan constructor.

Parameters:
[in]mgrpointer to the CUDPPManager
[in]configThe configuration struct specifying algorithm and options
[in]numElementsThe maximum number of elements to be scanned
[in]numRowsThe maximum number of rows (for 2D operations) to be scanned
[in]rowPitchThe pitch of the rows of input data, in elements

Member Data Documentation

Intermediate block sums array

Pitch of each row in elements (for cudppMultiScan())

Number of elements allocated (maximum scan size)

Number of rows allocated (for cudppMultiScan())

Number of levels allocaed (in _scanBlockSums)


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines