tvm
Functions
builtin_fp16.h File Reference

Functions for conversion between fp32 and fp16. More...

#include <tvm/runtime/c_runtime_api.h>
#include <cstdint>
Include dependency graph for builtin_fp16.h:

Go to the source code of this file.

Functions

uint16_t __gnu_f2h_ieee (float)
 
float __gnu_h2f_ieee (uint16_t)
 

Detailed Description

Functions for conversion between fp32 and fp16.

Function Documentation

◆ __gnu_f2h_ieee()

uint16_t __gnu_f2h_ieee ( float  )

◆ __gnu_h2f_ieee()

float __gnu_h2f_ieee ( uint16_t  )