onnxruntime/include/onnxruntime/core/session
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
..
environment.h Revert "Call pluggable EP's shutdown function in Environment::~Environment() (#11120)" (#11393) 2022-05-02 14:38:31 -07:00
experimental_onnxruntime_cxx_api.h Minor fix to satisfy c++14 (#6162) 2020-12-17 13:53:24 -08:00
experimental_onnxruntime_cxx_inline.h Deprecate APIs returning raw ptrs and provide replacements (#11922) 2022-06-24 09:50:04 -07:00
onnxruntime_c_api.h [oneDNN] Improved thread handling (#13618) 2023-01-31 14:37:13 -08:00
onnxruntime_cxx_api.h [oneDNN] Improved thread handling (#13618) 2023-01-31 14:37:13 -08:00
onnxruntime_cxx_inline.h [oneDNN] Improved thread handling (#13618) 2023-01-31 14:37:13 -08:00
onnxruntime_run_options_config_keys.h Add ability for memory arenas to "shrink" periodically (#7284) 2021-05-08 07:53:21 -07:00
onnxruntime_session_options_config_keys.h Removing Double QDQ from Graphs (#14024) 2023-01-16 19:06:57 -08:00
snippets.dox [C API Docs] Add docs for run options tag/log level accessors/modifiers. (#9045) 2021-09-14 08:53:35 -07:00