onnxruntime/docs
Tim Harris 5e8952ef89
ThreadPool clean up : mm_pause in loops, correctly spin-then-wait, and adopt static methods consistently in the API (#5590)
Description: This change makes three changes to the ThreadPool class to clean up issues identified during performance analysis and optimization. (1) It uses mm_pause intrinsics in spin loops, helping avoid consuming pipeline resources while waiting. (2) It re-organizes the spin-then-steal loop for work distribution to start out spinning as intended, rather than to start out trying to steal. (3) It updates the ThreadPool class's API to be consistent in the use of static methods for public functions. The PR includes minor doc updates and corresponding changes to test cases.

Motivation and Context
The change helps ensure consistency in behavior between the OpenMP and Eigen-based implementations. Unlike the instance methods, the static methods abstract over the different ways in which threading can be implemented; they will map onto the OpenMP or Eigen-based implementations when threading is used. When threading is not used they will run work sequentially.
2020-10-28 09:49:18 +00:00
..
execution_providers Maajid/multi threading 2 (#5568) 2020-10-27 14:48:12 -07:00
images Updated with image for creating the onnxruntime pkg (#5400) 2020-10-08 08:54:27 -07:00
python bump version to 1.5.2 (#5420) 2020-10-08 16:30:13 -07:00
ABI_Dev_Notes.md Fix some typos. (#3582) 2020-04-18 14:18:05 -07:00
AddingCustomOp.md Support RegisterCustomOpsLibrary via the Python API (#4764) 2020-08-28 13:24:29 -07:00
AddingExecutionProvider.md Renaming MKL-DNN as DNNL (#2515) 2019-12-03 07:34:23 -08:00
Android_testing.md Update Android instructions (#3971) 2020-05-19 07:30:45 +10:00
C_API.md Allow sharing of initializers between sessions. (#5092) 2020-09-21 14:09:37 -07:00
cmake_guideline.md Add a doc for cmake (#1524) 2019-08-06 07:51:53 -07:00
Coding_Conventions_and_Standards.md Enable running PEP8 on python scripts using flake8 (#3928) 2020-05-15 07:15:06 +10:00
ContribOperators.md revert contrib op version bump and deprecation of TransposeMatMul (#5424) 2020-10-12 13:02:15 -07:00
CSharp_API.md [C# and Python APIs] Expose knobs to enable/disable platform telemetry collection (#5481) 2020-10-21 10:32:13 -07:00
ExportPyTorchCustomOps.md Add Trilu custom op (#4537) 2020-08-17 14:42:26 -07:00
FAQ.md Add FAQ page (#3324) 2020-05-06 15:43:32 -07:00
How_To_Update_ONNX_Dev_Notes.md CGManifest - add training entries and generate entries for submodules. (#3933) 2020-05-15 13:34:18 -07:00
InferenceHighLevelDesign.md Add docs indicating that the onnxruntime engine from other distributions can be compatible with the WinRT NuGet (#5009) 2020-09-14 21:15:51 -07:00
Java_API.md Java API: Documentation cleanup (#4395) 2020-08-13 12:06:42 -07:00
Model_Test.md Renaming MKL-DNN as DNNL (#2515) 2019-12-03 07:34:23 -08:00
NotesOnThreading.md ThreadPool clean up : mm_pause in loops, correctly spin-then-wait, and adopt static methods consistently in the API (#5590) 2020-10-28 09:49:18 +00:00
ONNX_Runtime_for_Mobile_Platforms.md Add --skip_tests to example command line as the included ops are being reduced. (#5554) 2020-10-22 08:55:42 +10:00
ONNX_Runtime_Graph_Optimizations.md Disable GeluApproximation transformer by default (#3644) 2020-04-24 14:29:40 -07:00
ONNX_Runtime_Perf_Tuning.md Add FAQ page (#3324) 2020-05-06 15:43:32 -07:00
ONNX_Runtime_Server_Usage.md [Doc] ONNX_Runtime_Server_Usage fix proto uri (#5345) 2020-10-19 13:30:58 -07:00
onnxruntime_dependencies.dot Update dependencies graph 2020-04-17 07:38:45 -07:00
onnxruntime_dependencies.png Update dependencies graph 2020-04-17 07:38:45 -07:00
OperatorKernels.md Render Operator documentation as compliant markdown (#3658) 2020-09-02 15:07:50 -07:00
PR_Guidelines.md Add guidelines for writing a good PR. (#3830) 2020-05-05 16:28:21 -07:00
Privacy.md [C# and Python APIs] Expose knobs to enable/disable platform telemetry collection (#5481) 2020-10-21 10:32:13 -07:00
PyOp.md EnrichPyOpUT (#4681) 2020-08-05 14:11:56 -07:00
Python_Dev_Notes.md Changes related to the release binaries requiring Visual C++ 2019 runtime (#3871) 2020-05-12 17:07:06 -07:00
Reduced_Operator_Kernel_build.md Add ability to generate configuration file with required operators. (#5089) 2020-09-09 21:39:17 +10:00
ReleaseManagement.md Updated TPN for OpenMPI and cleanup (#3932) 2020-05-14 11:42:44 -07:00
Roadmap.md Doc updates for 1.5 (#5302) 2020-09-30 09:53:33 -07:00
Server.md Doc Updates for Build (#3976) 2020-05-18 20:08:36 -07:00
Versioning.md bump version to 1.5.2 (#5420) 2020-10-08 16:30:13 -07:00
WinRT_API.md Update winrt_api.md to address the 1.4 release (#4946) 2020-08-28 08:05:22 -07:00