Skip to content

Guard unsupported NVML clock-domain queries in tests - #2651

Merged
rwgk merged 1 commit into
NVIDIA:mainfrom
rwgk:Unsupported_NVML_clock-domain_guards
Aug 17, 2026
Merged

Guard unsupported NVML clock-domain queries in tests#2651
rwgk merged 1 commit into
NVIDIA:mainfrom
rwgk:Unsupported_NVML_clock-domain_guards

Conversation

@rwgk

@rwgk rwgk commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Description

Extracted from ctk-next 13.4 developments (PRs 523, 525) after broader platform testing exposed clock domains for which individual NVML queries are unsupported.

Guard the per-domain minimum/maximum and current-clock queries independently with the existing unsupported_before helper. GPU architecture generation alone is not sufficient to predict support for every clock-domain query.

Validation

  • Focused test_clock run: 2 passed, 2 skipped, and 3 subtests passed.
  • The exact change also passed broader ctk-next 13.4 Linux and Windows validation on AMD64 and ARM64.
  • pre-commit run --all-files passes.

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Treat per-domain clock queries as independently optional. Individual domains may reject minimum, maximum, or current clock queries even on newer devices.
@rwgk rwgk added this to the cuda.bindings 13.4.0 & 12.9.8 milestone Aug 17, 2026
@rwgk rwgk added P0 High priority - Must do! test Improvements or additions to tests cuda.core Everything related to the cuda.core module labels Aug 17, 2026
@rwgk rwgk self-assigned this Aug 17, 2026
@copy-pr-bot

copy-pr-bot Bot commented Aug 17, 2026

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 17, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test d76502a

@github-actions

This comment has been minimized.

@rwgk
rwgk marked this pull request as ready for review August 17, 2026 01:54
@rwgk
rwgk requested a review from mdboom August 17, 2026 03:04
@rwgk
rwgk enabled auto-merge (squash) August 17, 2026 03:08
@rwgk
rwgk merged commit b365264 into NVIDIA:main Aug 17, 2026
222 of 224 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 Unsupported_NVML_clock-domain_guards branch August 18, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.core Everything related to the cuda.core module P0 High priority - Must do! test Improvements or additions to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants