Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Dev refactor xccl primitive #10613
Dev refactor xccl primitive #10613
Changes from 15 commits
c9b7811
7bcc593
d70c464
89411cd
9ec2bc6
a0b0391
2c48a5e
aac19b4
3cb872a
e5777b9
ad9e7ee
1809053
a9cd8df
ca258af
15198c6
fa3d77f
81394af
94dafda
21529c8
5636f1b
8110bd2
9bb1fb8
45fec55
b369a2c
3e67ade
269dd3e
510524a
c56c527
b014608
0dc6cbc
65e3046
0a883a7
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这两个行为并不适合放在抽象类中,对于cpu相关的实现就不适用
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
嗯,那这块定义成纯虚的怎样?cpu的目前看也没有子类的CommMgr实现(后续如果cpu需要实现,在子类的方法中直接UNIMPLEMENTED()感觉也行?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
device_set也是从paralledesc来的,这里接口的形式可以改变一下,输入是paralledesc,输出是CommunicationContext