RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Classes | Namespaces | Functions
sort.hpp File Reference

Header file providing RAJA sort declarations. More...

#include "RAJA/config.hpp"
#include <algorithm>
#include <functional>
#include <iterator>
#include "RAJA/util/macros.hpp"
#include "RAJA/util/concepts.hpp"
#include "RAJA/util/zip.hpp"
#include "RAJA/util/sort.hpp"
#include "RAJA/policy/sequential/policy.hpp"

Go to the source code of this file.

Classes

struct  RAJA::impl::sort::detail::UnstableSorter
 Functional that performs an unstable sort with the given arguments, uses RAJA::intro_sort. More...
 
struct  RAJA::impl::sort::detail::StableSorter
 Functional that performs a stable sort with the given arguments, calls RAJA::merge_sort. More...
 

Namespaces

 RAJA
 
 RAJA::impl
 
 RAJA::impl::sort
 
 RAJA::impl::sort::detail
 

Functions

template<typename ExecPolicy , typename Iter , typename Compare >
concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_sequential_policy< ExecPolicy > > RAJA::impl::sort::unstable (resources::Host host_res, const ExecPolicy &, Iter begin, Iter end, Compare comp)
 sort given range using comparison function More...
 
template<typename ExecPolicy , typename Iter , typename Compare >
concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_sequential_policy< ExecPolicy > > RAJA::impl::sort::stable (resources::Host host_res, const ExecPolicy &, Iter begin, Iter end, Compare comp)
 stable sort given range using comparison function More...
 
template<typename ExecPolicy , typename KeyIter , typename ValIter , typename Compare >
concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_sequential_policy< ExecPolicy > > RAJA::impl::sort::unstable_pairs (resources::Host host_res, const ExecPolicy &, KeyIter keys_begin, KeyIter keys_end, ValIter vals_begin, Compare comp)
 sort given range of pairs using comparison function on keys More...
 
template<typename ExecPolicy , typename KeyIter , typename ValIter , typename Compare >
concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_sequential_policy< ExecPolicy > > RAJA::impl::sort::stable_pairs (resources::Host host_res, const ExecPolicy &, KeyIter keys_begin, KeyIter keys_end, ValIter vals_begin, Compare comp)
 

Detailed Description

Header file providing RAJA sort declarations.