14 #ifndef MLIR_EXECUTIONENGINE_FLOAT16BITS_H_
15 #define MLIR_EXECUTIONENGINE_FLOAT16BITS_H_
21 #ifdef mlir_float16_utils_EXPORTS
22 #define MLIR_FLOAT16_EXPORT __declspec(dllexport)
23 #define MLIR_FLOAT16_DEFINE_FUNCTIONS
25 #define MLIR_FLOAT16_EXPORT __declspec(dllimport)
28 #define MLIR_FLOAT16_EXPORT __attribute__((visibility("default")))
29 #define MLIR_FLOAT16_DEFINE_FUNCTIONS
57 #undef MLIR_FLOAT16_EXPORT
MLIR_FLOAT16_EXPORT std::ostream & operator<<(std::ostream &os, const f16 &f)
MLIR_FLOAT16_EXPORT bool operator==(const f16 &f1, const f16 &f2)
MLIR_FLOAT16_EXPORT void printBF16(uint16_t bits)
MLIR_FLOAT16_EXPORT void printF16(uint16_t bits)
#define MLIR_FLOAT16_EXPORT