1 extern "C" void abort ();
3 #define M(x, y, z) O(x, y, z)
4 #define O(x, y, z) x ## _ ## y ## _ ## z
6 #pragma omp declare target
11 #define N(x) M(x, G, normal)
12 #include "../libgomp.c/for-2.h"
18 #pragma omp end declare target
22 #define DO_PRAGMA(x) _Pragma (#x)
23 #define OMPFROM(v) DO_PRAGMA (omp target update from(v))
24 #define OMPTO(v) DO_PRAGMA (omp target update to(v))
26 #define F target parallel for
28 #include "../libgomp.c/for-1.h"
35 #define N(x) M(x, G, normal)
36 #include "../libgomp.c/for-2.h"
42 #define F target parallel for simd
44 #include "../libgomp.c/for-1.h"
48 #define F target teams distribute
51 #define N(x) M(x, G, normal)
52 #include "../libgomp.c/for-2.h"
58 #define F target teams distribute
60 #define S dist_schedule(static, 128)
61 #define N(x) M(x, G, normal)
62 #include "../libgomp.c/for-2.h"
68 #define F target teams distribute simd
71 #define N(x) M(x, G, normal)
72 #include "../libgomp.c/for-2.h"
78 #define F target teams distribute simd
80 #define S dist_schedule(static, 128)
81 #define N(x) M(x, G, normal)
82 #include "../libgomp.c/for-2.h"
88 #define F target teams distribute parallel for
90 #include "../libgomp.c/for-1.h"
94 #define F target teams distribute parallel for dist_schedule(static, 128)
96 #include "../libgomp.c/for-1.h"
100 #define F target teams distribute parallel for simd
102 #include "../libgomp.c/for-1.h"
106 #define F target teams distribute parallel for simd dist_schedule(static, 128)
107 #define G ttdpfs_ds128
108 #include "../libgomp.c/for-1.h"
115 if (test_tpf_static ()
116 || test_tpf_static32 ()
118 || test_tpf_guided32 ()
119 || test_tpf_runtime ()
120 || test_t_simd_normal ()
121 || test_tpf_simd_static ()
122 || test_tpf_simd_static32 ()
123 || test_tpf_simd_auto ()
124 || test_tpf_simd_guided32 ()
125 || test_tpf_simd_runtime ()
126 || test_ttd_normal ()
127 || test_ttd_ds128_normal ()
128 || test_ttds_normal ()
129 || test_ttds_ds128_normal ()
130 || test_ttdpf_static ()
131 || test_ttdpf_static32 ()
132 || test_ttdpf_auto ()
133 || test_ttdpf_guided32 ()
134 || test_ttdpf_runtime ()
135 || test_ttdpf_ds128_static ()
136 || test_ttdpf_ds128_static32 ()
137 || test_ttdpf_ds128_auto ()
138 || test_ttdpf_ds128_guided32 ()
139 || test_ttdpf_ds128_runtime ()
140 || test_ttdpfs_static ()
141 || test_ttdpfs_static32 ()
142 || test_ttdpfs_auto ()
143 || test_ttdpfs_guided32 ()
144 || test_ttdpfs_runtime ()
145 || test_ttdpfs_ds128_static ()
146 || test_ttdpfs_ds128_static32 ()
147 || test_ttdpfs_ds128_auto ()
148 || test_ttdpfs_ds128_guided32 ()
149 || test_ttdpfs_ds128_runtime ())