Enable the use of clang to cross-compile for Android#3843
Merged
Conversation
…ng error "argument to __builtin_neon_vgetq_lane_f32 must be a constant integer".
…function/GruFunctor.h.
…into build_android_clang
27d213c to
9293dc4
Compare
hedaoyuan
reviewed
Sep 6, 2017
| return vget_lane_f32(vpadd_f32(v, v), 0); | ||
| } | ||
|
|
||
| template <int lane> |
Contributor
There was a problem hiding this comment.
这么修改ARMv8就编译不过了,NeonDepthwiseConv.cpp中的调用方式不能被修改。
可以修改成宏的方式。
#define vmlaq_laneq_f32(a, b, v, lane) vmlaq_n_f32(a, b, vgetq_lane_f32(v, lane))
Contributor
Author
There was a problem hiding this comment.
原来是因为ARMv8 本身就有vmlaq_laneq_f32这个接口啊。Done.
| #pragma once | ||
|
|
||
| #include "GemmFunctor.h" | ||
| #include "GruFunctor.h" |
25ef32c to
0cab218
Compare
0cab218 to
3360e9c
Compare
hedaoyuan
approved these changes
Sep 7, 2017
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.