3 volatile int ji
= 100, ki
= 2;
4 volatile unsigned int ju
= 100, ku
= 2;
5 volatile long long int jll
= 100, kll
= 2;
6 volatile unsigned long long int jull
= 100, kull
= 2;
14 #pragma omp for reduction(+: l)
15 for (i
= ji
; i
< ki
; i
++)
19 #pragma omp parallel for reduction(+: l)
20 for (i
= ji
; i
< ki
; i
++)
24 #pragma omp for reduction(+: l) collapse(3)
25 for (j
= 0; j
< 4; j
++)
26 for (i
= ji
; i
< ki
; i
++)
27 for (k
= 0; k
< 5; k
+= 2)
31 #pragma omp parallel for reduction(+: l) collapse(3)
32 for (j
= 0; j
< 4; j
++)
33 for (i
= ji
; i
< ki
; i
++)
34 for (k
= 0; k
< 5; k
+= 2)
38 #pragma omp for reduction(+: l) collapse(3)
39 for (j2
= 0; j2
< 4; j2
++)
40 for (i
= ji
; i
< ki
; i
++)
41 for (k2
= 0; k2
< 5; k2
+= 2)
45 #pragma omp parallel for reduction(+: l) collapse(3)
46 for (j2
= 0; j2
< 4; j2
++)
47 for (i
= ji
; i
< ki
; i
++)
48 for (k2
= 0; k2
< 5; k2
+= 2)
52 #pragma omp parallel for reduction(+: l) collapse(3)
53 for (j
= 0; j
< 4; j
++)
54 for (i
= ji
; i
< ki
; i
++)
55 for (k
= ki
+ 10; k
< ji
- 10; k
+= 2)
59 #pragma omp parallel for reduction(+: l) collapse(3)
60 for (j
= ki
+ 10; j
< ji
- 10; j
++)
61 for (i
= ji
; i
< ki
; i
++)
62 for (k
= 0; k
< 5; k
+= 2)
73 #pragma omp for reduction(+: l)
74 for (i
= ju
; i
< ku
; i
++)
78 #pragma omp parallel for reduction(+: l)
79 for (i
= ju
; i
< ku
; i
++)
83 #pragma omp for reduction(+: l) collapse(3)
84 for (j
= 0; j
< 4; j
++)
85 for (i
= ju
; i
< ku
; i
++)
86 for (k
= 0; k
< 5; k
+= 2)
90 #pragma omp parallel for reduction(+: l) collapse(3)
91 for (j
= 0; j
< 4; j
++)
92 for (i
= ju
; i
< ku
; i
++)
93 for (k
= 0; k
< 5; k
+= 2)
97 #pragma omp for reduction(+: l) collapse(3)
98 for (j2
= 0; j2
< 4; j2
++)
99 for (i
= ju
; i
< ku
; i
++)
100 for (k2
= 0; k2
< 5; k2
+= 2)
104 #pragma omp parallel for reduction(+: l) collapse(3)
105 for (j2
= 0; j2
< 4; j2
++)
106 for (i
= ju
; i
< ku
; i
++)
107 for (k2
= 0; k2
< 5; k2
+= 2)
111 #pragma omp parallel for reduction(+: l) collapse(3)
112 for (j
= 0; j
< 4; j
++)
113 for (i
= ju
; i
< ku
; i
++)
114 for (k
= ku
; k
< ju
; k
+= 2)
118 #pragma omp parallel for reduction(+: l) collapse(3)
119 for (j
= ku
; j
< ju
; j
++)
120 for (i
= ju
; i
< ku
; i
++)
121 for (k
= 0; k
< 5; k
+= 2)
130 long long int i
, j
, k
;
131 unsigned long long int j2
, k2
;
132 #pragma omp for reduction(+: l)
133 for (i
= jll
; i
< kll
; i
++)
137 #pragma omp parallel for reduction(+: l)
138 for (i
= jll
; i
< kll
; i
++)
142 #pragma omp for reduction(+: l) collapse(3)
143 for (j
= 0; j
< 4; j
++)
144 for (i
= jll
; i
< kll
; i
++)
145 for (k
= 0; k
< 5; k
+= 2)
149 #pragma omp parallel for reduction(+: l) collapse(3)
150 for (j
= 0; j
< 4; j
++)
151 for (i
= jll
; i
< kll
; i
++)
152 for (k
= 0; k
< 5; k
+= 2)
156 #pragma omp for reduction(+: l) collapse(3)
157 for (j2
= 0; j2
< 4; j2
++)
158 for (i
= jll
; i
< kll
; i
++)
159 for (k2
= 0; k2
< 5; k2
+= 2)
163 #pragma omp parallel for reduction(+: l) collapse(3)
164 for (j2
= 0; j2
< 4; j2
++)
165 for (i
= jll
; i
< kll
; i
++)
166 for (k2
= 0; k2
< 5; k2
+= 2)
170 #pragma omp parallel for reduction(+: l) collapse(3)
171 for (j
= 0; j
< 4; j
++)
172 for (i
= jll
; i
< kll
; i
++)
173 for (k
= kll
; k
< jll
; k
+= 2)
177 #pragma omp parallel for reduction(+: l) collapse(3)
178 for (j
= kll
; j
< jll
; j
++)
179 for (i
= jll
; i
< kll
; i
++)
180 for (k
= 0; k
< 5; k
+= 2)
189 unsigned long long int i
, j
, k
;
190 long long int j2
, k2
;
191 #pragma omp for reduction(+: l)
192 for (i
= jull
; i
< kull
; i
++)
196 #pragma omp parallel for reduction(+: l)
197 for (i
= jull
; i
< kull
; i
++)
201 #pragma omp for reduction(+: l) collapse(3)
202 for (j
= 0; j
< 4; j
++)
203 for (i
= jull
; i
< kull
; i
++)
204 for (k
= 0; k
< 5; k
+= 2)
208 #pragma omp parallel for reduction(+: l) collapse(3)
209 for (j
= 0; j
< 4; j
++)
210 for (i
= jull
; i
< kull
; i
++)
211 for (k
= 0; k
< 5; k
+= 2)
215 #pragma omp for reduction(+: l) collapse(3)
216 for (j2
= 0; j2
< 4; j2
++)
217 for (i
= jull
; i
< kull
; i
++)
218 for (k2
= 0; k2
< 5; k2
+= 2)
222 #pragma omp parallel for reduction(+: l) collapse(3)
223 for (j2
= 0; j2
< 4; j2
++)
224 for (i
= jull
; i
< kull
; i
++)
225 for (k2
= 0; k2
< 5; k2
+= 2)
229 #pragma omp parallel for reduction(+: l) collapse(3)
230 for (j
= 0; j
< 4; j
++)
231 for (i
= jull
; i
< kull
; i
++)
232 for (k
= kull
; k
< jull
; k
+= 2)
236 #pragma omp parallel for reduction(+: l) collapse(3)
237 for (j
= kull
; j
< jull
; j
++)
238 for (i
= jull
; i
< kull
; i
++)
239 for (k
= 0; k
< 5; k
+= 2)