Max Struct Reference

Max Struct Reference#

Composable Kernel: ck::reduce::Max Struct Reference

#include <reduction_operator.hpp>

Public Member Functions

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

Static Public Member Functions

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

Member Function Documentation

◆ GetIdentityValue()

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

◆ IsCompatibleInMemoryDataOperation()

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

◆ operator()() [1/8]

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

◆ operator()() [2/8]

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

◆ operator()() [3/8]

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

◆ operator()() [4/8]

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

◆ operator()() [5/8]

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

◆ operator()() [6/8]

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

◆ operator()() [7/8]

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

◆ operator()() [8/8]

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

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck/utility/reduction_operator.hpp