Skip to content

Commit

Permalink
Fix shared memory parameter value
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Aziz <[email protected]>
  • Loading branch information
0x12CC committed Nov 14, 2024
1 parent fb17567 commit 43b5f03
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 @@ -178,7 +178,7 @@ static void check_root_group_barrier() {
auto local_range = sycl::range<Dimensions>(Dims...);
auto maxWGs = kernel.template ext_oneapi_get_info<
sycl::ext::oneapi::experimental::info::kernel_queue_specific::
max_num_work_groups>(q, local_range, 3);
max_num_work_groups>(q, local_range, 0);
REQUIRE(maxWGs >= 1);
auto global_range = local_range;
global_range[0] *= maxWGs;
Expand Down

0 comments on commit 43b5f03

Please sign in to comment.