AccumulateWithIndexAndNanCheck< true, ReduceOperation, AccDataType, IndexDataType > Struct Template Reference

AccumulateWithIndexAndNanCheck&lt; true, ReduceOperation, AccDataType, IndexDataType &gt; Struct Template Reference#

Composable Kernel: ck::detail::AccumulateWithIndexAndNanCheck< true, ReduceOperation, AccDataType, IndexDataType > Struct Template Reference
ck::detail::AccumulateWithIndexAndNanCheck< true, ReduceOperation, AccDataType, IndexDataType > Struct Template Reference

#include <reduction_functions_accumulate.hpp>

Static Public Member Functions

__host__ static __device__ void Calculate (AccDataType &accuVal, AccDataType currVal, IndexDataType &accuIndex, IndexDataType currIndex)

Member Function Documentation

◆ Calculate()

template<typename ReduceOperation, typename AccDataType, typename IndexDataType>
__host__ static __device__ void ck::detail::AccumulateWithIndexAndNanCheck< true, ReduceOperation, AccDataType, IndexDataType >::Calculate ( AccDataType & accuVal,
AccDataType currVal,
IndexDataType & accuIndex,
IndexDataType currIndex )
inlinestatic

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