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

Marius Brehler llvmlistbot at llvm.org
Sun Aug 25 23:58:22 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.
+*   If `__bf16` is used, the code requires complier that supports it, such as:
+    GCC and Clang.
----------------
marbre wrote:

I would probably rephrase to
```suggestion
*   If `__bf16` is used, the code requires a complier that supports it, such as
    GCC or Clang.
```

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


More information about the Mlir-commits mailing list