Package | Description |
---|---|
org.bytedeco.cuda.global | |
org.bytedeco.cuda.nvml |
Modifier and Type | Method and Description |
---|---|
static int |
nvml.nvmlDeviceClearAccountingPids(nvmlDevice_st device)
Clears accounting information about all processes that have already terminated.
|
static int |
nvml.nvmlDeviceClearCpuAffinity(nvmlDevice_st device)
Clear all affinity bindings for the calling thread.
|
static int |
nvml.nvmlDeviceClearEccErrorCounts(nvmlDevice_st device,
int counterType)
Clear the ECC error and other memory error counts for the device.
|
static int |
nvml.nvmlDeviceClearFieldValues(nvmlDevice_st device,
int valuesCount,
nvmlFieldValue_t values)
Clear values for a list of fields for a device.
|
static int |
nvml.nvmlDeviceCreateGpuInstance(nvmlDevice_st device,
int profileId,
nvmlGpuInstance_st gpuInstance)
Create GPU instance.
|
static int |
nvml.nvmlDeviceCreateGpuInstance(nvmlDevice_st device,
int profileId,
PointerPointer gpuInstance) |
static int |
nvml.nvmlDeviceCreateGpuInstanceWithPlacement(nvmlDevice_st device,
int profileId,
nvmlGpuInstancePlacement_t placement,
nvmlGpuInstance_st gpuInstance)
Create GPU instance with the specified placement.
|
static int |
nvml.nvmlDeviceCreateGpuInstanceWithPlacement(nvmlDevice_st device,
int profileId,
nvmlGpuInstancePlacement_t placement,
PointerPointer gpuInstance) |
static int |
nvml.nvmlDeviceFreezeNvLinkUtilizationCounter(nvmlDevice_st device,
int link,
int counter,
int freeze)
Deprecated: Freezing NVLINK utilization counters is no longer supported.
|
static int |
nvml.nvmlDeviceGetAccountingBufferSize(nvmlDevice_st device,
int[] bufferSize) |
static int |
nvml.nvmlDeviceGetAccountingBufferSize(nvmlDevice_st device,
IntBuffer bufferSize) |
static int |
nvml.nvmlDeviceGetAccountingBufferSize(nvmlDevice_st device,
IntPointer bufferSize)
Returns the number of processes that the circular buffer with accounting pids can hold.
|
static int |
nvml.nvmlDeviceGetAccountingMode(nvmlDevice_st device,
int[] mode) |
static int |
nvml.nvmlDeviceGetAccountingMode(nvmlDevice_st device,
IntBuffer mode) |
static int |
nvml.nvmlDeviceGetAccountingMode(nvmlDevice_st device,
IntPointer mode)
Queries the state of per process accounting mode.
|
static int |
nvml.nvmlDeviceGetAccountingPids(nvmlDevice_st device,
int[] count,
int[] pids) |
static int |
nvml.nvmlDeviceGetAccountingPids(nvmlDevice_st device,
IntBuffer count,
IntBuffer pids) |
static int |
nvml.nvmlDeviceGetAccountingPids(nvmlDevice_st device,
IntPointer count,
IntPointer pids)
Queries list of processes that can be queried for accounting stats.
|
static int |
nvml.nvmlDeviceGetAccountingStats(nvmlDevice_st device,
int pid,
nvmlAccountingStats_t stats)
Queries process's accounting stats.
|
static int |
nvml.nvmlDeviceGetActiveVgpus(nvmlDevice_st device,
int[] vgpuCount,
int[] vgpuInstances) |
static int |
nvml.nvmlDeviceGetActiveVgpus(nvmlDevice_st device,
IntBuffer vgpuCount,
IntBuffer vgpuInstances) |
static int |
nvml.nvmlDeviceGetActiveVgpus(nvmlDevice_st device,
IntPointer vgpuCount,
IntPointer vgpuInstances)
Retrieve the active vGPU instances on a device.
|
static int |
nvml.nvmlDeviceGetAdaptiveClockInfoStatus(nvmlDevice_st device,
int[] adaptiveClockStatus) |
static int |
nvml.nvmlDeviceGetAdaptiveClockInfoStatus(nvmlDevice_st device,
IntBuffer adaptiveClockStatus) |
static int |
nvml.nvmlDeviceGetAdaptiveClockInfoStatus(nvmlDevice_st device,
IntPointer adaptiveClockStatus)
Gets the device's Adaptive Clock status
|
static int |
nvml.nvmlDeviceGetAPIRestriction(nvmlDevice_st device,
int apiType,
int[] isRestricted) |
static int |
nvml.nvmlDeviceGetAPIRestriction(nvmlDevice_st device,
int apiType,
IntBuffer isRestricted) |
static int |
nvml.nvmlDeviceGetAPIRestriction(nvmlDevice_st device,
int apiType,
IntPointer isRestricted)
Retrieves the root/admin permissions on the target API.
|
static int |
nvml.nvmlDeviceGetApplicationsClock(nvmlDevice_st device,
int clockType,
int[] clockMHz) |
static int |
nvml.nvmlDeviceGetApplicationsClock(nvmlDevice_st device,
int clockType,
IntBuffer clockMHz) |
static int |
nvml.nvmlDeviceGetApplicationsClock(nvmlDevice_st device,
int clockType,
IntPointer clockMHz)
Retrieves the current setting of a clock that applications will use unless an overspec situation occurs.
|
static int |
nvml.nvmlDeviceGetArchitecture(nvmlDevice_st device,
int[] arch) |
static int |
nvml.nvmlDeviceGetArchitecture(nvmlDevice_st device,
IntBuffer arch) |
static int |
nvml.nvmlDeviceGetArchitecture(nvmlDevice_st device,
IntPointer arch)
Get architecture for device
|
static int |
nvml.nvmlDeviceGetAttributes_v2(nvmlDevice_st device,
nvmlDeviceAttributes_t attributes)
Get attributes (engine counts etc.) for the given NVML device handle.
|
static int |
nvml.nvmlDeviceGetAttributes(nvmlDevice_st device,
nvmlDeviceAttributes_t attributes) |
static int |
nvml.nvmlDeviceGetAutoBoostedClocksEnabled(nvmlDevice_st device,
int[] isEnabled,
int[] defaultIsEnabled) |
static int |
nvml.nvmlDeviceGetAutoBoostedClocksEnabled(nvmlDevice_st device,
IntBuffer isEnabled,
IntBuffer defaultIsEnabled) |
static int |
nvml.nvmlDeviceGetAutoBoostedClocksEnabled(nvmlDevice_st device,
IntPointer isEnabled,
IntPointer defaultIsEnabled)
Retrieve the current state of Auto Boosted clocks on a device and store it in \a isEnabled
For Kepler &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetBAR1MemoryInfo(nvmlDevice_st device,
nvmlBAR1Memory_t bar1Memory)
Gets Total, Available and Used size of BAR1 memory.
|
static int |
nvml.nvmlDeviceGetBoardId(nvmlDevice_st device,
int[] boardId) |
static int |
nvml.nvmlDeviceGetBoardId(nvmlDevice_st device,
IntBuffer boardId) |
static int |
nvml.nvmlDeviceGetBoardId(nvmlDevice_st device,
IntPointer boardId)
Retrieves the device boardId from 0-N.
|
static int |
nvml.nvmlDeviceGetBoardPartNumber(nvmlDevice_st device,
byte[] partNumber,
int length) |
static int |
nvml.nvmlDeviceGetBoardPartNumber(nvmlDevice_st device,
ByteBuffer partNumber,
int length) |
static int |
nvml.nvmlDeviceGetBoardPartNumber(nvmlDevice_st device,
BytePointer partNumber,
int length)
Retrieves the the device board part number which is programmed into the board's InfoROM
For all products.
|
static int |
nvml.nvmlDeviceGetBrand(nvmlDevice_st device,
int[] type) |
static int |
nvml.nvmlDeviceGetBrand(nvmlDevice_st device,
IntBuffer type) |
static int |
nvml.nvmlDeviceGetBrand(nvmlDevice_st device,
IntPointer type)
Retrieves the brand of this device.
|
static int |
nvml.nvmlDeviceGetBridgeChipInfo(nvmlDevice_st device,
nvmlBridgeChipHierarchy_t bridgeHierarchy)
Get Bridge Chip Information for all the bridge chips on the board.
|
static int |
nvml.nvmlDeviceGetBusType(nvmlDevice_st device,
int[] type) |
static int |
nvml.nvmlDeviceGetBusType(nvmlDevice_st device,
IntBuffer type) |
static int |
nvml.nvmlDeviceGetBusType(nvmlDevice_st device,
IntPointer type)
Get the type of the GPU Bus (PCIe, PCI, ...)
|
static int |
nvml.nvmlDeviceGetC2cModeInfoV(nvmlDevice_st device,
nvmlC2cModeInfo_v1_t c2cModeInfo)
Retrieves the Device's C2C Mode information
|
static int |
nvml.nvmlDeviceGetClkMonStatus(nvmlDevice_st device,
nvmlClkMonStatus_t status)
Retrieves the frequency monitor fault status for the device.
|
static int |
nvml.nvmlDeviceGetClock(nvmlDevice_st device,
int clockType,
int clockId,
int[] clockMHz) |
static int |
nvml.nvmlDeviceGetClock(nvmlDevice_st device,
int clockType,
int clockId,
IntBuffer clockMHz) |
static int |
nvml.nvmlDeviceGetClock(nvmlDevice_st device,
int clockType,
int clockId,
IntPointer clockMHz)
Retrieves the clock speed for the clock specified by the clock type and clock ID.
|
static int |
nvml.nvmlDeviceGetClockInfo(nvmlDevice_st device,
int type,
int[] clock) |
static int |
nvml.nvmlDeviceGetClockInfo(nvmlDevice_st device,
int type,
IntBuffer clock) |
static int |
nvml.nvmlDeviceGetClockInfo(nvmlDevice_st device,
int type,
IntPointer clock)
Retrieves the current clock speeds for the device.
|
static int |
nvml.nvmlDeviceGetComputeInstanceId(nvmlDevice_st device,
int[] id) |
static int |
nvml.nvmlDeviceGetComputeInstanceId(nvmlDevice_st device,
IntBuffer id) |
static int |
nvml.nvmlDeviceGetComputeInstanceId(nvmlDevice_st device,
IntPointer id)
Get compute instance ID for the given MIG device handle.
|
static int |
nvml.nvmlDeviceGetComputeMode(nvmlDevice_st device,
int[] mode) |
static int |
nvml.nvmlDeviceGetComputeMode(nvmlDevice_st device,
IntBuffer mode) |
static int |
nvml.nvmlDeviceGetComputeMode(nvmlDevice_st device,
IntPointer mode)
Retrieves the current compute mode for the device.
|
static int |
nvml.nvmlDeviceGetComputeRunningProcesses_v2(nvmlDevice_st device,
int[] infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetComputeRunningProcesses_v2(nvmlDevice_st device,
IntBuffer infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetComputeRunningProcesses_v2(nvmlDevice_st device,
IntPointer infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetComputeRunningProcesses_v3(nvmlDevice_st device,
int[] infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetComputeRunningProcesses_v3(nvmlDevice_st device,
IntBuffer infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetComputeRunningProcesses_v3(nvmlDevice_st device,
IntPointer infoCount,
nvmlProcessInfo_v2_t infos)
Get information about processes with a compute context on a device
For Fermi &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetComputeRunningProcesses(nvmlDevice_st device,
int[] infoCount,
nvmlProcessInfo_v1_t infos) |
static int |
nvml.nvmlDeviceGetComputeRunningProcesses(nvmlDevice_st device,
IntBuffer infoCount,
nvmlProcessInfo_v1_t infos) |
static int |
nvml.nvmlDeviceGetComputeRunningProcesses(nvmlDevice_st device,
IntPointer infoCount,
nvmlProcessInfo_v1_t infos) |
static int |
nvml.nvmlDeviceGetConfComputeGpuAttestationReport(nvmlDevice_st device,
nvmlConfComputeGpuAttestationReport_t gpuAtstReport)
Get Conf Computing Gpu attestation report.
|
static int |
nvml.nvmlDeviceGetConfComputeGpuCertificate(nvmlDevice_st device,
nvmlConfComputeGpuCertificate_t gpuCert)
Get Conf Computing Gpu certificate details.
|
static int |
nvml.nvmlDeviceGetConfComputeMemSizeInfo(nvmlDevice_st device,
nvmlConfComputeMemSizeInfo_t memInfo)
Get Conf Computing Protected and Unprotected Memory Sizes.
|
static int |
nvml.nvmlDeviceGetConfComputeProtectedMemoryUsage(nvmlDevice_st device,
nvmlMemory_t memory)
Get Conf Computing protected memory usage.
|
static int |
nvml.nvmlDeviceGetCpuAffinity(nvmlDevice_st device,
int cpuSetSize,
CLongPointer cpuSet)
Retrieves an array of unsigned ints (sized to cpuSetSize) of bitmasks with the ideal CPU affinity for the device
For example, if processors 0, 1, 32, and 33 are ideal for the device and cpuSetSize == 2,
result[0] = 0x3, result[1] = 0x3
This is equivalent to calling \ref nvmlDeviceGetCpuAffinityWithinScope with \ref NVML_AFFINITY_SCOPE_NODE.
|
static int |
nvml.nvmlDeviceGetCpuAffinityWithinScope(nvmlDevice_st device,
int cpuSetSize,
CLongPointer cpuSet,
int scope)
Retrieves an array of unsigned ints (sized to cpuSetSize) of bitmasks with the
ideal CPU affinity within node or socket for the device.
|
static int |
nvml.nvmlDeviceGetCreatableVgpus(nvmlDevice_st device,
int[] vgpuCount,
int[] vgpuTypeIds) |
static int |
nvml.nvmlDeviceGetCreatableVgpus(nvmlDevice_st device,
IntBuffer vgpuCount,
IntBuffer vgpuTypeIds) |
static int |
nvml.nvmlDeviceGetCreatableVgpus(nvmlDevice_st device,
IntPointer vgpuCount,
IntPointer vgpuTypeIds)
Retrieve the currently creatable vGPU types on a physical GPU (device).
|
static int |
nvml.nvmlDeviceGetCudaComputeCapability(nvmlDevice_st device,
int[] major,
int[] minor) |
static int |
nvml.nvmlDeviceGetCudaComputeCapability(nvmlDevice_st device,
IntBuffer major,
IntBuffer minor) |
static int |
nvml.nvmlDeviceGetCudaComputeCapability(nvmlDevice_st device,
IntPointer major,
IntPointer minor)
Retrieves the CUDA compute capability of the device.
|
static int |
nvml.nvmlDeviceGetCurrentClocksEventReasons(nvmlDevice_st device,
long[] clocksEventReasons) |
static int |
nvml.nvmlDeviceGetCurrentClocksEventReasons(nvmlDevice_st device,
LongBuffer clocksEventReasons) |
static int |
nvml.nvmlDeviceGetCurrentClocksEventReasons(nvmlDevice_st device,
LongPointer clocksEventReasons)
Retrieves current clocks event reasons.
|
static int |
nvml.nvmlDeviceGetCurrentClocksThrottleReasons(nvmlDevice_st device,
long[] clocksThrottleReasons) |
static int |
nvml.nvmlDeviceGetCurrentClocksThrottleReasons(nvmlDevice_st device,
LongBuffer clocksThrottleReasons) |
static int |
nvml.nvmlDeviceGetCurrentClocksThrottleReasons(nvmlDevice_st device,
LongPointer clocksThrottleReasons)
Deprecated.
Use \ref nvmlDeviceGetCurrentClocksEventReasons instead
|
static int |
nvml.nvmlDeviceGetCurrPcieLinkGeneration(nvmlDevice_st device,
int[] currLinkGen) |
static int |
nvml.nvmlDeviceGetCurrPcieLinkGeneration(nvmlDevice_st device,
IntBuffer currLinkGen) |
static int |
nvml.nvmlDeviceGetCurrPcieLinkGeneration(nvmlDevice_st device,
IntPointer currLinkGen)
Retrieves the current PCIe link generation
For Fermi &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetCurrPcieLinkWidth(nvmlDevice_st device,
int[] currLinkWidth) |
static int |
nvml.nvmlDeviceGetCurrPcieLinkWidth(nvmlDevice_st device,
IntBuffer currLinkWidth) |
static int |
nvml.nvmlDeviceGetCurrPcieLinkWidth(nvmlDevice_st device,
IntPointer currLinkWidth)
Retrieves the current PCIe link width
For Fermi &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetDecoderUtilization(nvmlDevice_st device,
int[] utilization,
int[] samplingPeriodUs) |
static int |
nvml.nvmlDeviceGetDecoderUtilization(nvmlDevice_st device,
IntBuffer utilization,
IntBuffer samplingPeriodUs) |
static int |
nvml.nvmlDeviceGetDecoderUtilization(nvmlDevice_st device,
IntPointer utilization,
IntPointer samplingPeriodUs)
Retrieves the current utilization and sampling size in microseconds for the Decoder
For Kepler &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetDefaultApplicationsClock(nvmlDevice_st device,
int clockType,
int[] clockMHz) |
static int |
nvml.nvmlDeviceGetDefaultApplicationsClock(nvmlDevice_st device,
int clockType,
IntBuffer clockMHz) |
static int |
nvml.nvmlDeviceGetDefaultApplicationsClock(nvmlDevice_st device,
int clockType,
IntPointer clockMHz)
Retrieves the default applications clock that GPU boots with or
defaults to after \ref nvmlDeviceResetApplicationsClocks call.
|
static int |
nvml.nvmlDeviceGetDefaultEccMode(nvmlDevice_st device,
int[] defaultMode) |
static int |
nvml.nvmlDeviceGetDefaultEccMode(nvmlDevice_st device,
IntBuffer defaultMode) |
static int |
nvml.nvmlDeviceGetDefaultEccMode(nvmlDevice_st device,
IntPointer defaultMode)
Retrieves the default ECC modes for the device.
|
static int |
nvml.nvmlDeviceGetDetailedEccErrors(nvmlDevice_st device,
int errorType,
int counterType,
nvmlEccErrorCounts_t eccCounts)
Deprecated.
This API supports only a fixed set of ECC error locations
On different GPU architectures different locations are supported
See \ref nvmlDeviceGetMemoryErrorCounter
For Fermi &tm; or newer fully supported devices.
Only applicable to devices with ECC.
Requires \a NVML_INFOROM_ECC version 2.0 or higher to report aggregate location-based ECC counts.
Requires \a NVML_INFOROM_ECC version 1.0 or higher to report all other ECC counts.
Requires ECC Mode to be enabled.
Detailed errors provide separate ECC counts for specific parts of the memory system.
Reports zero for unsupported ECC error counters when a subset of ECC error counters are supported.
See \ref nvmlMemoryErrorType_t for a description of available bit types.\n
See \ref nvmlEccCounterType_t for a description of available counter types.\n
See \ref nvmlEccErrorCounts_t for a description of provided detailed ECC counts.
|
static int |
nvml.nvmlDeviceGetDeviceHandleFromMigDeviceHandle(nvmlDevice_st migDevice,
nvmlDevice_st device)
Get parent device handle from a MIG device handle.
|
static int |
nvml.nvmlDeviceGetDeviceHandleFromMigDeviceHandle(nvmlDevice_st migDevice,
PointerPointer device) |
static int |
nvml.nvmlDeviceGetDisplayActive(nvmlDevice_st device,
int[] isActive) |
static int |
nvml.nvmlDeviceGetDisplayActive(nvmlDevice_st device,
IntBuffer isActive) |
static int |
nvml.nvmlDeviceGetDisplayActive(nvmlDevice_st device,
IntPointer isActive)
Retrieves the display active state for the device.
|
static int |
nvml.nvmlDeviceGetDisplayMode(nvmlDevice_st device,
int[] display) |
static int |
nvml.nvmlDeviceGetDisplayMode(nvmlDevice_st device,
IntBuffer display) |
static int |
nvml.nvmlDeviceGetDisplayMode(nvmlDevice_st device,
IntPointer display)
Retrieves the display mode for the device.
|
static int |
nvml.nvmlDeviceGetDriverModel(nvmlDevice_st device,
int[] current,
int[] pending) |
static int |
nvml.nvmlDeviceGetDriverModel(nvmlDevice_st device,
IntBuffer current,
IntBuffer pending) |
static int |
nvml.nvmlDeviceGetDriverModel(nvmlDevice_st device,
IntPointer current,
IntPointer pending)
Retrieves the current and pending driver model for the device.
|
static int |
nvml.nvmlDeviceGetDynamicPstatesInfo(nvmlDevice_st device,
nvmlGpuDynamicPstatesInfo_t pDynamicPstatesInfo)
Retrieve performance monitor samples from the associated subdevice.
|
static int |
nvml.nvmlDeviceGetEccMode(nvmlDevice_st device,
int[] current,
int[] pending) |
static int |
nvml.nvmlDeviceGetEccMode(nvmlDevice_st device,
IntBuffer current,
IntBuffer pending) |
static int |
nvml.nvmlDeviceGetEccMode(nvmlDevice_st device,
IntPointer current,
IntPointer pending)
Retrieves the current and pending ECC modes for the device.
|
static int |
nvml.nvmlDeviceGetEncoderCapacity(nvmlDevice_st device,
int encoderQueryType,
int[] encoderCapacity) |
static int |
nvml.nvmlDeviceGetEncoderCapacity(nvmlDevice_st device,
int encoderQueryType,
IntBuffer encoderCapacity) |
static int |
nvml.nvmlDeviceGetEncoderCapacity(nvmlDevice_st device,
int encoderQueryType,
IntPointer encoderCapacity)
Retrieves the current capacity of the device's encoder, as a percentage of maximum encoder capacity with valid values in the range 0-100.
|
static int |
nvml.nvmlDeviceGetEncoderSessions(nvmlDevice_st device,
int[] sessionCount,
nvmlEncoderSessionInfo_t sessionInfos) |
static int |
nvml.nvmlDeviceGetEncoderSessions(nvmlDevice_st device,
IntBuffer sessionCount,
nvmlEncoderSessionInfo_t sessionInfos) |
static int |
nvml.nvmlDeviceGetEncoderSessions(nvmlDevice_st device,
IntPointer sessionCount,
nvmlEncoderSessionInfo_t sessionInfos)
Retrieves information about active encoder sessions on a target device.
|
static int |
nvml.nvmlDeviceGetEncoderStats(nvmlDevice_st device,
int[] sessionCount,
int[] averageFps,
int[] averageLatency) |
static int |
nvml.nvmlDeviceGetEncoderStats(nvmlDevice_st device,
IntBuffer sessionCount,
IntBuffer averageFps,
IntBuffer averageLatency) |
static int |
nvml.nvmlDeviceGetEncoderStats(nvmlDevice_st device,
IntPointer sessionCount,
IntPointer averageFps,
IntPointer averageLatency)
Retrieves the current encoder statistics for a given device.
|
static int |
nvml.nvmlDeviceGetEncoderUtilization(nvmlDevice_st device,
int[] utilization,
int[] samplingPeriodUs) |
static int |
nvml.nvmlDeviceGetEncoderUtilization(nvmlDevice_st device,
IntBuffer utilization,
IntBuffer samplingPeriodUs) |
static int |
nvml.nvmlDeviceGetEncoderUtilization(nvmlDevice_st device,
IntPointer utilization,
IntPointer samplingPeriodUs)
Retrieves the current utilization and sampling size in microseconds for the Encoder
For Kepler &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetEnforcedPowerLimit(nvmlDevice_st device,
int[] _limit) |
static int |
nvml.nvmlDeviceGetEnforcedPowerLimit(nvmlDevice_st device,
IntBuffer _limit) |
static int |
nvml.nvmlDeviceGetEnforcedPowerLimit(nvmlDevice_st device,
IntPointer _limit)
Get the effective power limit that the driver enforces after taking into account all limiters
Note: This can be different from the \ref nvmlDeviceGetPowerManagementLimit if other limits are set elsewhere
This includes the out of band power limit interface
For Kepler &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetFanControlPolicy_v2(nvmlDevice_st device,
int fan,
int[] policy) |
static int |
nvml.nvmlDeviceGetFanControlPolicy_v2(nvmlDevice_st device,
int fan,
IntBuffer policy) |
static int |
nvml.nvmlDeviceGetFanControlPolicy_v2(nvmlDevice_st device,
int fan,
IntPointer policy)
Gets current fan control policy.
|
static int |
nvml.nvmlDeviceGetFanSpeed_v2(nvmlDevice_st device,
int fan,
int[] speed) |
static int |
nvml.nvmlDeviceGetFanSpeed_v2(nvmlDevice_st device,
int fan,
IntBuffer speed) |
static int |
nvml.nvmlDeviceGetFanSpeed_v2(nvmlDevice_st device,
int fan,
IntPointer speed)
Retrieves the intended operating speed of the device's specified fan.
|
static int |
nvml.nvmlDeviceGetFanSpeed(nvmlDevice_st device,
int[] speed) |
static int |
nvml.nvmlDeviceGetFanSpeed(nvmlDevice_st device,
IntBuffer speed) |
static int |
nvml.nvmlDeviceGetFanSpeed(nvmlDevice_st device,
IntPointer speed)
Retrieves the intended operating speed of the device's fan.
|
static int |
nvml.nvmlDeviceGetFBCSessions(nvmlDevice_st device,
int[] sessionCount,
nvmlFBCSessionInfo_t sessionInfo) |
static int |
nvml.nvmlDeviceGetFBCSessions(nvmlDevice_st device,
IntBuffer sessionCount,
nvmlFBCSessionInfo_t sessionInfo) |
static int |
nvml.nvmlDeviceGetFBCSessions(nvmlDevice_st device,
IntPointer sessionCount,
nvmlFBCSessionInfo_t sessionInfo)
Retrieves information about active frame buffer capture sessions on a target device.
|
static int |
nvml.nvmlDeviceGetFBCStats(nvmlDevice_st device,
nvmlFBCStats_t fbcStats)
Retrieves the active frame buffer capture sessions statistics for a given device.
|
static int |
nvml.nvmlDeviceGetFieldValues(nvmlDevice_st device,
int valuesCount,
nvmlFieldValue_t values)
Request values for a list of fields for a device.
|
static int |
nvml.nvmlDeviceGetGpcClkMinMaxVfOffset(nvmlDevice_st device,
int[] minOffset,
int[] maxOffset) |
static int |
nvml.nvmlDeviceGetGpcClkMinMaxVfOffset(nvmlDevice_st device,
IntBuffer minOffset,
IntBuffer maxOffset) |
static int |
nvml.nvmlDeviceGetGpcClkMinMaxVfOffset(nvmlDevice_st device,
IntPointer minOffset,
IntPointer maxOffset)
Retrieve the GPCCLK min max VF offset value.
|
static int |
nvml.nvmlDeviceGetGpcClkVfOffset(nvmlDevice_st device,
int[] offset) |
static int |
nvml.nvmlDeviceGetGpcClkVfOffset(nvmlDevice_st device,
IntBuffer offset) |
static int |
nvml.nvmlDeviceGetGpcClkVfOffset(nvmlDevice_st device,
IntPointer offset)
Retrieve the GPCCLK VF offset value
|
static int |
nvml.nvmlDeviceGetGpuFabricInfo(nvmlDevice_st device,
nvmlGpuFabricInfo_t gpuFabricInfo)
Get fabric information associated with the device.
|
static int |
nvml.nvmlDeviceGetGpuInstanceById(nvmlDevice_st device,
int id,
nvmlGpuInstance_st gpuInstance)
Get GPU instances for given instance ID.
|
static int |
nvml.nvmlDeviceGetGpuInstanceById(nvmlDevice_st device,
int id,
PointerPointer gpuInstance) |
static int |
nvml.nvmlDeviceGetGpuInstanceId(nvmlDevice_st device,
int[] id) |
static int |
nvml.nvmlDeviceGetGpuInstanceId(nvmlDevice_st device,
IntBuffer id) |
static int |
nvml.nvmlDeviceGetGpuInstanceId(nvmlDevice_st device,
IntPointer id)
Get GPU instance ID for the given MIG device handle.
|
static int |
nvml.nvmlDeviceGetGpuInstancePossiblePlacements_v2(nvmlDevice_st device,
int profileId,
nvmlGpuInstancePlacement_t placements,
int[] count) |
static int |
nvml.nvmlDeviceGetGpuInstancePossiblePlacements_v2(nvmlDevice_st device,
int profileId,
nvmlGpuInstancePlacement_t placements,
IntBuffer count) |
static int |
nvml.nvmlDeviceGetGpuInstancePossiblePlacements_v2(nvmlDevice_st device,
int profileId,
nvmlGpuInstancePlacement_t placements,
IntPointer count)
Get GPU instance placements.
|
static int |
nvml.nvmlDeviceGetGpuInstancePossiblePlacements(nvmlDevice_st device,
int profileId,
nvmlGpuInstancePlacement_t placements,
int[] count) |
static int |
nvml.nvmlDeviceGetGpuInstancePossiblePlacements(nvmlDevice_st device,
int profileId,
nvmlGpuInstancePlacement_t placements,
IntBuffer count) |
static int |
nvml.nvmlDeviceGetGpuInstancePossiblePlacements(nvmlDevice_st device,
int profileId,
nvmlGpuInstancePlacement_t placements,
IntPointer count) |
static int |
nvml.nvmlDeviceGetGpuInstanceProfileInfo(nvmlDevice_st device,
int profile,
nvmlGpuInstanceProfileInfo_t info)
Get GPU instance profile information.
|
static int |
nvml.nvmlDeviceGetGpuInstanceProfileInfoV(nvmlDevice_st device,
int profile,
nvmlGpuInstanceProfileInfo_v2_t info)
Versioned wrapper around \ref nvmlDeviceGetGpuInstanceProfileInfo that accepts a versioned
\ref nvmlGpuInstanceProfileInfo_v2_t or later output structure.
|
static int |
nvml.nvmlDeviceGetGpuInstanceRemainingCapacity(nvmlDevice_st device,
int profileId,
int[] count) |
static int |
nvml.nvmlDeviceGetGpuInstanceRemainingCapacity(nvmlDevice_st device,
int profileId,
IntBuffer count) |
static int |
nvml.nvmlDeviceGetGpuInstanceRemainingCapacity(nvmlDevice_st device,
int profileId,
IntPointer count)
Get GPU instance profile capacity.
|
static int |
nvml.nvmlDeviceGetGpuInstances(nvmlDevice_st device,
int profileId,
nvmlGpuInstance_st gpuInstances,
int[] count) |
static int |
nvml.nvmlDeviceGetGpuInstances(nvmlDevice_st device,
int profileId,
nvmlGpuInstance_st gpuInstances,
IntBuffer count) |
static int |
nvml.nvmlDeviceGetGpuInstances(nvmlDevice_st device,
int profileId,
nvmlGpuInstance_st gpuInstances,
IntPointer count)
Get GPU instances for given profile ID.
|
static int |
nvml.nvmlDeviceGetGpuInstances(nvmlDevice_st device,
int profileId,
PointerPointer gpuInstances,
int[] count) |
static int |
nvml.nvmlDeviceGetGpuInstances(nvmlDevice_st device,
int profileId,
PointerPointer gpuInstances,
IntBuffer count) |
static int |
nvml.nvmlDeviceGetGpuInstances(nvmlDevice_st device,
int profileId,
PointerPointer gpuInstances,
IntPointer count) |
static int |
nvml.nvmlDeviceGetGpuMaxPcieLinkGeneration(nvmlDevice_st device,
int[] maxLinkGenDevice) |
static int |
nvml.nvmlDeviceGetGpuMaxPcieLinkGeneration(nvmlDevice_st device,
IntBuffer maxLinkGenDevice) |
static int |
nvml.nvmlDeviceGetGpuMaxPcieLinkGeneration(nvmlDevice_st device,
IntPointer maxLinkGenDevice)
Retrieves the maximum PCIe link generation supported by this device
For Fermi &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetGpuOperationMode(nvmlDevice_st device,
int[] current,
int[] pending) |
static int |
nvml.nvmlDeviceGetGpuOperationMode(nvmlDevice_st device,
IntBuffer current,
IntBuffer pending) |
static int |
nvml.nvmlDeviceGetGpuOperationMode(nvmlDevice_st device,
IntPointer current,
IntPointer pending)
Retrieves the current GOM and pending GOM (the one that GPU will switch to after reboot).
|
static int |
nvml.nvmlDeviceGetGraphicsRunningProcesses_v2(nvmlDevice_st device,
int[] infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetGraphicsRunningProcesses_v2(nvmlDevice_st device,
IntBuffer infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetGraphicsRunningProcesses_v2(nvmlDevice_st device,
IntPointer infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetGraphicsRunningProcesses_v3(nvmlDevice_st device,
int[] infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetGraphicsRunningProcesses_v3(nvmlDevice_st device,
IntBuffer infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetGraphicsRunningProcesses_v3(nvmlDevice_st device,
IntPointer infoCount,
nvmlProcessInfo_v2_t infos)
Get information about processes with a graphics context on a device
For Kepler &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetGraphicsRunningProcesses(nvmlDevice_st device,
int[] infoCount,
nvmlProcessInfo_v1_t infos) |
static int |
nvml.nvmlDeviceGetGraphicsRunningProcesses(nvmlDevice_st device,
IntBuffer infoCount,
nvmlProcessInfo_v1_t infos) |
static int |
nvml.nvmlDeviceGetGraphicsRunningProcesses(nvmlDevice_st device,
IntPointer infoCount,
nvmlProcessInfo_v1_t infos) |
static int |
nvml.nvmlDeviceGetGridLicensableFeatures_v2(nvmlDevice_st device,
nvmlGridLicensableFeatures_t pGridLicensableFeatures) |
static int |
nvml.nvmlDeviceGetGridLicensableFeatures_v3(nvmlDevice_st device,
nvmlGridLicensableFeatures_t pGridLicensableFeatures) |
static int |
nvml.nvmlDeviceGetGridLicensableFeatures_v4(nvmlDevice_st device,
nvmlGridLicensableFeatures_t pGridLicensableFeatures)
Retrieve the vGPU Software licensable features.
|
static int |
nvml.nvmlDeviceGetGspFirmwareMode(nvmlDevice_st device,
int[] isEnabled,
int[] defaultMode) |
static int |
nvml.nvmlDeviceGetGspFirmwareMode(nvmlDevice_st device,
IntBuffer isEnabled,
IntBuffer defaultMode) |
static int |
nvml.nvmlDeviceGetGspFirmwareMode(nvmlDevice_st device,
IntPointer isEnabled,
IntPointer defaultMode)
Retrieve GSP firmware mode.
|
static int |
nvml.nvmlDeviceGetGspFirmwareVersion(nvmlDevice_st device,
byte[] version) |
static int |
nvml.nvmlDeviceGetGspFirmwareVersion(nvmlDevice_st device,
ByteBuffer version) |
static int |
nvml.nvmlDeviceGetGspFirmwareVersion(nvmlDevice_st device,
BytePointer version)
Retrieve GSP firmware version.
|
static int |
nvml.nvmlDeviceGetHandleByIndex_v2(int index,
nvmlDevice_st device)
Acquire the handle for a particular device, based on its index.
|
static int |
nvml.nvmlDeviceGetHandleByPciBusId_v2(BytePointer pciBusId,
nvmlDevice_st device)
Acquire the handle for a particular device, based on its PCI bus id.
|
static int |
nvml.nvmlDeviceGetHandleBySerial(BytePointer serial,
nvmlDevice_st device)
Deprecated.
Since more than one GPU can exist on a single board this function is deprecated in favor
of \ref nvmlDeviceGetHandleByUUID.
For dual GPU boards this function will return NVML_ERROR_INVALID_ARGUMENT.
Starting from NVML 5, this API causes NVML to initialize the target GPU
NVML may initialize additional GPUs as it searches for the target GPU
|
static int |
nvml.nvmlDeviceGetHandleByUUID(BytePointer uuid,
nvmlDevice_st device)
Acquire the handle for a particular device, based on its globally unique immutable UUID associated with each device.
|
static int |
nvml.nvmlDeviceGetHostVgpuMode(nvmlDevice_st device,
int[] pHostVgpuMode) |
static int |
nvml.nvmlDeviceGetHostVgpuMode(nvmlDevice_st device,
IntBuffer pHostVgpuMode) |
static int |
nvml.nvmlDeviceGetHostVgpuMode(nvmlDevice_st device,
IntPointer pHostVgpuMode)
Queries if SR-IOV host operation is supported on a vGPU supported device.
|
static int |
nvml.nvmlDeviceGetIndex(nvmlDevice_st device,
int[] index) |
static int |
nvml.nvmlDeviceGetIndex(nvmlDevice_st device,
IntBuffer index) |
static int |
nvml.nvmlDeviceGetIndex(nvmlDevice_st device,
IntPointer index)
Retrieves the NVML index of this device.
|
static int |
nvml.nvmlDeviceGetInforomConfigurationChecksum(nvmlDevice_st device,
int[] checksum) |
static int |
nvml.nvmlDeviceGetInforomConfigurationChecksum(nvmlDevice_st device,
IntBuffer checksum) |
static int |
nvml.nvmlDeviceGetInforomConfigurationChecksum(nvmlDevice_st device,
IntPointer checksum)
Retrieves the checksum of the configuration stored in the device's infoROM.
|
static int |
nvml.nvmlDeviceGetInforomImageVersion(nvmlDevice_st device,
byte[] version,
int length) |
static int |
nvml.nvmlDeviceGetInforomImageVersion(nvmlDevice_st device,
ByteBuffer version,
int length) |
static int |
nvml.nvmlDeviceGetInforomImageVersion(nvmlDevice_st device,
BytePointer version,
int length)
Retrieves the global infoROM image version
For all products with an inforom.
|
static int |
nvml.nvmlDeviceGetInforomVersion(nvmlDevice_st device,
int object,
byte[] version,
int length) |
static int |
nvml.nvmlDeviceGetInforomVersion(nvmlDevice_st device,
int object,
ByteBuffer version,
int length) |
static int |
nvml.nvmlDeviceGetInforomVersion(nvmlDevice_st device,
int object,
BytePointer version,
int length)
Retrieves the version information for the device's infoROM object.
|
static int |
nvml.nvmlDeviceGetIrqNum(nvmlDevice_st device,
int[] irqNum) |
static int |
nvml.nvmlDeviceGetIrqNum(nvmlDevice_st device,
IntBuffer irqNum) |
static int |
nvml.nvmlDeviceGetIrqNum(nvmlDevice_st device,
IntPointer irqNum)
Gets the device's interrupt number
|
static int |
nvml.nvmlDeviceGetJpgUtilization(nvmlDevice_st device,
int[] utilization,
int[] samplingPeriodUs) |
static int |
nvml.nvmlDeviceGetJpgUtilization(nvmlDevice_st device,
IntBuffer utilization,
IntBuffer samplingPeriodUs) |
static int |
nvml.nvmlDeviceGetJpgUtilization(nvmlDevice_st device,
IntPointer utilization,
IntPointer samplingPeriodUs)
Retrieves the current utilization and sampling size in microseconds for the JPG
%TURING_OR_NEWER%
\note On MIG-enabled GPUs, querying decoder utilization is not currently supported.
|
static int |
nvml.nvmlDeviceGetLastBBXFlushTime(nvmlDevice_st device,
long[] timestamp,
CLongPointer durationUs) |
static int |
nvml.nvmlDeviceGetLastBBXFlushTime(nvmlDevice_st device,
LongBuffer timestamp,
CLongPointer durationUs) |
static int |
nvml.nvmlDeviceGetLastBBXFlushTime(nvmlDevice_st device,
LongPointer timestamp,
CLongPointer durationUs)
Retrieves the timestamp and the duration of the last flush of the BBX (blackbox) infoROM object during the current run.
|
static int |
nvml.nvmlDeviceGetMaxClockInfo(nvmlDevice_st device,
int type,
int[] clock) |
static int |
nvml.nvmlDeviceGetMaxClockInfo(nvmlDevice_st device,
int type,
IntBuffer clock) |
static int |
nvml.nvmlDeviceGetMaxClockInfo(nvmlDevice_st device,
int type,
IntPointer clock)
Retrieves the maximum clock speeds for the device.
|
static int |
nvml.nvmlDeviceGetMaxCustomerBoostClock(nvmlDevice_st device,
int clockType,
int[] clockMHz) |
static int |
nvml.nvmlDeviceGetMaxCustomerBoostClock(nvmlDevice_st device,
int clockType,
IntBuffer clockMHz) |
static int |
nvml.nvmlDeviceGetMaxCustomerBoostClock(nvmlDevice_st device,
int clockType,
IntPointer clockMHz)
Retrieves the customer defined maximum boost clock speed specified by the given clock type.
|
static int |
nvml.nvmlDeviceGetMaxMigDeviceCount(nvmlDevice_st device,
int[] count) |
static int |
nvml.nvmlDeviceGetMaxMigDeviceCount(nvmlDevice_st device,
IntBuffer count) |
static int |
nvml.nvmlDeviceGetMaxMigDeviceCount(nvmlDevice_st device,
IntPointer count)
Get the maximum number of MIG devices that can exist under a given parent NVML device.
|
static int |
nvml.nvmlDeviceGetMaxPcieLinkGeneration(nvmlDevice_st device,
int[] maxLinkGen) |
static int |
nvml.nvmlDeviceGetMaxPcieLinkGeneration(nvmlDevice_st device,
IntBuffer maxLinkGen) |
static int |
nvml.nvmlDeviceGetMaxPcieLinkGeneration(nvmlDevice_st device,
IntPointer maxLinkGen)
Retrieves the maximum PCIe link generation possible with this device and system
I.E.
|
static int |
nvml.nvmlDeviceGetMaxPcieLinkWidth(nvmlDevice_st device,
int[] maxLinkWidth) |
static int |
nvml.nvmlDeviceGetMaxPcieLinkWidth(nvmlDevice_st device,
IntBuffer maxLinkWidth) |
static int |
nvml.nvmlDeviceGetMaxPcieLinkWidth(nvmlDevice_st device,
IntPointer maxLinkWidth)
Retrieves the maximum PCIe link width possible with this device and system
I.E.
|
static int |
nvml.nvmlDeviceGetMemClkMinMaxVfOffset(nvmlDevice_st device,
int[] minOffset,
int[] maxOffset) |
static int |
nvml.nvmlDeviceGetMemClkMinMaxVfOffset(nvmlDevice_st device,
IntBuffer minOffset,
IntBuffer maxOffset) |
static int |
nvml.nvmlDeviceGetMemClkMinMaxVfOffset(nvmlDevice_st device,
IntPointer minOffset,
IntPointer maxOffset)
Retrieve the MemClk (Memory Clock) min max VF offset value.
|
static int |
nvml.nvmlDeviceGetMemClkVfOffset(nvmlDevice_st device,
int[] offset) |
static int |
nvml.nvmlDeviceGetMemClkVfOffset(nvmlDevice_st device,
IntBuffer offset) |
static int |
nvml.nvmlDeviceGetMemClkVfOffset(nvmlDevice_st device,
IntPointer offset)
Retrieve the MemClk (Memory Clock) VF offset value.
|
static int |
nvml.nvmlDeviceGetMemoryAffinity(nvmlDevice_st device,
int nodeSetSize,
CLongPointer nodeSet,
int scope)
Retrieves an array of unsigned ints (sized to nodeSetSize) of bitmasks with
the ideal memory affinity within node or socket for the device.
|
static int |
nvml.nvmlDeviceGetMemoryBusWidth(nvmlDevice_st device,
int[] busWidth) |
static int |
nvml.nvmlDeviceGetMemoryBusWidth(nvmlDevice_st device,
IntBuffer busWidth) |
static int |
nvml.nvmlDeviceGetMemoryBusWidth(nvmlDevice_st device,
IntPointer busWidth)
Gets the device's memory bus width
|
static int |
nvml.nvmlDeviceGetMemoryErrorCounter(nvmlDevice_st device,
int errorType,
int counterType,
int locationType,
long[] count) |
static int |
nvml.nvmlDeviceGetMemoryErrorCounter(nvmlDevice_st device,
int errorType,
int counterType,
int locationType,
LongBuffer count) |
static int |
nvml.nvmlDeviceGetMemoryErrorCounter(nvmlDevice_st device,
int errorType,
int counterType,
int locationType,
LongPointer count)
Retrieves the requested memory error counter for the device.
|
static int |
nvml.nvmlDeviceGetMemoryInfo_v2(nvmlDevice_st device,
nvmlMemory_v2_t memory) |
static int |
nvml.nvmlDeviceGetMemoryInfo(nvmlDevice_st device,
nvmlMemory_t memory)
Retrieves the amount of used, free, reserved and total memory available on the device, in bytes.
|
static int |
nvml.nvmlDeviceGetMigDeviceHandleByIndex(nvmlDevice_st device,
int index,
nvmlDevice_st migDevice)
Get MIG device handle for the given index under its parent NVML device.
|
static int |
nvml.nvmlDeviceGetMigDeviceHandleByIndex(nvmlDevice_st device,
int index,
PointerPointer migDevice) |
static int |
nvml.nvmlDeviceGetMigMode(nvmlDevice_st device,
int[] currentMode,
int[] pendingMode) |
static int |
nvml.nvmlDeviceGetMigMode(nvmlDevice_st device,
IntBuffer currentMode,
IntBuffer pendingMode) |
static int |
nvml.nvmlDeviceGetMigMode(nvmlDevice_st device,
IntPointer currentMode,
IntPointer pendingMode)
Get MIG mode for the device.
|
static int |
nvml.nvmlDeviceGetMinMaxClockOfPState(nvmlDevice_st device,
int type,
int pstate,
int[] minClockMHz,
int[] maxClockMHz) |
static int |
nvml.nvmlDeviceGetMinMaxClockOfPState(nvmlDevice_st device,
int type,
int pstate,
IntBuffer minClockMHz,
IntBuffer maxClockMHz) |
static int |
nvml.nvmlDeviceGetMinMaxClockOfPState(nvmlDevice_st device,
int type,
int pstate,
IntPointer minClockMHz,
IntPointer maxClockMHz)
Retrieve min and max clocks of some clock domain for a given PState
|
static int |
nvml.nvmlDeviceGetMinMaxFanSpeed(nvmlDevice_st device,
int[] minSpeed,
int[] maxSpeed) |
static int |
nvml.nvmlDeviceGetMinMaxFanSpeed(nvmlDevice_st device,
IntBuffer minSpeed,
IntBuffer maxSpeed) |
static int |
nvml.nvmlDeviceGetMinMaxFanSpeed(nvmlDevice_st device,
IntPointer minSpeed,
IntPointer maxSpeed)
Retrieves the min and max fan speed that user can set for the GPU fan.
|
static int |
nvml.nvmlDeviceGetMinorNumber(nvmlDevice_st device,
int[] minorNumber) |
static int |
nvml.nvmlDeviceGetMinorNumber(nvmlDevice_st device,
IntBuffer minorNumber) |
static int |
nvml.nvmlDeviceGetMinorNumber(nvmlDevice_st device,
IntPointer minorNumber)
Retrieves minor number for the device.
|
static int |
nvml.nvmlDeviceGetModuleId(nvmlDevice_st device,
int[] moduleId) |
static int |
nvml.nvmlDeviceGetModuleId(nvmlDevice_st device,
IntBuffer moduleId) |
static int |
nvml.nvmlDeviceGetModuleId(nvmlDevice_st device,
IntPointer moduleId) |
static int |
nvml.nvmlDeviceGetMPSComputeRunningProcesses_v2(nvmlDevice_st device,
int[] infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetMPSComputeRunningProcesses_v2(nvmlDevice_st device,
IntBuffer infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetMPSComputeRunningProcesses_v2(nvmlDevice_st device,
IntPointer infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetMPSComputeRunningProcesses_v3(nvmlDevice_st device,
int[] infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetMPSComputeRunningProcesses_v3(nvmlDevice_st device,
IntBuffer infoCount,
nvmlProcessInfo_v2_t infos) |
static int |
nvml.nvmlDeviceGetMPSComputeRunningProcesses_v3(nvmlDevice_st device,
IntPointer infoCount,
nvmlProcessInfo_v2_t infos)
Get information about processes with a MPS compute context on a device
For Volta &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetMPSComputeRunningProcesses(nvmlDevice_st device,
int[] infoCount,
nvmlProcessInfo_v1_t infos) |
static int |
nvml.nvmlDeviceGetMPSComputeRunningProcesses(nvmlDevice_st device,
IntBuffer infoCount,
nvmlProcessInfo_v1_t infos) |
static int |
nvml.nvmlDeviceGetMPSComputeRunningProcesses(nvmlDevice_st device,
IntPointer infoCount,
nvmlProcessInfo_v1_t infos) |
static int |
nvml.nvmlDeviceGetMultiGpuBoard(nvmlDevice_st device,
int[] multiGpuBool) |
static int |
nvml.nvmlDeviceGetMultiGpuBoard(nvmlDevice_st device,
IntBuffer multiGpuBool) |
static int |
nvml.nvmlDeviceGetMultiGpuBoard(nvmlDevice_st device,
IntPointer multiGpuBool)
Retrieves whether the device is on a Multi-GPU Board
Devices that are on multi-GPU boards will set \a multiGpuBool to a non-zero value.
|
static int |
nvml.nvmlDeviceGetName(nvmlDevice_st device,
byte[] name,
int length) |
static int |
nvml.nvmlDeviceGetName(nvmlDevice_st device,
ByteBuffer name,
int length) |
static int |
nvml.nvmlDeviceGetName(nvmlDevice_st device,
BytePointer name,
int length)
Retrieves the name of this device.
|
static int |
nvml.nvmlDeviceGetNumFans(nvmlDevice_st device,
int[] numFans) |
static int |
nvml.nvmlDeviceGetNumFans(nvmlDevice_st device,
IntBuffer numFans) |
static int |
nvml.nvmlDeviceGetNumFans(nvmlDevice_st device,
IntPointer numFans)
Retrieves the number of fans on the device.
|
static int |
nvml.nvmlDeviceGetNumGpuCores(nvmlDevice_st device,
int[] numCores) |
static int |
nvml.nvmlDeviceGetNumGpuCores(nvmlDevice_st device,
IntBuffer numCores) |
static int |
nvml.nvmlDeviceGetNumGpuCores(nvmlDevice_st device,
IntPointer numCores)
Gets the device's core count
|
static int |
nvml.nvmlDeviceGetNvLinkCapability(nvmlDevice_st device,
int link,
int capability,
int[] capResult) |
static int |
nvml.nvmlDeviceGetNvLinkCapability(nvmlDevice_st device,
int link,
int capability,
IntBuffer capResult) |
static int |
nvml.nvmlDeviceGetNvLinkCapability(nvmlDevice_st device,
int link,
int capability,
IntPointer capResult)
Retrieves the requested capability from the device's NvLink for the link specified
Please refer to the \a nvmlNvLinkCapability_t structure for the specific caps that can be queried
The return value should be treated as a boolean.
|
static int |
nvml.nvmlDeviceGetNvLinkErrorCounter(nvmlDevice_st device,
int link,
int counter,
long[] counterValue) |
static int |
nvml.nvmlDeviceGetNvLinkErrorCounter(nvmlDevice_st device,
int link,
int counter,
LongBuffer counterValue) |
static int |
nvml.nvmlDeviceGetNvLinkErrorCounter(nvmlDevice_st device,
int link,
int counter,
LongPointer counterValue)
Retrieves the specified error counter value
Please refer to \a nvmlNvLinkErrorCounter_t for error counters that are available
For Pascal &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetNvLinkRemoteDeviceType(nvmlDevice_st device,
int link,
int[] pNvLinkDeviceType) |
static int |
nvml.nvmlDeviceGetNvLinkRemoteDeviceType(nvmlDevice_st device,
int link,
IntBuffer pNvLinkDeviceType) |
static int |
nvml.nvmlDeviceGetNvLinkRemoteDeviceType(nvmlDevice_st device,
int link,
IntPointer pNvLinkDeviceType)
Get the NVLink device type of the remote device connected over the given link.
|
static int |
nvml.nvmlDeviceGetNvLinkRemotePciInfo_v2(nvmlDevice_st device,
int link,
nvmlPciInfo_t pci)
Retrieves the PCI information for the remote node on a NvLink link
Note: pciSubSystemId is not filled in this function and is indeterminate
For Pascal &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetNvLinkState(nvmlDevice_st device,
int link,
int[] isActive) |
static int |
nvml.nvmlDeviceGetNvLinkState(nvmlDevice_st device,
int link,
IntBuffer isActive) |
static int |
nvml.nvmlDeviceGetNvLinkState(nvmlDevice_st device,
int link,
IntPointer isActive)
Retrieves the state of the device's NvLink for the link specified
For Pascal &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetNvLinkUtilizationControl(nvmlDevice_st device,
int link,
int counter,
nvmlNvLinkUtilizationControl_t control)
Deprecated: Getting utilization counter control is no longer supported.
|
static int |
nvml.nvmlDeviceGetNvLinkUtilizationCounter(nvmlDevice_st device,
int link,
int counter,
long[] rxcounter,
long[] txcounter) |
static int |
nvml.nvmlDeviceGetNvLinkUtilizationCounter(nvmlDevice_st device,
int link,
int counter,
LongBuffer rxcounter,
LongBuffer txcounter) |
static int |
nvml.nvmlDeviceGetNvLinkUtilizationCounter(nvmlDevice_st device,
int link,
int counter,
LongPointer rxcounter,
LongPointer txcounter)
Deprecated: Use \ref nvmlDeviceGetFieldValues with NVML_FI_DEV_NVLINK_THROUGHPUT_* as field values instead.
|
static int |
nvml.nvmlDeviceGetNvLinkVersion(nvmlDevice_st device,
int link,
int[] version) |
static int |
nvml.nvmlDeviceGetNvLinkVersion(nvmlDevice_st device,
int link,
IntBuffer version) |
static int |
nvml.nvmlDeviceGetNvLinkVersion(nvmlDevice_st device,
int link,
IntPointer version)
Retrieves the version of the device's NvLink for the link specified
For Pascal &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetOfaUtilization(nvmlDevice_st device,
int[] utilization,
int[] samplingPeriodUs) |
static int |
nvml.nvmlDeviceGetOfaUtilization(nvmlDevice_st device,
IntBuffer utilization,
IntBuffer samplingPeriodUs) |
static int |
nvml.nvmlDeviceGetOfaUtilization(nvmlDevice_st device,
IntPointer utilization,
IntPointer samplingPeriodUs)
Retrieves the current utilization and sampling size in microseconds for the OFA (Optical Flow Accelerator)
%TURING_OR_NEWER%
\note On MIG-enabled GPUs, querying decoder utilization is not currently supported.
|
static int |
nvml.nvmlDeviceGetP2PStatus(nvmlDevice_st device1,
nvmlDevice_st device2,
int p2pIndex,
int[] p2pStatus) |
static int |
nvml.nvmlDeviceGetP2PStatus(nvmlDevice_st device1,
nvmlDevice_st device2,
int p2pIndex,
IntBuffer p2pStatus) |
static int |
nvml.nvmlDeviceGetP2PStatus(nvmlDevice_st device1,
nvmlDevice_st device2,
int p2pIndex,
IntPointer p2pStatus)
Retrieve the status for a given p2p capability index between a given pair of GPU
|
static int |
nvml.nvmlDeviceGetPcieLinkMaxSpeed(nvmlDevice_st device,
int[] maxSpeed) |
static int |
nvml.nvmlDeviceGetPcieLinkMaxSpeed(nvmlDevice_st device,
IntBuffer maxSpeed) |
static int |
nvml.nvmlDeviceGetPcieLinkMaxSpeed(nvmlDevice_st device,
IntPointer maxSpeed)
Gets the device's PCIE Max Link speed in MBPS
|
static int |
nvml.nvmlDeviceGetPcieReplayCounter(nvmlDevice_st device,
int[] value) |
static int |
nvml.nvmlDeviceGetPcieReplayCounter(nvmlDevice_st device,
IntBuffer value) |
static int |
nvml.nvmlDeviceGetPcieReplayCounter(nvmlDevice_st device,
IntPointer value)
Retrieve the PCIe replay counter.
|
static int |
nvml.nvmlDeviceGetPcieSpeed(nvmlDevice_st device,
int[] pcieSpeed) |
static int |
nvml.nvmlDeviceGetPcieSpeed(nvmlDevice_st device,
IntBuffer pcieSpeed) |
static int |
nvml.nvmlDeviceGetPcieSpeed(nvmlDevice_st device,
IntPointer pcieSpeed)
Gets the device's PCIe Link speed in Mbps
|
static int |
nvml.nvmlDeviceGetPcieThroughput(nvmlDevice_st device,
int counter,
int[] value) |
static int |
nvml.nvmlDeviceGetPcieThroughput(nvmlDevice_st device,
int counter,
IntBuffer value) |
static int |
nvml.nvmlDeviceGetPcieThroughput(nvmlDevice_st device,
int counter,
IntPointer value)
Retrieve PCIe utilization information.
|
static int |
nvml.nvmlDeviceGetPciInfo_v2(nvmlDevice_st device,
nvmlPciInfo_t pci)
NVML API versioning support
|
static int |
nvml.nvmlDeviceGetPciInfo_v3(nvmlDevice_st device,
nvmlPciInfo_t pci)
Retrieves the PCI attributes of this device.
|
static int |
nvml.nvmlDeviceGetPerformanceState(nvmlDevice_st device,
int[] pState) |
static int |
nvml.nvmlDeviceGetPerformanceState(nvmlDevice_st device,
IntBuffer pState) |
static int |
nvml.nvmlDeviceGetPerformanceState(nvmlDevice_st device,
IntPointer pState)
Retrieves the current performance state for the device.
|
static int |
nvml.nvmlDeviceGetPersistenceMode(nvmlDevice_st device,
int[] mode) |
static int |
nvml.nvmlDeviceGetPersistenceMode(nvmlDevice_st device,
IntBuffer mode) |
static int |
nvml.nvmlDeviceGetPersistenceMode(nvmlDevice_st device,
IntPointer mode)
Retrieves the persistence mode associated with this device.
|
static int |
nvml.nvmlDeviceGetPgpuMetadataString(nvmlDevice_st device,
byte[] pgpuMetadata,
int[] bufferSize) |
static int |
nvml.nvmlDeviceGetPgpuMetadataString(nvmlDevice_st device,
ByteBuffer pgpuMetadata,
IntBuffer bufferSize) |
static int |
nvml.nvmlDeviceGetPgpuMetadataString(nvmlDevice_st device,
BytePointer pgpuMetadata,
IntPointer bufferSize)
Returns the properties of the physical GPU indicated by the device in an ascii-encoded string format.
|
static int |
nvml.nvmlDeviceGetPowerManagementDefaultLimit(nvmlDevice_st device,
int[] defaultLimit) |
static int |
nvml.nvmlDeviceGetPowerManagementDefaultLimit(nvmlDevice_st device,
IntBuffer defaultLimit) |
static int |
nvml.nvmlDeviceGetPowerManagementDefaultLimit(nvmlDevice_st device,
IntPointer defaultLimit)
Retrieves default power management limit on this device, in milliwatts.
|
static int |
nvml.nvmlDeviceGetPowerManagementLimit(nvmlDevice_st device,
int[] _limit) |
static int |
nvml.nvmlDeviceGetPowerManagementLimit(nvmlDevice_st device,
IntBuffer _limit) |
static int |
nvml.nvmlDeviceGetPowerManagementLimit(nvmlDevice_st device,
IntPointer _limit)
Retrieves the power management limit associated with this device.
|
static int |
nvml.nvmlDeviceGetPowerManagementLimitConstraints(nvmlDevice_st device,
int[] minLimit,
int[] maxLimit) |
static int |
nvml.nvmlDeviceGetPowerManagementLimitConstraints(nvmlDevice_st device,
IntBuffer minLimit,
IntBuffer maxLimit) |
static int |
nvml.nvmlDeviceGetPowerManagementLimitConstraints(nvmlDevice_st device,
IntPointer minLimit,
IntPointer maxLimit)
Retrieves information about possible values of power management limits on this device.
|
static int |
nvml.nvmlDeviceGetPowerManagementMode(nvmlDevice_st device,
int[] mode) |
static int |
nvml.nvmlDeviceGetPowerManagementMode(nvmlDevice_st device,
IntBuffer mode) |
static int |
nvml.nvmlDeviceGetPowerManagementMode(nvmlDevice_st device,
IntPointer mode)
This API has been deprecated.
|
static int |
nvml.nvmlDeviceGetPowerSource(nvmlDevice_st device,
int[] powerSource) |
static int |
nvml.nvmlDeviceGetPowerSource(nvmlDevice_st device,
IntBuffer powerSource) |
static int |
nvml.nvmlDeviceGetPowerSource(nvmlDevice_st device,
IntPointer powerSource)
Gets the devices power source
|
static int |
nvml.nvmlDeviceGetPowerState(nvmlDevice_st device,
int[] pState) |
static int |
nvml.nvmlDeviceGetPowerState(nvmlDevice_st device,
IntBuffer pState) |
static int |
nvml.nvmlDeviceGetPowerState(nvmlDevice_st device,
IntPointer pState)
Deprecated: Use \ref nvmlDeviceGetPerformanceState.
|
static int |
nvml.nvmlDeviceGetPowerUsage(nvmlDevice_st device,
int[] power) |
static int |
nvml.nvmlDeviceGetPowerUsage(nvmlDevice_st device,
IntBuffer power) |
static int |
nvml.nvmlDeviceGetPowerUsage(nvmlDevice_st device,
IntPointer power)
Retrieves power usage for this GPU in milliwatts and its associated circuitry (e.g.
|
static int |
nvml.nvmlDeviceGetProcessUtilization(nvmlDevice_st device,
nvmlProcessUtilizationSample_t utilization,
int[] processSamplesCount,
long lastSeenTimeStamp) |
static int |
nvml.nvmlDeviceGetProcessUtilization(nvmlDevice_st device,
nvmlProcessUtilizationSample_t utilization,
IntBuffer processSamplesCount,
long lastSeenTimeStamp) |
static int |
nvml.nvmlDeviceGetProcessUtilization(nvmlDevice_st device,
nvmlProcessUtilizationSample_t utilization,
IntPointer processSamplesCount,
long lastSeenTimeStamp)
Retrieves the current utilization and process ID
For Maxwell &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetRemappedRows(nvmlDevice_st device,
int[] corrRows,
int[] uncRows,
int[] isPending,
int[] failureOccurred) |
static int |
nvml.nvmlDeviceGetRemappedRows(nvmlDevice_st device,
IntBuffer corrRows,
IntBuffer uncRows,
IntBuffer isPending,
IntBuffer failureOccurred) |
static int |
nvml.nvmlDeviceGetRemappedRows(nvmlDevice_st device,
IntPointer corrRows,
IntPointer uncRows,
IntPointer isPending,
IntPointer failureOccurred)
Get number of remapped rows.
|
static int |
nvml.nvmlDeviceGetRetiredPages_v2(nvmlDevice_st device,
int cause,
int[] pageCount,
long[] addresses,
long[] timestamps) |
static int |
nvml.nvmlDeviceGetRetiredPages_v2(nvmlDevice_st device,
int cause,
IntBuffer pageCount,
LongBuffer addresses,
LongBuffer timestamps) |
static int |
nvml.nvmlDeviceGetRetiredPages_v2(nvmlDevice_st device,
int cause,
IntPointer pageCount,
LongPointer addresses,
LongPointer timestamps)
Returns the list of retired pages by source, including pages that are pending retirement
The address information provided from this API is the hardware address of the page that was retired.
|
static int |
nvml.nvmlDeviceGetRetiredPages(nvmlDevice_st device,
int cause,
int[] pageCount,
long[] addresses) |
static int |
nvml.nvmlDeviceGetRetiredPages(nvmlDevice_st device,
int cause,
IntBuffer pageCount,
LongBuffer addresses) |
static int |
nvml.nvmlDeviceGetRetiredPages(nvmlDevice_st device,
int cause,
IntPointer pageCount,
LongPointer addresses)
Returns the list of retired pages by source, including pages that are pending retirement
The address information provided from this API is the hardware address of the page that was retired.
|
static int |
nvml.nvmlDeviceGetRetiredPagesPendingStatus(nvmlDevice_st device,
int[] isPending) |
static int |
nvml.nvmlDeviceGetRetiredPagesPendingStatus(nvmlDevice_st device,
IntBuffer isPending) |
static int |
nvml.nvmlDeviceGetRetiredPagesPendingStatus(nvmlDevice_st device,
IntPointer isPending)
Check if any pages are pending retirement and need a reboot to fully retire.
|
static int |
nvml.nvmlDeviceGetRowRemapperHistogram(nvmlDevice_st device,
nvmlRowRemapperHistogramValues_t values)
Get the row remapper histogram.
|
static int |
nvml.nvmlDeviceGetRunningProcessDetailList(nvmlDevice_st device,
nvmlProcessDetailList_v1_t plist)
Get information about running processes on a device for input context
%HOPPER_OR_NEWER%
This function returns information only about running processes (e.g.
|
static int |
nvml.nvmlDeviceGetSamples(nvmlDevice_st device,
int type,
long lastSeenTimeStamp,
int[] sampleValType,
int[] sampleCount,
nvmlSample_t samples) |
static int |
nvml.nvmlDeviceGetSamples(nvmlDevice_st device,
int type,
long lastSeenTimeStamp,
IntBuffer sampleValType,
IntBuffer sampleCount,
nvmlSample_t samples) |
static int |
nvml.nvmlDeviceGetSamples(nvmlDevice_st device,
int type,
long lastSeenTimeStamp,
IntPointer sampleValType,
IntPointer sampleCount,
nvmlSample_t samples)
Gets recent samples for the GPU.
|
static int |
nvml.nvmlDeviceGetSerial(nvmlDevice_st device,
byte[] serial,
int length) |
static int |
nvml.nvmlDeviceGetSerial(nvmlDevice_st device,
ByteBuffer serial,
int length) |
static int |
nvml.nvmlDeviceGetSerial(nvmlDevice_st device,
BytePointer serial,
int length)
Retrieves the globally unique board serial number associated with this device's board.
|
static int |
nvml.nvmlDeviceGetSupportedClocksEventReasons(nvmlDevice_st device,
long[] supportedClocksEventReasons) |
static int |
nvml.nvmlDeviceGetSupportedClocksEventReasons(nvmlDevice_st device,
LongBuffer supportedClocksEventReasons) |
static int |
nvml.nvmlDeviceGetSupportedClocksEventReasons(nvmlDevice_st device,
LongPointer supportedClocksEventReasons)
Retrieves bitmask of supported clocks event reasons that can be returned by
\ref nvmlDeviceGetCurrentClocksEventReasons
For all fully supported products.
|
static int |
nvml.nvmlDeviceGetSupportedClocksThrottleReasons(nvmlDevice_st device,
long[] supportedClocksThrottleReasons) |
static int |
nvml.nvmlDeviceGetSupportedClocksThrottleReasons(nvmlDevice_st device,
LongBuffer supportedClocksThrottleReasons) |
static int |
nvml.nvmlDeviceGetSupportedClocksThrottleReasons(nvmlDevice_st device,
LongPointer supportedClocksThrottleReasons)
Deprecated.
Use \ref nvmlDeviceGetSupportedClocksEventReasons instead
|
static int |
nvml.nvmlDeviceGetSupportedEventTypes(nvmlDevice_st device,
long[] eventTypes) |
static int |
nvml.nvmlDeviceGetSupportedEventTypes(nvmlDevice_st device,
LongBuffer eventTypes) |
static int |
nvml.nvmlDeviceGetSupportedEventTypes(nvmlDevice_st device,
LongPointer eventTypes)
Returns information about events supported on device
For Fermi &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetSupportedGraphicsClocks(nvmlDevice_st device,
int memoryClockMHz,
int[] count,
int[] clocksMHz) |
static int |
nvml.nvmlDeviceGetSupportedGraphicsClocks(nvmlDevice_st device,
int memoryClockMHz,
IntBuffer count,
IntBuffer clocksMHz) |
static int |
nvml.nvmlDeviceGetSupportedGraphicsClocks(nvmlDevice_st device,
int memoryClockMHz,
IntPointer count,
IntPointer clocksMHz)
Retrieves the list of possible graphics clocks that can be used as an argument for \ref nvmlDeviceSetApplicationsClocks.
|
static int |
nvml.nvmlDeviceGetSupportedMemoryClocks(nvmlDevice_st device,
int[] count,
int[] clocksMHz) |
static int |
nvml.nvmlDeviceGetSupportedMemoryClocks(nvmlDevice_st device,
IntBuffer count,
IntBuffer clocksMHz) |
static int |
nvml.nvmlDeviceGetSupportedMemoryClocks(nvmlDevice_st device,
IntPointer count,
IntPointer clocksMHz)
Retrieves the list of possible memory clocks that can be used as an argument for \ref nvmlDeviceSetApplicationsClocks.
|
static int |
nvml.nvmlDeviceGetSupportedPerformanceStates(nvmlDevice_st device,
int[] pstates,
int size) |
static int |
nvml.nvmlDeviceGetSupportedPerformanceStates(nvmlDevice_st device,
IntBuffer pstates,
int size) |
static int |
nvml.nvmlDeviceGetSupportedPerformanceStates(nvmlDevice_st device,
IntPointer pstates,
int size)
Get all supported Performance States (P-States) for the device.
|
static int |
nvml.nvmlDeviceGetSupportedVgpus(nvmlDevice_st device,
int[] vgpuCount,
int[] vgpuTypeIds) |
static int |
nvml.nvmlDeviceGetSupportedVgpus(nvmlDevice_st device,
IntBuffer vgpuCount,
IntBuffer vgpuTypeIds) |
static int |
nvml.nvmlDeviceGetSupportedVgpus(nvmlDevice_st device,
IntPointer vgpuCount,
IntPointer vgpuTypeIds)
Retrieve the supported vGPU types on a physical GPU (device).
|
static int |
nvml.nvmlDeviceGetTargetFanSpeed(nvmlDevice_st device,
int fan,
int[] targetSpeed) |
static int |
nvml.nvmlDeviceGetTargetFanSpeed(nvmlDevice_st device,
int fan,
IntBuffer targetSpeed) |
static int |
nvml.nvmlDeviceGetTargetFanSpeed(nvmlDevice_st device,
int fan,
IntPointer targetSpeed)
Retrieves the intended target speed of the device's specified fan.
|
static int |
nvml.nvmlDeviceGetTemperature(nvmlDevice_st device,
int sensorType,
int[] temp) |
static int |
nvml.nvmlDeviceGetTemperature(nvmlDevice_st device,
int sensorType,
IntBuffer temp) |
static int |
nvml.nvmlDeviceGetTemperature(nvmlDevice_st device,
int sensorType,
IntPointer temp)
Retrieves the current temperature readings for the device, in degrees C.
|
static int |
nvml.nvmlDeviceGetTemperatureThreshold(nvmlDevice_st device,
int thresholdType,
int[] temp) |
static int |
nvml.nvmlDeviceGetTemperatureThreshold(nvmlDevice_st device,
int thresholdType,
IntBuffer temp) |
static int |
nvml.nvmlDeviceGetTemperatureThreshold(nvmlDevice_st device,
int thresholdType,
IntPointer temp)
Retrieves the temperature threshold for the GPU with the specified threshold type in degrees C.
|
static int |
nvml.nvmlDeviceGetThermalSettings(nvmlDevice_st device,
int sensorIndex,
nvmlGpuThermalSettings_t pThermalSettings)
Used to execute a list of thermal system instructions.
|
static int |
nvml.nvmlDeviceGetTopologyCommonAncestor(nvmlDevice_st device1,
nvmlDevice_st device2,
int[] pathInfo) |
static int |
nvml.nvmlDeviceGetTopologyCommonAncestor(nvmlDevice_st device1,
nvmlDevice_st device2,
IntBuffer pathInfo) |
static int |
nvml.nvmlDeviceGetTopologyCommonAncestor(nvmlDevice_st device1,
nvmlDevice_st device2,
IntPointer pathInfo)
\}
|
static int |
nvml.nvmlDeviceGetTopologyNearestGpus(nvmlDevice_st device,
int level,
int[] count,
nvmlDevice_st deviceArray) |
static int |
nvml.nvmlDeviceGetTopologyNearestGpus(nvmlDevice_st device,
int level,
int[] count,
PointerPointer deviceArray) |
static int |
nvml.nvmlDeviceGetTopologyNearestGpus(nvmlDevice_st device,
int level,
IntBuffer count,
nvmlDevice_st deviceArray) |
static int |
nvml.nvmlDeviceGetTopologyNearestGpus(nvmlDevice_st device,
int level,
IntBuffer count,
PointerPointer deviceArray) |
static int |
nvml.nvmlDeviceGetTopologyNearestGpus(nvmlDevice_st device,
int level,
IntPointer count,
nvmlDevice_st deviceArray)
Retrieve the set of GPUs that are nearest to a given device at a specific interconnectivity level
For all products.
|
static int |
nvml.nvmlDeviceGetTopologyNearestGpus(nvmlDevice_st device,
int level,
IntPointer count,
PointerPointer deviceArray) |
static int |
nvml.nvmlDeviceGetTotalEccErrors(nvmlDevice_st device,
int errorType,
int counterType,
long[] eccCounts) |
static int |
nvml.nvmlDeviceGetTotalEccErrors(nvmlDevice_st device,
int errorType,
int counterType,
LongBuffer eccCounts) |
static int |
nvml.nvmlDeviceGetTotalEccErrors(nvmlDevice_st device,
int errorType,
int counterType,
LongPointer eccCounts)
Retrieves the total ECC error counts for the device.
|
static int |
nvml.nvmlDeviceGetTotalEnergyConsumption(nvmlDevice_st device,
long[] energy) |
static int |
nvml.nvmlDeviceGetTotalEnergyConsumption(nvmlDevice_st device,
LongBuffer energy) |
static int |
nvml.nvmlDeviceGetTotalEnergyConsumption(nvmlDevice_st device,
LongPointer energy)
Retrieves total energy consumption for this GPU in millijoules (mJ) since the driver was last reloaded
For Volta &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetUtilizationRates(nvmlDevice_st device,
nvmlUtilization_t utilization)
Retrieves the current utilization rates for the device's major subsystems.
|
static int |
nvml.nvmlDeviceGetUUID(nvmlDevice_st device,
byte[] uuid,
int length) |
static int |
nvml.nvmlDeviceGetUUID(nvmlDevice_st device,
ByteBuffer uuid,
int length) |
static int |
nvml.nvmlDeviceGetUUID(nvmlDevice_st device,
BytePointer uuid,
int length)
Retrieves the globally unique immutable UUID associated with this device, as a 5 part hexadecimal string,
that augments the immutable, board serial identifier.
|
static int |
nvml.nvmlDeviceGetVbiosVersion(nvmlDevice_st device,
byte[] version,
int length) |
static int |
nvml.nvmlDeviceGetVbiosVersion(nvmlDevice_st device,
ByteBuffer version,
int length) |
static int |
nvml.nvmlDeviceGetVbiosVersion(nvmlDevice_st device,
BytePointer version,
int length)
Get VBIOS version of the device.
|
static int |
nvml.nvmlDeviceGetVgpuCapabilities(nvmlDevice_st device,
int capability,
int[] capResult) |
static int |
nvml.nvmlDeviceGetVgpuCapabilities(nvmlDevice_st device,
int capability,
IntBuffer capResult) |
static int |
nvml.nvmlDeviceGetVgpuCapabilities(nvmlDevice_st device,
int capability,
IntPointer capResult)
Retrieve the requested vGPU capability for GPU.
|
static int |
nvml.nvmlDeviceGetVgpuMetadata(nvmlDevice_st device,
nvmlVgpuPgpuMetadata_t pgpuMetadata,
int[] bufferSize) |
static int |
nvml.nvmlDeviceGetVgpuMetadata(nvmlDevice_st device,
nvmlVgpuPgpuMetadata_t pgpuMetadata,
IntBuffer bufferSize) |
static int |
nvml.nvmlDeviceGetVgpuMetadata(nvmlDevice_st device,
nvmlVgpuPgpuMetadata_t pgpuMetadata,
IntPointer bufferSize)
Returns a vGPU metadata structure for the physical GPU indicated by \a device.
|
static int |
nvml.nvmlDeviceGetVgpuProcessUtilization(nvmlDevice_st device,
long lastSeenTimeStamp,
int[] vgpuProcessSamplesCount,
nvmlVgpuProcessUtilizationSample_t utilizationSamples) |
static int |
nvml.nvmlDeviceGetVgpuProcessUtilization(nvmlDevice_st device,
long lastSeenTimeStamp,
IntBuffer vgpuProcessSamplesCount,
nvmlVgpuProcessUtilizationSample_t utilizationSamples) |
static int |
nvml.nvmlDeviceGetVgpuProcessUtilization(nvmlDevice_st device,
long lastSeenTimeStamp,
IntPointer vgpuProcessSamplesCount,
nvmlVgpuProcessUtilizationSample_t utilizationSamples)
Retrieves current utilization for processes running on vGPUs on a physical GPU (device).
|
static int |
nvml.nvmlDeviceGetVgpuSchedulerCapabilities(nvmlDevice_st device,
nvmlVgpuSchedulerCapabilities_t pCapabilities)
Returns the vGPU scheduler capabilities.
|
static int |
nvml.nvmlDeviceGetVgpuSchedulerLog(nvmlDevice_st device,
nvmlVgpuSchedulerLog_t pSchedulerLog)
Returns the vGPU Software scheduler logs.
|
static int |
nvml.nvmlDeviceGetVgpuSchedulerState(nvmlDevice_st device,
nvmlVgpuSchedulerGetState_t pSchedulerState)
Returns the vGPU scheduler state.
|
static int |
nvml.nvmlDeviceGetVgpuUtilization(nvmlDevice_st device,
long lastSeenTimeStamp,
int[] sampleValType,
int[] vgpuInstanceSamplesCount,
nvmlVgpuInstanceUtilizationSample_t utilizationSamples) |
static int |
nvml.nvmlDeviceGetVgpuUtilization(nvmlDevice_st device,
long lastSeenTimeStamp,
IntBuffer sampleValType,
IntBuffer vgpuInstanceSamplesCount,
nvmlVgpuInstanceUtilizationSample_t utilizationSamples) |
static int |
nvml.nvmlDeviceGetVgpuUtilization(nvmlDevice_st device,
long lastSeenTimeStamp,
IntPointer sampleValType,
IntPointer vgpuInstanceSamplesCount,
nvmlVgpuInstanceUtilizationSample_t utilizationSamples)
Retrieves current utilization for vGPUs on a physical GPU (device).
|
static int |
nvml.nvmlDeviceGetViolationStatus(nvmlDevice_st device,
int perfPolicyType,
nvmlViolationTime_t violTime)
Gets the duration of time during which the device was throttled (lower than requested clocks) due to power
or thermal constraints.
|
static int |
nvml.nvmlDeviceGetVirtualizationMode(nvmlDevice_st device,
int[] pVirtualMode) |
static int |
nvml.nvmlDeviceGetVirtualizationMode(nvmlDevice_st device,
IntBuffer pVirtualMode) |
static int |
nvml.nvmlDeviceGetVirtualizationMode(nvmlDevice_st device,
IntPointer pVirtualMode)
This method is used to get the virtualization mode corresponding to the GPU.
|
static int |
nvml.nvmlDeviceIsMigDeviceHandle(nvmlDevice_st device,
int[] isMigDevice) |
static int |
nvml.nvmlDeviceIsMigDeviceHandle(nvmlDevice_st device,
IntBuffer isMigDevice) |
static int |
nvml.nvmlDeviceIsMigDeviceHandle(nvmlDevice_st device,
IntPointer isMigDevice)
Test if the given handle refers to a MIG device.
|
static int |
nvml.nvmlDeviceOnSameBoard(nvmlDevice_st device1,
nvmlDevice_st device2,
int[] onSameBoard) |
static int |
nvml.nvmlDeviceOnSameBoard(nvmlDevice_st device1,
nvmlDevice_st device2,
IntBuffer onSameBoard) |
static int |
nvml.nvmlDeviceOnSameBoard(nvmlDevice_st device1,
nvmlDevice_st device2,
IntPointer onSameBoard)
Check if the GPU devices are on the same physical board.
|
static int |
nvml.nvmlDeviceRegisterEvents(nvmlDevice_st device,
long eventTypes,
nvmlEventSet_st set)
Starts recording of events on a specified devices and add the events to specified \ref nvmlEventSet_t
For Fermi &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceResetApplicationsClocks(nvmlDevice_st device)
Resets the application clock to the default value
This is the applications clock that will be used after system reboot or driver reload.
|
static int |
nvml.nvmlDeviceResetGpuLockedClocks(nvmlDevice_st device)
Resets the gpu clock to the default value
This is the gpu clock that will be used after system reboot or driver reload.
|
static int |
nvml.nvmlDeviceResetMemoryLockedClocks(nvmlDevice_st device)
Resets the memory clock to the default value
This is the memory clock that will be used after system reboot or driver reload.
|
static int |
nvml.nvmlDeviceResetNvLinkErrorCounters(nvmlDevice_st device,
int link)
Resets all error counters to zero
Please refer to \a nvmlNvLinkErrorCounter_t for the list of error counters that are reset
For Pascal &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceResetNvLinkUtilizationCounter(nvmlDevice_st device,
int link,
int counter)
Deprecated: Resetting NVLINK utilization counters is no longer supported.
|
static int |
nvml.nvmlDeviceSetAccountingMode(nvmlDevice_st device,
int mode)
Enables or disables per process accounting.
|
static int |
nvml.nvmlDeviceSetAPIRestriction(nvmlDevice_st device,
int apiType,
int isRestricted)
Changes the root/admin restructions on certain APIs.
|
static int |
nvml.nvmlDeviceSetApplicationsClocks(nvmlDevice_st device,
int memClockMHz,
int graphicsClockMHz)
Set clocks that applications will lock to.
|
static int |
nvml.nvmlDeviceSetAutoBoostedClocksEnabled(nvmlDevice_st device,
int enabled)
Try to set the current state of Auto Boosted clocks on a device.
|
static int |
nvml.nvmlDeviceSetComputeMode(nvmlDevice_st device,
int mode)
Set the compute mode for the device.
|
static int |
nvml.nvmlDeviceSetConfComputeUnprotectedMemSize(nvmlDevice_st device,
long sizeKiB)
Set Conf Computing Unprotected Memory Size.
|
static int |
nvml.nvmlDeviceSetCpuAffinity(nvmlDevice_st device)
Sets the ideal affinity for the calling thread and device using the guidelines
given in nvmlDeviceGetCpuAffinity().
|
static int |
nvml.nvmlDeviceSetDefaultAutoBoostedClocksEnabled(nvmlDevice_st device,
int enabled,
int flags)
Try to set the default state of Auto Boosted clocks on a device.
|
static int |
nvml.nvmlDeviceSetDefaultFanSpeed_v2(nvmlDevice_st device,
int fan)
Sets the speed of the fan control policy to default.
|
static int |
nvml.nvmlDeviceSetDriverModel(nvmlDevice_st device,
int driverModel,
int flags)
Set the driver model for the device.
|
static int |
nvml.nvmlDeviceSetEccMode(nvmlDevice_st device,
int ecc)
Set the ECC mode for the device.
|
static int |
nvml.nvmlDeviceSetFanControlPolicy(nvmlDevice_st device,
int fan,
int policy)
Sets current fan control policy.
|
static int |
nvml.nvmlDeviceSetFanSpeed_v2(nvmlDevice_st device,
int fan,
int speed)
Sets the speed of a specified fan.
|
static int |
nvml.nvmlDeviceSetGpcClkVfOffset(nvmlDevice_st device,
int offset)
Set the GPCCLK VF offset value
|
static int |
nvml.nvmlDeviceSetGpuLockedClocks(nvmlDevice_st device,
int minGpuClockMHz,
int maxGpuClockMHz)
Set clocks that device will lock to.
|
static int |
nvml.nvmlDeviceSetGpuOperationMode(nvmlDevice_st device,
int mode)
Sets new GOM.
|
static int |
nvml.nvmlDeviceSetMemClkVfOffset(nvmlDevice_st device,
int offset)
Set the MemClk (Memory Clock) VF offset value.
|
static int |
nvml.nvmlDeviceSetMemoryLockedClocks(nvmlDevice_st device,
int minMemClockMHz,
int maxMemClockMHz)
Set memory clocks that device will lock to.
|
static int |
nvml.nvmlDeviceSetMigMode(nvmlDevice_st device,
int mode,
int[] activationStatus) |
static int |
nvml.nvmlDeviceSetMigMode(nvmlDevice_st device,
int mode,
IntBuffer activationStatus) |
static int |
nvml.nvmlDeviceSetMigMode(nvmlDevice_st device,
int mode,
IntPointer activationStatus)
Set MIG mode for the device.
|
static int |
nvml.nvmlDeviceSetNvLinkDeviceLowPowerThreshold(nvmlDevice_st device,
nvmlNvLinkPowerThres_t info)
Set NvLink Low Power Threshold for device.
|
static int |
nvml.nvmlDeviceSetNvLinkUtilizationControl(nvmlDevice_st device,
int link,
int counter,
nvmlNvLinkUtilizationControl_t control,
int reset)
Deprecated: Setting utilization counter control is no longer supported.
|
static int |
nvml.nvmlDeviceSetPersistenceMode(nvmlDevice_st device,
int mode)
Set the persistence mode for the device.
|
static int |
nvml.nvmlDeviceSetPowerManagementLimit_v2(nvmlDevice_st device,
nvmlPowerValue_v2_t powerValue)
Set new power limit of this device.
|
static int |
nvml.nvmlDeviceSetPowerManagementLimit(nvmlDevice_st device,
int _limit)
Set new power limit of this device.
|
static int |
nvml.nvmlDeviceSetTemperatureThreshold(nvmlDevice_st device,
int thresholdType,
int[] temp) |
static int |
nvml.nvmlDeviceSetTemperatureThreshold(nvmlDevice_st device,
int thresholdType,
IntBuffer temp) |
static int |
nvml.nvmlDeviceSetTemperatureThreshold(nvmlDevice_st device,
int thresholdType,
IntPointer temp)
Sets the temperature threshold for the GPU with the specified threshold type in degrees C.
|
static int |
nvml.nvmlDeviceSetVgpuSchedulerState(nvmlDevice_st device,
nvmlVgpuSchedulerSetState_t pSchedulerState)
Sets the vGPU scheduler state.
|
static int |
nvml.nvmlDeviceSetVirtualizationMode(nvmlDevice_st device,
int virtualMode)
This method is used to set the virtualization mode corresponding to the GPU.
|
static int |
nvml.nvmlDeviceValidateInforom(nvmlDevice_st device)
Reads the infoROM from the flash and verifies the checksums.
|
static int |
nvml.nvmlGpmMigSampleGet(nvmlDevice_st device,
int gpuInstanceId,
nvmlGpmSample_st gpmSample)
Read a sample of GPM metrics into the provided \a gpmSample buffer for a MIG GPU Instance.
|
static int |
nvml.nvmlGpmQueryDeviceSupport(nvmlDevice_st device,
nvmlGpmSupport_t gpmSupport)
Indicate whether the supplied device supports GPM
|
static int |
nvml.nvmlGpmQueryIfStreamingEnabled(nvmlDevice_st device,
int[] state) |
static int |
nvml.nvmlGpmQueryIfStreamingEnabled(nvmlDevice_st device,
IntBuffer state) |
static int |
nvml.nvmlGpmQueryIfStreamingEnabled(nvmlDevice_st device,
IntPointer state)
Get GPM stream state.
|
static int |
nvml.nvmlGpmSampleGet(nvmlDevice_st device,
nvmlGpmSample_st gpmSample)
Read a sample of GPM metrics into the provided \a gpmSample buffer.
|
static int |
nvml.nvmlGpmSetStreamingEnabled(nvmlDevice_st device,
int state)
Set GPM stream state.
|
static int |
nvml.nvmlSystemGetTopologyGpuSet(int cpuNumber,
int[] count,
nvmlDevice_st deviceArray) |
static int |
nvml.nvmlSystemGetTopologyGpuSet(int cpuNumber,
IntBuffer count,
nvmlDevice_st deviceArray) |
static int |
nvml.nvmlSystemGetTopologyGpuSet(int cpuNumber,
IntPointer count,
nvmlDevice_st deviceArray)
Retrieve the set of GPUs that have a CPU affinity with the given CPU number
For all products.
|
static int |
nvml.nvmlUnitGetDevices(nvmlUnit_st unit,
int[] deviceCount,
nvmlDevice_st devices) |
static int |
nvml.nvmlUnitGetDevices(nvmlUnit_st unit,
IntBuffer deviceCount,
nvmlDevice_st devices) |
static int |
nvml.nvmlUnitGetDevices(nvmlUnit_st unit,
IntPointer deviceCount,
nvmlDevice_st devices)
Retrieves the set of GPU devices that are attached to the specified unit.
|
static int |
nvml.nvmlVgpuTypeGetMaxInstances(nvmlDevice_st device,
int vgpuTypeId,
int[] vgpuInstanceCount) |
static int |
nvml.nvmlVgpuTypeGetMaxInstances(nvmlDevice_st device,
int vgpuTypeId,
IntBuffer vgpuInstanceCount) |
static int |
nvml.nvmlVgpuTypeGetMaxInstances(nvmlDevice_st device,
int vgpuTypeId,
IntPointer vgpuInstanceCount)
Retrieve the maximum number of vGPU instances creatable on a device for given vGPU type
For Kepler &tm; or newer fully supported devices.
|
Modifier and Type | Method and Description |
---|---|
nvmlDevice_st |
nvmlGpuInstanceInfo_t.device()
Parent device
|
nvmlDevice_st |
nvmlEventData_t.device()
Specific device where the event occurred
|
nvmlDevice_st |
nvmlComputeInstanceInfo_t.device()
Parent device
|
Modifier and Type | Method and Description |
---|---|
nvmlGpuInstanceInfo_t |
nvmlGpuInstanceInfo_t.device(nvmlDevice_st setter) |
nvmlEventData_t |
nvmlEventData_t.device(nvmlDevice_st setter) |
nvmlComputeInstanceInfo_t |
nvmlComputeInstanceInfo_t.device(nvmlDevice_st setter) |
Copyright © 2024. All rights reserved.