onnxruntime
a95ae164 - Create N-1 threads in intra-op pool, given main thread now active (#4493)

Commit
5 years ago
Create N-1 threads in intra-op pool, given main thread now active (#4493) Create N-1 threads in a thread pool when configured with intra-op parallelism of N. This ensures we have N active threads, given that the main thread also runs work. To avoid ambiguity on the value returned, rename ThreadPool::NumThreads method to ThreadPool::DegreeOfParallelism, and make corresponding updates in MLAS and operators.
Author
Parents
Loading