Skip to content

Update compilation provider tests to use sm_80 and improve spilling test. #99290

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

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

Conversation

copybara-service[bot]
Copy link

Update compilation provider tests to use sm_80 and improve spilling test.

This change updates the default compute capability used in compilation_provider_test.cc from sm_52 to sm_80.

Additionally, the test for the spilling detection now uses a more elaborate kernel.

Both changes were necessary to support CUDA 13 which requires at least compute capability 8.0 and only allows setting the maximum register count to 24 (before 16 was allowed). So this required a more elaborate data shuffling logic to push the usage of 24 registers and trigger spilling.

…est.

This change updates the default compute capability used in `compilation_provider_test.cc` from sm_52 to sm_80.

Additionally, the test for the spilling detection now uses a more elaborate kernel.

Both changes were necessary to support CUDA 13 which requires at least compute capability 8.0 and only allows setting the maximum register count to 24 (before 16 was allowed). So this required a more elaborate data shuffling logic to push the usage of 24 registers and trigger spilling.

PiperOrigin-RevId: 798223366
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