CUDPP  2.3
CUDA Data-Parallel Primitives Library
Public Member Functions | Public Attributes | List of all members
CUDPPReducePlan Class Reference

Plan class for reduce algorithm. More...

#include <cudpp_plan.h>

Inherits CUDPPPlan.

Public Member Functions

 CUDPPReducePlan (CUDPPManager *mgr, CUDPPConfiguration config, size_t numElements)
 Reduce Plan constructor. More...
virtual ~CUDPPReducePlan ()
 Reduce 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

unsigned int m_threadsPerBlock
unsigned int m_maxBlocks
void * m_blockSums
- Public Attributes inherited from CUDPPPlan
CUDPPConfiguration m_config
size_t m_numElements
size_t m_numRows
size_t m_rowPitch

Detailed Description

Plan class for reduce algorithm.

Constructor & Destructor Documentation

CUDPPReducePlan::CUDPPReducePlan ( CUDPPManager mgr,
CUDPPConfiguration  config,
size_t  numElements 

Reduce Plan constructor.

[in]mgrpointer to the CUDPPManager
[in]configThe configuration struct specifying options
[in]numElementsThe maximum number of elements to be reduced

Member Data Documentation

unsigned int CUDPPReducePlan::m_threadsPerBlock

number of threads to launch per block

unsigned int CUDPPReducePlan::m_maxBlocks

maximum number of blocks to launch

void* CUDPPReducePlan::m_blockSums

Intermediate block sums array

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