CUDPP
2.3
CUDA Data-Parallel Primitives Library
|
Plan class for radixsort algorithm. More...
#include <cudpp_plan.h>
Inherits CUDPPPlan.
Public Member Functions | |
CUDPPRadixSortPlan (CUDPPManager *mgr, CUDPPConfiguration config, size_t numElements) | |
Radix Sort Plan constructor. More... | |
virtual | ~CUDPPRadixSortPlan () |
Radix sort 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 | |
bool | m_bBackward |
Designates reverse-order sort. | |
CUDPPScanPlan * | m_scanPlan |
void * | m_tempKeys |
void * | m_tempValues |
unsigned int * | m_counters |
unsigned int * | m_countersSum |
unsigned int * | m_blockOffsets |
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 radixsort algorithm.
CUDPPRadixSortPlan::CUDPPRadixSortPlan | ( | CUDPPManager * | mgr, |
CUDPPConfiguration | config, | ||
size_t | numElements | ||
) |
Radix Sort Plan constructor.
[in] | mgr | pointer to the CUDPPManager |
[in] | config | The configuration struct specifying options |
[in] | numElements | The maximum number of elements to be sorted |
CUDPPScanPlan* CUDPPRadixSortPlan::m_scanPlan |
Sort performs a scan of type unsigned int using this plan
|
mutable |
Intermediate storage for keys
|
mutable |
Intermediate storage for values
unsigned int* CUDPPRadixSortPlan::m_counters |
Counter for each radix
unsigned int* CUDPPRadixSortPlan::m_countersSum |
Prefix sum of radix counters
unsigned int* CUDPPRadixSortPlan::m_blockOffsets |
Global offsets of each radix in each block