[Mlir-commits] [mlir] [mlir][amdgpu] Define an amdgpu.scaling_mfma wrapper (PR #137498)
Prashant Kumar
llvmlistbot at llvm.org
Sun Apr 27 13:25:13 PDT 2025
================
@@ -833,6 +833,14 @@ mfmaOpToScaledIntrinsic(MFMAOp mfma, Chipset chipset) {
mfma.getBlocks(), chipset);
}
+static std::optional<std::tuple<StringRef, uint32_t, uint32_t>>
+mfmaOpToScaledIntrinsic(ScaledMFMAOp smfma, Chipset chipset) {
+ return mfmaOpToScaledIntrinsic(smfma.getSourceA().getType(),
----------------
pashu123 wrote:
It can be templatized as well; my point was to remove the unnecessary function that does the same thing.
https://github.com/llvm/llvm-project/pull/137498
More information about the Mlir-commits
mailing list