onnxruntime/onnxruntime
Pranav Sharma 9636da3951
Threadpool related changes. (#3564)
Threadpool related changes.

Don't create ORT threadpool if openmp is enabled (except for inter op threadpool).
Created a new static function ThreadPool::NumThreads to account for openmp settings and null threadpool ptr.
Log a warning when using SetIntraOpNumThreads when openmp is enabled.
Added a document for ORT devs.
Fix LSTM to use the new threadpool abstractions.
Rename GetNumCpuCores to GetThreadAffinityMasks and move it to the Env class.

Co-authored-by: Tracy Sharpe <tracysh@microsoft.com>
2020-04-21 09:57:39 -07:00
..
contrib_ops Convert Gelu to use TryParallelFor (#3599) 2020-04-20 17:32:39 -07:00
core Threadpool related changes. (#3564) 2020-04-21 09:57:39 -07:00
featurizers_ops Resolve comments and make minor changes to Featurizer transformers (#3535) 2020-04-15 13:29:24 -07:00
gsl Fix static analysis warnings found by VC++ (#3530) 2020-04-16 01:46:47 -07:00
python Refactor some for the calibate.py. Add QLinearAdd and QLinearMul support. Fix bugs loading jpgs not strict RGB, and typoes in load_batch call. (#3542) 2020-04-18 17:10:55 -07:00
test Threadpool related changes. (#3564) 2020-04-21 09:57:39 -07:00
tool/etw Fix static analysis warnings found by VC++ (#3530) 2020-04-16 01:46:47 -07:00
.style.yapf Use yapf to format python (#3276) 2020-03-20 14:34:10 -07:00
__init__.py Bump up version number to 1.2 (#3097) 2020-02-26 17:25:16 -08:00
ReformatSource.ps1
ReformatSourcePython.bat Use yapf to format python (#3276) 2020-03-20 14:34:10 -07:00
VSCodeCoverage.runsettings