Browse Source

fix(ycm): make ycm happy with llvm

GitOrigin-RevId: 19e2db3edb
master
Megvii Engine Team 2 years ago
parent
commit
63406bad12
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/jit/impl/mlir/compiler.cpp

+ 1
- 1
src/jit/impl/mlir/compiler.cpp View File

@@ -57,7 +57,7 @@ mlir::OwnedBlob compile_ptx_to_cubin(
}

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 =
mlir::translateModuleToNVVMIR(m, llvmContext);
auto get_device_path = []() -> std::string {


Loading…
Cancel
Save