diff --git a/src/operators/math/pooling.cpp b/src/operators/math/pooling.cpp index 5744307f33d9b929db2b9a7e4e4b54bba50c19eb..46bbd1a38463f737de16d878cc8d8e8817222fe3 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 9369df611841f7e399217901308ffaf15d7b1b64..3f223208624e43c2b9f607422a3f1d7a18cd2ae0 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();