UIUC-ChenLab / scalehls

A scalable High-Level Synthesis framework on MLIR
Other
228 stars 47 forks source link

'func.func' is unknown #57

Open kobeyu opened 1 year ago

kobeyu commented 1 year ago

Hi I rollback to commit 7feb80 for onnx to hls, but scalehls-opt shows the error message:

lenet.onnx.mlir:14:3: error: custom op 'func.func' is unknown func.func @main_graph(%arg0: memref<1x3x32x32xf32>) -> memref<1x10xf32> attributes {input_names = ["input.1"], llvm.emit_c_interface, output_names = ["18"]} {

may I ask which commit of onnx-mlir and llvm(mlir for onnx-mlir) should I use for onnx model?

mlir of lenet: https://drive.google.com/file/d/1mchlqAhFy-gfCnnc6EkoNlvw7ZNV2Ga3/view?usp=sharing