This is an archive of the discontinued LLVM Phabricator instance.

[mlir][gpu] Support arith.extf in subgroup MMA elementwise ops
ClosedPublic

Authored by antiagainst on Aug 1 2023, 8:47 PM.

Details

Summary

This commit adds support for arith.extf in the supported list of
elementwise ops for subgroup MMA ops, and enables lowering to
SPIR-V.

Diff Detail

Event Timeline

antiagainst created this revision.Aug 1 2023, 8:47 PM
Herald added a reviewer: kuhar. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
antiagainst requested review of this revision.Aug 1 2023, 8:47 PM
mravishankar accepted this revision.Aug 1 2023, 8:55 PM

Added a comment, but approving.

mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
217

It's not immediately clear to me, why this restriction is needed. Maybe a comment on that?

This revision is now accepted and ready to land.Aug 1 2023, 8:55 PM

Address comments

mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
217

Yeah, was trying to be conservative; actually not strictly needed. Dropped.

This revision was landed with ongoing or failed builds.Aug 1 2023, 9:16 PM
This revision was automatically updated to reflect the committed changes.