Min Struct Reference

Min Struct Reference#

Composable Kernel: ck::reduce::Min Struct Reference

#include <reduction_operator.hpp>

Public Member Functions

template<typename T>
__host__ __device__ constexpr void operator() (T &a, T b) const
__host__ __device__ constexpr void operator() (bhalf_t &a, bhalf_t b) const
__host__ __device__ constexpr void operator() (half_t &a, half_t b) const
__host__ __device__ constexpr void operator() (f8_t &a, f8_t b) const
template<typename T>
__host__ __device__ constexpr void operator() (T &a, T b, bool &changed) const
__host__ __device__ constexpr void operator() (bhalf_t &a, bhalf_t b, bool &changed) const
__host__ __device__ constexpr void operator() (half_t &a, half_t b, bool &changed) const
__host__ __device__ constexpr void operator() (f8_t &a, f8_t b, bool &changed) const

Static Public Member Functions

template<typename T>
__host__ static __device__ constexpr T GetIdentityValue ()
__host__ static __device__ constexpr bool IsCompatibleInMemoryDataOperation (InMemoryDataOperationEnum operation)

Member Function Documentation

◆ GetIdentityValue()

template<typename T>
__host__ static __device__ constexpr T ck::reduce::Min::GetIdentityValue ( )
inlinestaticconstexpr

◆ IsCompatibleInMemoryDataOperation()

__host__ static __device__ constexpr bool ck::reduce::Min::IsCompatibleInMemoryDataOperation ( InMemoryDataOperationEnum operation)
inlinestaticconstexpr

◆ operator()() [1/8]

__host__ __device__ constexpr void ck::reduce::Min::operator() ( bhalf_t & a,
bhalf_t b ) const
inlineconstexpr

◆ operator()() [2/8]

__host__ __device__ constexpr void ck::reduce::Min::operator() ( bhalf_t & a,
bhalf_t b,
bool & changed ) const
inlineconstexpr

◆ operator()() [3/8]

__host__ __device__ constexpr void ck::reduce::Min::operator() ( f8_t & a,
f8_t b ) const
inlineconstexpr

◆ operator()() [4/8]

__host__ __device__ constexpr void ck::reduce::Min::operator() ( f8_t & a,
f8_t b,
bool & changed ) const
inlineconstexpr

◆ operator()() [5/8]

__host__ __device__ constexpr void ck::reduce::Min::operator() ( half_t & a,
half_t b ) const
inlineconstexpr

◆ operator()() [6/8]

__host__ __device__ constexpr void ck::reduce::Min::operator() ( half_t & a,
half_t b,
bool & changed ) const
inlineconstexpr

◆ operator()() [7/8]

template<typename T>
__host__ __device__ constexpr void ck::reduce::Min::operator() ( T & a,
T b ) const
inlineconstexpr

◆ operator()() [8/8]

template<typename T>
__host__ __device__ constexpr void ck::reduce::Min::operator() ( T & a,
T b,
bool & changed ) const
inlineconstexpr

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