libjmmcg
build_2783
A C++ library containing an eclectic mix of useful, advanced components.
|
Assist with implementing the parallel versions of the standard algorithms. More...
#include <parallel_algorithms.hpp>
Classes | |
class | sort |
Public Types | |
typedef Comp | operation_type |
typedef operation_type::argument_type::thread_pool_type | thread_pool_type |
typedef thread_pool_type::pool_traits_type | pool_traits_type |
typedef operation_type::result_type | result_type |
typedef Conts | containers_type |
typedef containers_type::in_iterator | in_iterator |
typedef batchers_bitonic_merge_reduce< three_containers< typename containers_type::input_t::container_type, typename containers_type::input_t::container_type, typename containers_type::input_t::container_type >, Comp > | merge_t |
typedef sort< direction::ascending > | init_sorter_t |
Public Member Functions | |
constexpr | bitonic_sort_reduce (containers_type &c, operation_type const &op, cliques::element_type const cl) noexcept(true) FORCE_INLINE |
virtual | ~bitonic_sort_reduce () noexcept(true) FORCE_INLINE |
void __fastcall | process () const FORCE_INLINE |
constexpr bool __fastcall | operator< (bitonic_sort_reduce const &) const noexcept(true) FORCE_INLINE |
Static Public Attributes | |
static constexpr ppd::generic_traits::memory_access_modes | memory_access_mode =init_sorter_t::memory_access_mode |
Assist with implementing the parallel versions of the standard algorithms.
Note that this operation should operate on an output range that no-other thread should modify, i.e. that range should have at least a read-lock taken on it.
[1] \see sort_work_type \see thread_base::sort_t \see thread_base::alg_wrapper1
Definition at line 964 of file parallel_algorithms.hpp.
typedef Conts jmmcg::ppd::private_::alg_wk_wrap::bitonic_sort_reduce< Conts, Comp >::containers_type |
Definition at line 969 of file parallel_algorithms.hpp.
typedef containers_type::in_iterator jmmcg::ppd::private_::alg_wk_wrap::bitonic_sort_reduce< Conts, Comp >::in_iterator |
Definition at line 970 of file parallel_algorithms.hpp.
typedef sort<direction::ascending> jmmcg::ppd::private_::alg_wk_wrap::bitonic_sort_reduce< Conts, Comp >::init_sorter_t |
Definition at line 973 of file parallel_algorithms.hpp.
typedef batchers_bitonic_merge_reduce<three_containers<typename containers_type::input_t::container_type, typename containers_type::input_t::container_type, typename containers_type::input_t::container_type>, Comp> jmmcg::ppd::private_::alg_wk_wrap::bitonic_sort_reduce< Conts, Comp >::merge_t |
Definition at line 971 of file parallel_algorithms.hpp.
typedef Comp jmmcg::ppd::private_::alg_wk_wrap::bitonic_sort_reduce< Conts, Comp >::operation_type |
Definition at line 965 of file parallel_algorithms.hpp.
typedef thread_pool_type::pool_traits_type jmmcg::ppd::private_::alg_wk_wrap::bitonic_sort_reduce< Conts, Comp >::pool_traits_type |
Definition at line 967 of file parallel_algorithms.hpp.
typedef operation_type::result_type jmmcg::ppd::private_::alg_wk_wrap::bitonic_sort_reduce< Conts, Comp >::result_type |
Definition at line 968 of file parallel_algorithms.hpp.
typedef operation_type::argument_type::thread_pool_type jmmcg::ppd::private_::alg_wk_wrap::bitonic_sort_reduce< Conts, Comp >::thread_pool_type |
Definition at line 966 of file parallel_algorithms.hpp.
|
inlineconstexprnoexcept |
Definition at line 438 of file parallel_algorithms_impl.hpp.
|
inlinevirtualnoexcept |
Definition at line 982 of file parallel_algorithms.hpp.
|
inlineconstexprnoexcept |
Definition at line 987 of file parallel_algorithms.hpp.
|
inline |
Definition at line 443 of file parallel_algorithms_impl.hpp.
|
staticconstexpr |
To assist in allowing compile-time computation of the algorithmic order of the threading model.
Definition at line 979 of file parallel_algorithms.hpp.