HOME
| OPENMP API Specification: Version 5.1 November 2020

3.6.2  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.

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:

Cross References