33 #ifndef _GLIBCXX_PARALLEL_TAGS_H
34 #define _GLIBCXX_PARALLEL_TAGS_H 1
55 this->num_threads = 0;
62 this->num_threads = num_threads;
70 return omp_get_max_threads();
79 this->num_threads = num_threads;
Forces parallel sorting using multiway mergesort at compile time.
Forces parallel sorting using multiway mergesort with exact splitting at compile time.
Selects the constant block size variant for std::find().
Recommends parallel execution using OpenMP dynamic load-balancing at compile time.
Forces parallel merging with exact splitting, at compile time.
parallel_tag(thread_index_t num_threads)
Default constructor. Recommend number of threads to use.
Selects the equal splitting variant for std::find().
thread_index_t get_num_threads()
Find out desired number of threads.
Forces parallel sorting using balanced quicksort at compile time.
Forces parallel sorting using unbalanced quicksort at compile time.
Forces parallel sorting using multiway mergesort with splitting by sampling at compile time...
Recommends parallel execution using static load-balancing at compile time.
void set_num_threads(thread_index_t num_threads)
Set the desired number of threads.
parallel_tag()
Default constructor. Use default number of threads.
Base class for for std::find() variants.
Forces sequential execution at compile time.
GNU parallel code for public use.
Selects the growing block size variant for std::find().
Recommends parallel execution using OpenMP static load-balancing at compile time. ...
Forces parallel merging with exact splitting, at compile time.
Basic types and typedefs. This file is a GNU parallel extension to the Standard C++ Library...
uint16 thread_index_t
Unsigned integer to index a thread number. The maximum thread number (for each processor) must fit in...
Recommends parallel execution using dynamic load-balancing at compile time.
Recommends parallel execution at compile time, optionally using a user-specified number of threads...
Recommends parallel execution using the default parallel algorithm.