onnxruntime
Support multi-loop parallel sections, use multi-loop sections in GRU
#5602
Merged

Support multi-loop parallel sections, use multi-loop sections in GRU #5602

tlh20 merged 69 commits into master from tiharr/dev-threading-2
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 Fix Windows test
5eaf73c4
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
tlh20 MSVC build
86d2ada6
tlh20 MSVC build
a9920304
tlh20 Multi-loop sections
52039e81
tlh20 Multi-loop sections
b765a75a
tlh20 Multi-loop sections
d11ca159
tlh20 tlh20 changed the title [WIP] Support multi-loop parallel sections, used multi-loop sections in GRU [WIP] Support multi-loop parallel sections, use multi-loop sections in GRU 5 years ago
tlh20 Fix OpenMP build
3df0fca6
tlh20 Fix use of std::max
ec56a7f9
tlh20 Use SpinPause() rather than _mm_pause intrinsic directly
b720e7cd
tlh20 Add test cases for multi-loop sections
dfdd3606
tlh20 merge
de0cf4fa
tlh20 RAII API for parallel sections
7eb7c58b
tlh20 Fix OpenMP build
b46bb7a1
tlh20 Fix unused field warning
c8838ad8
tlh20 Merge remote-tracking branch 'origin/master' into tiharr/dev-threading-2
52662c23
tlh20 Make loop counter _num_shards const
cbe07c30
tlh20 Merge remote-tracking branch 'origin/master' into tiharr/dev-threading-2
dad66f23
tlh20 Pre re-factoring of per-section state
f796282f
tlh20 Refactor thread local storage
236b42a9
tlh20 Merge remote-tracking branch 'origin/master' into tiharr/dev-threading-2
907a1d46
tlh20 Improve comments
8b9ed8ce
tlh20 Use decltype, not typeof, for MSVC build
1a276fa0
tlh20 Fix MSVC build
1d7d260e
tlh20 Fix MSVC build
82e63942
tlh20 Fix OS X build
86e783f6
tlh20 Fix OS X build
19d243d9
tlh20 Fix OS X build
d8d05327
tlh20 unique_ptr for parallel sections
938bb38d
tlh20 Fix non-OpenMP builds without thread pool
e154034c
tlh20 Add test cases for threadpool=nullptr
e9546b09
tlh20 Merge remote-tracking branch 'origin/master' into tiharr/dev-threading-2
ba65dcfb
tlh20 Limit loop degree-of-parallelism to number of blocks available
5f6b4f32
tlh20 Remove unused field
1e1dba6e
tlh20 Fix microbenchmark build
72ae87c9
tlh20 Merge remote-tracking branch 'origin/master' into tiharr/dev-threading-2
d5ee2ec0
tlh20 Fix microbenchmarks
3a1c21f6
tlh20 Refactor prior to single-loop special case
1940b3d7
tlh20 Single-loop special case
6d12df72
tlh20 Commit pre refactor
ff19e107
tlh20 Refactor parallel section implementation
6726cc55
tlh20 Remove white-space changes
1f320a5c
tlh20 Remove C++14 lambda initializer capture
707c5a42
tlh20 Fix windows build
0188e176
tlh20 Remove unneeded include
97641d8a
tlh20 Tidy code, extend comments
23b49018
tlh20 Update comments
5fc273b2
tlh20 Remove unneeded lambda
6fd16a76
tlh20 tlh20 changed the title [WIP] Support multi-loop parallel sections, use multi-loop sections in GRU Support multi-loop parallel sections, use multi-loop sections in GRU 5 years ago
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 Merge remote-tracking branch 'origin/master' into tiharr/dev-threading-2
2298fc19
tlh20 Avoid code analysis warnings
1c9fa9b9
tlh20 Merge branch 'tiharr/dev-threading-2' of https://github.com/microsoft…
f04ac287
tlh20 Tidy return types, remove unneeded ORT_ENFORCE
984f3f0a
tlh20 Use relaxed store in LoopCounter
ebb71d1d
tlh20 Avoid repeated per-thread fetches
19a30d10
tlh20 Use assert for internal checks
cb57604e
tlh20 Remove unused function
59056829
tlh20 Use by-ref where possible (avoiding ptr-typed parameters, and passing…
6dd7497a
pranavsharma
pranavsharma commented on 2020-11-10
tlh20 PR comments, explicit constructor, _X -> X_ field names
865b70e1
tlh20 Merge remote-tracking branch 'origin/master' into tiharr/dev-threading-2
b2e39421
pranavsharma
pranavsharma approved these changes on 2020-11-10
tlh20 tlh20 merged 5e44d25c into master 5 years ago
tlh20 tlh20 deleted the tiharr/dev-threading-2 branch 5 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone