CUDPP
2.2
CUDA Data-Parallel Primitives Library
|
Plan class for compact algorithm. More...
#include <cudpp_plan.h>
Inherits CUDPPPlan.
Public Member Functions | |
CUDPPCompactPlan (CUDPPManager *mgr, CUDPPConfiguration config, size_t numElements, size_t numRows, size_t rowPitch) | |
Compact Plan constructor. More... | |
virtual | ~CUDPPCompactPlan () |
Compact 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 | |
CUDPPScanPlan * | m_scanPlan |
unsigned int * | m_d_outputIndices |
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 compact algorithm.
CUDPPCompactPlan::CUDPPCompactPlan | ( | CUDPPManager * | mgr, |
CUDPPConfiguration | config, | ||
size_t | numElements, | ||
size_t | numRows, | ||
size_t | rowPitch | ||
) |
Compact Plan constructor.
[in] | mgr | pointer to the CUDPPManager |
[in] | config | The configuration struct specifying options |
[in] | numElements | The maximum number of elements to be compacted |
[in] | numRows | The number of rows (for 2D operations) to be compacted |
[in] | rowPitch | The pitch of the rows of input data, in elements |
<
CUDPPScanPlan* CUDPPCompactPlan::m_scanPlan |
Compact performs a scan of type unsigned int using this plan
unsigned int* CUDPPCompactPlan::m_d_outputIndices |
Output address of compacted elements; this is the result of scan