3 integer, dimension (128) :: a
, b
8 if (i
.ge
. 8 .and
. i
.le
. 15) then
10 else if (i
.ge
. 19 .and
. i
.le
. 23) then
12 else if (i
.ge
. 28 .and
. i
.le
. 38) then
13 if (iand (i
, 1) .eq
. 0) b(i
) = 3 * 256 + i
14 else if (i
.ge
. 59 .and
. i
.le
. 79) then
15 if (iand (i
- 59, 3) .eq
. 0) b(i
) = 4 * 256 + i
16 else if (i
.ge
. 101 .and
. i
.le
. 125) then
17 if (mod (i
- 101, 12) .eq
. 0) b(i
) = 5 * 256 + i
21 !$omp parallel num_threads (4)
50 if (any (a
.ne
. b
)) STOP 1
53 !$omp parallel num_threads (4)
55 !$omp do schedule (static)
60 !$omp do schedule (static, 1)
65 !$omp do schedule (static, 3)
70 !$omp do schedule (static, 6)
75 !$omp do schedule (static, 2)
82 if (any (a
.ne
. b
)) STOP 2
85 !$omp parallel num_threads (4)
87 !$omp do schedule (dynamic)
92 !$omp do schedule (dynamic, 4)
97 !$omp do schedule (dynamic, 1)
102 !$omp do schedule (dynamic, 2)
107 !$omp do schedule (dynamic, 3)
114 if (any (a
.ne
. b
)) STOP 3
117 !$omp parallel num_threads (4)
119 !$omp do schedule (guided)
124 !$omp do schedule (guided, 4)
129 !$omp do schedule (guided, 1)
134 !$omp do schedule (guided, 2)
139 !$omp do schedule (guided, 3)
146 if (any (a
.ne
. b
)) STOP 4
149 !$omp parallel num_threads (4)
151 !$omp do schedule (runtime)
156 !$omp do schedule (runtime)
161 !$omp do schedule (runtime)
166 !$omp do schedule (runtime)
171 !$omp do schedule (runtime)
178 if (any (a
.ne
. b
)) STOP 5