Debian Codegraph @

gcc/testsuite/gfortran.dg/gomp/num-teams-1.f90

raw
1 module m
2 implicit none (type, external)
3
4 interface
5 integer function fn(i); integer :: i; end
6 end interface
7
8 contains
9
10 subroutine foo
11 !$omp teams num_teams (4 : 6)
12 !$omp end teams
13
14 !$omp teams num_teams (7)
15 !$omp end teams
16 end
17
18 subroutine bar
19 !$omp target teams num_teams (5 : 19)
20 !$omp end target teams
21
22 !$omp target teams num_teams (21)
23 !$omp end target teams
24 end
25
26 subroutine baz
27 !$omp teams num_teams (fn (1) : fn (2))
28 !$omp end teams
29
30 !$omp teams num_teams (fn (3))
31 !$omp end teams
32 end
33
34 subroutine qux
35 !$omp target teams num_teams (fn (4) : fn (5))
36 !$omp end target teams
37
38 !$omp target teams num_teams (fn (6))
39 !$omp end target teams
40 end
41
42 subroutine corge
43 !$omp target
44 !$omp teams num_teams (fn (7) : fn (8))
45 !$omp end teams
46 !$omp end target
47
48 !$omp target
49 !$omp teams num_teams (fn (9))
50 !$omp end teams
51 !$omp end target
52 end
53 end module m