Skip to content

Fall back to memory-efficient algorithm when performing cuda spgemm#1

Merged
izilberter merged 2 commits into
developfrom
spgemm_fallback
Aug 11, 2025
Merged

Fall back to memory-efficient algorithm when performing cuda spgemm#1
izilberter merged 2 commits into
developfrom
spgemm_fallback

Conversation

@izilberter

Copy link
Copy Markdown

If cuda spgemm fails using the default algorithm due to an out of memory issue, these changes add a fallback to ALG3, which performs the matrix multiplication in chunks. The default chunk fraction is set to 0.1, which should be enough to handle our current applications, but may need to eventually be changed to calculate the chunk fraction on the fly using available device memory.

@izilberter izilberter merged commit a2f7e6e into develop Aug 11, 2025
9 of 14 checks passed
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.

1 participant