Routines related to devices available to an OpenMP program. They have C linkage and do not throw exceptions.
omp_get_num_procs
– Number of processors onlineomp_set_default_device
– Set the default device for target regionsomp_get_default_device
– Get the default device for target regionsomp_get_num_devices
– Number of target devicesomp_get_device_num
– Return device number of current deviceomp_get_device_from_uid
– Obtain the device number to a unique idomp_get_uid_from_device
– Obtain the unique id of a deviceomp_is_initial_device
– Whether executing on the host deviceomp_get_initial_device
– Return device number of initial device