Skip to main content

template <typename DataT,
          int Dims,
          typename BinaryOperation>
auto reduction_impl(
    const buffer<DataT, Dims>& vars,
    handler& cgh,
    DataT identity,
    BinaryOperation combiner,
    const sycl::property_list& prop_list = {})

Template Parameters

DataT
int Dims
BinaryOperation

Parameters

const buffer<DataT, Dims>& vars
handler& cgh
DataT identity
BinaryOperation combiner
const sycl::property_list& prop_list = {}

template <typename DataT,
          int Dims,
          typename BinaryOperation>
auto reduction_impl(
    const buffer<DataT, Dims>& vars,
    handler& cgh,
    BinaryOperation combiner,
    const sycl::property_list& prop_list = {})

Template Parameters

DataT
int Dims
BinaryOperation

Parameters

const buffer<DataT, Dims>& vars
handler& cgh
BinaryOperation combiner
const sycl::property_list& prop_list = {}