33 #ifndef _GLIBCXX_PARALLEL_TAGS_H
34 #define _GLIBCXX_PARALLEL_TAGS_H 1
39 namespace __gnu_parallel
54 { _M_num_threads = 0; }
59 { _M_num_threads = __num_threads; }
65 if(_M_num_threads == 0)
66 return omp_get_max_threads();
68 return _M_num_threads;
74 { _M_num_threads = __num_threads; }
_ThreadIndex __get_num_threads()
Find out desired number of threads.
parallel_tag()
Default constructor. Use default number of threads.
Forces parallel sorting using balanced quicksort at compile time.
uint16_t _ThreadIndex
Unsigned integer to index a thread number. The maximum thread number (for each processor) must fit in...
Forces parallel sorting using multiway mergesort with exact splitting at compile time.
parallel_tag(_ThreadIndex __num_threads)
Default constructor. Recommend number of threads to use.
Recommends parallel execution using OpenMP static load-balancing at compile time. ...
Forces sequential execution at compile time.
Forces parallel sorting using unbalanced quicksort at compile time.
Selects the constant block size variant for std::find().
Selects the growing block size variant for std::find().
Forces parallel merging with exact splitting, at compile time.
Recommends parallel execution at compile time, optionally using a user-specified number of threads...
Forces parallel sorting using multiway mergesort at compile time.
void set_num_threads(_ThreadIndex __num_threads)
Set the desired number of threads.
Recommends parallel execution using dynamic load-balancing at compile time.
Base class for for std::find() variants.
Selects the equal splitting variant for std::find().
Forces parallel sorting using multiway mergesort with splitting by sampling at compile time...
Basic types and typedefs. This file is a GNU parallel extension to the Standard C++ Library...
Recommends parallel execution using OpenMP dynamic load-balancing at compile time.
Recommends parallel execution using static load-balancing at compile time.
Forces parallel merging with exact splitting, at compile time.
Recommends parallel execution using the default parallel algorithm.