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

Plan class for compact algorithm. More...

#include <cudpp_plan.h>

Inherits CUDPPPlan.

List of all members.

Public Member Functions

 CUDPPCompactPlan (CUDPPManager *mgr, CUDPPConfiguration config, size_t numElements, size_t numRows, size_t rowPitch)
 Compact Plan constructor.
virtual ~CUDPPCompactPlan ()
 Compact plan destructor.

Public Attributes

CUDPPScanPlanm_scanPlan
unsigned int * m_d_outputIndices

Detailed Description

Plan class for compact algorithm.


Constructor & Destructor Documentation

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

Compact Plan constructor.

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

<

Todo:
Add support for multirow compaction


Member Data Documentation

Compact performs a scan of type unsigned int using this plan

Output address of compacted elements; this is the result of scan


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