Skip to content

feat: update nvml.h to NVML API version 13#139

Merged
brayniac merged 1 commit into
rust-nvml:mainfrom
brayniac:cuda-13-header
Mar 30, 2026
Merged

feat: update nvml.h to NVML API version 13#139
brayniac merged 1 commit into
rust-nvml:mainfrom
brayniac:cuda-13-header

Conversation

@brayniac
Copy link
Copy Markdown
Contributor

Summary

  • Updates nvml-wrapper-sys/nvml.h from NVML API version 12 to 13 (NVML 13.0.39)
  • Regenerates FFI bindings with new structs, enums, and function pointers from CUDA 13
  • Non-breaking: all existing types, constants, and function signatures are preserved
  • Field IDs 251-273 retain v12 numbering; existing runtime remapping logic is unaffected

Header source: NVIDIA/go-nvml v0.13.0-1 (origin: cuda_nvml_dev-linux-x86_64-13.0.39-archive.tar.xz)

Test plan

  • Builds cleanly on macOS (no NVML library)
  • Unit tests pass (field ID detection/translation)
  • Full test suite on Linux with RTX 4090 — identical results to main (same 19 pre-existing failures, zero regressions)

🤖 Generated with Claude Code

Update the NVML header from API version 12 to 13, sourced from
NVIDIA/go-nvml v0.13.0-1 (NVML 13.0.39). This is a non-breaking
change: all existing types, constants, and function signatures are
preserved. New CUDA 13 structs, enums, and function pointers are
added. Field IDs 251-273 retain v12 numbering so the existing
runtime remapping logic is unaffected.

Source: https://github.com/NVIDIA/go-nvml/blob/v0.13.0-1/gen/nvml/nvml.h
Origin: cuda_nvml_dev-linux-x86_64-13.0.39-archive.tar.xz

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@brayniac brayniac merged commit aee24c0 into rust-nvml:main Mar 30, 2026
8 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.

2 participants