Dynamic gemm/conv
This commit is contained in:
@@ -21,6 +21,12 @@ def spatToPimVMM : Pat<
|
||||
(NativeCodeCall<"onnx_mlir::getBestOutputTensorFromOperandsOrAllocate($_builder, $0.getDefiningOp())"> $srcOpRes))
|
||||
>;
|
||||
|
||||
def spatToPimVVDMul : Pat<
|
||||
(SpatVVDMulOp:$srcOpRes $a, $b),
|
||||
(PimVVDMulOp $a, $b,
|
||||
(NativeCodeCall<"onnx_mlir::getBestOutputTensorFromOperandsOrAllocate($_builder, $0.getDefiningOp())"> $srcOpRes))
|
||||
>;
|
||||
|
||||
def spatToPimVVAdd : Pat<
|
||||
(SpatVAddOp:$srcOpRes $a, $b),
|
||||
(PimVVAddOp $a, $b,
|
||||
|
||||
Reference in New Issue
Block a user