nvml

package
v0.11.0-0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeInstanceGetInfo

func ComputeInstanceGetInfo(ComputeInstance ComputeInstance) (ComputeInstanceInfo, Return)

nvml.ComputeInstanceGetInfo()

func DeviceCreateGpuInstance

func DeviceCreateGpuInstance(Device Device, Info *GpuInstanceProfileInfo) (GpuInstance, Return)

nvml.DeviceCreateGpuInstance()

func DeviceDiscoverGpus

func DeviceDiscoverGpus() (PciInfo, Return)

nvml.DeviceDiscoverGpus()

func DeviceGetAPIRestriction

func DeviceGetAPIRestriction(Device Device, ApiType RestrictedAPI) (EnableState, Return)

nvml.DeviceGetAPIRestriction()

func DeviceGetAccountingMode

func DeviceGetAccountingMode(Device Device) (EnableState, Return)

nvml.DeviceGetAccountingMode()

func DeviceGetAccountingStats

func DeviceGetAccountingStats(Device Device, Pid uint32) (AccountingStats, Return)

nvml.DeviceGetAccountingStats()

func DeviceGetActiveVgpus

func DeviceGetActiveVgpus(Device Device) ([]VgpuInstance, Return)

nvml.DeviceGetActiveVgpus()

func DeviceGetArchitecture

func DeviceGetArchitecture(Device Device) (DeviceArchitecture, Return)

nvml.DeviceGetArchitecture()

func DeviceGetAttributes

func DeviceGetAttributes(Device Device) (DeviceAttributes, Return)

nvml.DeviceGetAttributes()

func DeviceGetAutoBoostedClocksEnabled

func DeviceGetAutoBoostedClocksEnabled(Device Device) (EnableState, EnableState, Return)

nvml.DeviceGetAutoBoostedClocksEnabled()

func DeviceGetBAR1MemoryInfo

func DeviceGetBAR1MemoryInfo(Device Device) (BAR1Memory, Return)

nvml.DeviceGetBAR1MemoryInfo()

func DeviceGetBrand

func DeviceGetBrand(Device Device) (BrandType, Return)

nvml.DeviceGetBrand()

func DeviceGetBridgeChipInfo

func DeviceGetBridgeChipInfo(Device Device) (BridgeChipHierarchy, Return)

nvml.DeviceGetBridgeChipInfo()

func DeviceGetComputeMode

func DeviceGetComputeMode(Device Device) (ComputeMode, Return)

nvml.DeviceGetComputeMode()

func DeviceGetComputeRunningProcesses

func DeviceGetComputeRunningProcesses(Device Device) ([]ProcessInfo, Return)

nvml.DeviceGetComputeRunningProcesses()

func DeviceGetCreatableVgpus

func DeviceGetCreatableVgpus(Device Device) ([]VgpuTypeId, Return)

nvml.DeviceGetCreatableVgpus()

func DeviceGetDetailedEccErrors

func DeviceGetDetailedEccErrors(Device Device, ErrorType MemoryErrorType, CounterType EccCounterType) (EccErrorCounts, Return)

nvml.DeviceGetDetailedEccErrors()

func DeviceGetDeviceHandleFromMigDeviceHandle

func DeviceGetDeviceHandleFromMigDeviceHandle(MigDevice Device) (Device, Return)

nvml.DeviceGetDeviceHandleFromMigDeviceHandle()

func DeviceGetDisplayActive

func DeviceGetDisplayActive(Device Device) (EnableState, Return)

nvml.DeviceGetDisplayActive()

func DeviceGetDisplayMode

func DeviceGetDisplayMode(Device Device) (EnableState, Return)

nvml.DeviceGetDisplayMode()

func DeviceGetDriverModel

func DeviceGetDriverModel(Device Device) (DriverModel, DriverModel, Return)

nvml.DeviceGetDriverModel()

func DeviceGetEccMode

func DeviceGetEccMode(Device Device) (EnableState, EnableState, Return)

nvml.DeviceGetEccMode()

func DeviceGetEncoderSessions

func DeviceGetEncoderSessions(Device Device) ([]EncoderSessionInfo, Return)

nvml.DeviceGetEncoderSessions()

func DeviceGetFBCSessions

func DeviceGetFBCSessions(Device Device) ([]FBCSessionInfo, Return)

nvml.DeviceGetFBCSessions()

func DeviceGetFBCStats

func DeviceGetFBCStats(Device Device) (FBCStats, Return)

nvml.DeviceGetFBCStats()

func DeviceGetGpuInstanceById

func DeviceGetGpuInstanceById(Device Device, Id int) (GpuInstance, Return)

nvml.DeviceGetGpuInstanceById()

func DeviceGetGpuInstancePossiblePlacements

func DeviceGetGpuInstancePossiblePlacements(Device Device, Info *GpuInstanceProfileInfo) ([]GpuInstancePlacement, Return)

nvml.DeviceGetGpuInstancePossiblePlacements()

func DeviceGetGpuInstanceProfileInfo

func DeviceGetGpuInstanceProfileInfo(Device Device, Profile int) (GpuInstanceProfileInfo, Return)

nvml.DeviceGetGpuInstanceProfileInfo()

func DeviceGetGpuInstances

func DeviceGetGpuInstances(Device Device, Info *GpuInstanceProfileInfo) ([]GpuInstance, Return)

nvml.DeviceGetGpuInstances()

func DeviceGetGpuOperationMode

func DeviceGetGpuOperationMode(Device Device) (GpuOperationMode, GpuOperationMode, Return)

nvml.DeviceGetGpuOperationMode()

func DeviceGetGraphicsRunningProcesses

func DeviceGetGraphicsRunningProcesses(Device Device) ([]ProcessInfo, Return)

nvml.DeviceGetGraphicsRunningProcesses()

func DeviceGetGridLicensableFeatures

func DeviceGetGridLicensableFeatures(Device Device) (GridLicensableFeatures, Return)

nvml.DeviceGetGridLicensableFeatures()

func DeviceGetHandleByIndex

func DeviceGetHandleByIndex(Index int) (Device, Return)

nvml.DeviceGetHandleByIndex()

func DeviceGetHandleByPciBusId

func DeviceGetHandleByPciBusId(PciBusId string) (Device, Return)

nvml.DeviceGetHandleByPciBusId()

func DeviceGetHandleBySerial

func DeviceGetHandleBySerial(Serial string) (Device, Return)

nvml.DeviceGetHandleBySerial()

func DeviceGetHandleByUUID

func DeviceGetHandleByUUID(Uuid string) (Device, Return)

nvml.DeviceGetHandleByUUID()

func DeviceGetHostVgpuMode

func DeviceGetHostVgpuMode(Device Device) (HostVgpuMode, Return)

nvml.DeviceGetHostVgpuMode()

func DeviceGetMemoryInfo

func DeviceGetMemoryInfo(Device Device) (Memory, Return)

nvml.DeviceGetMemoryInfo()

func DeviceGetMigDeviceHandleByIndex

func DeviceGetMigDeviceHandleByIndex(device Device, Index int) (Device, Return)

nvml.DeviceGetMigDeviceHandleByIndex()

func DeviceGetNvLinkRemotePciInfo

func DeviceGetNvLinkRemotePciInfo(Device Device, Link int) (PciInfo, Return)

nvml.DeviceGetNvLinkRemotePciInfo()

func DeviceGetNvLinkState

func DeviceGetNvLinkState(Device Device, Link int) (EnableState, Return)

nvml.DeviceGetNvLinkState()

func DeviceGetNvLinkUtilizationControl

func DeviceGetNvLinkUtilizationControl(Device Device, Link int, Counter int) (NvLinkUtilizationControl, Return)

nvml.DeviceGetNvLinkUtilizationControl()

func DeviceGetP2PStatus

func DeviceGetP2PStatus(Device1 Device, Device2 Device, P2pIndex GpuP2PCapsIndex) (GpuP2PStatus, Return)

nvml.DeviceGetP2PStatus()

func DeviceGetPciInfo

func DeviceGetPciInfo(Device Device) (PciInfo, Return)

nvml.DeviceGetPciInfo()

func DeviceGetPerformanceState

func DeviceGetPerformanceState(Device Device) (Pstates, Return)

nvml.DeviceGetPerformanceState()

func DeviceGetPersistenceMode

func DeviceGetPersistenceMode(Device Device) (EnableState, Return)

nvml.DeviceGetPersistenceMode()

func DeviceGetPowerManagementMode

func DeviceGetPowerManagementMode(Device Device) (EnableState, Return)

nvml.DeviceGetPowerManagementMode()

func DeviceGetPowerState

func DeviceGetPowerState(Device Device) (Pstates, Return)

nvml.DeviceGetPowerState()

func DeviceGetProcessUtilization

func DeviceGetProcessUtilization(Device Device, LastSeenTimeStamp uint64) ([]ProcessUtilizationSample, Return)

nvml.DeviceGetProcessUtilization()

func DeviceGetRetiredPagesPendingStatus

func DeviceGetRetiredPagesPendingStatus(Device Device) (EnableState, Return)

nvml.DeviceGetRetiredPagesPendingStatus()

func DeviceGetSamples

func DeviceGetSamples(Device Device, _type SamplingType, LastSeenTimeStamp uint64) (ValueType, []Sample, Return)

nvml.DeviceGetSamples()

func DeviceGetSupportedVgpus

func DeviceGetSupportedVgpus(Device Device) ([]VgpuTypeId, Return)

nvml.DeviceGetSupportedVgpus()

func DeviceGetTopologyCommonAncestor

func DeviceGetTopologyCommonAncestor(Device1 Device, Device2 Device) (GpuTopologyLevel, Return)

nvml.DeviceGetTopologyCommonAncestor()

func DeviceGetTopologyNearestGpus

func DeviceGetTopologyNearestGpus(device Device, Level GpuTopologyLevel) ([]Device, Return)

nvml.DeviceGetTopologyNearestGpus()

func DeviceGetUtilizationRates

func DeviceGetUtilizationRates(Device Device) (Utilization, Return)

nvml.DeviceGetUtilizationRates()

func DeviceGetVgpuMetadata

func DeviceGetVgpuMetadata(Device Device) (VgpuPgpuMetadata, Return)

nvml.DeviceGetVgpuMetadata()

func DeviceGetVgpuProcessUtilization

func DeviceGetVgpuProcessUtilization(Device Device, LastSeenTimeStamp uint64) ([]VgpuProcessUtilizationSample, Return)

nvml.DeviceGetVgpuProcessUtilization()

func DeviceGetVgpuUtilization

func DeviceGetVgpuUtilization(Device Device, LastSeenTimeStamp uint64) (ValueType, []VgpuInstanceUtilizationSample, Return)

nvml.DeviceGetVgpuUtilization()

func DeviceGetViolationStatus

func DeviceGetViolationStatus(Device Device, PerfPolicyType PerfPolicyType) (ViolationTime, Return)

nvml.DeviceGetViolationStatus()

func DeviceGetVirtualizationMode

func DeviceGetVirtualizationMode(Device Device) (GpuVirtualizationMode, Return)

nvml.DeviceGetVirtualizationMode()

func DeviceQueryDrainState

func DeviceQueryDrainState(PciInfo *PciInfo) (EnableState, Return)

nvml.DeviceQueryDrainState()

func DeviceSetMigMode

func DeviceSetMigMode(Device Device, Mode int) (Return, Return)

nvml.DeviceSetMigMode()

func ErrorString

func ErrorString(Result Return) string

nvml.ErrorString()

func EventSetCreate

func EventSetCreate() (EventSet, Return)

nvml.EventSetCreate()

func EventSetWait

func EventSetWait(Set EventSet, Timeoutms uint32) (EventData, Return)

nvml.EventSetWait()

func GetBlacklistDeviceInfoByIndex

func GetBlacklistDeviceInfoByIndex(Index int) (BlacklistDeviceInfo, Return)

nvml.GetBlacklistDeviceInfoByIndex()

func GetVgpuCompatibility

func GetVgpuCompatibility(nvmlVgpuMetadata *nvmlVgpuMetadata, PgpuMetadata *nvmlVgpuPgpuMetadata) (VgpuPgpuCompatibility, Return)

nvml.GetVgpuCompatibility()

func GetVgpuVersion

func GetVgpuVersion() (VgpuVersion, VgpuVersion, Return)

nvml.GetVgpuVersion()

func GpuInstanceCreateComputeInstance

func GpuInstanceCreateComputeInstance(GpuInstance GpuInstance, Info *ComputeInstanceProfileInfo) (ComputeInstance, Return)

nvml.GpuInstanceCreateComputeInstance()

func GpuInstanceGetComputeInstanceById

func GpuInstanceGetComputeInstanceById(GpuInstance GpuInstance, Id int) (ComputeInstance, Return)

nvml.GpuInstanceGetComputeInstanceById()

func GpuInstanceGetComputeInstanceProfileInfo

func GpuInstanceGetComputeInstanceProfileInfo(GpuInstance GpuInstance, Profile int, EngProfile int) (ComputeInstanceProfileInfo, Return)

nvml.GpuInstanceGetComputeInstanceProfileInfo()

func GpuInstanceGetComputeInstances

func GpuInstanceGetComputeInstances(GpuInstance GpuInstance, Info *ComputeInstanceProfileInfo) ([]ComputeInstance, Return)

nvml.GpuInstanceGetComputeInstances()

func GpuInstanceGetInfo

func GpuInstanceGetInfo(GpuInstance GpuInstance) (GpuInstanceInfo, Return)

nvml.GpuInstanceGetInfo()

func SystemGetHicVersion

func SystemGetHicVersion() ([]HwbcEntry, Return)

nvml.SystemGetHicVersion()

func SystemGetTopologyGpuSet

func SystemGetTopologyGpuSet(CpuNumber int) ([]Device, Return)

nvml.SystemGetTopologyGpuSet()

func UnitGetDevices

func UnitGetDevices(Unit Unit) ([]Device, Return)

nvml.UnitGetDevices()

func UnitGetFanSpeedInfo

func UnitGetFanSpeedInfo(Unit Unit) (UnitFanSpeeds, Return)

nvml.UnitGetFanSpeedInfo()

func UnitGetHandleByIndex

func UnitGetHandleByIndex(Index int) (Unit, Return)

nvml.UnitGetHandleByIndex()

func UnitGetLedState

func UnitGetLedState(Unit Unit) (LedState, Return)

nvml.UnitGetLedState()

func UnitGetPsuInfo

func UnitGetPsuInfo(Unit Unit) (PSUInfo, Return)

nvml.UnitGetPsuInfo()

func UnitGetUnitInfo

func UnitGetUnitInfo(Unit Unit) (UnitInfo, Return)

nvml.UnitGetUnitInfo()

func VgpuInstanceGetAccountingMode

func VgpuInstanceGetAccountingMode(VgpuInstance VgpuInstance) (EnableState, Return)

nvml.VgpuInstanceGetAccountingMode()

func VgpuInstanceGetAccountingStats

func VgpuInstanceGetAccountingStats(VgpuInstance VgpuInstance, Pid int) (AccountingStats, Return)

nvml.VgpuInstanceGetAccountingStats()

func VgpuInstanceGetEccMode

func VgpuInstanceGetEccMode(VgpuInstance VgpuInstance) (EnableState, Return)

nvml.VgpuInstanceGetEccMode()

func VgpuInstanceGetEncoderSessions

func VgpuInstanceGetEncoderSessions(VgpuInstance VgpuInstance) (int, EncoderSessionInfo, Return)

nvml.VgpuInstanceGetEncoderSessions()

func VgpuInstanceGetFBCSessions

func VgpuInstanceGetFBCSessions(VgpuInstance VgpuInstance) (int, FBCSessionInfo, Return)

nvml.VgpuInstanceGetFBCSessions()

func VgpuInstanceGetFBCStats

func VgpuInstanceGetFBCStats(VgpuInstance VgpuInstance) (FBCStats, Return)

nvml.VgpuInstanceGetFBCStats()

func VgpuInstanceGetMetadata

func VgpuInstanceGetMetadata(VgpuInstance VgpuInstance) (VgpuMetadata, Return)

nvml.VgpuInstanceGetMetadata()

func VgpuInstanceGetType

func VgpuInstanceGetType(VgpuInstance VgpuInstance) (VgpuTypeId, Return)

nvml.VgpuInstanceGetType()

func VgpuInstanceGetVmID

func VgpuInstanceGetVmID(VgpuInstance VgpuInstance) (string, VgpuVmIdType, Return)

nvml.VgpuInstanceGetVmID()

Types

type EccBitType

type EccBitType = MemoryErrorType

EccBitType

type VgpuMetadata

type VgpuMetadata struct {
	OpaqueData []byte
	// contains filtered or unexported fields
}

nvml.VgpuMetadata

type VgpuPgpuMetadata

type VgpuPgpuMetadata struct {
	OpaqueData []byte
	// contains filtered or unexported fields
}

nvml.VgpuPgpuMetadata

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL