onnxruntime/include/onnxruntime/core
Erick Muñoz d1533c27eb
[oneDNN] Improved thread handling (#13618)
* Added the OrtDnnlProviderOptions structure to expose configuration
options to the user

* The number of threads can be defined by the user with the -i flag on
the perftest

* Number of threads can also be configured via the OMP_NUM_THREADS
environment variable

* The number of threads defined in the OrtDnnlProviderOptions is
prioritized over the environment variable

### Description
Avoids thread oversubscription caused by OpenMP allocating the maximum
number of threads possible for oneDNN EP. Added support for the
OrtDnnlProviderOptions, this will allow for more EP customization
capabilities, and allows for user defined number of threads.



### Motivation and Context
- Improves performances and allows for user to fine tune the number of
threads
2023-01-31 14:37:13 -08:00
..
common Fix skew between GPU/CPU timestamps in ORT profiler (#14004) 2023-01-05 11:07:26 -08:00
eager
framework Create dedicated build for training api (#14136) 2023-01-10 20:58:04 -08:00
graph Rename CloudEP to AzureEP (#14175) 2023-01-11 12:25:04 -08:00
optimizer Pass SessionOptions to XnnpackProviderFactoryCreator. (#13318) 2022-12-10 14:23:46 +08:00
platform Improve thread pool creation failure handling. (#13313) 2022-10-15 17:57:19 -07:00
providers [oneDNN] Improved thread handling (#13618) 2023-01-31 14:37:13 -08:00
session [oneDNN] Improved thread handling (#13618) 2023-01-31 14:37:13 -08:00