提交 9a704d26 编写于 作者: L liuruilong

format files

上级 b8a2ff9c
...@@ -57,8 +57,6 @@ class PoolFunctor<CPU, PoolProcess, T> { ...@@ -57,8 +57,6 @@ class PoolFunctor<CPU, PoolProcess, T> {
T *output_data = output->mutable_data<T>(); T *output_data = output->mutable_data<T>();
for (int i = 0; i < batch_size; i++) { for (int i = 0; i < batch_size; i++) {
// <TRICKY-CLANG-FORMAT-PRAGMA-FIX>
// // <TRICKY-CLANG-FORMAT-PRAGMA-FIX>
// #pragma omp parallel for // #pragma omp parallel for
for (int c = 0; c < output_channels; ++c) { for (int c = 0; c < output_channels; ++c) {
for (int ph = 0; ph < output_height; ++ph) { for (int ph = 0; ph < output_height; ++ph) {
......
...@@ -17,8 +17,7 @@ limitations under the License. */ ...@@ -17,8 +17,7 @@ limitations under the License. */
int main(void) { int main(void) {
#ifdef PADDLE_MOBILE_USE_OPENMP #ifdef PADDLE_MOBILE_USE_OPENMP
// <TRICKY-CLANG-FORMAT-PRAGMA-FIX> //#pragma omp parallel num_threads(2)
// #pragma omp parallel num_threads(2)
{ {
// int thread_id = omp_get_thread_num(); // int thread_id = omp_get_thread_num();
// int nthreads = omp_get_num_threads(); // int nthreads = omp_get_num_threads();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册