33#ifndef _GLIBCXX_PARALLEL_TAGS_H
34#define _GLIBCXX_PARALLEL_TAGS_H 1
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; }
81 default_parallel_tag() { }
130 multiway_mergesort_tag() { }
139 multiway_mergesort_exact_tag() { }
140 multiway_mergesort_exact_tag(
_ThreadIndex __num_threads)
148 multiway_mergesort_sampling_tag() { }
149 multiway_mergesort_sampling_tag(
_ThreadIndex __num_threads)
166 balanced_quicksort_tag() { }
Basic types and typedefs. This file is a GNU parallel extension to the Standard C++ Library.
GNU parallel code for public use.
uint16_t _ThreadIndex
Unsigned integer to index a thread number. The maximum thread number (for each processor) must fit in...
Forces sequential execution at compile time.
parallel_tag()
Default constructor. Use default number of threads.
_ThreadIndex __get_num_threads()
Find out desired number of threads.
parallel_tag(_ThreadIndex __num_threads)
Default constructor. Recommend number of threads to use.
void set_num_threads(_ThreadIndex __num_threads)
Set the desired number of threads.
Recommends parallel execution using dynamic load-balancing at compile time.
Recommends parallel execution using static load-balancing at compile time.
Recommends parallel execution using OpenMP dynamic load-balancing at compile time.
Recommends parallel execution using OpenMP static load-balancing at compile time.
Base class for for std::find() variants.
Selects the growing block size variant for std::find().
Selects the constant block size variant for std::find().
Selects the equal splitting variant for std::find().