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

Plan class for reduce algorithm. More...

#include <cudpp_plan.h>

Inherits CUDPPPlan.

List of all members.

Public Member Functions

 CUDPPReducePlan (CUDPPManager *mgr, CUDPPConfiguration config, size_t numElements)
 Reduce Plan constructor.
virtual ~CUDPPReducePlan ()
 Reduce plan destructor.

Public Attributes

unsigned int m_threadsPerBlock
unsigned int m_maxBlocks
void * m_blockSums

Detailed Description

Plan class for reduce algorithm.


Constructor & Destructor Documentation

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

Reduce Plan constructor.

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

Member Data Documentation

number of threads to launch per block

maximum number of blocks to launch

Intermediate block sums array


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