Skip to content

Commit

Permalink
include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h - remove…
Browse files Browse the repository at this point in the history
… extra auto keyword

Signed-off-by: Sergey Kopienko <[email protected]>
  • Loading branch information
SergeyKopienko committed Jun 11, 2024
1 parent 9b106b1 commit f54f2bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ __parallel_find_or(oneapi::dpl::__internal::__device_backend_tag, _ExecutionPoli
const _AtomicType __init_value = _BrickTag::__init_value(__rng_n);
_AtomicType __result = __init_value;

const auto __pred = oneapi::dpl::__par_backend_hetero::__early_exit_find_or<_ExecutionPolicy, _Brick>{__f};
const oneapi::dpl::__par_backend_hetero::__early_exit_find_or<_ExecutionPolicy, _Brick> __pred{__f};

// scope is to copy data back to __result after destruction of temporary sycl:buffer
{
Expand Down Expand Up @@ -1243,7 +1243,7 @@ __parallel_find_or(oneapi::dpl::__internal::__device_backend_tag, _ExecutionPoli
_AtomicType __init_value = _BrickTag::__init_value(__rng_n);
auto __result = __init_value;

const auto __pred = oneapi::dpl::__par_backend_hetero::__early_exit_find_or<_ExecutionPolicy, _Brick>{__f};
const oneapi::dpl::__par_backend_hetero::__early_exit_find_or<_ExecutionPolicy, _Brick> __pred{__f};

// scope is to copy data back to __result after destruction of temporary sycl:buffer
{
Expand Down

0 comments on commit f54f2bc

Please sign in to comment.