Calling omp get num threads in a Serial Section
From HPCBugBase
HPCBugBase Menu
Submit feedback
Overview
Index
- Defect types (defect patterns)
- Specific defects (individual defects that belong to a defect type)
- Instances (code examples)
- Articles (various info)
- Templates
- Show all categories
- Show all pages
Index by Languages
Contents |
[edit] Fault Description
omp_get_num_threads() returns the number of threads currently executing the parallel section where it is called. If it is called in a serial section, the return value is always 1 regardless of the value of OMP_NUM_THREADS.
[edit] Statistics (Frequency)
[edit] Other Findings and Contexts
|
No pages link to $1. |
