diff --git a/src/operators/kernel/arm/activation_kernel.cpp b/src/operators/kernel/arm/activation_kernel.cpp index da418cf6f3a947f55d21264e568d6c16ea69b1ca..4aac8a4732d66455a1fba5a1d8a766cf3215335f 100644 --- a/src/operators/kernel/arm/activation_kernel.cpp +++ b/src/operators/kernel/arm/activation_kernel.cpp @@ -37,7 +37,7 @@ struct ActivationCompute { size_t loop = remain >> 4; remain = remain & 0xF; - #pragma omp parallel for +#pragma omp parallel for for (size_t i = 0; i < loop; ++i) { const float *local_x = x + (i << 4); float *local_y = y + (i << 4); diff --git a/src/operators/kernel/central-arm-func/gru_unit_arm_func.h b/src/operators/kernel/central-arm-func/gru_unit_arm_func.h index af97ef750723996084a8130cc180e829a39a4aac..477674c7e9b5bf0d7356e19090c6cb722abf8c68 100644 --- a/src/operators/kernel/central-arm-func/gru_unit_arm_func.h +++ b/src/operators/kernel/central-arm-func/gru_unit_arm_func.h @@ -17,9 +17,9 @@ limitations under the License. */ #pragma once #include -#include "operators/math/math_function.h" #include "operators/kernel/activation_kernel.h" #include "operators/math/gemm.h" +#include "operators/math/math_function.h" #include "operators/op_param.h" namespace paddle_mobile { namespace operators {