提交 7dddf927 编写于 作者: L liuruilong

format files

上级 8a01221c
...@@ -58,7 +58,7 @@ class PoolFunctor<CPU, PoolProcess, T> { ...@@ -58,7 +58,7 @@ class PoolFunctor<CPU, PoolProcess, 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 // // <TRICKY-CLANG-FORMAT-PRAGMA-FIX> #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) {
int hstart = ph * stride_height - padding_height; int hstart = ph * stride_height - padding_height;
......
...@@ -17,7 +17,7 @@ limitations under the License. */ ...@@ -17,7 +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> // <TRICKY-CLANG-FORMAT-PRAGMA-FIX> // <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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册