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

Header file providing RAJA sort declarations. More...

#include "RAJA/config.hpp"
#include <algorithm>
#include <functional>
#include <iterator>
#include <omp.h>
#include "RAJA/util/macros.hpp"
#include "RAJA/util/concepts.hpp"
#include "RAJA/policy/openmp/policy.hpp"
#include "RAJA/policy/sequential/sort.hpp"
#include "RAJA/pattern/detail/algorithm.hpp"

Go to the source code of this file.

Namespaces

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

Functions

constexpr int RAJA::impl::sort::detail::openmp::get_min_iterates_per_task ()
 
template<typename Sorter , typename Iter , typename Compare >
void RAJA::impl::sort::detail::openmp::sort_parallel_region (Sorter sorter, Iter begin, RAJA::detail::IterDiff< Iter > n, Compare comp)
 sort given range using sorter and comparison function by manually assigning work to threads More...
 
template<typename Sorter , typename Iter , typename Compare >
void RAJA::impl::sort::detail::openmp::sort (Sorter sorter, Iter begin, Iter end, Compare comp)
 sort given range using sorter and comparison function More...
 
template<typename ExecPolicy , typename Iter , typename Compare >
concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_openmp_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_openmp_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_openmp_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_openmp_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.