Skip to content

Commit

Permalink
Fix runtime error
Browse files Browse the repository at this point in the history
  • Loading branch information
lbushi25 committed Feb 8, 2024
1 parent f0d325f commit ceff46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/test-e2e/Regression/range-rounding-this-id.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ template <int D> void test(queue &q) {
sycl::buffer<T> p_buf{vec};
q.submit([&](sycl::handler &h) {
sycl::accessor p{p_buf, h};
q.parallel_for(range, [=](auto it) {
h.parallel_for(range, [=](auto it) {
p[it.get_linear_id()] = {sycl::ext::oneapi::experimental::this_id<D>(),
it.get_id()};
});
Expand Down

0 comments on commit ceff46a

Please sign in to comment.