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

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

Static Public Member Functions

static CK_TILE_HOST_DEVICE constexpr 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>
CK_TILE_HOST_DEVICE constexpr bool ck_tile::constant< v >::is_static ( )
inlinestaticconstexpr

◆ operator value_type()

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

◆ operator()()

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

Member Data Documentation

◆ value

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

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