Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Test the case where range is over allowed limit. #1500

Merged
merged 2 commits into from
Jan 25, 2023
Merged
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
14 changes: 14 additions & 0 deletions SYCL/Basic/range_large_y_dim.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

#include <sycl/sycl.hpp>

int main() {
sycl::queue q;
size_t N = 65536;
size_t M = 1;

q.parallel_for(sycl::range<2>{N, M}, [=](sycl::id<2> idx) {});
}