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
23 #define DO_PRAGMA(x) _Pragma (#x)
24 #define OMPTGT DO_PRAGMA (omp target)
25 #define OMPFROM(v) DO_PRAGMA (omp target update from(v))
26 #define OMPTO(v) DO_PRAGMA (omp target update to(v))
28 #define F teams distribute
31 #define N(x) M(x, G, normal)
32 #include "../libgomp.c/for-2.h"
38 #define F teams distribute
40 #define S dist_schedule(static, 128)
41 #define N(x) M(x, G, normal)
42 #include "../libgomp.c/for-2.h"
48 #define F teams distribute simd
51 #define N(x) M(x, G, normal)
52 #include "../libgomp.c/for-2.h"
58 #define F teams distribute simd
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 teams distribute parallel for
70 #include "../libgomp.c/for-1.h"
74 #define F teams distribute parallel for dist_schedule(static, 128)
76 #include "../libgomp.c/for-1.h"
80 #define F teams distribute parallel for simd
82 #include "../libgomp.c/for-1.h"
86 #define F teams distribute parallel for simd dist_schedule(static, 128)
88 #include "../libgomp.c/for-1.h"
96 || test_td_ds128_normal ()
98 || test_tds_ds128_normal ()
99 || test_tdpf_static ()
100 || test_tdpf_static32 ()
102 || test_tdpf_guided32 ()
103 || test_tdpf_runtime ()
104 || test_tdpf_ds128_static ()
105 || test_tdpf_ds128_static32 ()
106 || test_tdpf_ds128_auto ()
107 || test_tdpf_ds128_guided32 ()
108 || test_tdpf_ds128_runtime ()
109 || test_tdpfs_static ()
110 || test_tdpfs_static32 ()
111 || test_tdpfs_auto ()
112 || test_tdpfs_guided32 ()
113 || test_tdpfs_runtime ()
114 || test_tdpfs_ds128_static ()
115 || test_tdpfs_ds128_static32 ()
116 || test_tdpfs_ds128_auto ()
117 || test_tdpfs_ds128_guided32 ()
118 || test_tdpfs_ds128_runtime ())