f4x2_pk_t Struct Reference

f4x2_pk_t Struct Reference#

Composable Kernel: ck::f4x2_pk_t Struct Reference

#include <data_type.hpp>

Public Types

using type = uint8_t
 

Public Member Functions

__host__ constexpr __device__ f4x2_pk_t ()
 
__host__ constexpr __device__ f4x2_pk_t (const type init)
 
template<index_t I>
__host__ __device__ type unpack (Number< I >) const
 
__host__ __device__ type pack (const type x0, const type x1)
 

Public Attributes

type data
 

Static Public Attributes

static constexpr int packed_size = 2
 

Friends

__host__ __device__ friend bool operator== (const f4x2_pk_t &lhs, const f4x2_pk_t &rhs)
 
__host__ __device__ friend bool operator!= (const f4x2_pk_t &lhs, const f4x2_pk_t &rhs)
 

Member Typedef Documentation

◆ type

Constructor & Destructor Documentation

◆ f4x2_pk_t() [1/2]

__host__ constexpr __device__ ck::f4x2_pk_t::f4x2_pk_t ( )
inlineconstexpr

◆ f4x2_pk_t() [2/2]

__host__ constexpr __device__ ck::f4x2_pk_t::f4x2_pk_t ( const type  init)
inlineconstexpr

Member Function Documentation

◆ pack()

__host__ __device__ type ck::f4x2_pk_t::pack ( const type  x0,
const type  x1 
)
inline

◆ unpack()

template<index_t I>
__host__ __device__ type ck::f4x2_pk_t::unpack ( Number< I >  ) const
inline

Friends And Related Function Documentation

◆ operator!=

__host__ __device__ friend bool operator!= ( const f4x2_pk_t lhs,
const f4x2_pk_t rhs 
)
friend

◆ operator==

__host__ __device__ friend bool operator== ( const f4x2_pk_t lhs,
const f4x2_pk_t rhs 
)
friend

Member Data Documentation

◆ data

type ck::f4x2_pk_t::data

◆ packed_size

constexpr int ck::f4x2_pk_t::packed_size = 2
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/develop/include/ck/utility/data_type.hpp