CLOGS
C++ library for sorting and searching in OpenCL applications
|
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 &) |
Encapsulates the specifics of a radixsort problem.
After construction, you need to call setKeyType and possibly setValueType to configure the sort.
void clogs::RadixsortProblem::setKeyType | ( | const Type & | keyType | ) |
Set the key type for sorting.
keyType | The key type |
std::invalid_argument | if 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.