libstdc++
__gnu_parallel::omp_loop_static_tag Struct Reference
Inheritance diagram for __gnu_parallel::omp_loop_static_tag:
[legend]

Public Member Functions

_ThreadIndex __get_num_threads ()
 
void set_num_threads (_ThreadIndex __num_threads)
 

Detailed Description

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

Definition at line 100 of file tags.h.

Member Function Documentation

◆ __get_num_threads()

_ThreadIndex __gnu_parallel::parallel_tag::__get_num_threads ( )
inlineinherited

Find out desired number of threads.

Returns
Desired number of threads.

Definition at line 63 of file tags.h.

◆ set_num_threads()

void __gnu_parallel::parallel_tag::set_num_threads ( _ThreadIndex  __num_threads)
inlineinherited

Set the desired number of threads.

Parameters
__num_threadsDesired number of threads.

Definition at line 73 of file tags.h.


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