From f5a0e3c8ddc5c6a133bf7c886daf22f3c8826e24 Mon Sep 17 00:00:00 2001 From: liuruilong Date: Tue, 3 Jul 2018 18:21:05 +0800 Subject: [PATCH] format files --- src/operators/math/pooling.cpp | 2 -- test/common/test_openmp.cpp | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/operators/math/pooling.cpp b/src/operators/math/pooling.cpp index 5744307f33..46bbd1a384 100644 --- a/src/operators/math/pooling.cpp +++ b/src/operators/math/pooling.cpp @@ -57,8 +57,6 @@ class PoolFunctor { T *output_data = output->mutable_data(); for (int i = 0; i < batch_size; i++) { - // - // // // #pragma omp parallel for for (int c = 0; c < output_channels; ++c) { for (int ph = 0; ph < output_height; ++ph) { diff --git a/test/common/test_openmp.cpp b/test/common/test_openmp.cpp index 9369df6118..3f22320862 100644 --- a/test/common/test_openmp.cpp +++ b/test/common/test_openmp.cpp @@ -17,8 +17,7 @@ limitations under the License. */ int main(void) { #ifdef PADDLE_MOBILE_USE_OPENMP - // - // #pragma omp parallel num_threads(2) + //#pragma omp parallel num_threads(2) { // int thread_id = omp_get_thread_num(); // int nthreads = omp_get_num_threads(); -- GitLab