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