omp_get_team_num_dim – Get team number in a dimension ¶Returns the value of dimension dim of the multidimensional team identification number in the current team, i.e. the value of the team-num-var ICV in dimension dim. For inactive spatial dimensions, the routine returns 0. The dimension argument DIM must be non-negative.
The returned value is between zero and one less than the value returned by
omp_get_num_teams_dim for the dimension dim.
Fortran note: In GCC, this routine does not support passing default-kind integer
arguments with -fdefault-integer-8.
| prototype: | int omp_get_team_num_dim(int dim); |
| interface: | integer function omp_get_team_num_dim(dim) |
integer :: dim |
omp_get_team_num_dim – Get team number in a dimension, OMP_NUM_TEAMS – Specifies the number of teams to use by teams region, omp_get_num_teams_dim – Number of teams along a dimension
OpenMP Technical Report 15, Section 29.4