Skip to content

Conversation

@ChuckHastings
Copy link
Collaborator

@ChuckHastings ChuckHastings commented Jun 12, 2025

Next round of compile optimizations. Big focus on shuffle operations.

Breaking since it deletes some deprecated functions.

Aggregate reduction in size of libcugraph.so (with first two batches): 9%

@ChuckHastings ChuckHastings added improvement Improvement / enhancement to an existing function breaking Breaking change labels Jun 12, 2025
@github-actions github-actions bot removed improvement Improvement / enhancement to an existing function breaking Breaking change CMake labels Jun 12, 2025
@ChuckHastings ChuckHastings added improvement Improvement / enhancement to an existing function breaking Breaking change labels Jun 12, 2025
@jnke2016 jnke2016 self-requested a review June 13, 2025 14:48
std::nullopt,
std::nullopt,
std::nullopt,
std::move(edge_properties),
Copy link
Contributor

Choose a reason for hiding this comment

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

We have shuffle_ext_edges. Should we better create shuffle_int_edges as well instead of calling this detail space function in the application code?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I meant to do that. I'll update this in the next push.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added shuffle_int_edges

namespace cugraph {
namespace detail {

// TODO (in this PR): move this file to the src/detail directory
Copy link
Contributor

Choose a reason for hiding this comment

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

We have already moves this file, so the first line of this TODO statement is no longer valid, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

@github-actions github-actions bot added the CMake label Jul 1, 2025
@github-actions github-actions bot removed the CMake label Jul 1, 2025
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 except for the bug (start=>end).

if (edge_id_) tmp_edge_properties.push_back(std::move((*edge_id_)[0]));
if (edge_type_) tmp_edge_properties.push_back(std::move((*edge_type_)[0]));
if (edge_start_time_) tmp_edge_properties.push_back(std::move((*edge_start_time_)[0]));
if (edge_start_time_) tmp_edge_properties.push_back(std::move((*edge_start_time_)[0]));
Copy link
Contributor

Choose a reason for hiding this comment

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

start_time=>end_time

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

ChuckHastings and others added 2 commits July 7, 2025 10:53
@ChuckHastings
Copy link
Collaborator Author

/merge

@rapids-bot rapids-bot bot merged commit 052da9c into rapidsai:branch-25.08 Jul 7, 2025
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Breaking change cuGraph improvement Improvement / enhancement to an existing function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants