Closed
Description
# ./bin/gc-opt /home/xurui/gc_v2/test.mlir --gc-cpu-pipeline
func.func @main_entry(%arg0: tensor<128x512xbf16>, %arg1: tensor<512x256xbf16>) -> tensor<128x256xbf16> attributes {llvm.emit_c_interface} {
%cst = arith.constant 0.000000e+00 : bf16
%0 = tensor.empty() : tensor<128x256xbf16>
%1 = linalg.fill ins(%cst : bf16) outs(%0 : tensor<128x256xbf16>) -> tensor<128x256xbf16>
%2 = linalg.matmul ins(%arg0, %arg1 : tensor<128x512xbf16>, tensor<512x256xbf16>) outs(%1 : tensor<128x256xbf16>) -> tensor<128x256xbf16>
return %2 : tensor<128x256xbf16>
}
<unknown>:0: error: 'arith.mulf' op requires the same type for all operands and results
<unknown>:0: note: see current operation: %28 = "arith.mulf"(%arg10, %27) <{fastmath = #arith.fastmath<none>}> : (bf16, f32) -> bf16
// -----// IR Dump After DeepTileContractionNamedOp Failed (deep-tile-contraction-named-op) //----- //