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 "cudaErrorInvalidDevice: invalid device ordinal" in debug runs #4875

Open
wants to merge 4 commits into
base: branch-25.02
Choose a base branch
from

Conversation

seunghwak
Copy link
Contributor

@seunghwak seunghwak commented Jan 21, 2025

This PR should replace PR #4872.

Louvain currently fails when built in the debug mode with an error message saying "cudaErrorInvalidDevice: invalid device ordinal".

This is due to a CUDA block size (set to 512) too large for debug runs due to resource limitations. This PR reduces the block sizes from 512 to 256.

Closes #4806
Closes #4873

@seunghwak seunghwak requested a review from a team as a code owner January 21, 2025 16:38
@seunghwak seunghwak self-assigned this Jan 21, 2025
@seunghwak seunghwak added bug Something isn't working non-breaking Non-breaking change and removed cuGraph labels Jan 21, 2025
@seunghwak seunghwak added this to the 25.02 milestone Jan 21, 2025
@seunghwak seunghwak linked an issue Jan 21, 2025 that may be closed by this pull request
@ChuckHastings
Copy link
Collaborator

/merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuGraph non-breaking Non-breaking change
Projects
None yet
3 participants