Home | History | Annotate | Download | only in OpenMP

Lines Matching full:pragma

15 #pragma omp target
16 #pragma omp teams thread_limit(C)
18 #pragma omp target
19 #pragma omp teams thread_limit(T) // expected-error {{'T' does not refer to a value}}
21 #pragma omp target
22 #pragma omp teams thread_limit // expected-error {{expected '(' after 'thread_limit'}}
24 #pragma omp target
25 #pragma omp teams thread_limit( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
27 #pragma omp target
28 #pragma omp teams thread_limit() // expected-error {{expected expression}}
30 #pragma omp target
31 #pragma omp teams thread_limit(argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
33 #pragma omp target
34 #pragma omp teams thread_limit(argc)) // expected-warning {{extra tokens at the end of '#pragma omp teams' are ignored}}
36 #pragma omp target
37 #pragma omp teams thread_limit(argc > 0 ? a[1] : a[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
39 #pragma omp target
40 #pragma omp teams thread_limit(argc + argc)
42 #pragma omp target
43 #pragma omp teams thread_limit(argc), thread_limit (argc+1) // expected-error {{directive '#pragma omp teams' cannot contain more than one 'thread_limit' clause}}
45 #pragma omp target
46 #pragma omp teams thread_limit(S1) // expected-error {{'S1' does not refer to a value}}
48 #pragma omp target
49 #pragma omp teams thread_limit(-2) // expected-error {{argument to 'thread_limit' clause must be a strictly positive integer value}}
51 #pragma omp target
52 #pragma omp teams thread_limit(-10u)
54 #pragma omp target
55 #pragma omp teams thread_limit(3.14) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'double'}}
62 #pragma omp target
63 #pragma omp teams thread_limit // expected-error {{expected '(' after 'thread_limit'}}
66 #pragma omp target
67 #pragma omp teams thread_limit ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
70 #pragma omp target
71 #pragma omp teams thread_limit () // expected-error {{expected expression}}
74 #pragma omp target
75 #pragma omp teams thread_limit (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
78 #pragma omp target
79 #pragma omp teams thread_limit (argc)) // expected-warning {{extra tokens at the end of '#pragma omp teams' are ignored}}
82 #pragma omp target
83 #pragma omp teams thread_limit (argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
86 #pragma omp target
87 #pragma omp teams thread_limit (argc + argc)
90 #pragma omp target
91 #pragma omp teams thread_limit (argc), thread_limit (argc+1) // expected-error {{directive '#pragma omp teams' cannot contain more than one 'thread_limit' clause}}
94 #pragma omp target
95 #pragma omp teams thread_limit (S1) // expected-error {{'S1' does not refer to a value}}
98 #pragma omp target
99 #pragma omp teams thread_limit (-2) // expected-error {{argument to 'thread_limit' clause must be a strictly positive integer value}}
102 #pragma omp target
103 #pragma omp teams thread_limit (-10u)
106 #pragma omp target
107 #pragma omp teams thread_limit (3.14) // expected-error {{expression must have integral or unscoped enumeration type, not 'double'}}