STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Typedefs | Enumerations | Variables
types.h File Reference

Basic types and typedefs. This file is a GNU parallel extension to the Standard C++ Library. More...

#include <cstdlib>
#include <limits>
#include <tr1/cstdint>

Go to the source code of this file.

Namespaces

 __gnu_parallel
 GNU parallel code for public use.
 

Typedefs

typedef uint64_t __gnu_parallel::_SequenceIndex
 Unsigned integer to index __elements. The total number of elements for each algorithm must fit into this type. More...
 
typedef uint16_t __gnu_parallel::_ThreadIndex
 Unsigned integer to index a thread number. The maximum thread number (for each processor) must fit into this type. More...
 
typedef int64_t __gnu_parallel::_CASable
 Longest compare-and-swappable integer type on this platform. More...
 

Enumerations

enum  __gnu_parallel::_Parallelism {
  __gnu_parallel::sequential, __gnu_parallel::parallel_unbalanced, __gnu_parallel::parallel_balanced, __gnu_parallel::parallel_omp_loop,
  __gnu_parallel::parallel_omp_loop_static, __gnu_parallel::parallel_taskqueue
}
 Run-time equivalents for the compile-time tags. More...
 
enum  __gnu_parallel::_AlgorithmStrategy { __gnu_parallel::heuristic, __gnu_parallel::force_sequential, __gnu_parallel::force_parallel }
 Strategies for run-time algorithm selection: More...
 
enum  __gnu_parallel::_SortAlgorithm { __gnu_parallel::MWMS, __gnu_parallel::QS, __gnu_parallel::QS_BALANCED }
 Sorting algorithms: More...
 
enum  __gnu_parallel::_MultiwayMergeAlgorithm { __gnu_parallel::LOSER_TREE }
 Merging algorithms: More...
 
enum  __gnu_parallel::_PartialSumAlgorithm { __gnu_parallel::RECURSIVE, __gnu_parallel::LINEAR }
 Partial sum algorithms: recursive, linear. More...
 
enum  __gnu_parallel::_SplittingAlgorithm { __gnu_parallel::SAMPLING, __gnu_parallel::EXACT }
 Sorting/merging algorithms: sampling, __exact. More...
 
enum  __gnu_parallel::_FindAlgorithm { __gnu_parallel::GROWING_BLOCKS, __gnu_parallel::CONSTANT_SIZE_BLOCKS, __gnu_parallel::EQUAL_SPLIT }
 Find algorithms: More...
 

Variables

static const int __gnu_parallel::_CASable_bits = std::numeric_limits<_CASable>::digits
 Number of bits of _CASable. More...
 
static const _CASable __gnu_parallel::_CASable_mask
 _CASable with the right half of bits set to 1. More...
 

Detailed Description

Basic types and typedefs. This file is a GNU parallel extension to the Standard C++ Library.