HOME
| OPENMP API Specification: "Version 5.2 -- GIT rev 95b2e3a44"

2.3  Modifying and Retrieving ICV Values

Section 2.3 shows methods for modifying and retrieving the ICV values. If (none) is listed for an ICV, the OpenMP API does not support its modification or retrieval. Calls to OpenMP API routines retrieve or modify data environment scoped ICVs in the data environment of their binding tasks.

Table 2.3:Ways to Modify and to Retrieve ICV Values
ICV

Ways to Modify Value

Ways to Retrieve Value

active-levels-var

(none)

omp_get_active_level

affinity-format-var

omp_set_affinity_format

omp_get_affinity_format

bind-var

(none)

omp_get_proc_bind

cancel-var

(none)

omp_get_cancellation

debug-var

(none)

(none)

def-allocator-var

omp_set_default_allocator

omp_get_default_allocator

default-device-var

omp_set_default_device

omp_get_default_device

display-affinity-var

(none)

(none)

dyn-var

omp_set_dynamic

omp_get_dynamic

explicit-task-var

(none)

omp_in_explicit_task

final-task-var

(none)

omp_in_final

levels-var

(none)

omp_get_level

max-active-levels-var

omp_set_max_active_levels, omp_set_nested

omp_get_max_active_levels

max-task-priority-var

(none)

omp_get_max_task_priority

nteams-var

omp_set_num_teams

omp_get_max_teams

nthreads-var

omp_set_num_threads

omp_get_max_threads

num-procs-var

(none)

omp_get_num_procs

place-partition-var

(none)

omp_get_partition_num_places, omp_get_partition_place_nums, omp_get_place_num_procs, omp_get_place_proc_ids

run-sched-var

omp_set_schedule

omp_get_schedule

stacksize-var

(none)

(none)

target-offload-var

(none)

(none)

team-size-var

(none)

omp_get_num_threads

teams-thread-limit-var

omp_set_teams_thread_limit

omp_get_teams_thread_limit

thread-limit-var

thread_limit

omp_get_thread_limit

thread-num-var

(none)

omp_get_thread_num

tool-libraries-var

(none)

(none)

tool-var

(none)

(none)

tool-verbose-init-var

(none)

(none)

wait-policy-var

(none)

(none)

Semantics

Cross References