omp_get_supported_active_team_dims (GNU libgomp)

#### 3.4.6 `omp_get_supported_active_team_dims` – Number of supported team dimensions ¶

Description:

  The routine returns the number of active spatial dimensions that the device with device_num supports for teams. If native_support is set to true, it returns the maximal number active spatial dimensions that are natively supported by the device.

  The effect when the routine is invoked from within a `target` region is unspecified.

  Fortran note: In GCC, this routine does not support passing default-kind integer arguments with `-fdefault-integer-8`.

C/C++:

  Prototype: | `int omp_get_supported_active_team_dims(int device_num, int native_support)`

Fortran:

  Interface: | `integer function omp_get_supported_active_team_dims(device_num, native_support)`
  | `integer :: device_num`
  | `logical :: native_support`

See also:

  `omp_get_supported_teams_dim` – Get upper limit of teams in a dimension, `omp_get_num_teams_dim` – Number of teams along a dimension, `OMP_NUM_TEAMS` – Specifies the number of teams to use by teams region

Reference:

  OpenMP Technical Report 15, Section 29.6