[Mlir-commits] [mlir] [mlir] Support emit fp16 and bf16 type to cpp (PR #105803)

Tina Jung llvmlistbot at llvm.org
Mon Aug 26 23:45:34 PDT 2024


================
@@ -12,6 +12,10 @@ The following convention is followed:
     operation, C++20 is required.
 *   If `ssize_t` is used, then the code requires the POSIX header `sys/types.h`
     or any of the C++ headers in which the type is defined.
+*   If `_Float16` is used, the code requires the support of C additional
+    floating types.
----------------
TinaAMD wrote:

I think usually this documentation specifies the type in the mlir world and then relates it to something in C/C++. Maybe
> If `f16` types are used, the code requires a compiler that supports `_Float16`.

Same for `bf16` below.

https://github.com/llvm/llvm-project/pull/105803


More information about the Mlir-commits mailing list