From 27ec20b036b5ee7b78d974e5d023fd71dc45e341 Mon Sep 17 00:00:00 2001 From: liuruilong Date: Tue, 3 Jul 2018 18:09:28 +0800 Subject: [PATCH] format files --- src/operators/math/pooling.cpp | 2 +- test/common/test_openmp.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/operators/math/pooling.cpp b/src/operators/math/pooling.cpp index 5aa77c0826..91e1f9df7d 100644 --- a/src/operators/math/pooling.cpp +++ b/src/operators/math/pooling.cpp @@ -58,7 +58,7 @@ class PoolFunctor { for (int i = 0; i < batch_size; i++) { // - // #pragma omp parallel for + // // #pragma omp parallel for for (int c = 0; c < output_channels; ++c) { for (int ph = 0; ph < output_height; ++ph) { int hstart = ph * stride_height - padding_height; diff --git a/test/common/test_openmp.cpp b/test/common/test_openmp.cpp index dbc91d1e1b..9369df6118 100644 --- a/test/common/test_openmp.cpp +++ b/test/common/test_openmp.cpp @@ -17,7 +17,7 @@ limitations under the License. */ int main(void) { #ifdef PADDLE_MOBILE_USE_OPENMP - // // + // // #pragma omp parallel num_threads(2) { // int thread_id = omp_get_thread_num(); -- GitLab