diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/execution_sycl_defs.h b/include/oneapi/dpl/pstl/hetero/dpcpp/execution_sycl_defs.h index 66f8ecd948b..d5013ba77af 100644 --- a/include/oneapi/dpl/pstl/hetero/dpcpp/execution_sycl_defs.h +++ b/include/oneapi/dpl/pstl/hetero/dpcpp/execution_sycl_defs.h @@ -177,6 +177,13 @@ inline fpga_policy<> dpcpp_fpga{}; #endif // _ONEDPL_PREDEFINED_POLICIES // make_policy functions +template +auto +make_device_policy(const device_policy& other) +{ + return device_policy(other); +} + template device_policy make_device_policy(sycl::queue q) @@ -191,7 +198,7 @@ make_device_policy(sycl::device d) return device_policy(d); } -template +template device_policy make_device_policy(const device_policy& policy #if _ONEDPL_PREDEFINED_POLICIES @@ -202,7 +209,7 @@ make_device_policy(const device_policy& policy return device_policy(policy); } -template +template device_policy make_hetero_policy(const device_policy& policy) {