Home | History | Annotate | Download | only in OpenMP

Lines Matching refs:omp

61 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}}
69 #pragma omp parallel
70 #pragma omp sections lastprivate // expected-error {{expected '(' after 'lastprivate'}}
74 #pragma omp parallel
75 #pragma omp sections lastprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
79 #pragma omp parallel
80 #pragma omp sections lastprivate() // expected-error {{expected expression}}
84 #pragma omp parallel
85 #pragma omp sections lastprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
89 #pragma omp parallel
90 #pragma omp sections lastprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
94 #pragma omp parallel
95 #pragma omp sections lastprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
99 #pragma omp parallel
100 #pragma omp sections lastprivate(argc)
104 #pragma omp parallel
105 #pragma omp sections lastprivate(S1) // expected-error {{'S1' does not refer to a value}}
109 #pragma omp parallel
110 #pragma omp sections lastprivate(a, b) // expected-error {{lastprivate variable with incomplete type 'S1'}}
114 #pragma omp parallel
115 #pragma omp sections lastprivate(argv[1]) // expected-error {{expected variable name}}
119 #pragma omp parallel
120 #pragma omp sections lastprivate(e, g) // expected-error 2 {{lastprivate variable must have an accessible, unambiguous default constructor}}
124 #pragma omp parallel
125 #pragma omp sections lastprivate(h) // expected-error {{threadprivate or thread local variable cannot be lastprivate}}
129 #pragma omp parallel
130 #pragma omp sections linear(i) // expected-error {{unexpected OpenMP clause 'linear' in directive '#pragma omp sections'}}
134 #pragma omp parallel
137 int i; // expected-note {{variable with automatic storage duration is predetermined as private; perhaps you forget to enclose 'omp sections' directive into a parallel or another task region?}}
138 #pragma omp sections lastprivate(i) // expected-error {{lastprivate variable must be shared}}
144 #pragma omp parallel shared(i)
145 #pragma omp parallel private(i)
146 #pragma omp sections lastprivate(j) // expected-error {{arguments of OpenMP clause 'lastprivate' cannot be of reference type}}
150 #pragma omp parallel
151 #pragma omp sections lastprivate(i)
167 #pragma omp parallel
168 #pragma omp sections lastprivate // expected-error {{expected '(' after 'lastprivate'}}
172 #pragma omp parallel
173 #pragma omp sections lastprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
177 #pragma omp parallel
178 #pragma omp sections lastprivate() // expected-error {{expected expression}}
182 #pragma omp parallel
183 #pragma omp sections lastprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
187 #pragma omp parallel
188 #pragma omp sections lastprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
192 #pragma omp parallel
193 #pragma omp sections lastprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
197 #pragma omp parallel
198 #pragma omp sections lastprivate(argc)
202 #pragma omp parallel
203 #pragma omp sections lastprivate(S1) // expected-error {{'S1' does not refer to a value}}
207 #pragma omp parallel
208 #pragma omp sections lastprivate(a, b, c, d, f) // expected-error {{lastprivate variable with incomplete type 'S1'}} expected-error 3 {{shared variable cannot be lastprivate}}
212 #pragma omp parallel
213 #pragma omp sections lastprivate(argv[1]) // expected-error {{expected variable name}}
217 #pragma omp parallel
218 #pragma omp sections lastprivate(2 * 2) // expected-error {{expected variable name}}
222 #pragma omp parallel
223 #pragma omp sections lastprivate(ba)
227 #pragma omp parallel
228 #pragma omp sections lastprivate(ca) // expected-error {{shared variable cannot be lastprivate}}
232 #pragma omp parallel
233 #pragma omp sections lastprivate(da) // expected-error {{shared variable cannot be lastprivate}}
238 #pragma omp parallel
239 #pragma omp sections lastprivate(xa) // OK
243 #pragma omp parallel
244 #pragma omp sections lastprivate(S2::S2s) // expected-error {{shared variable cannot be lastprivate}}
248 #pragma omp parallel
249 #pragma omp sections lastprivate(S2::S2sc) // expected-error {{shared variable cannot be lastprivate}}
253 #pragma omp parallel
254 #pragma omp sections safelen(5) // expected-error {{unexpected OpenMP clause 'safelen' in directive '#pragma omp sections'}}
258 #pragma omp parallel
259 #pragma omp sections lastprivate(e, g) // expected-error 2 {{lastprivate variable must have an accessible, unambiguous default constructor}}
263 #pragma omp parallel
264 #pragma omp sections lastprivate(m) // expected-error {{lastprivate variable must have an accessible, unambiguous copy assignment operator}}
268 #pragma omp parallel
269 #pragma omp sections lastprivate(h) // expected-error {{threadprivate or thread local variable cannot be lastprivate}}
273 #pragma omp parallel
274 #pragma omp sections private(xa), lastprivate(xa) // expected-error {{private variable cannot be lastprivate}} expected-note {{defined as private}}
278 #pragma omp parallel
279 #pragma omp sections lastprivate(i)
283 #pragma omp parallel private(xa) // expected-note {{defined as private}}
284 #pragma omp sections lastprivate(xa) // expected-error {{lastprivate variable must be shared}}
288 #pragma omp parallel reduction(+ : xa) // expected-note {{defined as reduction}}
289 #pragma omp sections lastprivate(xa) // expected-error {{lastprivate variable must be shared}}
293 #pragma omp parallel
294 #pragma omp sections lastprivate(j) // expected-error {{arguments of OpenMP clause 'lastprivate' cannot be of reference type}}
298 #pragma omp parallel
299 #pragma omp sections firstprivate(m) lastprivate(m) // expected-error {{lastprivate variable must have an accessible, unambiguous copy assignment operator}}
303 #pragma omp parallel
304 #pragma omp sections lastprivate(n) firstprivate(n) // OK