-
Notifications
You must be signed in to change notification settings - Fork 310
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
Fix bug in how is_symmetric is set when transposing storage #2898
Conversation
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 |
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.
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.
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.
And why aren't you directly calling transpose_graph_storage
? (https://github.com/rapidsai/cugraph/blob/branch-22.12/cpp/src/structure/transpose_graph_storage_impl.cuh#L168)
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'm confused by these comments. This is the C++ function.
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.
Oops :-( Sorry... I thought this is the C API function...
@gpucibot merge |
The
tranpose_storage
function was incorrectly setting graph properties.