This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][NVVM] Introduce WGMMA Types
ClosedPublic

Authored by guraypp on Aug 11 2023, 3:00 AM.

Details

Summary

This work introduces WGMMATypes attributes for the WgmmaMmaSyncOp. This op, having been recently added to MLIR, previously used MMATypes. However, there arises a disparity in supported types between MmaOp and WgmmaMmaSyncOp. To address this discrepancy more effectively, a new set of attributes is introduced.

Furthermore, this patch refines and optimizing the verification mechanisms of WgmmaMmaSyncOp Op.

It also adds support for f8 types, including e4m3 and e5m2, within the WgmmaMmaSyncOp.

Diff Detail

Event Timeline

guraypp created this revision.Aug 11 2023, 3:00 AM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
guraypp requested review of this revision.Aug 11 2023, 3:00 AM
nicolasvasilache accepted this revision.Aug 11 2023, 7:53 AM
nicolasvasilache added inline comments.
mlir/test/Conversion/NVVMToLLVM/invalid.mlir
135

nit: nl

This revision is now accepted and ready to land.Aug 11 2023, 7:53 AM
This revision was automatically updated to reflect the committed changes.
guraypp marked an inline comment as done.