Lines Matching refs:omp
65 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}}
78 #pragma omp parallel
79 #pragma omp sections reduction // expected-error {{expected '(' after 'reduction'}}
83 #pragma omp parallel
84 #pragma omp sections reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp sections' are ignored}}
88 #pragma omp parallel
89 #pragma omp sections reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}}
93 #pragma omp parallel
94 #pragma omp sections reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
98 #pragma omp parallel
99 #pragma omp sections reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
103 #pragma omp parallel
104 #pragma omp sections reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}}
108 #pragma omp parallel
109 #pragma omp sections reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
113 #pragma omp parallel
114 #pragma omp sections reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{variable of type 'float' is not valid for specified reduction operation}}
118 #pragma omp parallel
119 #pragma omp sections reduction(| : argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{variable of type 'float' is not valid for specified reduction operation}}
123 #pragma omp parallel
124 #pragma omp sections reduction(|| : argc ? i : argc) // expected-error 2 {{expected variable name}}
128 #pragma omp parallel
129 #pragma omp sections reduction(foo : argc) //expected-error {{incorrect reduction identifier, expected one of '+', '-', '*', '&', '|', '^', '&&', '||', 'min' or 'max'}}
133 #pragma omp parallel
134 #pragma omp sections reduction(&& : argc)
138 #pragma omp parallel
139 #pragma omp sections reduction(^ : T) // expected-error {{'T' does not refer to a value}}
143 #pragma omp parallel
144 #pragma omp sections reduction(+ : a, b, c, d, f) // expected-error {{reduction variable with incomplete type 'S1'}} expected-error 3 {{const-qualified variable cannot be reduction}}
148 #pragma omp parallel
149 #pragma omp sections reduction(min : a, b, c, d, f) // expected-error {{reduction variable with incomplete type 'S1'}} expected-error 2 {{arguments of OpenMP clause 'reduction' for 'min' or 'max' must be of arithmetic type}} expected-error 3 {{const-qualified variable cannot be reduction}}
153 #pragma omp parallel
154 #pragma omp sections reduction(max : qa[1]) // expected-error 2 {{expected variable name}}
158 #pragma omp parallel
159 #pragma omp sections reduction(+ : ba) // expected-error {{a reduction variable with array type 'const S2 [5]'}}
163 #pragma omp parallel
164 #pragma omp sections reduction(* : ca) // expected-error {{a reduction variable with array type 'const S3 [5]'}}
168 #pragma omp parallel
169 #pragma omp sections reduction(- : da) // expected-error {{a reduction variable with array type 'const int [5]'}} expected-error {{a reduction variable with array type 'const float [5]'}}
173 #pragma omp parallel
174 #pragma omp sections reduction(^ : fl) // expected-error {{variable of type 'float' is not valid for specified reduction operation}}
178 #pragma omp parallel
179 #pragma omp sections reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}}
183 #pragma omp parallel
184 #pragma omp sections reduction(&& : S2::S2sc) // expected-error {{const-qualified variable cannot be reduction}}
188 #pragma omp parallel
189 #pragma omp sections reduction(+ : h, k) // expected-error {{threadprivate or thread local variable cannot be reduction}}
193 #pragma omp parallel
194 #pragma omp sections reduction(+ : o) // expected-error {{variable of type 'class S6' is not valid for specified reduction operation}}
198 #pragma omp parallel
199 #pragma omp sections private(i), reduction(+ : j), reduction(+ : q) // expected-error 4 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
203 #pragma omp parallel private(k)
204 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
208 #pragma omp parallel
209 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error 3 {{variable can appear only once in OpenMP 'reduction' clause}} expected-note 3 {{previously referenced here}}
213 #pragma omp parallel
214 #pragma omp sections reduction(+ : r) // expected-error 2 {{const-qualified variable cannot be reduction}}
218 #pragma omp parallel shared(i)
219 #pragma omp parallel reduction(min : i)
220 #pragma omp sections reduction(max : j) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
224 #pragma omp parallel private(fl) // expected-note 2 {{defined as private}}
225 #pragma omp sections reduction(+ : fl) // expected-error 2 {{reduction variable must be shared}}
229 #pragma omp parallel reduction(* : fl) // expected-note 2 {{defined as reduction}}
230 #pragma omp sections reduction(+ : fl) // expected-error 2 {{reduction variable must be shared}}
250 #pragma omp parallel
251 #pragma omp sections reduction // expected-error {{expected '(' after 'reduction'}}
255 #pragma omp parallel
256 #pragma omp sections reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp sections' are ignored}}
260 #pragma omp parallel
261 #pragma omp sections reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}}
265 #pragma omp parallel
266 #pragma omp sections reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
270 #pragma omp parallel
271 #pragma omp sections reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
275 #pragma omp parallel
276 #pragma omp sections reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}}
280 #pragma omp parallel
281 #pragma omp sections reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
285 #pragma omp parallel
286 #pragma omp sections reduction(foo : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{incorrect reduction identifier, expected one of '+', '-', '*', '&', '|', '^', '&&', '||', 'min' or 'max'}}
290 #pragma omp parallel
291 #pragma omp sections reduction(| : argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
295 #pragma omp parallel
296 #pragma omp sections reduction(|| : argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
300 #pragma omp parallel
301 #pragma omp sections reduction(~ : argc) // expected-error {{expected unqualified-id}}
305 #pragma omp parallel
306 #pragma omp sections reduction(&& : argc)
310 #pragma omp parallel
311 #pragma omp sections reduction(^ : S1) // expected-error {{'S1' does not refer to a value}}
315 #pragma omp parallel
316 #pragma omp sections reduction(+ : a, b, c, d, f) // expected-error {{reduction variable with incomplete type 'S1'}} expected-error 2 {{const-qualified variable cannot be reduction}}
320 #pragma omp parallel
321 #pragma omp sections reduction(min : a, b, c, d, f) // expected-error {{reduction variable 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 variable cannot be reduction}}
325 #pragma omp parallel
326 #pragma omp sections reduction(max : argv[1]) // expected-error {{expected variable name}}
330 #pragma omp parallel
331 #pragma omp sections reduction(+ : ba) // expected-error {{a reduction variable with array type 'const S2 [5]'}}
335 #pragma omp parallel
336 #pragma omp sections reduction(* : ca) // expected-error {{a reduction variable with array type 'const S3 [5]'}}
340 #pragma omp parallel
341 #pragma omp sections reduction(- : da) // expected-error {{a reduction variable with array type 'const int [5]'}}
345 #pragma omp parallel
346 #pragma omp sections reduction(^ : fl) // expected-error {{variable of type 'float' is not valid for specified reduction operation}}
350 #pragma omp parallel
351 #pragma omp sections reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}}
355 #pragma omp parallel
356 #pragma omp sections reduction(&& : S2::S2sc) // expected-error {{const-qualified variable cannot be reduction}}
360 #pragma omp parallel
361 #pragma omp sections reduction(& : e, g) // expected-error {{reduction variable must have an accessible, unambiguous default constructor}} expected-error {{variable of type 'S5' is not valid for specified reduction operation}}
365 #pragma omp parallel
366 #pragma omp sections reduction(+ : h, k) // expected-error {{threadprivate or thread local variable cannot be reduction}}
370 #pragma omp parallel
371 #pragma omp sections reduction(+ : o) // expected-error {{variable of type 'class S6' is not valid for specified reduction operation}}
375 #pragma omp parallel
376 #pragma omp sections private(i), reduction(+ : j), reduction(+ : q) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
380 #pragma omp parallel private(k)
381 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
385 #pragma omp parallel
386 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error {{variable can appear only once in OpenMP 'reduction' clause}} expected-note {{previously referenced here}}
390 #pragma omp parallel
391 #pragma omp sections reduction(+ : r) // expected-error {{const-qualified variable cannot be reduction}}
395 #pragma omp parallel shared(i)
396 #pragma omp parallel reduction(min : i)
397 #pragma omp sections reduction(max : j) // expected-error {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
401 #pragma omp parallel private(fl) // expected-note {{defined as private}}
402 #pragma omp sections reduction(+ : fl) // expected-error {{reduction variable must be shared}}
406 #pragma omp parallel reduction(* : fl) // expected-note {{defined as reduction}}
407 #pragma omp sections reduction(+ : fl) // expected-error {{reduction variable must be shared}}