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
// This errors because const decltype(SomeLambda) != decltype(SomeLambda),
146
139
// so this is not the unnamed lambda situation.
147
-
// expected-error-re@#KernelSingleTask {{'const (lambda at {{.*}}unnamed-kernel.cpp{{.*}}' is an invalid kernel name type}}
148
-
// expected-note@#KernelSingleTask {{unnamed lambda is used in a SYCL kernel name}}
140
+
// expected-error@#KernelSingleTask {{unnamed type 'const}}
149
141
// expected-note@+3{{in instantiation of function template specialization}}
150
142
q.submit([&](cl::sycl::handler &h) {
151
143
auto SomeLambda = []() {};
@@ -158,8 +150,7 @@ struct MyWrapper {
158
150
intmain() {
159
151
cl::sycl::queue q;
160
152
#ifndef __SYCL_UNNAMED_LAMBDA__
161
-
// expected-error-re@#KernelSingleTask {{'(lambda at {{.*}}unnamed-kernel.cpp{{.*}}' is an invalid kernel name type}}
162
-
// expected-note@#KernelSingleTask {{unnamed lambda is used in a SYCL kernel name}}
153
+
// expected-error-re@#KernelSingleTask {{unnamed type '(lambda at {{.*}}unnamed-kernel.cpp{{.*}}' is not valid in a SYCL kernel name, provide a kernel name or enable unnamed kernel lambdas via -fsycl-unnamed-lambda}}
163
154
// expected-note@+2{{in instantiation of function template specialization}}
0 commit comments