GNU g++  v5.2.1
GNU Standard C++
base.h File Reference

Sequential helper functions. More...

#include <bits/c++config.h>
#include <bits/stl_function.h>
#include <omp.h>
#include <parallel/features.h>
#include <parallel/basic_iterator.h>
#include <parallel/parallel.h>
Include dependency graph for base.h:
This graph shows which files directly or indirectly include this file:

Classes

class  __gnu_parallel::__binder1st< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >
 Similar to std::binder1st, but giving the argument types explicitly. More...
 
class  __gnu_parallel::__binder2nd< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >
 Similar to std::binder2nd, but giving the argument types explicitly. More...
 
class  __gnu_parallel::__unary_negate< _Predicate, argument_type >
 Similar to std::unary_negate, but giving the argument types explicitly. More...
 
class  __gnu_parallel::_EqualFromLess< _T1, _T2, _Compare >
 Constructs predicate for equality from strict weak ordering predicate. More...
 
struct  __gnu_parallel::_EqualTo< _T1, _T2 >
 Similar to std::equal_to, but allows two different types. More...
 
struct  __gnu_parallel::_Less< _T1, _T2 >
 Similar to std::less, but allows two different types. More...
 
struct  __gnu_parallel::_Less< _Tp, _Tp >
 
struct  __gnu_parallel::_Multiplies< _Tp1, _Tp2, _Result >
 Similar to std::multiplies, but allows two different types. More...
 
struct  __gnu_parallel::_Multiplies< _Tp, _Tp, _Tp >
 
struct  __gnu_parallel::_Plus< _Tp1, _Tp2, _Result >
 Similar to std::plus, but allows two different types. More...
 
struct  __gnu_parallel::_Plus< _Tp, _Tp, _Tp >
 
class  __gnu_parallel::_PseudoSequence< _Tp, _DifferenceTp >
 Sequence that conceptually consists of multiple copies of the same element. More...
 
class  __gnu_parallel::_PseudoSequenceIterator< _Tp, _DifferenceTp >
 _Iterator associated with __gnu_parallel::_PseudoSequence. More...
 

Namespaces

 __gnu_parallel
 GNU parallel code for public use.
 
 __gnu_sequential
 GNU sequential classes for public use.
 
 std::__parallel
 GNU parallel code, replaces standard behavior with parallel behavior.
 

Macros

#define _GLIBCXX_PARALLEL_ASSERT(_Condition)   __glibcxx_assert(_Condition)
 

Functions

void __gnu_parallel::__decode2 (_CASable __x, int &__a, int &__b)
 Decode two integers from one gnu_parallel::_CASable. More...
 
_CASable __gnu_parallel::__encode2 (int __a, int __b)
 Encode two integers into one gnu_parallel::_CASable. More...
 
_ThreadIndex __gnu_parallel::__get_max_threads ()
 
bool __gnu_parallel::__is_parallel (const _Parallelism __p)
 
template<typename _RAIter , typename _Compare >
_RAIter __gnu_parallel::__median_of_three_iterators (_RAIter __a, _RAIter __b, _RAIter __c, _Compare __comp)
 Compute the median of three referenced elements, according to __comp. More...
 
template<typename _Size >
_Size __gnu_parallel::__rd_log2 (_Size __n)
 Calculates the rounded-down logarithm of __n for base 2. More...
 
namespace std _GLIBCXX_VISIBILITY (default)
 
template<typename _Tp >
const _Tp & __gnu_parallel::max (const _Tp &__a, const _Tp &__b)
 Equivalent to std::max. More...
 
template<typename _Tp >
const _Tp & __gnu_parallel::min (const _Tp &__a, const _Tp &__b)
 Equivalent to std::min. More...
 

Detailed Description

Sequential helper functions.

This file is a GNU parallel extension to the Standard C++ Library.

Macro Definition Documentation

#define _GLIBCXX_PARALLEL_ASSERT (   _Condition)    __glibcxx_assert(_Condition)

Referenced by __gnu_parallel::_LoserTree< __stable, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTree< false, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreePointer< __stable, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreePointer< false, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreeUnguarded< __stable, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreeUnguarded< false, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreePointerUnguarded< false, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::__find_template(), __gnu_parallel::_LoserTreeUnguardedBase< _Tp, _Compare >::__get_min_source(), __gnu_parallel::_LoserTreePointerUnguardedBase< _Tp, _Compare >::__get_min_source(), __gnu_parallel::_LoserTreeUnguarded< __stable, _Tp, _Compare >::__init(), __gnu_parallel::_LoserTreeUnguarded< false, _Tp, _Compare >::__init(), __gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >::__init(), __gnu_parallel::_LoserTreePointerUnguarded< false, _Tp, _Compare >::__init(), __gnu_parallel::_LoserTreeUnguarded< false, _Tp, _Compare >::__init_winner(), __gnu_parallel::_LoserTreePointerUnguarded< false, _Tp, _Compare >::__init_winner(), __gnu_parallel::__merge_advance_movc(), __gnu_parallel::__parallel_partial_sum(), __gnu_parallel::__parallel_partition(), __gnu_parallel::__parallel_sort(), __gnu_parallel::__parallel_sort_qsb(), __gnu_parallel::__qsb_conquer(), __gnu_parallel::__qsb_divide(), __gnu_parallel::__qsb_local_sort_with_helping(), __gnu_parallel::__sequential_multiway_merge(), __gnu_parallel::multiseq_partition(), __gnu_parallel::multiway_merge_3_variant(), __gnu_parallel::multiway_merge_loser_tree_sentinel(), __gnu_parallel::multiway_merge_loser_tree_unguarded(), __gnu_parallel::parallel_multiway_merge(), and __gnu_parallel::_RestrictedBoundedConcurrentQueue< _Piece >::push_front().

Function Documentation

namespace std _GLIBCXX_VISIBILITY ( default  )