HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.44  omp_pause_resource_all

Summary The omp_pause_resource_all routine allows the runtime to relinquish resources used by OpenMP on all devices.

Format

SVG-Viewer needed.

 

 
int omp_pause_resource_all(omp_pause_resource_t kind);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
integer function omp_pause_resource_all(kind) 
integer (kind=omp_pause_resource_kind) kind  

SVG-Viewer needed.

BindingThe binding task set for an omp_pause_resource_all region is the whole program.

EffectThe 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.2.43 on page 1144, or any implementation specific pause kind.

Tool CallbacksIf 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.

RestrictionsThe omp_pause_resource_all routine has the following restrictions:

Cross References