Skip to content

Commit

Permalink
Update include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Kukanov <[email protected]>
  • Loading branch information
SergeyKopienko and akukanov authored Aug 9, 2024
1 parent 9dd761c commit 67e59d4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1354,10 +1354,8 @@ __parallel_find_or(oneapi::dpl::__internal::__device_backend_tag, _ExecutionPoli
assert(__rng_n > 0);

// Evaluate the amount of work-groups and work-group size
const auto __nd_range_params =
const auto [__n_groups, __wgroup_size] =
__parallel_find_or_nd_range_tuner<oneapi::dpl::__internal::__device_backend_tag>{}(__exec, __rng_n);
const auto __n_groups = std::get<0>(__nd_range_params);
const auto __wgroup_size = std::get<1>(__nd_range_params);

_PRINT_INFO_IN_DEBUG_MODE(__exec, __wgroup_size);

Expand Down

0 comments on commit 67e59d4

Please sign in to comment.