Searched refs:ownedThreadPool (Results 1 – 1 of 1) sorted by relevance
171 std::unique_ptr<llvm::ThreadPool> ownedThreadPool; member in mlir::MLIRContextImpl243 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()