Home
last modified time | relevance | path

Searched refs:ownedThreadPool (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/mlir/lib/IR/
H A DMLIRContext.cpp171 std::unique_ptr<llvm::ThreadPool> ownedThreadPool; member in mlir::MLIRContextImpl
243 ownedThreadPool = std::make_unique<llvm::ThreadPool>(); in MLIRContextImpl()
244 threadPool = ownedThreadPool.get(); in MLIRContextImpl()
513 if (impl->ownedThreadPool) { in disableMultithreading()
516 impl->ownedThreadPool.reset(); in disableMultithreading()
520 assert(!impl->ownedThreadPool); in disableMultithreading()
521 impl->ownedThreadPool = std::make_unique<llvm::ThreadPool>(); in disableMultithreading()
522 impl->threadPool = impl->ownedThreadPool.get(); in disableMultithreading()
530 impl->ownedThreadPool.reset(); in setThreadPool()