Skip to content

[SYCL] Fix test failure due to size discrepancy in 32 and 64 bit environment #2594

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 6, 2020
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);
});
}
}