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

reduceCopy minSrcs and maxSrcs #1249

Open
danceinthedark opened this issue Apr 11, 2024 · 2 comments
Open

reduceCopy minSrcs and maxSrcs #1249

danceinthedark opened this issue Apr 11, 2024 · 2 comments

Comments

@danceinthedark
Copy link

hello everyone!
i am learning NCCL code and i wonder the difference of src that equal 0, srcs between 1 and minSrcs-1 and srcs beween minSrcs and maxSrcs-1 in function reduceCopyPacks(common_kernel.h)? Their codes looks similar. The same situation also occurs in minDsts and maxDsts
image

@danceinthedark
Copy link
Author

danceinthedark commented Apr 11, 2024

besides, what does the PreOpSrcs mean? Does it indicate the number of srcs which first come into channel without reduce?

@shanleo1986
Copy link

I have the same question, just mark it.

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

No branches or pull requests

2 participants