onnxruntime/onnxruntime/test/global_thread_pools
Changming Sun 9902b57090
Fix a warning in global_thread_pools/test_inference.cc (#4987)
* Fix a warning in global_thread_pools/test_inference.cc
2020-09-01 20:45:22 -07:00
..
README.md Add support for sessions to share a global threadpool. (#3177) 2020-03-18 15:42:46 -07:00
test_inference.cc Fix a warning in global_thread_pools/test_inference.cc (#4987) 2020-09-01 20:45:22 -07:00
test_main.cc Add option ORT_NO_EXCEPTIONS to disable most exception/throw in /onnxruntime/ (#4894) 2020-08-28 23:03:51 -07:00

Tests for global threadpools

These tests here test the usage of the global threadpools using the C API data flow. The reason we need to create a separate exe here is because we need to create a separate environment that enables the creation of global threadpools. The test environment used in the other exes create the env without global threadpools and since this env is process wide (a singleton) we cannot use it for this kind of test.