Skip to content

Fix CUDA feature test to expect the CUDA_VERSION the feature exports - #798

Merged
rapids-bot[bot] merged 1 commit into
rapidsai:mainfrom
bdice:fix-cuda-test-version
Oct 20, 2026
Merged

rapids-bot[bot] merged 1 commit into
rapidsai:mainfrom
bdice:fix-cuda-test-version

Conversation

@bdice

@bdice bdice commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

#793 set the test to expect CUDA_VERSION=13.4.3 and CUDA_VERSION_PATCH=2, but the feature derives CUDA_VERSION from the CUDA_VERSION macro in cuda.h (13040), which yields 13.4.0. This fixes the Test cuda feature jobs failing on main.

The feature derives CUDA_VERSION from the CUDA_VERSION macro in cuda.h
(13040), which yields 13.4.0, not the 13.4.3 toolkit release.
@bdice
bdice requested a review from a team as a code owner October 20, 2026 17:20
@bdice
bdice requested review from KyleFromNVIDIA and removed request for a team October 20, 2026 17:20

@KyleFromNVIDIA KyleFromNVIDIA left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved with one note: it would be nice to modify this script to put the expected CUDA version in a single variable and parse it out. Having it spread across multiple lines like this is ugly.

@jameslamb jameslamb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

blegh, sorry

@trxcllnt

Copy link
Copy Markdown
Collaborator

/merge

@rapids-bot
rapids-bot Bot merged commit 42bf980 into rapidsai:main Oct 20, 2026
306 of 322 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.

4 participants