You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// expected-error@+1{{OpenACC variable is not a valid variable name, sub-array, array element, member of a composite variable, or composite variable member}}
63
-
#pragma acc parallel private(+t)
63
+
#pragma acc parallel firstprivate(+t)
64
64
while(true);
65
65
66
66
// NTTP's are only valid if it is a reference to something.
67
67
// expected-error@+2{{OpenACC variable is not a valid variable name, sub-array, array element, member of a composite variable, or composite variable member}}
// expected-error@+1{{OpenACC variable is not a valid variable name, sub-array, array element, member of a composite variable, or composite variable member}}
// expected-error@+1{{OpenACC sub-array length is unspecified and cannot be inferred because the subscripted value is not an array}}
90
-
#pragma acc parallel private(Pointer[1:])
90
+
#pragma acc parallel firstprivate(Pointer[1:])
91
91
while(true);
92
92
}
93
93
@@ -96,10 +96,10 @@ void NTTP() {
96
96
// NTTP's are only valid if it is a reference to something.
97
97
// expected-error@+2{{OpenACC variable is not a valid variable name, sub-array, array element, member of a composite variable, or composite variable member}}
0 commit comments