omp_get_interop_int
– Obtain integer-valued interoperability property ¶The omp_get_interop_int
function returns the integer value associated
with the property_id interoperability property of the passed interop
object. The ret_code argument is optional, i.e. it can be omitted in C++
and Fortran or used with NULL
as argument in C and C++. If successful,
ret_code (if present) is set to omp_irc_success
.
In GCC, the effect of running this routine in a target
region that is not
the initial device is unspecified.
Prototype: | omp_intptr_t omp_get_interop_int(const omp_interop_t interop,
omp_interop_property_t property_id, int *ret_code) |
Interface: | integer(c_intptr_t) function omp_get_interop_int(interop,
property_id, ret_code) |
use, intrinsic :: iso_c_binding, only : c_intptr_t | |
integer(omp_interop_kind), intent(in) :: interop | |
integer(omp_interop_property_kind) property_id | |
integer(omp_interop_rc_kind), optional, intent(out) :: ret_code |
omp_get_interop_ptr
– Obtain pointer-valued interoperability property, omp_get_interop_str
– Obtain string-valued interoperability property, omp_get_interop_rc_desc
– Obtain error string to an interop_rc
error code
OpenMP specification v5.1, Section 3.12.2, OpenMP specification v6.0, Section 26.2