Open alanguo1234 opened 1 year ago
which platform it was compiled?
the build error have been fixed. thanks.
by the way, OpBuilder::InsertionGuard _(mbuilder); I don't find any description about var define with at cppreference
this is in mlir project and not the description of c++
hi I get the latest source code, I build megcc source code as the user guide, the step as follows:
the error log as below: ../tools/mgb-to-tinynn/mgb-to-tinynn.cpp:102:19: error: ‘kernel_exporter’ has not been declared export_cv_opr(kernel_exporter, dump_info->cv_impl); ^
~~~~~~ ../tools/mgb-to-tinynn/mgb-to-tinynn.cpp:102:36: error: ‘dump_info’ has not been declared export_cv_opr(kernel_exporter, dump_info->cv_impl); ^~~~~ ../tools/mgb-to-tinynn/mgb-to-tinynn.cpp:102:45: error: expected ‘,’ or ‘...’ before ‘->’ token export_cv_opr(kernel_exporter, dump_info->cv_impl); ^~ ../tools/mgb-to-tinynn/mgb-to-tinynn.cpp:102:54: error: ISO C++ forbids declaration of ‘export_cv_opr’ with no type [-fpermissive] export_cv_opr(kernel_exporter, dump_info->cv_impl);