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
Copy file name to clipboardExpand all lines: clang/test/SemaSYCL/deferred-diagnostics-aux-builtin.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ int main(int argc, char **argv) {
12
12
_mm_prefetch("test", 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}}
13
13
14
14
deviceQueue.submit([&](sycl::handler &h) {
15
-
// expected-note@Inputs/sycl.hpp:221 {{called by 'kernel_single_task<AName, (lambda}}
15
+
// expected-note@Inputs/sycl.hpp:212 {{called by 'kernel_single_task<AName, (lambda}}
16
16
h.single_task<classAName>([]() {
17
17
_mm_prefetch("test", 4); // expected-error {{builtin is not supported on this target}}
18
18
_mm_prefetch("test", 8); // expected-error {{argument value 8 is outside the valid range [0, 7]}} expected-error {{builtin is not supported on this target}}
Copy file name to clipboardExpand all lines: clang/test/SemaSYCL/implicit_kernel_type.cpp
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,12 @@ int main() {
25
25
queue q;
26
26
27
27
#if defined(WARN)
28
-
// expected-error@Inputs/sycl.hpp:233 {{'InvalidKernelName1' is an invalid kernel name type}}
29
-
// expected-note@Inputs/sycl.hpp:233 {{'InvalidKernelName1' should be globally-visible}}
28
+
// expected-error@Inputs/sycl.hpp:220 {{'InvalidKernelName1' is an invalid kernel name type}}
29
+
// expected-note@Inputs/sycl.hpp:220 {{'InvalidKernelName1' should be globally-visible}}
30
30
// expected-note@+8 {{in instantiation of function template specialization}}
31
31
#elif defined(ERROR)
32
-
// expected-error@Inputs/sycl.hpp:233 {{'InvalidKernelName1' is an invalid kernel name type}}
33
-
// expected-note@Inputs/sycl.hpp:233 {{'InvalidKernelName1' should be globally-visible}}
32
+
// expected-error@Inputs/sycl.hpp:220 {{'InvalidKernelName1' is an invalid kernel name type}}
33
+
// expected-note@Inputs/sycl.hpp:220 {{'InvalidKernelName1' should be globally-visible}}
34
34
// expected-note@+4 {{in instantiation of function template specialization}}
35
35
#endif
36
36
classInvalidKernelName1 {};
@@ -39,9 +39,9 @@ int main() {
39
39
});
40
40
41
41
#if defined(WARN)
42
-
// expected-warning@Inputs/sycl.hpp:233 {{SYCL 1.2.1 specification requires an explicit forward declaration for a kernel type name; your program may not be portable}}
42
+
// expected-warning@Inputs/sycl.hpp:220 {{SYCL 1.2.1 specification requires an explicit forward declaration for a kernel type name; your program may not be portable}}
43
43
#elif defined(ERROR)
44
-
// expected-error@Inputs/sycl.hpp:233 {{SYCL 1.2.1 specification requires an explicit forward declaration for a kernel type name; your program may not be portable}}
44
+
// expected-error@Inputs/sycl.hpp:220 {{SYCL 1.2.1 specification requires an explicit forward declaration for a kernel type name; your program may not be portable}}
45
45
#endif
46
46
47
47
q.submit([&](handler &h) {
@@ -53,9 +53,9 @@ int main() {
53
53
});
54
54
55
55
#if defined(WARN)
56
-
// expected-warning@Inputs/sycl.hpp:233 {{SYCL 1.2.1 specification requires an explicit forward declaration for a kernel type name; your program may not be portable}}
56
+
// expected-warning@Inputs/sycl.hpp:220 {{SYCL 1.2.1 specification requires an explicit forward declaration for a kernel type name; your program may not be portable}}
57
57
#elif defined(ERROR)
58
-
// expected-error@Inputs/sycl.hpp:233 {{SYCL 1.2.1 specification requires an explicit forward declaration for a kernel type name; your program may not be portable}}
58
+
// expected-error@Inputs/sycl.hpp:220 {{SYCL 1.2.1 specification requires an explicit forward declaration for a kernel type name; your program may not be portable}}
0 commit comments