[Mlir-commits] [mlir] Support float8_e3m4 and float8_e4m3 in np_to_memref (PR #186453)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Mar 13 10:16:45 PDT 2026


================
@@ -616,12 +616,91 @@ def testF8E5M2Memref():
         assert len(x) == 1
         assert x[0] == 0.5
 
-
 if HAS_ML_DTYPES:
     run(testF8E5M2Memref)
 else:
     log("TEST: testF8E5M2Memref")
 
+# Test f8E3M4 memrefs
----------------
srcarroll wrote:

agreed. thanks

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


More information about the Mlir-commits mailing list