Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update opencl and armlinux docs #8502

Merged
merged 3 commits into from
Feb 24, 2022

Conversation

zhaoyang-star
Copy link
Collaborator

No description provided.

@paddle-bot-old
Copy link

Thanks for your contribution!

@zhaoyang-star zhaoyang-star changed the title Update opencl Update opencl and armlinux docs Feb 23, 2022
@@ -196,9 +196,6 @@ function make_tiny_publish_so {

# Step1. Create directory for compiling.
build_dir=$workspace/build.lite.android.$ARCH.$TOOLCHAIN
if [ "${WITH_OPENCL}" == "ON" ]; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

这句话不建议删除,区分纯CPU和GPU 库

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

此处修改是为了实现tinhy_publish和full_publish两种编译方式下的build目录一致。通过后面的路径信息是可以区分CPU 库 or GPU 库。

修改之前:build.lite.android.armv8.gcc.opencl/inference_lite_lib.android.armv8.opencl/
修改后:build.lite.android.armv8.gcc/inference_lite_lib.android.armv8.opencl/

Copy link
Collaborator

@chenjiaoAngel chenjiaoAngel left a comment

Choose a reason for hiding this comment

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

LGTM

@zhaoyang-star zhaoyang-star merged commit c8a3b14 into PaddlePaddle:develop Feb 24, 2022
@zhaoyang-star zhaoyang-star deleted the update_opencl branch February 24, 2022 00:33
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.

None yet

2 participants