reduce Namespace Reference

reduce Namespace Reference#

Composable Kernel: ck::reduce Namespace Reference
ck::reduce Namespace Reference

Classes

struct  Add
 
struct  SquaredAdd
 
struct  Mul
 
struct  Max
 
struct  Min
 
struct  AMax
 
struct  InMemoryDataOperationSupportedOnDataType
 
struct  InMemoryDataOperationSupportedOnDataType< InMemoryDataOperationEnum::AtomicAdd, DataType >
 
struct  InMemoryDataOperationSupportedOnDataType< InMemoryDataOperationEnum::AtomicMax, DataType >
 
struct  InMemoryDataOperationSupportedOnDataType< InMemoryDataOperationEnum::Set, DataType >
 
struct  InMemoryDataOperationSupportedOnDataType< InMemoryDataOperationEnum::Add, DataType >
 

Functions

template<typename T >
constexpr T GetIdentityValueForInMemoryDataOperation (InMemoryDataOperationEnum operation)
 

Function Documentation

◆ GetIdentityValueForInMemoryDataOperation()

template<typename T >
constexpr T ck::reduce::GetIdentityValueForInMemoryDataOperation ( InMemoryDataOperationEnum  operation)
constexpr