-
Notifications
You must be signed in to change notification settings - Fork 12
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
Repartitioner for communication pattern #148
Conversation
bb3c5ad
to
05e62b6
Compare
include/OGL/Repartitioner.H
Outdated
|
||
|
||
/* @brief given received interfaces this function sorts into local and non | ||
*local |
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.
It is a little confusing here.
According to the comment here, the function sorts a given set of interfaces into local and nonlocal interfaces.
But the function takes local and nonlocal sparsity patterns and returns a new non-local sparsity pattern.
Does the function actually do a sorting job for a given set of interfaces?
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.
Good catch, this comment is outdated. I'll fix it with the PR that implements the function.
- add make ldu consecutive
96644ca
to
67ee541
Compare
Co-authored-by: chihta <97195768+chihta-wang@users.noreply.github.com>
This PR implements the first part of the repartitioner namely repartitioning of the communication pattern.
Repartitioning means that based on the parameter
ranks_per_gpu
a set of owning and non-owning ranks are created. Owning ranks take over all the matrix rows and communication of the non owning ranks.To repartition the communication patter the following steps are performed: