Searched refs:threadPool (Results 1 – 9 of 9) sorted by relevance
69 llvm::ThreadPoolInterface &threadPool = context->getThreadPool(); in failableParallelForEach() local70 llvm::ThreadPoolTaskGroup tasksGroup(threadPool); in failableParallelForEach()71 size_t numActions = std::min(numElements, threadPool.getMaxConcurrency()); in failableParallelForEach()
31 void mlirLlvmThreadPoolDestroy(MlirLlvmThreadPool threadPool) { in mlirLlvmThreadPoolDestroy() argument32 delete unwrap(threadPool); in mlirLlvmThreadPoolDestroy()
112 MlirLlvmThreadPool threadPool) { in mlirContextSetThreadPool() 113 unwrap(context)->setThreadPool(*unwrap(threadPool)); in mlirContextSetThreadPool() 111 mlirContextSetThreadPool(MlirContext context,MlirLlvmThreadPool threadPool) mlirContextSetThreadPool() argument
512 llvm::ThreadPoolInterface *threadPool) { in registerAndParseCLIOptions() 520 if (threadPool) in printRegisteredDialects() 521 context.setThreadPool(*threadPool); in printRegisteredDialects() 613 ThreadPoolInterface *threadPool = nullptr;621 threadPool = &threadPoolCtx.getThreadPool();626 threadPool);446 processBuffer(raw_ostream & os,std::unique_ptr<MemoryBuffer> ownedBuffer,const MlirOptMainConfig & config,DialectRegistry & registry,llvm::ThreadPoolInterface * threadPool) processBuffer() argument 536 ThreadPoolInterface *threadPool = nullptr; MlirOptMain() local
173 llvm::ThreadPoolInterface *threadPool = nullptr; member in mlir::MLIRContextImpl 274 threadPool = ownedThreadPool.get();608 assert(impl->threadPool); in disableMultithreading() 609 impl->threadPool = nullptr; in disableMultithreading() 612 } else if (!impl->threadPool) { in disableMultithreading() 616 impl->threadPool = impl->ownedThreadPool.get(); in disableMultithreading() 623 impl->threadPool = &pool; in disableMultithreading() 630 assert(impl->threadPool && in setThreadPool() 632 return impl->threadPool->getMaxConcurrency(); in setThreadPool() 641 assert(impl->threadPool in getNumThreads() [all...]
51 threadPool.wait(); // wait for the completion of all async tasks in ~AsyncRuntime()60 llvm::ThreadPoolInterface &getThreadPool() { return threadPool; } in getThreadPool()75 llvm::DefaultThreadPool threadPool; member in mlir::runtime::__anone5fff9370111::AsyncRuntime
69 DefaultThreadPool threadPool; global() member in __anonf2ed8e120111::Writer
163 MlirLlvmThreadPool threadPool);
2368 MlirLlvmThreadPool threadPool = mlirLlvmThreadPoolCreate(); in testExplicitThreadPools() local 2373 mlirContextSetThreadPool(context, threadPool); in testExplicitThreadPools() 2376 mlirLlvmThreadPoolDestroy(threadPool); in testExplicitThreadPools()