constant< v > Struct Template Reference

constant&lt; v &gt; Struct Template Reference#

Composable Kernel: ck_tile::constant< v > Struct Template Reference

#include <integral_constant.hpp>

Inheritance diagram for ck_tile::constant< v >:
ck_tile::integral_constant< T, v >

Public Types

using value_type = decltype(v)
 
using type = constant
 

Public Member Functions

constexpr CK_TILE_HOST_DEVICE operator value_type () const noexcept
 
constexpr CK_TILE_HOST_DEVICE value_type operator() () const noexcept
 

Static Public Member Functions

static constexpr CK_TILE_HOST_DEVICE bool is_static ()
 

Static Public Attributes

static constexpr value_type value = v
 

Member Typedef Documentation

◆ type

template<auto v>
using ck_tile::constant< v >::type = constant

◆ value_type

template<auto v>
using ck_tile::constant< v >::value_type = decltype(v)

Member Function Documentation

◆ is_static()

template<auto v>
static constexpr CK_TILE_HOST_DEVICE bool ck_tile::constant< v >::is_static ( )
inlinestaticconstexpr

◆ operator value_type()

template<auto v>
constexpr CK_TILE_HOST_DEVICE ck_tile::constant< v >::operator value_type ( ) const
inlineconstexprnoexcept

◆ operator()()

template<auto v>
constexpr CK_TILE_HOST_DEVICE value_type ck_tile::constant< v >::operator() ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ value

template<auto v>
constexpr value_type ck_tile::constant< v >::value = v
staticconstexpr

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_tile/core/numeric/integral_constant.hpp