Home | History | Annotate | Download | only in OpenMP

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 reduction // expected-error {{expected '(' after 'reduction'}}
87 #pragma omp target
88 #pragma omp teams reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp teams' are ignored}}
90 #pragma omp target
91 #pragma omp teams reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}}
93 #pragma omp target
94 #pragma omp teams reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
96 #pragma omp target
97 #pragma omp teams reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
99 #pragma omp target
100 #pragma omp teams reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}}
102 #pragma omp target
103 #pragma omp teams reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
105 #pragma omp target
106 #pragma omp teams reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{invalid operands to binary expression ('float' and 'float')}}
108 #pragma omp target
109 #pragma omp teams reduction(| : argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{invalid operands to binary expression ('float' and 'float')}}
111 #pragma omp target
112 #pragma omp teams reduction(|| : argc ? i : argc) // expected-error 2 {{expected variable name, array element or array section}}
114 #pragma omp target
115 #pragma omp teams 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'}}
117 #pragma omp target
118 #pragma omp teams reduction(&& : argc)
120 #pragma omp target
121 #pragma omp teams reduction(^ : T) // expected-error {{'T' does not refer to a value}}
123 #pragma omp target
124 #pragma omp teams 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'}}
126 #pragma omp target
127 #pragma omp teams 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}}
129 #pragma omp target
130 #pragma omp teams reduction(max : h.b) // expected-error {{expected variable name, array element or array section}}
132 #pragma omp target
133 #pragma omp teams reduction(+ : ba) // expected-error {{const-qualified list item cannot be reduction}}
135 #pragma omp target
136 #pragma omp teams reduction(* : ca) // expected-error {{const-qualified list item cannot be reduction}}
138 #pragma omp target
139 #pragma omp teams reduction(- : da) // expected-error {{const-qualified list item cannot be reduction}} expected-error {{const-qualified list item cannot be reduction}}
141 #pragma omp target
142 #pragma omp teams reduction(^ : fl) // expected-error {{invalid operands to binary expression ('float' and 'float')}}
144 #pragma omp target
145 #pragma omp teams reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}}
147 #pragma omp target
148 #pragma omp teams reduction(&& : S2::S2sc) // expected-error {{const-qualified list item cannot be reduction}}
150 #pragma omp target
151 #pragma omp teams reduction(+ : h, k) // expected-error {{threadprivate or thread local variable cannot be reduction}}
153 #pragma omp target
154 #pragma omp teams reduction(+ : o) // expected-error 2 {{no viable overloaded '='}}
156 #pragma omp target
157 #pragma omp teams private(i), reduction(+ : j), reduction(+ : q) // expected-error 4 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
159 #pragma omp parallel private(k)
160 #pragma omp target
161 #pragma omp teams reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
163 #pragma omp target
164 #pragma omp teams reduction(+ : p), reduction(+ : p) // expected-error 2 {{variable can appear only once in OpenMP 'reduction' clause}} expected-note 2 {{previously referenced here}}
166 #pragma omp target
167 #pragma omp teams reduction(+ : r) // expected-error 2 {{const-qualified list item cannot be reduction}}
169 #pragma omp parallel shared(i)
170 #pragma omp parallel reduction(min : i)
171 #pragma omp target
172 #pragma omp teams reduction(max : j) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
174 #pragma omp target
175 #pragma omp teams
176 #pragma omp parallel for private(fl)
179 #pragma omp target
180 #pragma omp teams reduction(+ : fl)
182 #pragma omp target
183 #pragma omp teams
184 #pragma omp parallel for reduction(- : fl)
187 #pragma omp target
188 #pragma omp teams reduction(+ : fl)
196 #pragma omp threadprivate(x) // expected-note {{defined as threadprivate or thread local}}
214 #pragma omp target
215 #pragma omp teams reduction // expected-error {{expected '(' after 'reduction'}}
217 #pragma omp target
218 #pragma omp teams reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp teams' are ignored}}
220 #pragma omp target
221 #pragma omp teams reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}}
223 #pragma omp target
224 #pragma omp teams reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
226 #pragma omp target
227 #pragma omp teams reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
229 #pragma omp target
230 #pragma omp teams reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}}
232 #pragma omp target
233 #pragma omp teams reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
235 #pragma omp target
236 #pragma omp teams reduction(foo : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{incorrect reduction identifier, expected one of '+', '-', '*', '&', '|', '^', '&&', '||', 'min' or 'max'}}
238 #pragma omp target
239 #pragma omp teams reduction(| : argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
241 #pragma omp target
242 #pragma omp teams reduction(|| : argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name, array element or array section}}
244 #pragma omp target
245 #pragma omp teams reduction(~ : argc) // expected-error {{expected unqualified-id}}
247 #pragma omp target
248 #pragma omp teams reduction(&& : argc)
250 #pragma omp target
251 #pragma omp teams reduction(^ : S1) // expected-error {{'S1' does not refer to a value}}
253 #pragma omp target
254 #pragma omp teams 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'}}
256 #pragma omp target
257 #pragma omp teams 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}}
259 #pragma omp target
260 #pragma omp teams reduction(max : h.b) // expected-error {{expected variable name, array element or array section}}
262 #pragma omp target
263 #pragma omp teams reduction(+ : ba) // expected-error {{const-qualified list item cannot be reduction}}
265 #pragma omp target
266 #pragma omp teams reduction(* : ca) // expected-error {{const-qualified list item cannot be reduction}}
268 #pragma omp target
269 #pragma omp teams reduction(- : da) // expected-error {{const-qualified list item cannot be reduction}}
271 #pragma omp target
272 #pragma omp teams reduction(^ : fl) // expected-error {{invalid operands to binary expression ('float' and 'float')}}
274 #pragma omp target
275 #pragma omp teams reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}}
277 #pragma omp target
278 #pragma omp teams reduction(&& : S2::S2sc) // expected-error {{const-qualified list item cannot be reduction}}
280 #pragma omp target
281 #pragma omp teams 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')}}
283 #pragma omp target
284 #pragma omp teams reduction(+ : h, k, B::x) // expected-error 2 {{threadprivate or thread local variable cannot be reduction}}
286 #pragma omp target
287 #pragma omp teams reduction(+ : o) // expected-error {{no viable overloaded '='}}
289 #pragma omp target
290 #pragma omp teams private(i), reduction(+ : j), reduction(+ : q) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
292 #pragma omp parallel private(k)
293 #pragma omp target
294 #pragma omp teams reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
296 #pragma omp target
297 #pragma omp teams reduction(+ : p), reduction(+ : p) // expected-error {{variable can appear only once in OpenMP 'reduction' clause}} expected-note {{previously referenced here}}
299 #pragma omp target
300 #pragma omp teams reduction(+ : r) // expected-error {{const-qualified list item cannot be reduction}}
302 #pragma omp parallel shared(i)
303 #pragma omp parallel reduction(min : i)
304 #pragma omp target
305 #pragma omp teams reduction(max : j) // expected-error {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
307 #pragma omp target
308 #pragma omp teams
309 #pragma omp parallel for private(fl)
312 #pragma omp target
313 #pragma omp teams reduction(+ : fl)
315 #pragma omp target
316 #pragma omp teams
317 #pragma omp parallel for reduction(- : fl)
320 #pragma omp target
321 #pragma omp teams reduction(+ : fl)
324 #pragma omp target
325 #pragma omp teams reduction(+ : m) // OK