Skip to content

[OpenCL][ut_bugs]Fix matmul bug#8386

Merged
weishengying merged 1 commit intoPaddlePaddle:developfrom
sprouteer:fix_matmul
Feb 6, 2022
Merged

[OpenCL][ut_bugs]Fix matmul bug#8386
weishengying merged 1 commit intoPaddlePaddle:developfrom
sprouteer:fix_matmul

Conversation

@sprouteer
Copy link
Collaborator

@sprouteer sprouteer commented Jan 29, 2022

  1. 修复在mac m1 上设置local work size 不能大于CL_DEVICE_MAX_WORK_GROUP_SIZE
  2. 修复输出image 创建时,尺寸大小问题
  3. 关闭lite_matmul_fuse_pass,这个pass会在2维时将matmul转为mul

@paddle-bot-old
Copy link

Thanks for your contribution!

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.

有测试过在M1上,使用local memory和不使用的性能差异吗?

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

@weishengying weishengying merged commit dad8170 into PaddlePaddle:develop Feb 6, 2022
WeiLi233 pushed a commit to WeiLi233/Paddle-Lite that referenced this pull request Mar 29, 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.

3 participants