Skip to content

Commit 76c3c16

Browse files
committed
++
1 parent bf0470f commit 76c3c16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_utils.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ template <typename _T>
523523
struct __result_and_scratch_storage_base
524524
{
525525
virtual ~__result_and_scratch_storage_base() = default;
526-
virtual _T __wait_and_get_value(const sycl::event&, std::size_t) const = 0;
526+
virtual _T __wait_and_get_value(sycl::event, std::size_t) const = 0;
527527
};
528528

529529
template <typename _ExecutionPolicy, typename _T>
@@ -684,7 +684,7 @@ struct __result_and_scratch_storage : __result_and_scratch_storage_base<_T>
684684
}
685685
}
686686

687-
virtual _T __wait_and_get_value(const sycl::event& __event, std::size_t idx = 0) const override
687+
virtual _T __wait_and_get_value(sycl::event __event, std::size_t idx = 0) const override
688688
{
689689
if (is_USM())
690690
__event.wait_and_throw();

0 commit comments

Comments
 (0)