Bump github.com/NVIDIA/go-nvml from 0.12.4-0 to 0.12.4-1

Bumps [github.com/NVIDIA/go-nvml](https://github.com/NVIDIA/go-nvml) from 0.12.4-0 to 0.12.4-1.
- [Release notes](https://github.com/NVIDIA/go-nvml/releases)
- [Commits](https://github.com/NVIDIA/go-nvml/compare/v0.12.4-0...v0.12.4-1)

---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2025-01-10 09:01:45 +00:00 committed by GitHub
parent 4b352e6bac
commit 4bf5894833
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 15 additions and 6 deletions

2
go.mod
View File

@ -4,7 +4,7 @@ go 1.20
require ( require (
github.com/NVIDIA/go-nvlib v0.6.1 github.com/NVIDIA/go-nvlib v0.6.1
github.com/NVIDIA/go-nvml v0.12.4-0 github.com/NVIDIA/go-nvml v0.12.4-1
github.com/fsnotify/fsnotify v1.7.0 github.com/fsnotify/fsnotify v1.7.0
github.com/moby/sys/symlink v0.3.0 github.com/moby/sys/symlink v0.3.0
github.com/opencontainers/runtime-spec v1.2.0 github.com/opencontainers/runtime-spec v1.2.0

4
go.sum
View File

@ -1,7 +1,7 @@
github.com/NVIDIA/go-nvlib v0.6.1 h1:0/5FvaKvDJoJeJ+LFlh+NDQMxMlVw9wOXrOVrGXttfE= github.com/NVIDIA/go-nvlib v0.6.1 h1:0/5FvaKvDJoJeJ+LFlh+NDQMxMlVw9wOXrOVrGXttfE=
github.com/NVIDIA/go-nvlib v0.6.1/go.mod h1:9UrsLGx/q1OrENygXjOuM5Ey5KCtiZhbvBlbUIxtGWY= github.com/NVIDIA/go-nvlib v0.6.1/go.mod h1:9UrsLGx/q1OrENygXjOuM5Ey5KCtiZhbvBlbUIxtGWY=
github.com/NVIDIA/go-nvml v0.12.4-0 h1:4tkbB3pT1O77JGr0gQ6uD8FrsUPqP1A/EOEm2wI1TUg= github.com/NVIDIA/go-nvml v0.12.4-1 h1:WKUvqshhWSNTfm47ETRhv0A0zJyr1ncCuHiXwoTrBEc=
github.com/NVIDIA/go-nvml v0.12.4-0/go.mod h1:8Llmj+1Rr+9VGGwZuRer5N/aCjxGuR5nPb/9ebBiIEQ= github.com/NVIDIA/go-nvml v0.12.4-1/go.mod h1:8Llmj+1Rr+9VGGwZuRer5N/aCjxGuR5nPb/9ebBiIEQ=
github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM=
github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4= github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4=

View File

@ -2808,6 +2808,7 @@ func (l *library) DeviceGetRunningProcessDetailList(device Device) (ProcessDetai
func (device nvmlDevice) GetRunningProcessDetailList() (ProcessDetailList, Return) { func (device nvmlDevice) GetRunningProcessDetailList() (ProcessDetailList, Return) {
var plist ProcessDetailList var plist ProcessDetailList
plist.Version = STRUCT_VERSION(plist, 1)
ret := nvmlDeviceGetRunningProcessDetailList(device, &plist) ret := nvmlDeviceGetRunningProcessDetailList(device, &plist)
return plist, ret return plist, ret
} }
@ -2923,6 +2924,7 @@ func (l *library) DeviceGetPciInfoExt(device Device) (PciInfoExt, Return) {
func (device nvmlDevice) GetPciInfoExt() (PciInfoExt, Return) { func (device nvmlDevice) GetPciInfoExt() (PciInfoExt, Return) {
var pciInfo PciInfoExt var pciInfo PciInfoExt
pciInfo.Version = STRUCT_VERSION(pciInfo, 1)
ret := nvmlDeviceGetPciInfoExt(device, &pciInfo) ret := nvmlDeviceGetPciInfoExt(device, &pciInfo)
return pciInfo, ret return pciInfo, ret
} }
@ -2969,6 +2971,7 @@ func (l *library) DeviceGetVgpuHeterogeneousMode(device Device) (VgpuHeterogeneo
func (device nvmlDevice) GetVgpuHeterogeneousMode() (VgpuHeterogeneousMode, Return) { func (device nvmlDevice) GetVgpuHeterogeneousMode() (VgpuHeterogeneousMode, Return) {
var heterogeneousMode VgpuHeterogeneousMode var heterogeneousMode VgpuHeterogeneousMode
heterogeneousMode.Version = STRUCT_VERSION(heterogeneousMode, 1)
ret := nvmlDeviceGetVgpuHeterogeneousMode(device, &heterogeneousMode) ret := nvmlDeviceGetVgpuHeterogeneousMode(device, &heterogeneousMode)
return heterogeneousMode, ret return heterogeneousMode, ret
} }
@ -2994,6 +2997,7 @@ func (device nvmlDevice) GetVgpuTypeSupportedPlacements(vgpuTypeId VgpuTypeId) (
func (vgpuTypeId nvmlVgpuTypeId) GetSupportedPlacements(device Device) (VgpuPlacementList, Return) { func (vgpuTypeId nvmlVgpuTypeId) GetSupportedPlacements(device Device) (VgpuPlacementList, Return) {
var placementList VgpuPlacementList var placementList VgpuPlacementList
placementList.Version = STRUCT_VERSION(placementList, 1)
ret := nvmlDeviceGetVgpuTypeSupportedPlacements(nvmlDeviceHandle(device), vgpuTypeId, &placementList) ret := nvmlDeviceGetVgpuTypeSupportedPlacements(nvmlDeviceHandle(device), vgpuTypeId, &placementList)
return placementList, ret return placementList, ret
} }
@ -3009,6 +3013,7 @@ func (device nvmlDevice) GetVgpuTypeCreatablePlacements(vgpuTypeId VgpuTypeId) (
func (vgpuTypeId nvmlVgpuTypeId) GetCreatablePlacements(device Device) (VgpuPlacementList, Return) { func (vgpuTypeId nvmlVgpuTypeId) GetCreatablePlacements(device Device) (VgpuPlacementList, Return) {
var placementList VgpuPlacementList var placementList VgpuPlacementList
placementList.Version = STRUCT_VERSION(placementList, 1)
ret := nvmlDeviceGetVgpuTypeCreatablePlacements(nvmlDeviceHandle(device), vgpuTypeId, &placementList) ret := nvmlDeviceGetVgpuTypeCreatablePlacements(nvmlDeviceHandle(device), vgpuTypeId, &placementList)
return placementList, ret return placementList, ret
} }
@ -3041,6 +3046,7 @@ func (l *library) DeviceGetVgpuProcessesUtilizationInfo(device Device) (VgpuProc
func (device nvmlDevice) GetVgpuProcessesUtilizationInfo() (VgpuProcessesUtilizationInfo, Return) { func (device nvmlDevice) GetVgpuProcessesUtilizationInfo() (VgpuProcessesUtilizationInfo, Return) {
var vgpuProcUtilInfo VgpuProcessesUtilizationInfo var vgpuProcUtilInfo VgpuProcessesUtilizationInfo
vgpuProcUtilInfo.Version = STRUCT_VERSION(vgpuProcUtilInfo, 1)
ret := nvmlDeviceGetVgpuProcessesUtilizationInfo(device, &vgpuProcUtilInfo) ret := nvmlDeviceGetVgpuProcessesUtilizationInfo(device, &vgpuProcUtilInfo)
return vgpuProcUtilInfo, ret return vgpuProcUtilInfo, ret
} }
@ -3052,6 +3058,7 @@ func (l *library) DeviceGetSramEccErrorStatus(device Device) (EccSramErrorStatus
func (device nvmlDevice) GetSramEccErrorStatus() (EccSramErrorStatus, Return) { func (device nvmlDevice) GetSramEccErrorStatus() (EccSramErrorStatus, Return) {
var status EccSramErrorStatus var status EccSramErrorStatus
status.Version = STRUCT_VERSION(status, 1)
ret := nvmlDeviceGetSramEccErrorStatus(device, &status) ret := nvmlDeviceGetSramEccErrorStatus(device, &status)
return status, ret return status, ret
} }

View File

@ -122,7 +122,7 @@ func (device nvmlDevice) GpmQueryDeviceSupportV() GpmSupportV {
func (gpmSupportV GpmSupportV) V1() (GpmSupport, Return) { func (gpmSupportV GpmSupportV) V1() (GpmSupport, Return) {
var gpmSupport GpmSupport var gpmSupport GpmSupport
gpmSupport.Version = 1 gpmSupport.Version = STRUCT_VERSION(gpmSupport, 1)
ret := nvmlGpmQueryDeviceSupport(gpmSupportV.device, &gpmSupport) ret := nvmlGpmQueryDeviceSupport(gpmSupportV.device, &gpmSupport)
return gpmSupport, ret return gpmSupport, ret
} }
@ -133,7 +133,7 @@ func (l *library) GpmQueryDeviceSupport(device Device) (GpmSupport, Return) {
func (device nvmlDevice) GpmQueryDeviceSupport() (GpmSupport, Return) { func (device nvmlDevice) GpmQueryDeviceSupport() (GpmSupport, Return) {
var gpmSupport GpmSupport var gpmSupport GpmSupport
gpmSupport.Version = GPM_SUPPORT_VERSION gpmSupport.Version = STRUCT_VERSION(gpmSupport, GPM_SUPPORT_VERSION)
ret := nvmlGpmQueryDeviceSupport(device, &gpmSupport) ret := nvmlGpmQueryDeviceSupport(device, &gpmSupport)
return gpmSupport, ret return gpmSupport, ret
} }

View File

@ -121,6 +121,7 @@ func SystemGetNvlinkBwMode() (uint32, Return) {
// nvml.SystemGetConfComputeKeyRotationThresholdInfo() // nvml.SystemGetConfComputeKeyRotationThresholdInfo()
func (l *library) SystemGetConfComputeKeyRotationThresholdInfo() (ConfComputeGetKeyRotationThresholdInfo, Return) { func (l *library) SystemGetConfComputeKeyRotationThresholdInfo() (ConfComputeGetKeyRotationThresholdInfo, Return) {
var keyRotationThresholdInfo ConfComputeGetKeyRotationThresholdInfo var keyRotationThresholdInfo ConfComputeGetKeyRotationThresholdInfo
keyRotationThresholdInfo.Version = STRUCT_VERSION(keyRotationThresholdInfo, 1)
ret := nvmlSystemGetConfComputeKeyRotationThresholdInfo(&keyRotationThresholdInfo) ret := nvmlSystemGetConfComputeKeyRotationThresholdInfo(&keyRotationThresholdInfo)
return keyRotationThresholdInfo, ret return keyRotationThresholdInfo, ret
} }
@ -128,6 +129,7 @@ func (l *library) SystemGetConfComputeKeyRotationThresholdInfo() (ConfComputeGet
// nvml.SystemGetConfComputeSettings() // nvml.SystemGetConfComputeSettings()
func (l *library) SystemGetConfComputeSettings() (SystemConfComputeSettings, Return) { func (l *library) SystemGetConfComputeSettings() (SystemConfComputeSettings, Return) {
var settings SystemConfComputeSettings var settings SystemConfComputeSettings
settings.Version = STRUCT_VERSION(settings, 1)
ret := nvmlSystemGetConfComputeSettings(&settings) ret := nvmlSystemGetConfComputeSettings(&settings)
return settings, ret return settings, ret
} }

2
vendor/modules.txt vendored
View File

@ -6,7 +6,7 @@ github.com/NVIDIA/go-nvlib/pkg/nvpci
github.com/NVIDIA/go-nvlib/pkg/nvpci/bytes github.com/NVIDIA/go-nvlib/pkg/nvpci/bytes
github.com/NVIDIA/go-nvlib/pkg/nvpci/mmio github.com/NVIDIA/go-nvlib/pkg/nvpci/mmio
github.com/NVIDIA/go-nvlib/pkg/pciids github.com/NVIDIA/go-nvlib/pkg/pciids
# github.com/NVIDIA/go-nvml v0.12.4-0 # github.com/NVIDIA/go-nvml v0.12.4-1
## explicit; go 1.20 ## explicit; go 1.20
github.com/NVIDIA/go-nvml/pkg/dl github.com/NVIDIA/go-nvml/pkg/dl
github.com/NVIDIA/go-nvml/pkg/nvml github.com/NVIDIA/go-nvml/pkg/nvml