omp_get_interop_type_desc (GNU libgomp)

#### 3.12.6 `omp_get_interop_type_desc` – Obtain type and description to an `interop_property` ¶

Description:

  The `omp_get_interop_type_desc` function returns a string that describes in human-readable form the data type associated with the property_id interoperability property of the passed interop object.

  In GCC, this function returns the name of the C/C++ data type for this property or ‘`N/A`’ if this property is not available for the given foreign runtime. If interop is `omp_interop_none` or for invalid property values, a null pointer is returned. The effect of running this routine in a `target` region that is not the initial device is unspecified.

C/C++:

  Prototype: | `const char *omp_get_interop_type_desc(const omp_interop_t interop, omp_interop_property_t property_id)`

Fortran:

  Interface: | `character(:) function omp_get_interop_type_desc(interop, property_id)`
  | `pointer :: omp_get_interop_type_desc`
  | `integer(omp_interop_kind), intent(in) :: interop`
  | `integer(omp_interop_property_kind) property_id`

See also:

  `omp_get_num_interop_properties` – Get the number of implementation-specific properties, `omp_get_interop_name` – Obtain the name of an `interop_property` value as string, Offload-Target Specifics

Reference:

  OpenMP specification v5.1, Section 3.12.6, OpenMP specification v6.0, Section 26.6