CUDPP  2.2
CUDA Data-Parallel Primitives Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
CUDPPRadixSortPlan Class Reference

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.
 
CUDPPScanPlanm_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
 
CUDPPManagerm_planManager
 

Detailed Description

Plan class for radixsort algorithm.

Constructor & Destructor Documentation

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

Radix Sort Plan constructor.

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

Member Data Documentation

CUDPPScanPlan* CUDPPRadixSortPlan::m_scanPlan

Sort performs a scan of type unsigned int using this plan

void* CUDPPRadixSortPlan::m_tempKeys
mutable

Intermediate storage for keys

void* CUDPPRadixSortPlan::m_tempValues
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


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