1 /* Exercise nested function decomposition, gcc/tree-nested.c. */
6 int j
= 0, k
= 6, l
= 7, m
= 8;
13 for (i
= 0; i
< m
; i
+= k
)
22 #pragma acc loop collapse (3)
23 for (x
= 0; x
< k
; x
++)
24 for (y
= -5; y
< l
; y
++)
25 for (z
= 0; z
< m
; z
++)
32 #pragma acc parallel reduction (+:j)
34 #pragma acc loop reduction (+:j) collapse (3)
35 for (x
= 0; x
< k
; x
++)
36 for (y
= -5; y
< l
; y
++)
37 for (z
= 0; z
< m
; z
++)