CUDPP  2.2
CUDA Data-Parallel Primitives Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
CUDPPCompactPlan Class Reference

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

CUDPPScanPlanm_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
 
CUDPPManagerm_planManager
 

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

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


The documentation for this class was generated from the following files: