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

Add SpGEMM estimate memory routine #462

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

jsandham
Copy link
Contributor

Add missing SpGEMM estimate memory routine that was added to cuSPARSE 12.0.1


if(externalBuffer3 == nullptr)
{
*bufferSize3 = 4;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not put 0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If I put 0 then the externalBuffer3 will remain nullptr as nothing will be allocated and therefore we will never enter the else branch.

Copy link
Contributor

Choose a reason for hiding this comment

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

mmhm I see. I do not really like that.. but I guess we probably have to live with it.

@ntrost57 ntrost57 self-requested a review May 27, 2024 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants