Lines Matching full:pragma
71 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}}
84 #pragma omp target
85 #pragma omp teams
86 #pragma omp distribute simd reduction // expected-error {{expected '(' after 'reduction'}}
89 #pragma omp target
90 #pragma omp teams
91 #pragma omp distribute simd reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp distribute simd' are ignored}}
94 #pragma omp target
95 #pragma omp teams
96 #pragma omp distribute simd reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}}
99 #pragma omp target
100 #pragma omp teams
101 #pragma omp distribute simd reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
104 #pragma omp target
105 #pragma omp teams
106 #pragma omp distribute simd reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
109 #pragma omp target
110 #pragma omp teams
111 #pragma omp distribute simd reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}}
114 #pragma omp target
115 #pragma omp teams
116 #pragma omp distribute simd reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
119 #pragma omp target
120 #pragma omp teams
121 #pragma omp distribute simd reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{invalid operands to binary expression ('float' and 'float')}}
124 #pragma omp target
125 #pragma omp teams
126 #pragma omp distribute simd reduction(| : argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{invalid operands to binary expression ('float' and 'float')}}
129 #pragma omp target
130 #pragma omp teams
131 #pragma omp distribute simd reduction(|| : argc ? i : argc) // expected-error 2 {{expected variable name, array element or array section}}
134 #pragma omp target
135 #pragma omp teams
136 #pragma omp distribute simd reduction(foo : argc) //expected-error {{incorrect reduction identifier, expected one of '+', '-', '*', '&', '|', '^', '&&', '||', 'min' or 'max' or declare reduction for type 'float'}} expected-error {{incorrect reduction identifier, expected one of '+', '-', '*', '&', '|', '^', '&&', '||', 'min' or 'max' or declare reduction for type 'int'}}
139 #pragma omp target
140 #pragma omp teams
141 #pragma omp distribute simd reduction(&& : argc)
144 #pragma omp target
145 #pragma omp teams
146 #pragma omp distribute simd reduction(^ : T) // expected-error {{'T' does not refer to a value}}
149 #pragma omp target
150 #pragma omp teams
151 #pragma omp distribute simd reduction(+ : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'}} expected-error 3 {{const-qualified list item cannot be reduction}} expected-error 2 {{'operator+' is a private member of 'S2'}}
154 #pragma omp target
155 #pragma omp teams
156 #pragma omp distribute simd reduction(min : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'}} expected-error 4 {{arguments of OpenMP clause 'reduction' for 'min' or 'max' must be of arithmetic type}} expected-error 3 {{const-qualified list item cannot be reduction}}
159 #pragma omp target
160 #pragma omp teams
161 #pragma omp distribute simd reduction(max : h.b) // expected-error {{expected variable name, array element or array section}}
164 #pragma omp target
165 #pragma omp teams
166 #pragma omp distribute simd reduction(+ : ba) // expected-error {{const-qualified list item cannot be reduction}}
169 #pragma omp target
170 #pragma omp teams
171 #pragma omp distribute simd reduction(* : ca) // expected-error {{const-qualified list item cannot be reduction}}
174 #pragma omp target
175 #pragma omp teams
176 #pragma omp distribute simd reduction(- : da) // expected-error {{const-qualified list item cannot be reduction}} expected-error {{const-qualified list item cannot be reduction}}
179 #pragma omp target
180 #pragma omp teams
181 #pragma omp distribute simd reduction(^ : fl) // expected-error {{invalid operands to binary expression ('float' and 'float')}}
184 #pragma omp target
185 #pragma omp teams
186 #pragma omp distribute simd reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}}
189 #pragma omp target
190 #pragma omp teams
191 #pragma omp distribute simd reduction(&& : S2::S2sc) // expected-error {{const-qualified list item cannot be reduction}}
194 #pragma omp target
195 #pragma omp teams
196 #pragma omp distribute simd reduction(+ : h, k) // expected-error {{threadprivate or thread local variable cannot be reduction}}
199 #pragma omp target
200 #pragma omp teams
201 #pragma omp distribute simd reduction(+ : o) // expected-error 2 {{no viable overloaded '='}}
204 #pragma omp target
205 #pragma omp teams
206 #pragma omp distribute simd private(i), reduction(+ : j), reduction(+ : q) // expected-error 4 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
209 #pragma omp parallel private(k)
210 #pragma omp target
211 #pragma omp teams
212 #pragma omp distribute simd reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
215 #pragma omp target
216 #pragma omp teams
217 #pragma omp distribute simd reduction(+ : p), reduction(+ : p) // expected-error 2 {{variable can appear only once in OpenMP 'reduction' clause}} expected-note 2 {{previously referenced here}}
220 #pragma omp target
221 #pragma omp teams
222 #pragma omp distribute simd reduction(+ : r) // expected-error 2 {{const-qualified list item cannot be reduction}}
225 #pragma omp parallel shared(i)
226 #pragma omp parallel reduction(min : i)
227 #pragma omp target
228 #pragma omp teams
229 #pragma omp distribute simd reduction(max : j) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
232 #pragma omp parallel private(fl)
233 #pragma omp target
234 #pragma omp teams
235 #pragma omp distribute simd reduction(+ : fl)
238 #pragma omp parallel reduction(* : fl)
239 #pragma omp target
240 #pragma omp teams
241 #pragma omp distribute simd reduction(+ : fl)
250 #pragma omp threadprivate(x) // expected-note {{defined as threadprivate or thread local}}
268 #pragma omp target
269 #pragma omp teams
270 #pragma omp distribute simd reduction // expected-error {{expected '(' after 'reduction'}}
273 #pragma omp target
274 #pragma omp teams
275 #pragma omp distribute simd reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp distribute simd' are ignored}}
278 #pragma omp target
279 #pragma omp teams
280 #pragma omp distribute simd reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}}
283 #pragma omp target
284 #pragma omp teams
285 #pragma omp distribute simd reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
288 #pragma omp target
289 #pragma omp teams
290 #pragma omp distribute simd reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
293 #pragma omp target
294 #pragma omp teams
295 #pragma omp distribute simd reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}}
298 #pragma omp target
299 #pragma omp teams
300 #pragma omp distribute simd reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
303 #pragma omp target
304 #pragma omp teams
305 #pragma omp distribute simd reduction(foo : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{incorrect reduction identifier, expected one of '+', '-', '*', '&', '|', '^', '&&', '||', 'min' or 'max'}}
308 #pragma omp target
309 #pragma omp teams
310 #pragma omp distribute simd reduction(| : argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
313 #pragma omp target
314 #pragma omp teams
315 #pragma omp distribute simd reduction(|| : argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name, array element or array section}}
318 #pragma omp target
319 #pragma omp teams
320 #pragma omp distribute simd reduction(~ : argc) // expected-error {{expected unqualified-id}}
323 #pragma omp target
324 #pragma omp teams
325 #pragma omp distribute simd reduction(&& : argc)
328 #pragma omp target
329 #pragma omp teams
330 #pragma omp distribute simd reduction(^ : S1) // expected-error {{'S1' does not refer to a value}}
333 #pragma omp target
334 #pragma omp teams
335 #pragma omp distribute simd reduction(+ : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'}} expected-error 2 {{const-qualified list item cannot be reduction}} expected-error {{'operator+' is a private member of 'S2'}}
338 #pragma omp target
339 #pragma omp teams
340 #pragma omp distribute simd reduction(min : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'}} expected-error 2 {{arguments of OpenMP clause 'reduction' for 'min' or 'max' must be of arithmetic type}} expected-error 2 {{const-qualified list item cannot be reduction}}
343 #pragma omp target
344 #pragma omp teams
345 #pragma omp distribute simd reduction(max : h.b) // expected-error {{expected variable name, array element or array section}}
348 #pragma omp target
349 #pragma omp teams
350 #pragma omp distribute simd reduction(+ : ba) // expected-error {{const-qualified list item cannot be reduction}}
353 #pragma omp target
354 #pragma omp teams
355 #pragma omp distribute simd reduction(* : ca) // expected-error {{const-qualified list item cannot be reduction}}
358 #pragma omp target
359 #pragma omp teams
360 #pragma omp distribute simd reduction(- : da) // expected-error {{const-qualified list item cannot be reduction}}
363 #pragma omp target
364 #pragma omp teams
365 #pragma omp distribute simd reduction(^ : fl) // expected-error {{invalid operands to binary expression ('float' and 'float')}}
368 #pragma omp target
369 #pragma omp teams
370 #pragma omp distribute simd reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}}
373 #pragma omp target
374 #pragma omp teams
375 #pragma omp distribute simd reduction(&& : S2::S2sc) // expected-error {{const-qualified list item cannot be reduction}}
378 #pragma omp target
379 #pragma omp teams
380 #pragma omp distribute simd reduction(& : e, g) // expected-error {{calling a private constructor of class 'S4'}} expected-error {{invalid operands to binary expression ('S4' and 'S4')}} expected-error {{calling a private constructor of class 'S5'}} expected-error {{invalid operands to binary expression ('S5' and 'S5')}}
383 #pragma omp target
384 #pragma omp teams
385 #pragma omp distribute simd reduction(+ : h, k, B::x) // expected-error 2 {{threadprivate or thread local variable cannot be reduction}}
388 #pragma omp target
389 #pragma omp teams
390 #pragma omp distribute simd reduction(+ : o) // expected-error {{no viable overloaded '='}}
393 #pragma omp target
394 #pragma omp teams
395 #pragma omp distribute simd private(i), reduction(+ : j), reduction(+ : q) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
398 #pragma omp parallel private(k)
399 #pragma omp target
400 #pragma omp teams
401 #pragma omp distribute simd reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
404 #pragma omp target
405 #pragma omp teams
406 #pragma omp distribute simd reduction(+ : p), reduction(+ : p) // expected-error {{variable can appear only once in OpenMP 'reduction' clause}} expected-note {{previously referenced here}}
409 #pragma omp target
410 #pragma omp teams
411 #pragma omp distribute simd reduction(+ : r) // expected-error {{const-qualified list item cannot be reduction}}
414 #pragma omp parallel shared(i)
415 #pragma omp parallel reduction(min : i)
416 #pragma omp target
417 #pragma omp teams
418 #pragma omp distribute simd reduction(max : j) // expected-error {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
421 #pragma omp parallel private(fl)
422 #pragma omp target
423 #pragma omp teams
424 #pragma omp distribute simd reduction(+ : fl)
427 #pragma omp parallel reduction(* : fl)
428 #pragma omp target
429 #pragma omp teams
430 #pragma omp distribute simd reduction(+ : fl)
434 #pragma omp target
435 #pragma omp teams
436 #pragma omp distribute simd reduction(+ : m) // OK