Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3: OpenMP API User's Guide Oracle Solaris Studio 12.3 Information Library |
2. Compiling and Running OpenMP Programs
3. Implementation-Defined Behaviors
3.4 Dynamic Adjustment of Threads
3.7.3 omp_set_max_active_levels()
3.7.4 omp_get_max_active_levels()
3.9.3 Runtime Library Definitions
6. Automatic Scoping of Variables
The following internal control variables are defined by the implementation:
nthreads-var: Controls the number of threads requested for encountered parallel regions. The initial value of nthreads-var is 1.
dyn-var: Controls whether dynamic adjustment of the number of threads is enabled for encountered parallel regions. The initial value of dyn-var is TRUE (that is, dynamic adjustment is enabled).
run-sched-var: Controls the schedule that the runtime schedule clause uses for loop regions. The initial value of run-sched-var is static with no chunk size.
def-sched-var: Controls the implementation defined default scheduling of loop regions. The initial value of def-sched-var is static with no chunk size.
bind-var: Controls the binding of threads to processors. The initial value of bind-var is FALSE.
stacksize-var: Controls the stack size for threads that the OpenMP implementation creates. The initial value of stacksize-var is 4 Megabytes for 32-bit applications and 8 Megabytes for 64-bit applications.
wait-policy-var: Controls the desired behavior of waiting threads. The initial value of wait-policy-var is PASSIVE.
thread-limit-var: Controls the maximum number of threads participating in the OpenMP program. The initial value of thread-limit-var is 1024.
max-active-levels-var: Controls the maximum number of nested active parallel regions. The initial value of max-active-levels-var is 4.