Skip to content
Open
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ int main(int argc, char *argv[]) {
throws_kernel_not_supported("nd_range<2>", [] {
constexpr uint32_t N = std::numeric_limits<uint32_t>::max();
q.parallel_for<class K1>(nd_range<2>({N, N}, {N, N}),
[=](auto) [[sycl::reqd_work_group_size(N, N)]] {});
[=](auto) [[sycl::reqd_work_group_size(N, 1)]] {});
});

throws_kernel_not_supported("nd_range<3>", [] {
constexpr uint32_t N = std::numeric_limits<uint32_t>::max();
q.parallel_for<class K2>(nd_range<3>({N, N, N}, {N, N, N}),
[=](auto)
[[sycl::reqd_work_group_size(N, N, N)]] {});
[[sycl::reqd_work_group_size(N, 1, 1)]] {});
});

throws_kernel_not_supported("uint32_max+2", [] {
Expand Down
Loading