Bolt
1.1
C++ template library with support for OpenCL
|
Returns the sorted result of all the elements in input based on equivalent keys. More...
#include <bolt/cl/bolt.h>
#include <bolt/cl/functional.h>
#include <string>
#include <iostream>
#include <bolt/cl/detail/sort_by_key.inl>
Go to the source code of this file.
Namespaces | |
namespace | bolt |
Defining namespace for the Bolt project. | |
namespace | bolt::cl |
Namespace containing OpenCL related data types and functions. | |
Functions | |
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 > | |
void | bolt::cl::sort_by_key (bolt::cl::control &ctl, RandomAccessIterator1 keys_first, RandomAccessIterator1 keys_last, RandomAccessIterator2 values_first, const std::string &cl_code="") |
This version of sort_by_key returns the sorted result of all the elements in the RandomAccessIterator between the the first and last elements key elements and corresponding values. The routine arranges the elements in an ascending order. | |
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 > | |
void | bolt::cl::sort_by_key (RandomAccessIterator1 keys_first, RandomAccessIterator1 keys_last, RandomAccessIterator2 values_first, const std::string &cl_code="") |
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 , typename StrictWeakOrdering > | |
void | bolt::cl::sort_by_key (bolt::cl::control &ctl, RandomAccessIterator1 keys_first, RandomAccessIterator1 keys_last, RandomAccessIterator2 values_first, StrictWeakOrdering comp, const std::string &cl_code="") |
This version of sort_by_key returns the sorted result of all the elements in the RandomAccessIterator between the the first and last elements key elements and corresponding values. The routine arranges the elements in an ascending order. | |
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 , typename StrictWeakOrdering > | |
void | bolt::cl::sort_by_key (RandomAccessIterator1 keys_first, RandomAccessIterator1 keys_last, RandomAccessIterator2 values_first, StrictWeakOrdering comp, const std::string &cl_code="") |
Returns the sorted result of all the elements in input based on equivalent keys.