Loading graph_framework/cpu_context.hpp +4 −4 Original line number Diff line number Diff line Loading @@ -134,11 +134,11 @@ namespace gpu { #else args.push_back("-O3"); #endif //if (jit::verbose) { if (jit::verbose) { for (auto &arg : args) { std::cout << " " << arg << std::endl; } //} } llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions> diagnostic_options; auto diagnostic_printer = std::make_unique<clang::TextDiagnosticPrinter> (llvm::errs(), Loading Loading @@ -181,7 +181,7 @@ namespace gpu { } jit = std::move(jit_try.get()); jit->addIRModule(llvm::orc::ThreadSafeModule(std::move(ir_module), auto error = jit->addIRModule(llvm::orc::ThreadSafeModule(std::move(ir_module), llvm::orc::ThreadSafeContext(std::move(context)))); } Loading Loading
graph_framework/cpu_context.hpp +4 −4 Original line number Diff line number Diff line Loading @@ -134,11 +134,11 @@ namespace gpu { #else args.push_back("-O3"); #endif //if (jit::verbose) { if (jit::verbose) { for (auto &arg : args) { std::cout << " " << arg << std::endl; } //} } llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions> diagnostic_options; auto diagnostic_printer = std::make_unique<clang::TextDiagnosticPrinter> (llvm::errs(), Loading Loading @@ -181,7 +181,7 @@ namespace gpu { } jit = std::move(jit_try.get()); jit->addIRModule(llvm::orc::ThreadSafeModule(std::move(ir_module), auto error = jit->addIRModule(llvm::orc::ThreadSafeModule(std::move(ir_module), llvm::orc::ThreadSafeContext(std::move(context)))); } Loading