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

[XPU] bind Addmm #68560

Merged
merged 2 commits into from
Oct 10, 2024
Merged

[XPU] bind Addmm #68560

merged 2 commits into from
Oct 10, 2024

Conversation

RuohengMa
Copy link
Contributor

PR Category

Custom Device

PR Types

Others

Description

Bind Addmm.

Copy link

paddle-bot bot commented Oct 8, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

}
} // namespace phi

#ifdef PADDLE_WITH_XPU_XRE5
Copy link
Contributor

Choose a reason for hiding this comment

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

注册的时候选一个最多的就行,实际编译时会根据xpu_op_list控制不同的数据类型

Copy link
Contributor Author

Choose a reason for hiding this comment

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

试过了,失败之后才换成现在这样

} // namespace phi

#ifdef PADDLE_WITH_XPU_XRE5
PD_REGISTER_KERNEL(addmm,
Copy link
Contributor

Choose a reason for hiding this comment

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

同理

@RuohengMa RuohengMa closed this Oct 10, 2024
@RuohengMa RuohengMa reopened this Oct 10, 2024
Copy link
Contributor

@cqulilujia cqulilujia left a comment

Choose a reason for hiding this comment

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

LGTM

@houj04 houj04 added the XPU label Oct 10, 2024
@houj04 houj04 merged commit 57d95d1 into PaddlePaddle:develop Oct 10, 2024
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants