-
Notifications
You must be signed in to change notification settings - Fork 304
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
Split many files to separate SG from MG template instantiations #1803
Split many files to separate SG from MG template instantiations #1803
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.10 #1803 +/- ##
=================================================
+ Coverage 59.85% 71.95% +12.09%
=================================================
Files 77 134 +57
Lines 3547 8332 +4785
=================================================
+ Hits 2123 5995 +3872
- Misses 1424 2337 +913
Continue to review full report at Codecov.
|
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.
Looks good to me except for few places git mv
can be used instead of deleting and re-creating a file.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ |
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.
Are you splitting the below louvain.cu file to this louvain.cu and the below louvain_impl.cuh? If it's the case, at least one of the new flies (preferably the longer one) should be created using git mv (instead of deleting and creating) to better preserve the history.
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.
I used git mv. If I check out this branch and do a git log on the files it shows the history. I believe this is a bug in the git web presentation.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ |
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.
Please use git mv (assuming that this is based on the above deleted create_graph_from_edgelist.cpp) instead of deleting and newly creating a file.
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.
Same as above.
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.
I see, then, let's wish there is no other PR updating this file (I checked few PRs and haven't found), and let's merge this PR ASAP (and ask other PRs to sync with the main branch). If multiple PRs touch this PR (and if this isn't just a web presentation issue), things can become a mess.
@gpucibot merge |
Partially addresses #1770
This is preliminary work to separate the SG and MG shared object libraries. This PR splits many of the source files that instantiate SG and MG variants of algorithms/objects/functions.
There will be subsequent PRs that will refactor the CMake structure and probably move some more files around.