CUDPP 2.0
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. | |
virtual | ~CUDPPReducePlan () |
Reduce plan destructor. | |
Public Attributes | |
unsigned int | m_threadsPerBlock |
unsigned int | m_maxBlocks |
void * | m_blockSums |
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 compacted |
unsigned int CUDPPReducePlan::m_threadsPerBlock |
number of threads to launch per block
unsigned int CUDPPReducePlan::m_maxBlocks |
maximum number of blocks to launch
Intermediate block sums array