int omp_pause_resource_all(omp_pause_resource_t kind);
Summary The omp_pause_resource_all routine allows the runtime to relinquish resources used by OpenMP on all devices.
Binding The binding task set for an omp_pause_resource_all region is the whole program.
Effect The omp_pause_resource_all routine allows the runtime to relinquish resources used by OpenMP on all devices. It is equivalent to calling the omp_pause_resource routine once for each available device, including the host device.
The argument kind passed to this routine can be one of the valid OpenMP pause kind as defined in Section 3.6.1, or any implementation-specific pause kind.
Tool Callbacks If the tool is not allowed to interact with a given device after encountering this call, then the runtime must call the tool finalizer for that device.
Restrictions Restrictions to the omp_pause_resource_all routine are as follows: