CUDPP
2.1
CUDA Data-Parallel Primitives Library
|
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 |
CUDPPManager * | m_planManager |
Plan class for reduce algorithm.
CUDPPReducePlan::CUDPPReducePlan | ( | CUDPPManager * | mgr, |
CUDPPConfiguration | config, | ||
size_t | numElements | ||
) |
Reduce Plan constructor.
[in] | mgr | pointer to the CUDPPManager |
[in] | config | The configuration struct specifying options |
[in] | numElements | The maximum number of elements to be reduced |
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