Lines Matching refs:declare
15 #pragma omp end declare target // expected-error {{unexpected OpenMP directive '#pragma omp end dec…
20 #pragma omp declare target . // expected-error {{expected '(' after 'declare target'}}
22 #pragma omp declare target
24 #pragma omp end declare target shared(a) // expected-warning {{extra tokens at the end of '#pragma …
26 #pragma omp declare target map(a) // omp45-error {{expected at least one 'to' or 'link' clause}} om…
28 #pragma omp declare target to(foo1) // expected-error {{use of undeclared identifier 'foo1'}}
30 #pragma omp declare target link(foo2) // expected-error {{use of undeclared identifier 'foo2'}}
32 #pragma omp declare target to(f) device_type(host) // omp45-error {{unexpected 'device_type' clause…
35 #pragma omp declare target to(q) device_type(any) device_type(any) device_type(host) // omp45-error…
39 #pragma omp declare target to(q) indirect(true) indirect(false)
44 #pragma omp declare target to(q) indirect(xxx)
48 #pragma omp begin declare target to(q) indirect(fz()) device_type(nohost)
49 #pragma omp end declare target
52 #pragma omp begin declare target indirect to(xxx)
54 #pragma omp end declare target
58 #pragma omp declare target tofrom(xxx)
61 #pragma omp begin declare target device_type(host) indirect
63 #pragma omp end declare target
70 #pragma omp declare target link(func) allocate(a) // expected-error {{function name is not allowed …
74 #pragma omp declare target(bar) // omp5-warning {{declaration marked as declare target after first …
87 #pragma omp declare target
90 #pragma omp end declare target
95 #pragma omp declare target
100 #pragma omp end declare target
110 #pragma omp declare target
112 #pragma omp end declare target
114 #pragma omp end declare target // expected-error {{unexpected OpenMP directive '#pragma omp end dec…
116 #pragma omp declare target
117 #pragma omp declare target
119 #pragma omp end declare target
122 #pragma omp declare target
163 #pragma omp declare target
167 #pragma omp end declare target
169 #pragma omp end declare target
170 #pragma omp end declare target
171 #pragma omp end declare target // expected-error {{unexpected OpenMP directive '#pragma omp end dec…
178 #pragma omp declare target
180 #pragma omp end declare target
184 #pragma omp declare target // expected-error {{unexpected OpenMP directive '#pragma omp declare tar… in main()
186 #pragma omp end declare target // expected-error {{unexpected OpenMP directive '#pragma omp end dec… in main()
192 #pragma omp declare target
195 #pragma omp end declare target
197 #pragma omp declare target link(S) // expected-error {{'S' used in declare target directive is not …
199 #pragma omp declare target (x, x) // expected-error {{'x' appears multiple times in clauses on the …
200 #pragma omp declare target to(x) to(x) // expected-error {{'x' appears multiple times in clauses on…
201 #pragma omp declare target link(x) // expected-error {{'x' must not appear in both clauses 'to' and…
204 #pragma omp declare target to(bazz) device_type(nohost) // omp45-error {{unexpected 'device_type' c…
206 #pragma omp declare target to(bazzz) device_type(nohost) // omp45-error {{unexpected 'device_type' …
209 #pragma omp declare target to(host1) device_type(host) // omp45-error {{unexpected 'device_type' cl…
211 #pragma omp declare target to(host2)
213 #pragma omp declare target to(device) device_type(nohost) // omp45-error {{unexpected 'device_type'…
215 #pragma omp declare target to(host3)
217 #pragma omp declare target
222 #pragma omp end declare target
230 #pragma omp declare target to(MultiDevTy) device_type(any) // omp45-error {{unexpected 'device_t…
231 #pragma omp declare target to(MultiDevTy) device_type(host) // omp45-error {{unexpected 'device_t…
232 #pragma omp declare target to(MultiDevTy) device_type(nohost) // omp45-error {{unexpected 'device_t…
238 #pragma omp declare target
241 #pragma omp begin declare target