1 /* { dg-additional-options "-std=gnu99" { target c } } */
9 #define DO_PRAGMA(x) _Pragma (#x)
10 #define OMPTEAMS DO_PRAGMA (omp teams)
11 #define M(x, y, z) O(x, y, z)
12 #define O(x, y, z) x ## _ ## y ## _ ## z
17 #define N(x) M(x, G, normal)
26 #define S dist_schedule(static, 128)
27 #define N(x) M(x, G, normal)
34 #define F distribute simd
37 #define N(x) M(x, G, normal)
44 #define F distribute simd
46 #define S dist_schedule(static, 128)
47 #define N(x) M(x, G, normal)
54 #define F distribute parallel for
60 #define F distribute parallel for dist_schedule(static, 128)
66 #define F distribute parallel for simd
72 #define F distribute parallel for simd dist_schedule(static, 128)
82 err
|= test_d_normal ();
83 err
|= test_d_ds128_normal ();
84 err
|= test_ds_normal ();
85 err
|= test_ds_ds128_normal ();
86 err
|= test_dpf_static ();
87 err
|= test_dpf_static32 ();
88 err
|= test_dpf_auto ();
89 err
|= test_dpf_guided32 ();
90 err
|= test_dpf_runtime ();
91 err
|= test_dpf_ds128_static ();
92 err
|= test_dpf_ds128_static32 ();
93 err
|= test_dpf_ds128_auto ();
94 err
|= test_dpf_ds128_guided32 ();
95 err
|= test_dpf_ds128_runtime ();
96 err
|= test_dpfs_static ();
97 err
|= test_dpfs_static32 ();
98 err
|= test_dpfs_auto ();
99 err
|= test_dpfs_guided32 ();
100 err
|= test_dpfs_runtime ();
101 err
|= test_dpfs_ds128_static ();
102 err
|= test_dpfs_ds128_static32 ();
103 err
|= test_dpfs_ds128_auto ();
104 err
|= test_dpfs_ds128_guided32 ();
105 err
|= test_dpfs_ds128_runtime ();