Skip to content

Make cuda.core.system.Temperature.get_threshold forward-compatible with newer GPU architectures - #2488

Merged
mdboom merged 1 commit into
NVIDIA:mainfrom
rwgk:nvbug6084457_Temperature_get_threshold_fix
Aug 4, 2026
Merged

Make cuda.core.system.Temperature.get_threshold forward-compatible with newer GPU architectures#2488
mdboom merged 1 commit into
NVIDIA:mainfrom
rwgk:nvbug6084457_Temperature_get_threshold_fix

Conversation

@rwgk

@rwgkrwgk commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Description

Compare raw NVML device architecture values so architectures newer than the generated DeviceArch enum do not raise ValueError before the threshold query.

Add regression coverage for an unrecognized architecture value.

Fixes nvbug 6084457.

Extracted from ctk-next PR 497 (merged).

Compare raw NVML device architecture values so architectures newer than the generated DeviceArch enum do not raise ValueError before the threshold query. Add regression coverage for an unrecognized architecture value.
@rwgkrwgk added this to the cuda.core 1.2.0 milestone Aug 4, 2026
@rwgkrwgk self-assigned this Aug 4, 2026
@rwgkrwgk added bug Something isn't working P0 High priority - Must do! cuda.core Everything related to the cuda.core module labels Aug 4, 2026
@copy-pr-bot

Copy link
Copy Markdown
Contributor

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@rwgk

rwgk commented Aug 4, 2026

Copy link
Copy Markdown
ContributorAuthor

/ok to test

@github-actions

This comment has been minimized.

@rwgk
rwgk marked this pull request as ready for review August 4, 2026 06:10
@rwgk
rwgk requested a review from mdboomAugust 4, 2026 06:11
@mdboom
mdboom merged commit fcde4b1 into NVIDIA:mainAug 4, 2026
118 checks passed
@github-actions

Copy link
Copy Markdown
Doc Preview CI
Preview removed because the pull request was closed or merged.

@rwgk
rwgk deleted the nvbug6084457_Temperature_get_threshold_fix branch August 7, 2026 04:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't workingcuda.coreEverything related to the cuda.core moduleP0High priority - Must do!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@rwgk@mdboom