7 if (omp_get_num_teams () != 1 || omp_get_team_num () != 0)
9 #pragma omp parallel num_threads (2)
10 if (omp_get_num_teams () != 1 || omp_get_team_num () != 0)
12 #pragma omp teams num_teams (4)
14 int team
= omp_get_team_num ();
15 if (omp_get_num_teams () != 4 || (unsigned) team
>= 4U)
17 #pragma omp parallel num_threads (3)
18 if (omp_get_num_teams () != 4 || omp_get_team_num () != team
)
20 #pragma omp parallel if (0)
22 #pragma omp teams num_teams (2)
23 if (omp_get_num_teams () != 2
24 || (unsigned) omp_get_team_num () >= 2U)
26 if (omp_get_num_teams () != 4 || (unsigned) team
>= 4U)