diff --git a/src/operators/math/pooling.cpp b/src/operators/math/pooling.cpp index 5aa77c0826a52384386b297947f4b888fbdb52d5..91e1f9df7d7faaa60f173422affcaf7bfe4f285d 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 dbc91d1e1bc5ce0caf566ab425f0bb60453f1417..9369df611841f7e399217901308ffaf15d7b1b64 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();