onnxruntime
ThreadPool clean up : mm_pause in loops, correctly spin-then-wait, and adopt static methods consistently in the API
#5590
Merged

ThreadPool clean up : mm_pause in loops, correctly spin-then-wait, and adopt static methods consistently in the API #5590

tlh20 merged 14 commits into master from tiharr/dev-threading-1
tlh20
tlh20 Pause in spin loops, use static methods for thread pool API
3f3bada4
tlh20 Fix should-parallelize test
f8c8612c
tlh20 Use static-method API to thread pool
2ee43c4c
tlh20 Fix spacing
3894888a
tlh20 Remove warning in OpenMP builds
12371ec4
tlh20 Fix WIN32 test case
d88b6b67
tlh20 Fix ORT training thread pool use
b5f25937
tlh20 Do not call fn(0,0) when 0 iterations expected
081c4fc5
tlh20 tlh20 changed the title Use static-method API consistently on ThreadPool, use pause in spin loops ThreadPool clean up : mm_pause in loops, correctly spin-then-wait, and adopt static methods consistently in the API 5 years ago
tlh20 Fix Windows test
5eaf73c4
tracysh
tracysh commented on 2020-10-26
tlh20 Correct if-def for MSVC
2192b2d2
tlh20 Merge remote-tracking branch 'origin/master' into tiharr/dev-threading-1
117e8400
tlh20 Allow explicit use of thread pools with OpenMP builds
133f22bf
tracysh
tracysh commented on 2020-10-26
tlh20 MSVC build
86d2ada6
tlh20 MSVC build
a9920304
tlh20 tlh20 marked this pull request as ready for review 5 years ago
tlh20 tlh20 requested a review 5 years ago
tlh20 tlh20 requested a review from snnn snnn 5 years ago
tlh20 tlh20 requested a review from pranavsharma pranavsharma 5 years ago
tlh20 tlh20 requested a review from duli2012 duli2012 5 years ago
snnn
snnn approved these changes on 2020-10-27
tlh20 tlh20 merged 5e8952ef into master 5 years ago
tlh20 tlh20 deleted the tiharr/dev-threading-1 branch 5 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone