omp_pause_resource – Release OpenMP resources on a device ¶Free resources used by the OpenMP program and the runtime library on and for the device specified by device_num; on success, zero is returned and non-zero otherwise.
The value of device_num must be a conforming device number. 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, int device_num); |
| Interface: | integer function omp_pause_resource(kind, device_num) |
integer (kind=omp_pause_resource_kind) kind | |
integer device_num |
OpenMP specification v5.0, Section 3.2.43.