Skip to content

Commit

Permalink
Update tests/extension/oneapi_root_group/root_group.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Sachkov <[email protected]>
  • Loading branch information
0x12CC and AlexeySachkov authored Sep 18, 2023
1 parent a41a301 commit f8cd82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/extension/oneapi_root_group/root_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static void check_root_group_api() {
q.submit([&](sycl::handler& cgh) {
sycl::accessor acc{results_buffer, cgh, sycl::write_only};
cgh.parallel_for<KernelName>(nd_range, props, [=](auto it) {
auto results = acc[it.get_global_id()];
auto &results = acc[it.get_global_id()];

auto root = it.ext_oneapi_get_root_group();
results[checks::get_group_id] =
Expand Down

0 comments on commit f8cd82c

Please sign in to comment.