7 unsigned long long int k
= 16;
8 #pragma omp declare target to (k)
13 unsigned char a
[144], b
[144], c
[144];
15 #pragma omp target map(from:a, b, c)
18 unsigned long long int j
;
19 #pragma omp parallel for schedule (runtime)
20 for (i
= 0; i
< 16; i
++)
22 #pragma omp parallel for schedule (monotonic: runtime)
23 for (i
= 0; i
< 16; i
++)
25 #pragma omp parallel for schedule (nonmonotonic: runtime)
26 for (i
= 0; i
< 16; i
++)
30 #pragma omp for schedule (runtime)
31 for (i
= 0; i
< 16; i
++)
33 #pragma omp for schedule (monotonic: runtime)
34 for (i
= 0; i
< 16; i
++)
36 #pragma omp for schedule (nonmonotonic: runtime)
37 for (i
= 0; i
< 16; i
++)
39 #pragma omp for schedule (runtime)
40 for (j
= 0; j
< k
; j
++)
42 #pragma omp for schedule (monotonic: runtime)
43 for (j
= 0; j
< k
; j
++)
45 #pragma omp for schedule (nonmonotonic: runtime)
46 for (j
= 0; j
< k
; j
++)
49 #pragma omp parallel for schedule (dynamic)
50 for (i
= 0; i
< 16; i
++)
52 #pragma omp parallel for schedule (monotonic: dynamic)
53 for (i
= 0; i
< 16; i
++)
55 #pragma omp parallel for schedule (nonmonotonic: dynamic)
56 for (i
= 0; i
< 16; i
++)
60 #pragma omp for schedule (dynamic)
61 for (i
= 0; i
< 16; i
++)
63 #pragma omp for schedule (monotonic: dynamic)
64 for (i
= 0; i
< 16; i
++)
66 #pragma omp for schedule (nonmonotonic: dynamic)
67 for (i
= 0; i
< 16; i
++)
69 #pragma omp for schedule (dynamic)
70 for (j
= 0; j
< k
; j
++)
72 #pragma omp for schedule (monotonic: dynamic)
73 for (j
= 0; j
< k
; j
++)
75 #pragma omp for schedule (nonmonotonic: dynamic)
76 for (j
= 0; j
< k
; j
++)
79 #pragma omp parallel for schedule (guided)
80 for (i
= 0; i
< 16; i
++)
82 #pragma omp parallel for schedule (monotonic: guided)
83 for (i
= 0; i
< 16; i
++)
85 #pragma omp parallel for schedule (nonmonotonic: guided)
86 for (i
= 0; i
< 16; i
++)
90 #pragma omp for schedule (guided)
91 for (i
= 0; i
< 16; i
++)
93 #pragma omp for schedule (monotonic: guided)
94 for (i
= 0; i
< 16; i
++)
96 #pragma omp for schedule (nonmonotonic: guided)
97 for (i
= 0; i
< 16; i
++)
99 #pragma omp for schedule (guided)
100 for (j
= 0; j
< k
; j
++)
102 #pragma omp for schedule (monotonic: guided)
103 for (j
= 0; j
< k
; j
++)
104 c
[j
+ 112] = j
+ 112;
105 #pragma omp for schedule (nonmonotonic: guided)
106 for (j
= 0; j
< k
; j
++)
107 c
[j
+ 128] = j
+ 128;
110 for (l
= 0; l
< 144; ++l
)
111 if (a
[l
] != l
|| b
[l
] != l
|| c
[l
] != l
)