提交 63406bad 编写于 作者: M Megvii Engine Team

fix(ycm): make ycm happy with llvm

GitOrigin-RevId: 19e2db3edbd9784165dd07c6ddedf5e038ad5461
上级 68d7320e
...@@ -57,7 +57,7 @@ mlir::OwnedBlob compile_ptx_to_cubin( ...@@ -57,7 +57,7 @@ mlir::OwnedBlob compile_ptx_to_cubin(
} }
std::unique_ptr<llvm::Module> translate_module_to_nvvm_ir_and_link_device( std::unique_ptr<llvm::Module> translate_module_to_nvvm_ir_and_link_device(
Operation* m, llvm::LLVMContext& llvmContext, llvm::StringRef name) { Operation* m, llvm::LLVMContext& llvmContext, llvm::StringRef /*name*/) {
std::unique_ptr<llvm::Module> module = std::unique_ptr<llvm::Module> module =
mlir::translateModuleToNVVMIR(m, llvmContext); mlir::translateModuleToNVVMIR(m, llvmContext);
auto get_device_path = []() -> std::string { auto get_device_path = []() -> std::string {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册