Skip to content

Commit

Permalink
[LLVMGPU] skip distribute contract if mmainterfaceattr
Browse files Browse the repository at this point in the history
Signed-off-by: Stanley Winata <[email protected]>
  • Loading branch information
raikonenfnu committed Nov 7, 2024
1 parent a34d894 commit ad92d79
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,8 @@ struct DistributeContract final : OpDistributionPattern<vector::ContractionOp> {
}
// If mmaAttr exists, defer the lowering to use MMA.
// Notify failure if the "iree.amdgpu.mma" intrinsic attribute is present.
auto mmaAttr =
contractOp->getAttrOfType<IREE::GPU::MMAAttr>("iree.amdgpu.mma");
auto mmaAttr = contractOp->getAttrOfType<IREE::GPU::MmaInterfaceAttr>(
"iree.amdgpu.mma");
if (mmaAttr) {
return rewriter.notifyMatchFailure(
contractOp, "iree.amdgpu.mma intrinsic attribute exists");
Expand Down

0 comments on commit ad92d79

Please sign in to comment.