CLOGS
C++ library for sorting and searching in OpenCL applications
clogs::RadixsortProblem Class Reference

Encapsulates the specifics of a radixsort problem. More...

#include <radixsort.h>

Public Member Functions

 RadixsortProblem (const RadixsortProblem &)
 
RadixsortProblem & operator= (const RadixsortProblem &)
 
void setKeyType (const Type &keyType)
 Set the key type for sorting. More...
 
void setValueType (const Type &valueType)
 Set the value type for sorting. More...
 
void setTunePolicy (const TunePolicy &tunePolicy)
 Set the autotuning policy.
 

Friends

const detail::RadixsortProblem & detail::getDetail (const clogs::RadixsortProblem &)
 

Detailed Description

Encapsulates the specifics of a radixsort problem.

After construction, you need to call setKeyType and possibly setValueType to configure the sort.

Member Function Documentation

void clogs::RadixsortProblem::setKeyType ( const Type &  keyType)

Set the key type for sorting.

Parameters
keyTypeThe key type
Exceptions
std::invalid_argumentif keyType is not an unsigned integral scalar type
void clogs::RadixsortProblem::setValueType ( const Type &  valueType)

Set the value type for sorting.

This can be Type() to indicate that no values will be sorted.


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