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

Refactor register #47

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Refactor register #47

merged 1 commit into from
Aug 2, 2024

Conversation

shink
Copy link
Collaborator

@shink shink commented Aug 2, 2024

No description provided.

@shink shink self-assigned this Aug 2, 2024
@github-actions github-actions bot added the backend C++ implementation label Aug 2, 2024
@@ -1,33 +1,7 @@
#pragma GCC visibility push(default)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

这里的符号设置暂时先删掉了,与 CUDAGuardImpl.cpp 保持一致


#include "csrc/core/Register.h"

C10_REGISTER_PRIVATEUSE1_BACKEND(npu);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

这里只调用了一下注册 privateuse1 name 的接口,是否需要单独放这个文件里?

@shink shink mentioned this pull request Aug 2, 2024
32 tasks
@FFFrog FFFrog merged commit 8cf6189 into main Aug 2, 2024
1 of 2 checks passed
@shink shink deleted the jyh/register/1 branch August 5, 2024 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend C++ implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants