Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clang/test/SemaSYCL/args-size-overflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ queue q;
using Accessor =
accessor<int, 1, cl::sycl::access::mode::read_write, cl::sycl::access::target::global_buffer>;

// expected-warning@Inputs/sycl.hpp:220 {{size of kernel arguments (7994 bytes) may exceed the supported maximum of 2048 bytes on some devices}}
// expected-warning-re@Inputs/sycl.hpp:220 {{size of kernel arguments ({{.*}} bytes) may exceed the supported maximum of 2048 bytes on some devices}}

void use() {
struct S {
Expand All @@ -25,4 +25,4 @@ void use() {
// expected-note@+1 {{in instantiation of function template specialization}}
h.single_task<class Foo>(L);
});
}
}