aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-08Skip ab/6749736 in stage.Xin Li
Merged-In: Ie19450d4f239cf0a19fbbacba3ba741855ea7393 Change-Id: Iaa586624b77dcf5e80a188329bfe9fa2842928ab
2020-10-05Fix MSVC build (#10)peterjc123
Fix MSVC build
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 489a5572dc -s ours am: 1d0afb83a3 -s ours am: 31f3e9a17d -s ours am: b0f84404bd -s ours am skip reason: Change-Id Ibf95a97ebd77a6d52525f61ff5296a789fcdc011 with SHA-1 608343ca3e is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/pthreadpool/+/12469872 Change-Id: I8255e0104bb95187b85169e99a4e3f72331c6b81
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 489a5572dc -s ours am: 1d0afb83a3 -s ours am: 31f3e9a17d -s ours am skip reason: Change-Id Ibf95a97ebd77a6d52525f61ff5296a789fcdc011 with SHA-1 608343ca3e is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/pthreadpool/+/12469872 Change-Id: I08548308a92c1884675a31cb4e2e758869ad68d1
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 489a5572dc -s ours am: 1d0afb83a3 -s ours am skip reason: Change-Id Ibf95a97ebd77a6d52525f61ff5296a789fcdc011 with SHA-1 608343ca3e is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/pthreadpool/+/12469872 Change-Id: Ib9c1dfa98f959c2305396ecc998ba6298ab888d6
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 489a5572dc -s ours am skip reason: Change-Id Ibf95a97ebd77a6d52525f61ff5296a789fcdc011 with SHA-1 608343ca3e is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/pthreadpool/+/12469872 Change-Id: I0f7109050521e41d9b6ff8ee5eae92f76463db13
2020-08-27Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as mergedXin Li
Bug: 166295507 Merged-In: Ibf95a97ebd77a6d52525f61ff5296a789fcdc011 Change-Id: Ie3693cee0e069aac6d01c1a5030f44c51eb642b8
2020-08-07Upgrade pthreadpool to 029c88620802e1361ccf41d1970bd5b07fd6b7bb am: ↵Haibo Huang
a85203c348 am: b4e66e0642 am: aeabd9ff75 am: b0d66a6829 am: 567f4cf4b3 Original change: https://android-review.googlesource.com/c/platform/external/pthreadpool/+/1361277 Change-Id: I99fa06b0233e96b570c42402a46d26dd124df6bc
2020-08-07Upgrade pthreadpool to 029c88620802e1361ccf41d1970bd5b07fd6b7bb am: ↵Haibo Huang
a85203c348 am: b4e66e0642 am: aeabd9ff75 am: b0d66a6829 Original change: https://android-review.googlesource.com/c/platform/external/pthreadpool/+/1361277 Change-Id: I8fc49776e53585086a622b1409d7b244f8ad6236
2020-08-07Upgrade pthreadpool to 029c88620802e1361ccf41d1970bd5b07fd6b7bb am: ↵Haibo Huang
a85203c348 am: b4e66e0642 am: aeabd9ff75 Original change: https://android-review.googlesource.com/c/platform/external/pthreadpool/+/1361277 Change-Id: Ie19450d4f239cf0a19fbbacba3ba741855ea7393
2020-08-07Upgrade pthreadpool to 029c88620802e1361ccf41d1970bd5b07fd6b7bb am: ↵Haibo Huang
a85203c348 am: b4e66e0642 Original change: https://android-review.googlesource.com/c/platform/external/pthreadpool/+/1361277 Change-Id: I0624a18a6cc280a8ddfc7bf125df776744ca073a
2020-08-07Upgrade pthreadpool to 029c88620802e1361ccf41d1970bd5b07fd6b7bb am: a85203c348Haibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/pthreadpool/+/1361277 Change-Id: I6e49c9f9a038305ae84f80de2738d4b7ec256a2b
2020-08-07Upgrade pthreadpool to 029c88620802e1361ccf41d1970bd5b07fd6b7bbHaibo Huang
Exempt-From-Owner-Approval: upgrade Change-Id: I1c68c335e82551cd3aaa76f54cfde86077d09479
2020-06-15Recognize "armeabi" cpu as Linux/ARM in Bazel buildMarat Dukhan
2020-06-10Recognize "armv7a" cpu as Linux/ARM in Bazel buildMarat Dukhan
2020-05-26Use cpuinfo_get_current_uarch_index_with_default for parallelization with uarchMarat Dukhan
index
2020-05-263D/4D/5D parallelization functions with 1D or no tilingMarat Dukhan
2020-05-16Guard against generating ARM yield instruction for unsupporting processorsMarat Dukhan
2020-05-15Upgrade pthreadpool to 9b2c0caf7d9843f25709178b0cd7030892a1ff88 am: ↵Haibo Huang
50c19eb2c9 am: 94500f8156 am: 608343ca3e am: 690d528229 am: 94cf2fca74 Change-Id: Ia1e76b8377d382b935f82304d5f7fcc092917f32
2020-05-15Upgrade pthreadpool to 9b2c0caf7d9843f25709178b0cd7030892a1ff88 am: ↵Haibo Huang
50c19eb2c9 am: 94500f8156 am: 608343ca3e am: 690d528229 Change-Id: If2efc548c80e5ea924beeb6d9b76b699520cd783
2020-05-15Upgrade pthreadpool to 9b2c0caf7d9843f25709178b0cd7030892a1ff88 am: ↵Haibo Huang
50c19eb2c9 am: 94500f8156 am: 608343ca3e Change-Id: Ie5a15a19f0ebf503dbea58c81d4eb1fff49140df
2020-05-15Upgrade pthreadpool to 9b2c0caf7d9843f25709178b0cd7030892a1ff88 am: ↵Haibo Huang
50c19eb2c9 am: 94500f8156 Change-Id: Ibf95a97ebd77a6d52525f61ff5296a789fcdc011
2020-05-15Upgrade pthreadpool to 9b2c0caf7d9843f25709178b0cd7030892a1ff88 am: 50c19eb2c9android-r-beta-3android-r-beta-2Haibo Huang
Change-Id: Ia3e6a13d5241c1094983f1cb5a0cb1e99a39c7f6
2020-05-15Upgrade pthreadpool to 9b2c0caf7d9843f25709178b0cd7030892a1ff88Haibo Huang
Exempt-From-Owner-Approval: upgrade Change-Id: I8759f474745f8f803134461927059881561c327e
2020-05-08Reorder C11 atomics before MSVC x64 atomicsMarat Dukhan
clang-cl, which supports both, should prefer C11 atomics
2020-05-08Use platform-specific yield/pause instructionsMarat Dukhan
2020-05-07MSVC-compatible FPU state functionsMarat Dukhan
2020-05-07Thumb-1 compatible assembly for disable_fpu_denormalsMarat Dukhan
2020-05-04Avoid including stdatomic.h in any WAsm buildsMarat Dukhan
2020-05-04Fix Emscripten build with BazelMarat Dukhan
2020-05-02Fast path using atomic decrement instead of atomic compare-and-swapMarat Dukhan
50% higher throughput on x86 (disabled on other platforms)
2020-04-25Support MSYS and Cygwin buildsMarat Dukhan
2020-04-22Reorder C11 atomics before MSVC atomicsMarat Dukhan
clang-cl, which supports both, should prefer C11 atomics
2020-04-16Recognize Cygwin as WindowsMarat Dukhan
2020-04-14Use load-acquire + store-release on synchronization variablesMarat Dukhan
Synchronization using relaxed atomics + fences instead of LA/SR violates C11/C++11 memory model and cause failures under thread sanitizer
2020-04-12Minimally fix confu buildMarat Dukhan
2020-04-10Add Bazel configuration filesMarat Dukhan
2020-04-10Support Windows on ARM/ARM64Marat Dukhan
2020-04-10Replace atomic fetch_sub with decrement_fetch primitiveMarat Dukhan
Decrement-fetch is a closer match to the primitive used in implementation
2020-04-10Add compiler barriers to MSVC atomics implementationMarat Dukhan
2020-04-10Fix race condition in Windows implementationMarat Dukhan
The command event for the next command must be reset before write-release of the new command, because as soon as the worker threads observe the new command, they may complete it and switch to waiting on the next command event
2020-04-10Rewrite work spreading between threadsMarat Dukhan
- Avoid word x word -> doubleword multiplication - Avoid doubleword / word -> word division - Replace remaining division with multiplication via FXdiv - Improve portability through removal of platform-dependent multiply_divide function
2020-04-10Direct implementation pthreadpool_try_decrement_relaxed_size_tMarat Dukhan
Replace implementation of pthreadpool_try_decrement_relaxed_size_t on top of emulated pthreadpool_compare_exchange_weak_relaxed_size_t with a direct implementation using platform intrinsics
2020-04-10Return static thread pool pointer in shim implementationMarat Dukhan
Makes pthreadpool tests pass in WebAssembly builds
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: a458fa6b34 -s ours am: 34f3595ba0 am: 475397d606 am: e60ff032d4 -s ours am skip reason: subject contains skip directive Change-Id: I00705d51b1b7a85823e12bcd3936454ab4e725c0
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: a458fa6b34 -s ours am: 34f3595ba0 am: 475397d606 Change-Id: I95b5b5d56fbf2fecaa5f6c794e0d695aaf32df0c
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: a458fa6b34 -s ours am: 34f3595ba0 Change-Id: I066fefe9794fb22b49b0f4234b863cffcb3a546e
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: a458fa6b34 -s ours am skip reason: subject contains skip directive Change-Id: Ibd16a600d077e6c27b4c9451cfa84f487142c1e5
2020-04-09DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-masterXin Li
Bug: 151763422 Change-Id: I8bd2208854fdf8acade9dbaa75f9c9e29ab2cd65
2020-04-07Minor fixes in Windows implementationMarat Dukhan