Skip to main content

class reduction_descriptor<DataT, Dims, BinaryOperation, true>

Declaration

template <typename DataT, int Dims, typename BinaryOperation>
class reduction_descriptor<DataT, Dims, BinaryOperation, true> { /* full declaration omitted */ };

Template Parameters

DataT
int Dims
BinaryOperation

Member Variables

buffer_id m_bid
BinaryOperation m_op
DataT m_identity = {}
bool m_include_current_buffer_value

Member Function Overview

  • reduction_descriptor(buffer_id bid, BinaryOperation combiner, DataT identity, bool include_current_buffer_value)

Member Functions

reduction_descriptor(
    buffer_id bid,
    BinaryOperation combiner,
    DataT identity,
    bool include_current_buffer_value)

Parameters

buffer_id bid
BinaryOperation combiner
DataT identity
bool include_current_buffer_value