saturates< SaturateType > Struct Template Reference

saturates&lt; SaturateType &gt; Struct Template Reference#

Composable Kernel: ck_tile::saturates< SaturateType > Struct Template Reference
ck_tile::saturates< SaturateType > Struct Template Reference

#include <unary_element_function.hpp>

Public Member Functions

template<typename AccType>
CK_TILE_HOST_DEVICE constexpr auto operator() (const AccType &a_) const -> std::enable_if_t< std::is_arithmetic_v< AccType >, AccType >

Member Function Documentation

◆ operator()()

template<typename SaturateType>
template<typename AccType>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::saturates< SaturateType >::operator() ( const AccType & a_) const->std::enable_if_t< std::is_arithmetic_v< AccType >, AccType >
inlineconstexpr

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