libstdc++
__gnu_parallel::unbalanced_tag Struct Reference
Inheritance diagram for __gnu_parallel::unbalanced_tag:
Inheritance graph

Public Member Functions

thread_index_t get_num_threads ()
void set_num_threads (thread_index_t num_threads)

Detailed Description

Recommends parallel execution using static load-balancing at compile time.

Definition at line 98 of file tags.h.

Member Function Documentation

thread_index_t __gnu_parallel::parallel_tag::get_num_threads ( )
inlineinherited

Find out desired number of threads.

Returns
Desired number of threads.

Definition at line 67 of file tags.h.

Referenced by __gnu_parallel::parallel_sort().

void __gnu_parallel::parallel_tag::set_num_threads ( thread_index_t  num_threads)
inlineinherited

Set the desired number of threads.

Parameters
num_threadsDesired number of threads.

Definition at line 77 of file tags.h.


The documentation for this struct was generated from the following file: