CUDPP 1.1
|
Plan class for compact algorithm. More...
#include <cudpp_plan.h>
Inherits CUDPPPlan.
Public Member Functions | |
CUDPPCompactPlan (CUDPPConfiguration config, size_t numElements, size_t numRows, size_t rowPitch) | |
Compact Plan constructor. | |
virtual | ~CUDPPCompactPlan () |
Compact plan destructor. | |
Public Attributes | |
CUDPPScanPlan * | m_scanPlan |
unsigned int * | m_d_outputIndices |
Plan class for compact algorithm.
CUDPPCompactPlan::CUDPPCompactPlan | ( | CUDPPConfiguration | config, |
size_t | numElements, | ||
size_t | numRows, | ||
size_t | rowPitch | ||
) |
Compact Plan constructor.
[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 |
<
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