Skip to content

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

Merged
rapids-bot[bot] merged 6 commits intorapidsai:branch-24.12from
ChuckHastings:remove_32_64_graph_compilation
Oct 18, 2024
Merged

Don't compile int32_t/int64_t vertex_t/edge_t combinations#4720
rapids-bot[bot] merged 6 commits intorapidsai:branch-24.12from
ChuckHastings:remove_32_64_graph_compilation

Conversation

@ChuckHastings
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator Author

/merge

@rapids-bot rapids-bot bot merged commit 2ac5586 into rapidsai:branch-24.12 Oct 18, 2024
@jameslamb jameslamb mentioned this pull request Mar 23, 2026
2 tasks
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