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

Base class for CUDPP Plan data structures. More...

#include <cudpp_plan.h>

Inherited by CUDPPCompactPlan, CUDPPRadixSortPlan, CUDPPRandPlan, CUDPPReducePlan, CUDPPScanPlan, CUDPPSegmentedScanPlan, CUDPPSparseMatrixVectorMultiplyPlan, and CUDPPTridiagonalPlan.

List of all members.

Public Member Functions

 CUDPPPlan (CUDPPManager *mgr, CUDPPConfiguration config, size_t numElements, size_t numRows, size_t rowPitch)
 Plan base class constructor.
CUDPPHandle getHandle ()

Public Attributes

CUDPPConfiguration m_config
size_t m_numElements
size_t m_numRows
size_t m_rowPitch
CUDPPManagerm_planManager

Detailed Description

Base class for CUDPP Plan data structures.

CUDPPPlan and its subclasses provide the internal (i.e. not visible to the library user) infrastructure for planning algorithm execution. They own intermediate storage for CUDPP algorithms as well as, in some cases, information about optimal execution configuration for the present hardware.


Constructor & Destructor Documentation

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

Plan base class constructor.

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

Member Function Documentation

CUDPPHandle CUDPPPlan::getHandle ( ) [inline]

Convert this pointer to an opaque handle

Returns:
Handle to a CUDPP plan

Member Data Documentation

Options structure

Maximum number of input elements

Maximum number of input rows

Reimplemented in CUDPPSparseMatrixVectorMultiplyPlan.

Pitch of input rows in elements

pointer to the manager of this plan


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