/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/core/numeric/half.hpp File Reference

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/core/numeric/half.hpp File Reference#

Composable Kernel: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/core/numeric/half.hpp File Reference
half.hpp File Reference
#include "ck_tile/core/config.hpp"
#include "ck_tile/core/utility/bit_cast.hpp"
#include "ck_tile/core/numeric/numeric.hpp"
#include <hip/hip_fp16.h>

Go to the source code of this file.

Classes

struct  ck_tile::numeric< half_t >
 
struct  ck_tile::numeric_traits< half_t >
 

Namespaces

 ck_tile
 

Typedefs

using ck_tile::fp16_hip_t = _Float16
 
using ck_tile::fp16_raw_t = uint16_t
 
using ck_tile::fp16_t = _Float16
 
using ck_tile::half_t = _Float16
 
using ck_tile::fp16x2_t = _Float16
 

Functions

constexpr CK_TILE_HOST_DEVICE float ck_tile::fp16_to_float_hip (const fp16_hip_t &x)
 
constexpr CK_TILE_HOST_DEVICE double ck_tile::fp16_to_double_hip (const fp16_hip_t &x)
 
constexpr CK_TILE_HOST_DEVICE fp16_hip_t ck_tile::float_to_fp16_hip (const float &x)
 
constexpr CK_TILE_HOST_DEVICE fp16_hip_t ck_tile::double_to_fp16_hip (const double &x)
 
constexpr CK_TILE_HOST_DEVICE float ck_tile::fp16_to_float (const half_t &x)
 
constexpr CK_TILE_HOST_DEVICE float ck_tile::fp16_to_double (const half_t &x)
 
constexpr CK_TILE_HOST_DEVICE half_t ck_tile::float_to_fp16 (const float &x)
 
constexpr CK_TILE_HOST_DEVICE half_t ck_tile::double_to_fp16 (const double &x)
 
CK_TILE_HOST fp16x2_t ck_tile::pk_add_f16 (const fp16x2_t &x, const fp16x2_t &y)