CUDPP 2.0
CUDA Data-Parallel Primitives Library
/mnt/hgfs/VMWare/cudpp/src/cudpp/app/radixsort_app.cu File Reference

CUDPP application-level radix sorting routines. More...

#include "cuda_util.h"
#include "cudpp.h"
#include "cudpp_util.h"
#include "cudpp_radixsort.h"
#include "cudpp_scan.h"
#include <thrust/sort.h>
#include <thrust/device_ptr.h>
#include <thrust/reverse.h>

Functions

RadixSort Functions
void allocRadixSortStorage (CUDPPRadixSortPlan *plan)
 From the programmer-specified sort configuration, creates internal memory for performing the sort.
void freeRadixSortStorage (CUDPPRadixSortPlan *plan)
 Deallocates intermediate memory from allocRadixSortStorage.
template<typename T >
void runSort (T *pkeys, unsigned int *pvals, size_t numElements, const CUDPPRadixSortPlan *plan)
void cudppRadixSortDispatch (void *keys, void *values, size_t numElements, const CUDPPRadixSortPlan *plan)
 Dispatch function to perform a sort on an array with a specified configuration.

Detailed Description

CUDPP application-level radix sorting routines.

radixsort_app.cu

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines