Skip to content

Enable the use of clang to cross-compile for Android#3843

Merged
hedaoyuan merged 14 commits into
PaddlePaddle:developfrom
Xreki:build_android_clang
Sep 7, 2017
Merged

Enable the use of clang to cross-compile for Android#3843
hedaoyuan merged 14 commits into
PaddlePaddle:developfrom
Xreki:build_android_clang

Conversation

@Xreki
Copy link
Copy Markdown
Contributor

@Xreki Xreki commented Sep 4, 2017

No description provided.

@Xreki Xreki force-pushed the build_android_clang branch from 27d213c to 9293dc4 Compare September 4, 2017 05:01
@Xreki Xreki requested a review from hedaoyuan September 4, 2017 06:09
Comment thread paddle/function/neon/neon_util.h Outdated
return vget_lane_f32(vpadd_f32(v, v), 0);
}

template <int lane>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这么修改ARMv8就编译不过了,NeonDepthwiseConv.cpp中的调用方式不能被修改。
可以修改成宏的方式。

#define vmlaq_laneq_f32(a, b, v, lane)  vmlaq_n_f32(a, b, vgetq_lane_f32(v, lane))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原来是因为ARMv8 本身就有vmlaq_laneq_f32这个接口啊。Done.

Comment thread paddle/function/GruFunctor.h Outdated
#pragma once

#include "GemmFunctor.h"
#include "GruFunctor.h"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove line 18

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@Xreki Xreki force-pushed the build_android_clang branch 2 times, most recently from 25ef32c to 0cab218 Compare September 7, 2017 03:14
@Xreki Xreki force-pushed the build_android_clang branch from 0cab218 to 3360e9c Compare September 7, 2017 03:22
@hedaoyuan hedaoyuan merged commit 0146e8b into PaddlePaddle:develop Sep 7, 2017
@Xreki Xreki added the Android label Sep 30, 2017
@Xreki Xreki deleted the build_android_clang branch October 18, 2017 06:20
heavengate pushed a commit to heavengate/Paddle that referenced this pull request Aug 16, 2021
…Paddle#3844)

* [dev] rbox update2 (PaddlePaddle#3828)

* set lr for 4 card as default, and update

* fix error
heavengate pushed a commit to heavengate/Paddle that referenced this pull request Aug 16, 2021
Xing-lil pushed a commit to Xing-lil/Paddle that referenced this pull request Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants