__gnu_parallel::parallel_tag Struct Reference
Recommends parallel execution at compile time, optionally using a user-specified number of threads.
More...
List of all members.
Public Member Functions
Detailed Description
Recommends parallel execution at compile time, optionally using a user-specified number of threads.
Definition at line 46 of file tags.h.
Constructor & Destructor Documentation
__gnu_parallel::parallel_tag::parallel_tag |
( |
|
) |
[inline] |
Default constructor. Use default number of threads.
Definition at line 53 of file tags.h.
__gnu_parallel::parallel_tag::parallel_tag |
( |
thread_index_t |
num_threads |
) |
[inline] |
Default constructor. Recommend number of threads to use.
- Parameters:
-
| num_threads | Desired number of threads. |
Definition at line 60 of file tags.h.
Member Function Documentation
thread_index_t __gnu_parallel::parallel_tag::get_num_threads |
( |
|
) |
[inline] |
void __gnu_parallel::parallel_tag::set_num_threads |
( |
thread_index_t |
num_threads |
) |
[inline] |
Set the desired number of threads.
- Parameters:
-
| num_threads | Desired number of threads. |
Definition at line 77 of file tags.h.
The documentation for this struct was generated from the following file: