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

[Cuda] Simplify the 'getMaxRegistersJitOptionValue' utility and its use #2110

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GeorgeWeb
Copy link
Contributor

This change simplifies the getMaxRegistersJitOptionValue function as it was previously unclear what the return bool value actually meant, because it doesn't really signify whether the value was valid or not but it was more of a whether the parsing was successful.
Now we just check if the parsed value is different from the default value for CU_JIT_MAX_REGISTERS and if it is, we add it to the list of options.

@github-actions github-actions bot added the cuda CUDA adapter specific issues label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda CUDA adapter specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant