Skip to main content

template <int Dims,
          typename InPtr,
          typename OutPtr,
          typename BinaryOperation>
OutPtr joint_inclusive_scan(
    const group<Dims>& g,
    InPtr first,
    InPtr last,
    OutPtr result,
    BinaryOperation binary_op)

Template Parameters

int Dims
InPtr
OutPtr
BinaryOperation

Parameters

const group<Dims>& g
InPtr first
InPtr last
OutPtr result
BinaryOperation binary_op

template <int Dims,
          typename InPtr,
          typename OutPtr,
          typename T,
          typename BinaryOperation>
T joint_inclusive_scan(const group<Dims>& g,
                       InPtr first,
                       InPtr last,
                       OutPtr result,
                       BinaryOperation binary_op,
                       T init)

Template Parameters

int Dims
InPtr
OutPtr
T
BinaryOperation

Parameters

const group<Dims>& g
InPtr first
InPtr last
OutPtr result
BinaryOperation binary_op
T init