integral_constant< T, v > Struct Template Reference

integral_constant&lt; T, v &gt; Struct Template Reference#

Composable Kernel: ck::integral_constant< T, v > Struct Template Reference
ck::integral_constant< T, v > Struct Template Reference

#include <integral_constant.hpp>

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

Public Types

typedef T value_type
typedef integral_constant type
Public Types inherited from ck::constant< v >
using value_type = decltype(v)
using type = constant

Static Public Attributes

static constexpr T value = v
Static Public Attributes inherited from ck::constant< v >
static constexpr value_type value = v

Additional Inherited Members

Public Member Functions inherited from ck::constant< v >
__host__ __device__ constexpr operator value_type () const noexcept
__host__ __device__ constexpr value_type operator() () const noexcept

Member Typedef Documentation

◆ type

template<class T, T v>
typedef integral_constant ck::integral_constant< T, v >::type

◆ value_type

template<class T, T v>
typedef T ck::integral_constant< T, v >::value_type

Member Data Documentation

◆ value

template<class T, T v>
T ck::integral_constant< T, v >::value = v
staticconstexpr

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