omp_pause_resource_all
– Release OpenMP resources on all devices ¶Free resources used by the OpenMP program and the runtime library on all devices, including the host. On success, zero is returned and non-zero otherwise.
The routine may not be called from within any explicit region and all explicit threads that do not bind to the implicit parallel region have finalized execution.
Prototype: | int omp_pause_resource(omp_pause_resource_t kind); |
Interface: | integer function omp_pause_resource(kind) |
integer (kind=omp_pause_resource_kind) kind |
OpenMP specification v5.0, Section 3.2.44.