9 int i
, j
, k
, l
= 0, f
= 0;
10 int m1
= 4, m2
= -5, m3
= 17;
12 #pragma omp parallel for num_threads (8) collapse(3) \
13 schedule(static, 9) reduction(+:l) \
15 for (i
= -2; i
< m1
; i
++)
16 for (j
= m2
; j
< -2; j
++)
18 for (k
= 13; k
< m3
; k
++)
20 if (omp_get_num_threads () == 8
21 && ((i
+ 2) * 12 + (j
+ 5) * 4 + (k
- 13)
22 != (omp_get_thread_num () * 9