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

[OpenCL][ut_bugs]Fix matmul bug #8386

Merged
merged 1 commit into from
Feb 6, 2022

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