¶template <bool WithExplicitIdentity,
typename DataT,
int Dims,
typename BinaryOperation>
auto make_reduction(
const buffer<DataT, Dims>& vars,
handler& cgh,
BinaryOperation op,
DataT identity,
const sycl::property_list& prop_list)
template <bool WithExplicitIdentity,
typename DataT,
int Dims,
typename BinaryOperation>
auto make_reduction(
const buffer<DataT, Dims>& vars,
handler& cgh,
BinaryOperation op,
DataT identity,
const sycl::property_list& prop_list)
Template Parameters
- bool WithExplicitIdentity
- DataT
- int Dims
- BinaryOperation
Parameters
- const buffer<DataT, Dims>& vars
- handler& cgh
- BinaryOperation op
- DataT identity
- const sycl::property_list& prop_list