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.3 Internal Control Variables
3.4 Dynamic Adjustment of Threads
3.9.3 Runtime Library Definitions
6. Automatic Scoping of Variables
If the argument to omp_set_num_threads() is not a positive integer, then the call is ignored. A warning message is issued if SUNW_MP_WARN is set to TRUE or a callback function is registered by a call to sunw_mp_register_warn().
The behavior for the Oracle Solaris Studio specific sunw_mp_sched_reserved schedule is the same as static with no chunk size.
If omp_set_max_active_levels()is called from within an active parallel region, then the call is ignored. A warning message is issued if SUNW_MP_WARN is set to TRUE or a callback function is registered by a call to sunw_mp_register_warn().
If the argument to omp_set_max_active_levels() is not a non-negative integer, then the call is ignored. A warning message is issued if SUNW_MP_WARN is set to TRUE or a callback function is registered by a call to sunw_mp_register_warn().
omp_get_max_active_levels() can be called from anywhere in the program. The call returns the value of the max-active-levels-var internal control variable.