[Mlir-commits] [mlir] [ROCDL] Added `rocdl.cvt.scale.pk8` ops (PR #161411)

Erick Ochoa Lopez llvmlistbot at llvm.org
Wed Oct 1 07:17:16 PDT 2025


================
@@ -1010,13 +1011,30 @@ foreach smallT = [
         attr-dict $src `,` $scale `[` $scaleSel `]` `:` type($res)
       }];
     }
+
+    // Down-scaling
+    def ROCDL_CvtScaleF32Pk8 # smallT.nameForOp # largeT.nameForOp # Op :
+        ROCDL_ConcreteNonMemIntrOp<"cvt.scalef32.pk8." # smallT.name # "." # largeT.name,
----------------
amd-eochoalo wrote:

Ah yes. you are correct here. Thanks!

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


More information about the Mlir-commits mailing list