diff options
author | Miao Wang <miaowang@google.com> | 2018-02-23 23:31:32 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-02-23 23:31:32 +0000 |
commit | 0ed4f31d5ced2432473aa7063bc1e28d990ff3f2 (patch) | |
tree | a6ece8759b2fc774b39edea08417e08fa633a73c /internal/multi_thread_gemm.h | |
parent | 97962621d25000e4eda770f4dd399a4378fd6b8b (diff) | |
parent | 1f4ec3258fe3b77841065990a20fe2047464688b (diff) | |
download | gemmlowp-pie-dev.tar.gz |
Rebase gemmlowp to ecae4d1 am: 7d0d5a611e am: 9fa88931b4android-wear-8.0.0_r2android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.5android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3android-n-iot-release-ihome-igv1android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devoreo-mr1-1.2-iot-releasenougat-iot-releasemaster-cuttlefish-testing-release
am: 1f4ec3258f
Change-Id: Icb9df1558e7d87c03080597ffbb5a6212817cba6
Diffstat (limited to 'internal/multi_thread_gemm.h')
-rw-r--r-- | internal/multi_thread_gemm.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/internal/multi_thread_gemm.h b/internal/multi_thread_gemm.h index df7387a..791402f 100644 --- a/internal/multi_thread_gemm.h +++ b/internal/multi_thread_gemm.h @@ -149,9 +149,7 @@ T WaitForVariableChange(volatile T* var, T initial_value, pthread_cond_t* cond, // to have finished working. class BlockingCounter { public: - BlockingCounter() - : count_(0), - initial_count_(0) { + BlockingCounter() : count_(0), initial_count_(0) { pthread_cond_init(&cond_, nullptr); pthread_mutex_init(&mutex_, nullptr); } @@ -548,11 +546,6 @@ class MultiThreadGemmContext : public MultiThreadGemmContextBase { WorkersPool workers_pool_; }; -// Needed by chrome native builds -#ifndef _SC_NPROCESSORS_CONF -#define _SC_NPROCESSORS_CONF _SC_NPROCESSORS_ONLN -#endif - // Determines how many threads should be used for a given Gemm // operation. template <int KernelRows> |