omp_get_supported_active_league_dims (GNU libgomp)

#### 3.4.7 `omp_get_supported_active_league_dims` – Number of supported thread dimensions ¶

Description:

  The routine returns the number of active spatial dimensions that the device with device_num supports for league spaces, i.e. the number of threads available to each team in the league. 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_league_dims(int device_num, int native_support)`

Fortran:

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

See also:

  `omp_get_supported_threads_dim` – Get upper limit of threads in a dimension, `omp_get_thread_limit_dim` – Maximum number of threads in a dimension, `omp_get_num_teams_dim` – Number of teams along a dimension, `OMP_THREAD_LIMIT` – Set the maximum number of threads

Reference:

  OpenMP Technical Report 15, Section 29.7