File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
include/mlir/Dialect/AMDGPU/IR Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ def AMDGPU_PackedScaledTruncOp
198
198
`,` $scale
199
199
`:` type($source) `to` type($res) (`into` type($existing)^)?
200
200
}];
201
- let hasVerifier = 0 ;
201
+ let hasVerifier = 1 ;
202
202
}
203
203
204
204
def AMDGPU_PackedStochRoundFp8Op :
Original file line number Diff line number Diff line change @@ -60,6 +60,15 @@ LogicalResult PackedStochRoundFp8Op::verify() {
60
60
return success ();
61
61
}
62
62
63
+ // ===----------------------------------------------------------------------===//
64
+ // mxfp float ops
65
+ // ===----------------------------------------------------------------------===//
66
+ LogicalResult PackedScaledTruncOp::verify () {
67
+ if (getExisting () && getExisting ().getType () != getResult ().getType ())
68
+ return emitOpError (" existing values must have same type as result" );
69
+ return success ();
70
+ }
71
+
63
72
// ===----------------------------------------------------------------------===//
64
73
// FatRawBufferCastOp
65
74
// ===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments