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

Don't compile int32_t/int64_t vertex_t/edge_t combinations #4720

Merged

Conversation

ChuckHastings
Copy link
Collaborator

@ChuckHastings ChuckHastings commented Oct 14, 2024

To reduce compile time and library size... we're dropping pre-compiled support for vertex_t as int32_t and edge_t as int64_t. This is a small edge case in memory utilization.

The data structures and primitives would still support such a configuration, but we're not compiling it into libcugraph.so with this PR.

Seems to improve C++ compile time by 25% on my dgx18 and a 30% reduction in the size of libcugraph.so.

@ChuckHastings ChuckHastings added improvement Improvement / enhancement to an existing function breaking Breaking change labels Oct 14, 2024
Copy link
Contributor

@seunghwak seunghwak left a comment

Choose a reason for hiding this comment

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

LGTM and thanks!!!

@ChuckHastings ChuckHastings marked this pull request as ready for review October 18, 2024 15:45
@ChuckHastings ChuckHastings requested review from a team as code owners October 18, 2024 15:45
@ChuckHastings
Copy link
Collaborator Author

/merge

@rapids-bot rapids-bot bot merged commit 2ac5586 into rapidsai:branch-24.12 Oct 18, 2024
137 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change CMake cuGraph improvement Improvement / enhancement to an existing function
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants