HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::Float8E5M2FNUZ Struct Reference

#include <float8.h>

Classes

struct  FromBitsT
 

Public Member Functions

 Float8E5M2FNUZ ()=default
 
constexpr ORT_HOST_DEVICE Float8E5M2FNUZ (unsigned char bits, FromBitsT)
 
ORT_HOST_DEVICE Float8E5M2FNUZ (float v, bool saturate=true)
 
ORT_HOST_DEVICE bool IsNaN () const
 
ORT_HOST_DEVICE float ToFloat () const
 
ORT_HOST_DEVICE operator float () const
 

Static Public Member Functions

static constexpr
ORT_HOST_DEVICE FromBitsT 
FromBits ()
 

Public Attributes

uint8_t val {0}
 

Detailed Description

Definition at line 523 of file float8.h.

Constructor & Destructor Documentation

onnxruntime::Float8E5M2FNUZ::Float8E5M2FNUZ ( )
default
constexpr ORT_HOST_DEVICE onnxruntime::Float8E5M2FNUZ::Float8E5M2FNUZ ( unsigned char  bits,
FromBitsT   
)
inline

Definition at line 533 of file float8.h.

ORT_HOST_DEVICE onnxruntime::Float8E5M2FNUZ::Float8E5M2FNUZ ( float  v,
bool  saturate = true 
)
inlineexplicit

Definition at line 535 of file float8.h.

Member Function Documentation

static constexpr ORT_HOST_DEVICE FromBitsT onnxruntime::Float8E5M2FNUZ::FromBits ( )
inlinestatic

Definition at line 532 of file float8.h.

ORT_HOST_DEVICE bool onnxruntime::Float8E5M2FNUZ::IsNaN ( ) const
inline

Definition at line 596 of file float8.h.

ORT_HOST_DEVICE onnxruntime::Float8E5M2FNUZ::operator float ( ) const
inline

Definition at line 634 of file float8.h.

ORT_HOST_DEVICE float onnxruntime::Float8E5M2FNUZ::ToFloat ( ) const
inline

Definition at line 600 of file float8.h.

Member Data Documentation

uint8_t onnxruntime::Float8E5M2FNUZ::val {0}

Definition at line 524 of file float8.h.


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