CUDPP 1.1.1
|
Plan class for scan algorithm. More...
#include <cudpp_plan.h>
Inherits CUDPPPlan.
Public Member Functions | |
CUDPPScanPlan (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 |
Plan class for scan algorithm.
CUDPPScanPlan::CUDPPScanPlan | ( | CUDPPConfiguration | config, |
size_t | numElements, | ||
size_t | numRows, | ||
size_t | rowPitch | ||
) |
Scan Plan constructor.
[in] | config | The configuration struct specifying algorithm and options |
[in] | numElements | The maximum number of elements to be scanned |
[in] | numRows | The maximum number of rows (for 2D operations) to be scanned |
[in] | rowPitch | The pitch of the rows of input data, in elements |
void** CUDPPScanPlan::m_blockSums |
Intermediate block sums array
size_t* CUDPPScanPlan::m_rowPitches |
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)