Skip to content

[OpenCL]Fix opencl save program binary#8640

Merged
sprouteer merged 2 commits intoPaddlePaddle:developfrom
sprouteer:fix_mali_first_frame
Mar 17, 2022
Merged

[OpenCL]Fix opencl save program binary#8640
sprouteer merged 2 commits intoPaddlePaddle:developfrom
sprouteer:fix_mali_first_frame

Conversation

@sprouteer
Copy link
Collaborator

@sprouteer sprouteer commented Mar 14, 2022

截屏2022-03-15 下午3 45 49

本次优化重点是 首帧(有cache)的情况,mali gpu的性能表现,在华为三款机型上有一些提升
kilin 990上首帧(有cache)耗时149.596,其中约100ms是conv2d_1x1_mali kernel PrepareForRun中filter的NCHWToImage(65ms),MemcpySync(30ms)

@paddle-bot-old
Copy link

Thanks for your contribution!

sn_ss << aarch_info << lite_version << options << platform_info
<< device_version << driver_version << place_holder;
sn_ss << aarch_info << lite_version << platform_info << device_version
<< driver_version << place_holder;
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里需要将编译选项options也纳入 binary 唯一识别号中,因为不同的编译选项下的 binary 是不同的。

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

Copy link
Collaborator

@zhaoyang-star zhaoyang-star left a comment

Choose a reason for hiding this comment

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

LGTM

@sprouteer sprouteer merged commit b349c55 into PaddlePaddle:develop Mar 17, 2022
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