提交 708b2807 编写于 作者: J jackalcooper

refine

上级 846c004f
......@@ -59,7 +59,6 @@ class CreateComputeCtxPass : public CreateComputeCtxPassBase<CreateComputeCtxPas
auto importer = jit_interpreter->GetImporter();
Builder builder(&context);
// external func to launch kernel
SmallVector<Type, 4> argument_types;
auto func_type = builder.getFunctionType(
LLVM::LLVMPointerType::get(IntegerType::get(&context, 8)), llvm::None);
auto function = mlir::FuncOp::create(getFunction()->getLoc(), "LaunchOneFlowKernel", func_type);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册