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

Fix bug in how is_symmetric is set when transposing storage #2898

Merged

Conversation

ChuckHastings
Copy link
Collaborator

The tranpose_storage function was incorrectly setting graph properties.

@ChuckHastings ChuckHastings requested a review from a team as a code owner November 9, 2022 00:12
@ChuckHastings ChuckHastings self-assigned this Nov 9, 2022
@ChuckHastings ChuckHastings added 3 - Ready for Review bug Something isn't working non-breaking Non-breaking change labels Nov 9, 2022
@ChuckHastings ChuckHastings added this to the 22.12 milestone Nov 9, 2022
auto is_symmetric = graph.is_symmetric();

// FIXME: if is_symmetric is true we can do this more efficiently,
// since the graph contents should be exactly the same
Copy link
Contributor

Choose a reason for hiding this comment

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

We may handle this inside the C++ function. We can check the flag and if symmetric, it might be possible to just move all the graph contents.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm confused by these comments. This is the C++ function.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oops :-( Sorry... I thought this is the C API function...

@ChuckHastings
Copy link
Collaborator Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit fd0a2be into rapidsai:branch-22.12 Nov 9, 2022
@ChuckHastings ChuckHastings deleted the bug_transpose_storage branch December 2, 2022 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants