AccumulateWithIndex Struct Reference

AccumulateWithIndex Struct Reference#

Composable Kernel: ck_tile::AccumulateWithIndex Struct Reference
ck_tile::AccumulateWithIndex Struct Reference

Accumulate with index tracking reductions, provides deterministic first occurring index. More...

#include <reduce_operator_accumulate.hpp>

Public Member Functions

template<typename ReduceOp, typename T, typename IndexType>
CK_TILE_HOST_DEVICE void operator() (const ReduceOp &reduce_func, T &current_value, IndexType &current_index, const T &new_value, const IndexType &new_index) const

Detailed Description

Accumulate with index tracking reductions, provides deterministic first occurring index.

Member Function Documentation

◆ operator()()

template<typename ReduceOp, typename T, typename IndexType>
CK_TILE_HOST_DEVICE void ck_tile::AccumulateWithIndex::operator() ( const ReduceOp & reduce_func,
T & current_value,
IndexType & current_index,
const T & new_value,
const IndexType & new_index ) const
inline

The documentation for this struct was generated from the following file: