Skip to content

[LITE][OPENCL] Add 3 kernels of ElementwiseAdd/FusionElemenwiseAddAct op with opencl image format#2844

Merged
ysh329 merged 5 commits into
PaddlePaddle:developfrom
ysh329:elementwise_add_opencl_image
Feb 10, 2020
Merged

[LITE][OPENCL] Add 3 kernels of ElementwiseAdd/FusionElemenwiseAddAct op with opencl image format#2844
ysh329 merged 5 commits into
PaddlePaddle:developfrom
ysh329:elementwise_add_opencl_image

Conversation

@ysh329

@ysh329 ysh329 commented Feb 9, 2020

Copy link
Copy Markdown
Contributor
  1. 添加3个OpenCL Image2D 形式的elementwiseAdd的Kernel;
  2. 针对上面3个kernel实现对应单测,并实测YOLOnano真实规模;
  3. 由于FusionElemenwiseAddAct会融合RELU,也在单测中加入该情况;
  4. 原有paddle-mobile实现的elementwise Add在channel_add和channel_width这2个kernel下有bug,已修复。

Comment thread lite/backends/opencl/cl_kernel/image/elementwise_add_kernel.cl Outdated
Comment thread lite/backends/opencl/cl_kernel/image/elementwise_add_kernel.cl Outdated
@ysh329 ysh329 requested a review from xiebaiyuan February 9, 2020 16:34

@xiebaiyuan xiebaiyuan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

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