提交 0842360e 编写于 作者: J jackalcooper

add todo

上级 003e0c2d
......@@ -46,6 +46,7 @@ class CreateComputeCtxPass : public CreateComputeCtxPassBase<CreateComputeCtxPas
void runOnFunction() override {
ModuleOp top_module = getFunction()->getParentOfType<ModuleOp>();
mlir::MLIRContext& context = getContext();
// TODO: reuse interpreter's importer
::oneflow::one::ir::JitImporter importer(&context, top_module);
Builder builder(&context);
// external func to launch kernel
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册