HIP: Heterogenous-computing Interface for Portability
Functions
Bfloat162 Raw Struct

Functions

struct __attribute__ ((aligned(4)))
 represents raw bfloat16x2 vector type More...
 

Detailed Description

To use these functions, include the header file hip_bf16.h in your program.

Function Documentation

◆ __attribute__()

struct __attribute__ ( (aligned(4))  )

represents raw bfloat16x2 vector type

raw representation of bfloat16

raw representation of bfloat16

create __hip_bfloat162 from __hip_bfloat162_raw

copy constructor of __hip_bfloat162

create __hip_bfloat162 from two __hip_bfloat16

default constructor of __hip_bfloat162

return a __hip_bfloat162_raw

return a float2

assign value from __hip_bfloat162_raw

assign value from __hip_bfloat162