Coverage for cuda/bindings/_internal/nvml.pyx: 47.93%
4594 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-07-19 01:12 +0000
« prev ^ index » next coverage.py v7.15.2, created at 2026-07-19 01:12 +0000
1# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2#
3# SPDX-License-Identifier: Apache-2.0
4#
5# This code was automatically generated across versions from 12.9.1 to 13.3.0. Do not modify it directly.
6# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=27eba7e4fbbc2bca4f40e906d63b9386cce38cbabfcc50e6a2d7ad5bc0b68e91
9# <<<< PREAMBLE CONTENT >>>>
11cdef extern from "<dlfcn.h>":
12 void* _cyb_dlsym "dlsym"(void*, const char*) nogil
13 const void * _cyb_RTLD_DEFAULT "RTLD_DEFAULT"
15from libc.stdint cimport intptr_t as _cyb_intptr_t
17import threading as _cyb_threading
19cdef bint _cyb___py_nvml_init = False
20cdef dict _cyb_func_ptrs = None
21cdef object _cyb_symbol_lock = _cyb_threading.Lock()
23# <<<< END OF PREAMBLE CONTENT >>>>
25from libc.stdint cimport uintptr_t
27from .utils import FunctionNotFoundError, NotSupportedError
28from cuda.pathfinder import load_nvidia_dynamic_lib
31###############################################################################
32# Wrapper init
33###############################################################################
35cdef void* __nvmlInit_v2 = NULL
36cdef void* __nvmlInitWithFlags = NULL
37cdef void* __nvmlShutdown = NULL
38cdef void* __nvmlErrorString = NULL
39cdef void* __nvmlSystemGetDriverVersion = NULL
40cdef void* __nvmlSystemGetNVMLVersion = NULL
41cdef void* __nvmlSystemGetCudaDriverVersion = NULL
42cdef void* __nvmlSystemGetCudaDriverVersion_v2 = NULL
43cdef void* __nvmlSystemGetProcessName = NULL
44cdef void* __nvmlSystemGetHicVersion = NULL
45cdef void* __nvmlSystemGetTopologyGpuSet = NULL
46cdef void* __nvmlSystemGetDriverBranch = NULL
47cdef void* __nvmlUnitGetCount = NULL
48cdef void* __nvmlUnitGetHandleByIndex = NULL
49cdef void* __nvmlUnitGetUnitInfo = NULL
50cdef void* __nvmlUnitGetLedState = NULL
51cdef void* __nvmlUnitGetPsuInfo = NULL
52cdef void* __nvmlUnitGetTemperature = NULL
53cdef void* __nvmlUnitGetFanSpeedInfo = NULL
54cdef void* __nvmlUnitGetDevices = NULL
55cdef void* __nvmlDeviceGetCount_v2 = NULL
56cdef void* __nvmlDeviceGetAttributes_v2 = NULL
57cdef void* __nvmlDeviceGetHandleByIndex_v2 = NULL
58cdef void* __nvmlDeviceGetHandleBySerial = NULL
59cdef void* __nvmlDeviceGetHandleByUUID = NULL
60cdef void* __nvmlDeviceGetHandleByUUIDV = NULL
61cdef void* __nvmlDeviceGetHandleByPciBusId_v2 = NULL
62cdef void* __nvmlDeviceGetName = NULL
63cdef void* __nvmlDeviceGetBrand = NULL
64cdef void* __nvmlDeviceGetIndex = NULL
65cdef void* __nvmlDeviceGetSerial = NULL
66cdef void* __nvmlDeviceGetModuleId = NULL
67cdef void* __nvmlDeviceGetC2cModeInfoV = NULL
68cdef void* __nvmlDeviceGetMemoryAffinity = NULL
69cdef void* __nvmlDeviceGetCpuAffinityWithinScope = NULL
70cdef void* __nvmlDeviceGetCpuAffinity = NULL
71cdef void* __nvmlDeviceSetCpuAffinity = NULL
72cdef void* __nvmlDeviceClearCpuAffinity = NULL
73cdef void* __nvmlDeviceGetNumaNodeId = NULL
74cdef void* __nvmlDeviceGetTopologyCommonAncestor = NULL
75cdef void* __nvmlDeviceGetTopologyNearestGpus = NULL
76cdef void* __nvmlDeviceGetP2PStatus = NULL
77cdef void* __nvmlDeviceGetUUID = NULL
78cdef void* __nvmlDeviceGetMinorNumber = NULL
79cdef void* __nvmlDeviceGetBoardPartNumber = NULL
80cdef void* __nvmlDeviceGetInforomVersion = NULL
81cdef void* __nvmlDeviceGetInforomImageVersion = NULL
82cdef void* __nvmlDeviceGetInforomConfigurationChecksum = NULL
83cdef void* __nvmlDeviceValidateInforom = NULL
84cdef void* __nvmlDeviceGetLastBBXFlushTime = NULL
85cdef void* __nvmlDeviceGetDisplayMode = NULL
86cdef void* __nvmlDeviceGetDisplayActive = NULL
87cdef void* __nvmlDeviceGetPersistenceMode = NULL
88cdef void* __nvmlDeviceGetPciInfoExt = NULL
89cdef void* __nvmlDeviceGetPciInfo_v3 = NULL
90cdef void* __nvmlDeviceGetMaxPcieLinkGeneration = NULL
91cdef void* __nvmlDeviceGetGpuMaxPcieLinkGeneration = NULL
92cdef void* __nvmlDeviceGetMaxPcieLinkWidth = NULL
93cdef void* __nvmlDeviceGetCurrPcieLinkGeneration = NULL
94cdef void* __nvmlDeviceGetCurrPcieLinkWidth = NULL
95cdef void* __nvmlDeviceGetPcieThroughput = NULL
96cdef void* __nvmlDeviceGetPcieReplayCounter = NULL
97cdef void* __nvmlDeviceGetClockInfo = NULL
98cdef void* __nvmlDeviceGetMaxClockInfo = NULL
99cdef void* __nvmlDeviceGetGpcClkVfOffset = NULL
100cdef void* __nvmlDeviceGetClock = NULL
101cdef void* __nvmlDeviceGetMaxCustomerBoostClock = NULL
102cdef void* __nvmlDeviceGetSupportedMemoryClocks = NULL
103cdef void* __nvmlDeviceGetSupportedGraphicsClocks = NULL
104cdef void* __nvmlDeviceGetAutoBoostedClocksEnabled = NULL
105cdef void* __nvmlDeviceGetFanSpeed = NULL
106cdef void* __nvmlDeviceGetFanSpeed_v2 = NULL
107cdef void* __nvmlDeviceGetFanSpeedRPM = NULL
108cdef void* __nvmlDeviceGetTargetFanSpeed = NULL
109cdef void* __nvmlDeviceGetMinMaxFanSpeed = NULL
110cdef void* __nvmlDeviceGetFanControlPolicy_v2 = NULL
111cdef void* __nvmlDeviceGetNumFans = NULL
112cdef void* __nvmlDeviceGetCoolerInfo = NULL
113cdef void* __nvmlDeviceGetTemperatureV = NULL
114cdef void* __nvmlDeviceGetTemperatureThreshold = NULL
115cdef void* __nvmlDeviceGetMarginTemperature = NULL
116cdef void* __nvmlDeviceGetThermalSettings = NULL
117cdef void* __nvmlDeviceGetPerformanceState = NULL
118cdef void* __nvmlDeviceGetCurrentClocksEventReasons = NULL
119cdef void* __nvmlDeviceGetSupportedClocksEventReasons = NULL
120cdef void* __nvmlDeviceGetPowerState = NULL
121cdef void* __nvmlDeviceGetDynamicPstatesInfo = NULL
122cdef void* __nvmlDeviceGetMemClkVfOffset = NULL
123cdef void* __nvmlDeviceGetMinMaxClockOfPState = NULL
124cdef void* __nvmlDeviceGetSupportedPerformanceStates = NULL
125cdef void* __nvmlDeviceGetGpcClkMinMaxVfOffset = NULL
126cdef void* __nvmlDeviceGetMemClkMinMaxVfOffset = NULL
127cdef void* __nvmlDeviceGetClockOffsets = NULL
128cdef void* __nvmlDeviceSetClockOffsets = NULL
129cdef void* __nvmlDeviceGetPerformanceModes = NULL
130cdef void* __nvmlDeviceGetCurrentClockFreqs = NULL
131cdef void* __nvmlDeviceGetPowerManagementLimit = NULL
132cdef void* __nvmlDeviceGetPowerManagementLimitConstraints = NULL
133cdef void* __nvmlDeviceGetPowerManagementDefaultLimit = NULL
134cdef void* __nvmlDeviceGetPowerUsage = NULL
135cdef void* __nvmlDeviceGetTotalEnergyConsumption = NULL
136cdef void* __nvmlDeviceGetEnforcedPowerLimit = NULL
137cdef void* __nvmlDeviceGetGpuOperationMode = NULL
138cdef void* __nvmlDeviceGetMemoryInfo_v2 = NULL
139cdef void* __nvmlDeviceGetComputeMode = NULL
140cdef void* __nvmlDeviceGetCudaComputeCapability = NULL
141cdef void* __nvmlDeviceGetDramEncryptionMode = NULL
142cdef void* __nvmlDeviceSetDramEncryptionMode = NULL
143cdef void* __nvmlDeviceGetEccMode = NULL
144cdef void* __nvmlDeviceGetDefaultEccMode = NULL
145cdef void* __nvmlDeviceGetBoardId = NULL
146cdef void* __nvmlDeviceGetMultiGpuBoard = NULL
147cdef void* __nvmlDeviceGetTotalEccErrors = NULL
148cdef void* __nvmlDeviceGetMemoryErrorCounter = NULL
149cdef void* __nvmlDeviceGetUtilizationRates = NULL
150cdef void* __nvmlDeviceGetEncoderUtilization = NULL
151cdef void* __nvmlDeviceGetEncoderCapacity = NULL
152cdef void* __nvmlDeviceGetEncoderStats = NULL
153cdef void* __nvmlDeviceGetEncoderSessions = NULL
154cdef void* __nvmlDeviceGetDecoderUtilization = NULL
155cdef void* __nvmlDeviceGetJpgUtilization = NULL
156cdef void* __nvmlDeviceGetOfaUtilization = NULL
157cdef void* __nvmlDeviceGetFBCStats = NULL
158cdef void* __nvmlDeviceGetFBCSessions = NULL
159cdef void* __nvmlDeviceGetDriverModel_v2 = NULL
160cdef void* __nvmlDeviceGetVbiosVersion = NULL
161cdef void* __nvmlDeviceGetBridgeChipInfo = NULL
162cdef void* __nvmlDeviceGetComputeRunningProcesses_v3 = NULL
163cdef void* __nvmlDeviceGetGraphicsRunningProcesses_v3 = NULL
164cdef void* __nvmlDeviceGetMPSComputeRunningProcesses_v3 = NULL
165cdef void* __nvmlDeviceGetRunningProcessDetailList = NULL
166cdef void* __nvmlDeviceOnSameBoard = NULL
167cdef void* __nvmlDeviceGetAPIRestriction = NULL
168cdef void* __nvmlDeviceGetSamples = NULL
169cdef void* __nvmlDeviceGetBAR1MemoryInfo = NULL
170cdef void* __nvmlDeviceGetIrqNum = NULL
171cdef void* __nvmlDeviceGetNumGpuCores = NULL
172cdef void* __nvmlDeviceGetPowerSource = NULL
173cdef void* __nvmlDeviceGetMemoryBusWidth = NULL
174cdef void* __nvmlDeviceGetPcieLinkMaxSpeed = NULL
175cdef void* __nvmlDeviceGetPcieSpeed = NULL
176cdef void* __nvmlDeviceGetAdaptiveClockInfoStatus = NULL
177cdef void* __nvmlDeviceGetBusType = NULL
178cdef void* __nvmlDeviceGetGpuFabricInfoV = NULL
179cdef void* __nvmlSystemGetConfComputeCapabilities = NULL
180cdef void* __nvmlSystemGetConfComputeState = NULL
181cdef void* __nvmlDeviceGetConfComputeMemSizeInfo = NULL
182cdef void* __nvmlSystemGetConfComputeGpusReadyState = NULL
183cdef void* __nvmlDeviceGetConfComputeProtectedMemoryUsage = NULL
184cdef void* __nvmlDeviceGetConfComputeGpuCertificate = NULL
185cdef void* __nvmlDeviceGetConfComputeGpuAttestationReport = NULL
186cdef void* __nvmlSystemGetConfComputeKeyRotationThresholdInfo = NULL
187cdef void* __nvmlDeviceSetConfComputeUnprotectedMemSize = NULL
188cdef void* __nvmlSystemSetConfComputeGpusReadyState = NULL
189cdef void* __nvmlSystemSetConfComputeKeyRotationThresholdInfo = NULL
190cdef void* __nvmlSystemGetConfComputeSettings = NULL
191cdef void* __nvmlDeviceGetGspFirmwareVersion = NULL
192cdef void* __nvmlDeviceGetGspFirmwareMode = NULL
193cdef void* __nvmlDeviceGetSramEccErrorStatus = NULL
194cdef void* __nvmlDeviceGetAccountingMode = NULL
195cdef void* __nvmlDeviceGetAccountingStats = NULL
196cdef void* __nvmlDeviceGetAccountingPids = NULL
197cdef void* __nvmlDeviceGetAccountingBufferSize = NULL
198cdef void* __nvmlDeviceGetRetiredPages = NULL
199cdef void* __nvmlDeviceGetRetiredPages_v2 = NULL
200cdef void* __nvmlDeviceGetRetiredPagesPendingStatus = NULL
201cdef void* __nvmlDeviceGetRemappedRows = NULL
202cdef void* __nvmlDeviceGetRowRemapperHistogram = NULL
203cdef void* __nvmlDeviceGetArchitecture = NULL
204cdef void* __nvmlDeviceGetClkMonStatus = NULL
205cdef void* __nvmlDeviceGetProcessUtilization = NULL
206cdef void* __nvmlDeviceGetProcessesUtilizationInfo = NULL
207cdef void* __nvmlDeviceGetPlatformInfo = NULL
208cdef void* __nvmlUnitSetLedState = NULL
209cdef void* __nvmlDeviceSetPersistenceMode = NULL
210cdef void* __nvmlDeviceSetComputeMode = NULL
211cdef void* __nvmlDeviceSetEccMode = NULL
212cdef void* __nvmlDeviceClearEccErrorCounts = NULL
213cdef void* __nvmlDeviceSetDriverModel = NULL
214cdef void* __nvmlDeviceSetGpuLockedClocks = NULL
215cdef void* __nvmlDeviceResetGpuLockedClocks = NULL
216cdef void* __nvmlDeviceSetMemoryLockedClocks = NULL
217cdef void* __nvmlDeviceResetMemoryLockedClocks = NULL
218cdef void* __nvmlDeviceSetAutoBoostedClocksEnabled = NULL
219cdef void* __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = NULL
220cdef void* __nvmlDeviceSetDefaultFanSpeed_v2 = NULL
221cdef void* __nvmlDeviceSetFanControlPolicy = NULL
222cdef void* __nvmlDeviceSetTemperatureThreshold = NULL
223cdef void* __nvmlDeviceSetGpuOperationMode = NULL
224cdef void* __nvmlDeviceSetAPIRestriction = NULL
225cdef void* __nvmlDeviceSetFanSpeed_v2 = NULL
226cdef void* __nvmlDeviceSetAccountingMode = NULL
227cdef void* __nvmlDeviceClearAccountingPids = NULL
228cdef void* __nvmlDeviceSetPowerManagementLimit_v2 = NULL
229cdef void* __nvmlDeviceGetNvLinkState = NULL
230cdef void* __nvmlDeviceGetNvLinkVersion = NULL
231cdef void* __nvmlDeviceGetNvLinkCapability = NULL
232cdef void* __nvmlDeviceGetNvLinkRemotePciInfo_v2 = NULL
233cdef void* __nvmlDeviceGetNvLinkErrorCounter = NULL
234cdef void* __nvmlDeviceResetNvLinkErrorCounters = NULL
235cdef void* __nvmlDeviceGetNvLinkRemoteDeviceType = NULL
236cdef void* __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = NULL
237cdef void* __nvmlSystemSetNvlinkBwMode = NULL
238cdef void* __nvmlSystemGetNvlinkBwMode = NULL
239cdef void* __nvmlDeviceGetNvlinkSupportedBwModes = NULL
240cdef void* __nvmlDeviceGetNvlinkBwMode = NULL
241cdef void* __nvmlDeviceSetNvlinkBwMode = NULL
242cdef void* __nvmlEventSetCreate = NULL
243cdef void* __nvmlDeviceRegisterEvents = NULL
244cdef void* __nvmlDeviceGetSupportedEventTypes = NULL
245cdef void* __nvmlEventSetWait_v2 = NULL
246cdef void* __nvmlEventSetFree = NULL
247cdef void* __nvmlSystemEventSetCreate = NULL
248cdef void* __nvmlSystemEventSetFree = NULL
249cdef void* __nvmlSystemRegisterEvents = NULL
250cdef void* __nvmlSystemEventSetWait = NULL
251cdef void* __nvmlDeviceModifyDrainState = NULL
252cdef void* __nvmlDeviceQueryDrainState = NULL
253cdef void* __nvmlDeviceRemoveGpu_v2 = NULL
254cdef void* __nvmlDeviceDiscoverGpus = NULL
255cdef void* __nvmlDeviceGetFieldValues = NULL
256cdef void* __nvmlDeviceClearFieldValues = NULL
257cdef void* __nvmlDeviceGetVirtualizationMode = NULL
258cdef void* __nvmlDeviceGetHostVgpuMode = NULL
259cdef void* __nvmlDeviceSetVirtualizationMode = NULL
260cdef void* __nvmlDeviceGetVgpuHeterogeneousMode = NULL
261cdef void* __nvmlDeviceSetVgpuHeterogeneousMode = NULL
262cdef void* __nvmlVgpuInstanceGetPlacementId = NULL
263cdef void* __nvmlDeviceGetVgpuTypeSupportedPlacements = NULL
264cdef void* __nvmlDeviceGetVgpuTypeCreatablePlacements = NULL
265cdef void* __nvmlVgpuTypeGetGspHeapSize = NULL
266cdef void* __nvmlVgpuTypeGetFbReservation = NULL
267cdef void* __nvmlVgpuInstanceGetRuntimeStateSize = NULL
268cdef void* __nvmlDeviceSetVgpuCapabilities = NULL
269cdef void* __nvmlDeviceGetGridLicensableFeatures_v4 = NULL
270cdef void* __nvmlGetVgpuDriverCapabilities = NULL
271cdef void* __nvmlDeviceGetVgpuCapabilities = NULL
272cdef void* __nvmlDeviceGetSupportedVgpus = NULL
273cdef void* __nvmlDeviceGetCreatableVgpus = NULL
274cdef void* __nvmlVgpuTypeGetClass = NULL
275cdef void* __nvmlVgpuTypeGetName = NULL
276cdef void* __nvmlVgpuTypeGetGpuInstanceProfileId = NULL
277cdef void* __nvmlVgpuTypeGetDeviceID = NULL
278cdef void* __nvmlVgpuTypeGetFramebufferSize = NULL
279cdef void* __nvmlVgpuTypeGetNumDisplayHeads = NULL
280cdef void* __nvmlVgpuTypeGetResolution = NULL
281cdef void* __nvmlVgpuTypeGetLicense = NULL
282cdef void* __nvmlVgpuTypeGetFrameRateLimit = NULL
283cdef void* __nvmlVgpuTypeGetMaxInstances = NULL
284cdef void* __nvmlVgpuTypeGetMaxInstancesPerVm = NULL
285cdef void* __nvmlVgpuTypeGetBAR1Info = NULL
286cdef void* __nvmlDeviceGetActiveVgpus = NULL
287cdef void* __nvmlVgpuInstanceGetVmID = NULL
288cdef void* __nvmlVgpuInstanceGetUUID = NULL
289cdef void* __nvmlVgpuInstanceGetVmDriverVersion = NULL
290cdef void* __nvmlVgpuInstanceGetFbUsage = NULL
291cdef void* __nvmlVgpuInstanceGetLicenseStatus = NULL
292cdef void* __nvmlVgpuInstanceGetType = NULL
293cdef void* __nvmlVgpuInstanceGetFrameRateLimit = NULL
294cdef void* __nvmlVgpuInstanceGetEccMode = NULL
295cdef void* __nvmlVgpuInstanceGetEncoderCapacity = NULL
296cdef void* __nvmlVgpuInstanceSetEncoderCapacity = NULL
297cdef void* __nvmlVgpuInstanceGetEncoderStats = NULL
298cdef void* __nvmlVgpuInstanceGetEncoderSessions = NULL
299cdef void* __nvmlVgpuInstanceGetFBCStats = NULL
300cdef void* __nvmlVgpuInstanceGetFBCSessions = NULL
301cdef void* __nvmlVgpuInstanceGetGpuInstanceId = NULL
302cdef void* __nvmlVgpuInstanceGetGpuPciId = NULL
303cdef void* __nvmlVgpuTypeGetCapabilities = NULL
304cdef void* __nvmlVgpuInstanceGetMdevUUID = NULL
305cdef void* __nvmlGpuInstanceGetCreatableVgpus = NULL
306cdef void* __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = NULL
307cdef void* __nvmlGpuInstanceGetActiveVgpus = NULL
308cdef void* __nvmlGpuInstanceSetVgpuSchedulerState = NULL
309cdef void* __nvmlGpuInstanceGetVgpuSchedulerState = NULL
310cdef void* __nvmlGpuInstanceGetVgpuSchedulerLog = NULL
311cdef void* __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = NULL
312cdef void* __nvmlGpuInstanceGetVgpuHeterogeneousMode = NULL
313cdef void* __nvmlGpuInstanceSetVgpuHeterogeneousMode = NULL
314cdef void* __nvmlVgpuInstanceGetMetadata = NULL
315cdef void* __nvmlDeviceGetVgpuMetadata = NULL
316cdef void* __nvmlGetVgpuCompatibility = NULL
317cdef void* __nvmlDeviceGetPgpuMetadataString = NULL
318cdef void* __nvmlDeviceGetVgpuSchedulerLog = NULL
319cdef void* __nvmlDeviceGetVgpuSchedulerState = NULL
320cdef void* __nvmlDeviceGetVgpuSchedulerCapabilities = NULL
321cdef void* __nvmlDeviceSetVgpuSchedulerState = NULL
322cdef void* __nvmlGetVgpuVersion = NULL
323cdef void* __nvmlSetVgpuVersion = NULL
324cdef void* __nvmlDeviceGetVgpuUtilization = NULL
325cdef void* __nvmlDeviceGetVgpuInstancesUtilizationInfo = NULL
326cdef void* __nvmlDeviceGetVgpuProcessUtilization = NULL
327cdef void* __nvmlDeviceGetVgpuProcessesUtilizationInfo = NULL
328cdef void* __nvmlVgpuInstanceGetAccountingMode = NULL
329cdef void* __nvmlVgpuInstanceGetAccountingPids = NULL
330cdef void* __nvmlVgpuInstanceGetAccountingStats = NULL
331cdef void* __nvmlVgpuInstanceClearAccountingPids = NULL
332cdef void* __nvmlVgpuInstanceGetLicenseInfo_v2 = NULL
333cdef void* __nvmlGetExcludedDeviceCount = NULL
334cdef void* __nvmlGetExcludedDeviceInfoByIndex = NULL
335cdef void* __nvmlDeviceSetMigMode = NULL
336cdef void* __nvmlDeviceGetMigMode = NULL
337cdef void* __nvmlDeviceGetGpuInstanceProfileInfoV = NULL
338cdef void* __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = NULL
339cdef void* __nvmlDeviceGetGpuInstanceRemainingCapacity = NULL
340cdef void* __nvmlDeviceCreateGpuInstance = NULL
341cdef void* __nvmlDeviceCreateGpuInstanceWithPlacement = NULL
342cdef void* __nvmlGpuInstanceDestroy = NULL
343cdef void* __nvmlDeviceGetGpuInstances = NULL
344cdef void* __nvmlDeviceGetGpuInstanceById = NULL
345cdef void* __nvmlGpuInstanceGetInfo = NULL
346cdef void* __nvmlGpuInstanceGetComputeInstanceProfileInfoV = NULL
347cdef void* __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = NULL
348cdef void* __nvmlGpuInstanceGetComputeInstancePossiblePlacements = NULL
349cdef void* __nvmlGpuInstanceCreateComputeInstance = NULL
350cdef void* __nvmlGpuInstanceCreateComputeInstanceWithPlacement = NULL
351cdef void* __nvmlComputeInstanceDestroy = NULL
352cdef void* __nvmlGpuInstanceGetComputeInstances = NULL
353cdef void* __nvmlGpuInstanceGetComputeInstanceById = NULL
354cdef void* __nvmlComputeInstanceGetInfo_v2 = NULL
355cdef void* __nvmlDeviceIsMigDeviceHandle = NULL
356cdef void* __nvmlDeviceGetGpuInstanceId = NULL
357cdef void* __nvmlDeviceGetComputeInstanceId = NULL
358cdef void* __nvmlDeviceGetMaxMigDeviceCount = NULL
359cdef void* __nvmlDeviceGetMigDeviceHandleByIndex = NULL
360cdef void* __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = NULL
361cdef void* __nvmlDeviceGetCapabilities = NULL
362cdef void* __nvmlDevicePowerSmoothingActivatePresetProfile = NULL
363cdef void* __nvmlDevicePowerSmoothingUpdatePresetProfileParam = NULL
364cdef void* __nvmlDevicePowerSmoothingSetState = NULL
365cdef void* __nvmlDeviceGetAddressingMode = NULL
366cdef void* __nvmlDeviceGetRepairStatus = NULL
367cdef void* __nvmlDeviceGetPowerMizerMode_v1 = NULL
368cdef void* __nvmlDeviceSetPowerMizerMode_v1 = NULL
369cdef void* __nvmlDeviceGetPdi = NULL
370cdef void* __nvmlDeviceSetHostname_v1 = NULL
371cdef void* __nvmlDeviceGetHostname_v1 = NULL
372cdef void* __nvmlDeviceGetNvLinkInfo = NULL
373cdef void* __nvmlDeviceReadWritePRM_v1 = NULL
374cdef void* __nvmlDeviceGetGpuInstanceProfileInfoByIdV = NULL
375cdef void* __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = NULL
376cdef void* __nvmlDeviceGetUnrepairableMemoryFlag_v1 = NULL
377cdef void* __nvmlDeviceReadPRMCounters_v1 = NULL
378cdef void* __nvmlDeviceSetRusdSettings_v1 = NULL
379cdef void* __nvmlDeviceVgpuForceGspUnload = NULL
380cdef void* __nvmlDeviceGetVgpuSchedulerState_v2 = NULL
381cdef void* __nvmlGpuInstanceGetVgpuSchedulerState_v2 = NULL
382cdef void* __nvmlDeviceGetVgpuSchedulerLog_v2 = NULL
383cdef void* __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = NULL
384cdef void* __nvmlDeviceSetVgpuSchedulerState_v2 = NULL
385cdef void* __nvmlGpuInstanceSetVgpuSchedulerState_v2 = NULL
387cdef int _init_nvml() except -1 nogil:
388 global _cyb___py_nvml_init
389 cdef void* handle = NULL
390 with gil, _cyb_symbol_lock:
391 if _cyb___py_nvml_init: return 0
393 global __nvmlInit_v2
394 __nvmlInit_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlInit_v2')
395 if __nvmlInit_v2 == NULL:
396 if handle == NULL:
397 handle = load_library()
398 __nvmlInit_v2 = _cyb_dlsym(handle, 'nvmlInit_v2')
400 global __nvmlInitWithFlags
401 __nvmlInitWithFlags = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlInitWithFlags')
402 if __nvmlInitWithFlags == NULL:
403 if handle == NULL:
404 handle = load_library()
405 __nvmlInitWithFlags = _cyb_dlsym(handle, 'nvmlInitWithFlags')
407 global __nvmlShutdown
408 __nvmlShutdown = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlShutdown')
409 if __nvmlShutdown == NULL:
410 if handle == NULL:
411 handle = load_library()
412 __nvmlShutdown = _cyb_dlsym(handle, 'nvmlShutdown')
414 global __nvmlErrorString
415 __nvmlErrorString = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlErrorString')
416 if __nvmlErrorString == NULL:
417 if handle == NULL:
418 handle = load_library()
419 __nvmlErrorString = _cyb_dlsym(handle, 'nvmlErrorString')
421 global __nvmlSystemGetDriverVersion
422 __nvmlSystemGetDriverVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetDriverVersion')
423 if __nvmlSystemGetDriverVersion == NULL:
424 if handle == NULL:
425 handle = load_library()
426 __nvmlSystemGetDriverVersion = _cyb_dlsym(handle, 'nvmlSystemGetDriverVersion')
428 global __nvmlSystemGetNVMLVersion
429 __nvmlSystemGetNVMLVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetNVMLVersion')
430 if __nvmlSystemGetNVMLVersion == NULL:
431 if handle == NULL:
432 handle = load_library()
433 __nvmlSystemGetNVMLVersion = _cyb_dlsym(handle, 'nvmlSystemGetNVMLVersion')
435 global __nvmlSystemGetCudaDriverVersion
436 __nvmlSystemGetCudaDriverVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetCudaDriverVersion')
437 if __nvmlSystemGetCudaDriverVersion == NULL:
438 if handle == NULL:
439 handle = load_library()
440 __nvmlSystemGetCudaDriverVersion = _cyb_dlsym(handle, 'nvmlSystemGetCudaDriverVersion')
442 global __nvmlSystemGetCudaDriverVersion_v2
443 __nvmlSystemGetCudaDriverVersion_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetCudaDriverVersion_v2')
444 if __nvmlSystemGetCudaDriverVersion_v2 == NULL:
445 if handle == NULL:
446 handle = load_library()
447 __nvmlSystemGetCudaDriverVersion_v2 = _cyb_dlsym(handle, 'nvmlSystemGetCudaDriverVersion_v2')
449 global __nvmlSystemGetProcessName
450 __nvmlSystemGetProcessName = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetProcessName')
451 if __nvmlSystemGetProcessName == NULL:
452 if handle == NULL:
453 handle = load_library()
454 __nvmlSystemGetProcessName = _cyb_dlsym(handle, 'nvmlSystemGetProcessName')
456 global __nvmlSystemGetHicVersion
457 __nvmlSystemGetHicVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetHicVersion')
458 if __nvmlSystemGetHicVersion == NULL:
459 if handle == NULL:
460 handle = load_library()
461 __nvmlSystemGetHicVersion = _cyb_dlsym(handle, 'nvmlSystemGetHicVersion')
463 global __nvmlSystemGetTopologyGpuSet
464 __nvmlSystemGetTopologyGpuSet = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetTopologyGpuSet')
465 if __nvmlSystemGetTopologyGpuSet == NULL:
466 if handle == NULL:
467 handle = load_library()
468 __nvmlSystemGetTopologyGpuSet = _cyb_dlsym(handle, 'nvmlSystemGetTopologyGpuSet')
470 global __nvmlSystemGetDriverBranch
471 __nvmlSystemGetDriverBranch = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetDriverBranch')
472 if __nvmlSystemGetDriverBranch == NULL:
473 if handle == NULL:
474 handle = load_library()
475 __nvmlSystemGetDriverBranch = _cyb_dlsym(handle, 'nvmlSystemGetDriverBranch')
477 global __nvmlUnitGetCount
478 __nvmlUnitGetCount = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetCount')
479 if __nvmlUnitGetCount == NULL:
480 if handle == NULL:
481 handle = load_library()
482 __nvmlUnitGetCount = _cyb_dlsym(handle, 'nvmlUnitGetCount')
484 global __nvmlUnitGetHandleByIndex
485 __nvmlUnitGetHandleByIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetHandleByIndex')
486 if __nvmlUnitGetHandleByIndex == NULL:
487 if handle == NULL:
488 handle = load_library()
489 __nvmlUnitGetHandleByIndex = _cyb_dlsym(handle, 'nvmlUnitGetHandleByIndex')
491 global __nvmlUnitGetUnitInfo
492 __nvmlUnitGetUnitInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetUnitInfo')
493 if __nvmlUnitGetUnitInfo == NULL:
494 if handle == NULL:
495 handle = load_library()
496 __nvmlUnitGetUnitInfo = _cyb_dlsym(handle, 'nvmlUnitGetUnitInfo')
498 global __nvmlUnitGetLedState
499 __nvmlUnitGetLedState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetLedState')
500 if __nvmlUnitGetLedState == NULL:
501 if handle == NULL:
502 handle = load_library()
503 __nvmlUnitGetLedState = _cyb_dlsym(handle, 'nvmlUnitGetLedState')
505 global __nvmlUnitGetPsuInfo
506 __nvmlUnitGetPsuInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetPsuInfo')
507 if __nvmlUnitGetPsuInfo == NULL:
508 if handle == NULL:
509 handle = load_library()
510 __nvmlUnitGetPsuInfo = _cyb_dlsym(handle, 'nvmlUnitGetPsuInfo')
512 global __nvmlUnitGetTemperature
513 __nvmlUnitGetTemperature = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetTemperature')
514 if __nvmlUnitGetTemperature == NULL:
515 if handle == NULL:
516 handle = load_library()
517 __nvmlUnitGetTemperature = _cyb_dlsym(handle, 'nvmlUnitGetTemperature')
519 global __nvmlUnitGetFanSpeedInfo
520 __nvmlUnitGetFanSpeedInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetFanSpeedInfo')
521 if __nvmlUnitGetFanSpeedInfo == NULL:
522 if handle == NULL:
523 handle = load_library()
524 __nvmlUnitGetFanSpeedInfo = _cyb_dlsym(handle, 'nvmlUnitGetFanSpeedInfo')
526 global __nvmlUnitGetDevices
527 __nvmlUnitGetDevices = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetDevices')
528 if __nvmlUnitGetDevices == NULL:
529 if handle == NULL:
530 handle = load_library()
531 __nvmlUnitGetDevices = _cyb_dlsym(handle, 'nvmlUnitGetDevices')
533 global __nvmlDeviceGetCount_v2
534 __nvmlDeviceGetCount_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCount_v2')
535 if __nvmlDeviceGetCount_v2 == NULL:
536 if handle == NULL:
537 handle = load_library()
538 __nvmlDeviceGetCount_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetCount_v2')
540 global __nvmlDeviceGetAttributes_v2
541 __nvmlDeviceGetAttributes_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAttributes_v2')
542 if __nvmlDeviceGetAttributes_v2 == NULL:
543 if handle == NULL:
544 handle = load_library()
545 __nvmlDeviceGetAttributes_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetAttributes_v2')
547 global __nvmlDeviceGetHandleByIndex_v2
548 __nvmlDeviceGetHandleByIndex_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByIndex_v2')
549 if __nvmlDeviceGetHandleByIndex_v2 == NULL:
550 if handle == NULL:
551 handle = load_library()
552 __nvmlDeviceGetHandleByIndex_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByIndex_v2')
554 global __nvmlDeviceGetHandleBySerial
555 __nvmlDeviceGetHandleBySerial = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleBySerial')
556 if __nvmlDeviceGetHandleBySerial == NULL:
557 if handle == NULL:
558 handle = load_library()
559 __nvmlDeviceGetHandleBySerial = _cyb_dlsym(handle, 'nvmlDeviceGetHandleBySerial')
561 global __nvmlDeviceGetHandleByUUID
562 __nvmlDeviceGetHandleByUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByUUID')
563 if __nvmlDeviceGetHandleByUUID == NULL:
564 if handle == NULL:
565 handle = load_library()
566 __nvmlDeviceGetHandleByUUID = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByUUID')
568 global __nvmlDeviceGetHandleByUUIDV
569 __nvmlDeviceGetHandleByUUIDV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByUUIDV')
570 if __nvmlDeviceGetHandleByUUIDV == NULL:
571 if handle == NULL:
572 handle = load_library()
573 __nvmlDeviceGetHandleByUUIDV = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByUUIDV')
575 global __nvmlDeviceGetHandleByPciBusId_v2
576 __nvmlDeviceGetHandleByPciBusId_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByPciBusId_v2')
577 if __nvmlDeviceGetHandleByPciBusId_v2 == NULL:
578 if handle == NULL:
579 handle = load_library()
580 __nvmlDeviceGetHandleByPciBusId_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByPciBusId_v2')
582 global __nvmlDeviceGetName
583 __nvmlDeviceGetName = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetName')
584 if __nvmlDeviceGetName == NULL:
585 if handle == NULL:
586 handle = load_library()
587 __nvmlDeviceGetName = _cyb_dlsym(handle, 'nvmlDeviceGetName')
589 global __nvmlDeviceGetBrand
590 __nvmlDeviceGetBrand = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBrand')
591 if __nvmlDeviceGetBrand == NULL:
592 if handle == NULL:
593 handle = load_library()
594 __nvmlDeviceGetBrand = _cyb_dlsym(handle, 'nvmlDeviceGetBrand')
596 global __nvmlDeviceGetIndex
597 __nvmlDeviceGetIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetIndex')
598 if __nvmlDeviceGetIndex == NULL:
599 if handle == NULL:
600 handle = load_library()
601 __nvmlDeviceGetIndex = _cyb_dlsym(handle, 'nvmlDeviceGetIndex')
603 global __nvmlDeviceGetSerial
604 __nvmlDeviceGetSerial = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSerial')
605 if __nvmlDeviceGetSerial == NULL:
606 if handle == NULL:
607 handle = load_library()
608 __nvmlDeviceGetSerial = _cyb_dlsym(handle, 'nvmlDeviceGetSerial')
610 global __nvmlDeviceGetModuleId
611 __nvmlDeviceGetModuleId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetModuleId')
612 if __nvmlDeviceGetModuleId == NULL:
613 if handle == NULL:
614 handle = load_library()
615 __nvmlDeviceGetModuleId = _cyb_dlsym(handle, 'nvmlDeviceGetModuleId')
617 global __nvmlDeviceGetC2cModeInfoV
618 __nvmlDeviceGetC2cModeInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetC2cModeInfoV')
619 if __nvmlDeviceGetC2cModeInfoV == NULL:
620 if handle == NULL:
621 handle = load_library()
622 __nvmlDeviceGetC2cModeInfoV = _cyb_dlsym(handle, 'nvmlDeviceGetC2cModeInfoV')
624 global __nvmlDeviceGetMemoryAffinity
625 __nvmlDeviceGetMemoryAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryAffinity')
626 if __nvmlDeviceGetMemoryAffinity == NULL:
627 if handle == NULL:
628 handle = load_library()
629 __nvmlDeviceGetMemoryAffinity = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryAffinity')
631 global __nvmlDeviceGetCpuAffinityWithinScope
632 __nvmlDeviceGetCpuAffinityWithinScope = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCpuAffinityWithinScope')
633 if __nvmlDeviceGetCpuAffinityWithinScope == NULL:
634 if handle == NULL:
635 handle = load_library()
636 __nvmlDeviceGetCpuAffinityWithinScope = _cyb_dlsym(handle, 'nvmlDeviceGetCpuAffinityWithinScope')
638 global __nvmlDeviceGetCpuAffinity
639 __nvmlDeviceGetCpuAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCpuAffinity')
640 if __nvmlDeviceGetCpuAffinity == NULL:
641 if handle == NULL:
642 handle = load_library()
643 __nvmlDeviceGetCpuAffinity = _cyb_dlsym(handle, 'nvmlDeviceGetCpuAffinity')
645 global __nvmlDeviceSetCpuAffinity
646 __nvmlDeviceSetCpuAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetCpuAffinity')
647 if __nvmlDeviceSetCpuAffinity == NULL:
648 if handle == NULL:
649 handle = load_library()
650 __nvmlDeviceSetCpuAffinity = _cyb_dlsym(handle, 'nvmlDeviceSetCpuAffinity')
652 global __nvmlDeviceClearCpuAffinity
653 __nvmlDeviceClearCpuAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearCpuAffinity')
654 if __nvmlDeviceClearCpuAffinity == NULL:
655 if handle == NULL:
656 handle = load_library()
657 __nvmlDeviceClearCpuAffinity = _cyb_dlsym(handle, 'nvmlDeviceClearCpuAffinity')
659 global __nvmlDeviceGetNumaNodeId
660 __nvmlDeviceGetNumaNodeId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNumaNodeId')
661 if __nvmlDeviceGetNumaNodeId == NULL:
662 if handle == NULL:
663 handle = load_library()
664 __nvmlDeviceGetNumaNodeId = _cyb_dlsym(handle, 'nvmlDeviceGetNumaNodeId')
666 global __nvmlDeviceGetTopologyCommonAncestor
667 __nvmlDeviceGetTopologyCommonAncestor = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTopologyCommonAncestor')
668 if __nvmlDeviceGetTopologyCommonAncestor == NULL:
669 if handle == NULL:
670 handle = load_library()
671 __nvmlDeviceGetTopologyCommonAncestor = _cyb_dlsym(handle, 'nvmlDeviceGetTopologyCommonAncestor')
673 global __nvmlDeviceGetTopologyNearestGpus
674 __nvmlDeviceGetTopologyNearestGpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTopologyNearestGpus')
675 if __nvmlDeviceGetTopologyNearestGpus == NULL:
676 if handle == NULL:
677 handle = load_library()
678 __nvmlDeviceGetTopologyNearestGpus = _cyb_dlsym(handle, 'nvmlDeviceGetTopologyNearestGpus')
680 global __nvmlDeviceGetP2PStatus
681 __nvmlDeviceGetP2PStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetP2PStatus')
682 if __nvmlDeviceGetP2PStatus == NULL:
683 if handle == NULL:
684 handle = load_library()
685 __nvmlDeviceGetP2PStatus = _cyb_dlsym(handle, 'nvmlDeviceGetP2PStatus')
687 global __nvmlDeviceGetUUID
688 __nvmlDeviceGetUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetUUID')
689 if __nvmlDeviceGetUUID == NULL:
690 if handle == NULL:
691 handle = load_library()
692 __nvmlDeviceGetUUID = _cyb_dlsym(handle, 'nvmlDeviceGetUUID')
694 global __nvmlDeviceGetMinorNumber
695 __nvmlDeviceGetMinorNumber = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMinorNumber')
696 if __nvmlDeviceGetMinorNumber == NULL:
697 if handle == NULL:
698 handle = load_library()
699 __nvmlDeviceGetMinorNumber = _cyb_dlsym(handle, 'nvmlDeviceGetMinorNumber')
701 global __nvmlDeviceGetBoardPartNumber
702 __nvmlDeviceGetBoardPartNumber = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBoardPartNumber')
703 if __nvmlDeviceGetBoardPartNumber == NULL:
704 if handle == NULL:
705 handle = load_library()
706 __nvmlDeviceGetBoardPartNumber = _cyb_dlsym(handle, 'nvmlDeviceGetBoardPartNumber')
708 global __nvmlDeviceGetInforomVersion
709 __nvmlDeviceGetInforomVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetInforomVersion')
710 if __nvmlDeviceGetInforomVersion == NULL:
711 if handle == NULL:
712 handle = load_library()
713 __nvmlDeviceGetInforomVersion = _cyb_dlsym(handle, 'nvmlDeviceGetInforomVersion')
715 global __nvmlDeviceGetInforomImageVersion
716 __nvmlDeviceGetInforomImageVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetInforomImageVersion')
717 if __nvmlDeviceGetInforomImageVersion == NULL:
718 if handle == NULL:
719 handle = load_library()
720 __nvmlDeviceGetInforomImageVersion = _cyb_dlsym(handle, 'nvmlDeviceGetInforomImageVersion')
722 global __nvmlDeviceGetInforomConfigurationChecksum
723 __nvmlDeviceGetInforomConfigurationChecksum = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetInforomConfigurationChecksum')
724 if __nvmlDeviceGetInforomConfigurationChecksum == NULL:
725 if handle == NULL:
726 handle = load_library()
727 __nvmlDeviceGetInforomConfigurationChecksum = _cyb_dlsym(handle, 'nvmlDeviceGetInforomConfigurationChecksum')
729 global __nvmlDeviceValidateInforom
730 __nvmlDeviceValidateInforom = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceValidateInforom')
731 if __nvmlDeviceValidateInforom == NULL:
732 if handle == NULL:
733 handle = load_library()
734 __nvmlDeviceValidateInforom = _cyb_dlsym(handle, 'nvmlDeviceValidateInforom')
736 global __nvmlDeviceGetLastBBXFlushTime
737 __nvmlDeviceGetLastBBXFlushTime = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetLastBBXFlushTime')
738 if __nvmlDeviceGetLastBBXFlushTime == NULL:
739 if handle == NULL:
740 handle = load_library()
741 __nvmlDeviceGetLastBBXFlushTime = _cyb_dlsym(handle, 'nvmlDeviceGetLastBBXFlushTime')
743 global __nvmlDeviceGetDisplayMode
744 __nvmlDeviceGetDisplayMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDisplayMode')
745 if __nvmlDeviceGetDisplayMode == NULL:
746 if handle == NULL:
747 handle = load_library()
748 __nvmlDeviceGetDisplayMode = _cyb_dlsym(handle, 'nvmlDeviceGetDisplayMode')
750 global __nvmlDeviceGetDisplayActive
751 __nvmlDeviceGetDisplayActive = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDisplayActive')
752 if __nvmlDeviceGetDisplayActive == NULL:
753 if handle == NULL:
754 handle = load_library()
755 __nvmlDeviceGetDisplayActive = _cyb_dlsym(handle, 'nvmlDeviceGetDisplayActive')
757 global __nvmlDeviceGetPersistenceMode
758 __nvmlDeviceGetPersistenceMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPersistenceMode')
759 if __nvmlDeviceGetPersistenceMode == NULL:
760 if handle == NULL:
761 handle = load_library()
762 __nvmlDeviceGetPersistenceMode = _cyb_dlsym(handle, 'nvmlDeviceGetPersistenceMode')
764 global __nvmlDeviceGetPciInfoExt
765 __nvmlDeviceGetPciInfoExt = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPciInfoExt')
766 if __nvmlDeviceGetPciInfoExt == NULL:
767 if handle == NULL:
768 handle = load_library()
769 __nvmlDeviceGetPciInfoExt = _cyb_dlsym(handle, 'nvmlDeviceGetPciInfoExt')
771 global __nvmlDeviceGetPciInfo_v3
772 __nvmlDeviceGetPciInfo_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPciInfo_v3')
773 if __nvmlDeviceGetPciInfo_v3 == NULL:
774 if handle == NULL:
775 handle = load_library()
776 __nvmlDeviceGetPciInfo_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetPciInfo_v3')
778 global __nvmlDeviceGetMaxPcieLinkGeneration
779 __nvmlDeviceGetMaxPcieLinkGeneration = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxPcieLinkGeneration')
780 if __nvmlDeviceGetMaxPcieLinkGeneration == NULL:
781 if handle == NULL:
782 handle = load_library()
783 __nvmlDeviceGetMaxPcieLinkGeneration = _cyb_dlsym(handle, 'nvmlDeviceGetMaxPcieLinkGeneration')
785 global __nvmlDeviceGetGpuMaxPcieLinkGeneration
786 __nvmlDeviceGetGpuMaxPcieLinkGeneration = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuMaxPcieLinkGeneration')
787 if __nvmlDeviceGetGpuMaxPcieLinkGeneration == NULL:
788 if handle == NULL:
789 handle = load_library()
790 __nvmlDeviceGetGpuMaxPcieLinkGeneration = _cyb_dlsym(handle, 'nvmlDeviceGetGpuMaxPcieLinkGeneration')
792 global __nvmlDeviceGetMaxPcieLinkWidth
793 __nvmlDeviceGetMaxPcieLinkWidth = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxPcieLinkWidth')
794 if __nvmlDeviceGetMaxPcieLinkWidth == NULL:
795 if handle == NULL:
796 handle = load_library()
797 __nvmlDeviceGetMaxPcieLinkWidth = _cyb_dlsym(handle, 'nvmlDeviceGetMaxPcieLinkWidth')
799 global __nvmlDeviceGetCurrPcieLinkGeneration
800 __nvmlDeviceGetCurrPcieLinkGeneration = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrPcieLinkGeneration')
801 if __nvmlDeviceGetCurrPcieLinkGeneration == NULL:
802 if handle == NULL:
803 handle = load_library()
804 __nvmlDeviceGetCurrPcieLinkGeneration = _cyb_dlsym(handle, 'nvmlDeviceGetCurrPcieLinkGeneration')
806 global __nvmlDeviceGetCurrPcieLinkWidth
807 __nvmlDeviceGetCurrPcieLinkWidth = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrPcieLinkWidth')
808 if __nvmlDeviceGetCurrPcieLinkWidth == NULL:
809 if handle == NULL:
810 handle = load_library()
811 __nvmlDeviceGetCurrPcieLinkWidth = _cyb_dlsym(handle, 'nvmlDeviceGetCurrPcieLinkWidth')
813 global __nvmlDeviceGetPcieThroughput
814 __nvmlDeviceGetPcieThroughput = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieThroughput')
815 if __nvmlDeviceGetPcieThroughput == NULL:
816 if handle == NULL:
817 handle = load_library()
818 __nvmlDeviceGetPcieThroughput = _cyb_dlsym(handle, 'nvmlDeviceGetPcieThroughput')
820 global __nvmlDeviceGetPcieReplayCounter
821 __nvmlDeviceGetPcieReplayCounter = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieReplayCounter')
822 if __nvmlDeviceGetPcieReplayCounter == NULL:
823 if handle == NULL:
824 handle = load_library()
825 __nvmlDeviceGetPcieReplayCounter = _cyb_dlsym(handle, 'nvmlDeviceGetPcieReplayCounter')
827 global __nvmlDeviceGetClockInfo
828 __nvmlDeviceGetClockInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClockInfo')
829 if __nvmlDeviceGetClockInfo == NULL:
830 if handle == NULL:
831 handle = load_library()
832 __nvmlDeviceGetClockInfo = _cyb_dlsym(handle, 'nvmlDeviceGetClockInfo')
834 global __nvmlDeviceGetMaxClockInfo
835 __nvmlDeviceGetMaxClockInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxClockInfo')
836 if __nvmlDeviceGetMaxClockInfo == NULL:
837 if handle == NULL:
838 handle = load_library()
839 __nvmlDeviceGetMaxClockInfo = _cyb_dlsym(handle, 'nvmlDeviceGetMaxClockInfo')
841 global __nvmlDeviceGetGpcClkVfOffset
842 __nvmlDeviceGetGpcClkVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpcClkVfOffset')
843 if __nvmlDeviceGetGpcClkVfOffset == NULL:
844 if handle == NULL:
845 handle = load_library()
846 __nvmlDeviceGetGpcClkVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetGpcClkVfOffset')
848 global __nvmlDeviceGetClock
849 __nvmlDeviceGetClock = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClock')
850 if __nvmlDeviceGetClock == NULL:
851 if handle == NULL:
852 handle = load_library()
853 __nvmlDeviceGetClock = _cyb_dlsym(handle, 'nvmlDeviceGetClock')
855 global __nvmlDeviceGetMaxCustomerBoostClock
856 __nvmlDeviceGetMaxCustomerBoostClock = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxCustomerBoostClock')
857 if __nvmlDeviceGetMaxCustomerBoostClock == NULL:
858 if handle == NULL:
859 handle = load_library()
860 __nvmlDeviceGetMaxCustomerBoostClock = _cyb_dlsym(handle, 'nvmlDeviceGetMaxCustomerBoostClock')
862 global __nvmlDeviceGetSupportedMemoryClocks
863 __nvmlDeviceGetSupportedMemoryClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedMemoryClocks')
864 if __nvmlDeviceGetSupportedMemoryClocks == NULL:
865 if handle == NULL:
866 handle = load_library()
867 __nvmlDeviceGetSupportedMemoryClocks = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedMemoryClocks')
869 global __nvmlDeviceGetSupportedGraphicsClocks
870 __nvmlDeviceGetSupportedGraphicsClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedGraphicsClocks')
871 if __nvmlDeviceGetSupportedGraphicsClocks == NULL:
872 if handle == NULL:
873 handle = load_library()
874 __nvmlDeviceGetSupportedGraphicsClocks = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedGraphicsClocks')
876 global __nvmlDeviceGetAutoBoostedClocksEnabled
877 __nvmlDeviceGetAutoBoostedClocksEnabled = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAutoBoostedClocksEnabled')
878 if __nvmlDeviceGetAutoBoostedClocksEnabled == NULL:
879 if handle == NULL:
880 handle = load_library()
881 __nvmlDeviceGetAutoBoostedClocksEnabled = _cyb_dlsym(handle, 'nvmlDeviceGetAutoBoostedClocksEnabled')
883 global __nvmlDeviceGetFanSpeed
884 __nvmlDeviceGetFanSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanSpeed')
885 if __nvmlDeviceGetFanSpeed == NULL:
886 if handle == NULL:
887 handle = load_library()
888 __nvmlDeviceGetFanSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetFanSpeed')
890 global __nvmlDeviceGetFanSpeed_v2
891 __nvmlDeviceGetFanSpeed_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanSpeed_v2')
892 if __nvmlDeviceGetFanSpeed_v2 == NULL:
893 if handle == NULL:
894 handle = load_library()
895 __nvmlDeviceGetFanSpeed_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetFanSpeed_v2')
897 global __nvmlDeviceGetFanSpeedRPM
898 __nvmlDeviceGetFanSpeedRPM = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanSpeedRPM')
899 if __nvmlDeviceGetFanSpeedRPM == NULL:
900 if handle == NULL:
901 handle = load_library()
902 __nvmlDeviceGetFanSpeedRPM = _cyb_dlsym(handle, 'nvmlDeviceGetFanSpeedRPM')
904 global __nvmlDeviceGetTargetFanSpeed
905 __nvmlDeviceGetTargetFanSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTargetFanSpeed')
906 if __nvmlDeviceGetTargetFanSpeed == NULL:
907 if handle == NULL:
908 handle = load_library()
909 __nvmlDeviceGetTargetFanSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetTargetFanSpeed')
911 global __nvmlDeviceGetMinMaxFanSpeed
912 __nvmlDeviceGetMinMaxFanSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMinMaxFanSpeed')
913 if __nvmlDeviceGetMinMaxFanSpeed == NULL:
914 if handle == NULL:
915 handle = load_library()
916 __nvmlDeviceGetMinMaxFanSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetMinMaxFanSpeed')
918 global __nvmlDeviceGetFanControlPolicy_v2
919 __nvmlDeviceGetFanControlPolicy_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanControlPolicy_v2')
920 if __nvmlDeviceGetFanControlPolicy_v2 == NULL:
921 if handle == NULL:
922 handle = load_library()
923 __nvmlDeviceGetFanControlPolicy_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetFanControlPolicy_v2')
925 global __nvmlDeviceGetNumFans
926 __nvmlDeviceGetNumFans = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNumFans')
927 if __nvmlDeviceGetNumFans == NULL:
928 if handle == NULL:
929 handle = load_library()
930 __nvmlDeviceGetNumFans = _cyb_dlsym(handle, 'nvmlDeviceGetNumFans')
932 global __nvmlDeviceGetCoolerInfo
933 __nvmlDeviceGetCoolerInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCoolerInfo')
934 if __nvmlDeviceGetCoolerInfo == NULL:
935 if handle == NULL:
936 handle = load_library()
937 __nvmlDeviceGetCoolerInfo = _cyb_dlsym(handle, 'nvmlDeviceGetCoolerInfo')
939 global __nvmlDeviceGetTemperatureV
940 __nvmlDeviceGetTemperatureV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTemperatureV')
941 if __nvmlDeviceGetTemperatureV == NULL:
942 if handle == NULL:
943 handle = load_library()
944 __nvmlDeviceGetTemperatureV = _cyb_dlsym(handle, 'nvmlDeviceGetTemperatureV')
946 global __nvmlDeviceGetTemperatureThreshold
947 __nvmlDeviceGetTemperatureThreshold = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTemperatureThreshold')
948 if __nvmlDeviceGetTemperatureThreshold == NULL:
949 if handle == NULL:
950 handle = load_library()
951 __nvmlDeviceGetTemperatureThreshold = _cyb_dlsym(handle, 'nvmlDeviceGetTemperatureThreshold')
953 global __nvmlDeviceGetMarginTemperature
954 __nvmlDeviceGetMarginTemperature = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMarginTemperature')
955 if __nvmlDeviceGetMarginTemperature == NULL:
956 if handle == NULL:
957 handle = load_library()
958 __nvmlDeviceGetMarginTemperature = _cyb_dlsym(handle, 'nvmlDeviceGetMarginTemperature')
960 global __nvmlDeviceGetThermalSettings
961 __nvmlDeviceGetThermalSettings = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetThermalSettings')
962 if __nvmlDeviceGetThermalSettings == NULL:
963 if handle == NULL:
964 handle = load_library()
965 __nvmlDeviceGetThermalSettings = _cyb_dlsym(handle, 'nvmlDeviceGetThermalSettings')
967 global __nvmlDeviceGetPerformanceState
968 __nvmlDeviceGetPerformanceState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPerformanceState')
969 if __nvmlDeviceGetPerformanceState == NULL:
970 if handle == NULL:
971 handle = load_library()
972 __nvmlDeviceGetPerformanceState = _cyb_dlsym(handle, 'nvmlDeviceGetPerformanceState')
974 global __nvmlDeviceGetCurrentClocksEventReasons
975 __nvmlDeviceGetCurrentClocksEventReasons = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrentClocksEventReasons')
976 if __nvmlDeviceGetCurrentClocksEventReasons == NULL:
977 if handle == NULL:
978 handle = load_library()
979 __nvmlDeviceGetCurrentClocksEventReasons = _cyb_dlsym(handle, 'nvmlDeviceGetCurrentClocksEventReasons')
981 global __nvmlDeviceGetSupportedClocksEventReasons
982 __nvmlDeviceGetSupportedClocksEventReasons = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedClocksEventReasons')
983 if __nvmlDeviceGetSupportedClocksEventReasons == NULL:
984 if handle == NULL:
985 handle = load_library()
986 __nvmlDeviceGetSupportedClocksEventReasons = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedClocksEventReasons')
988 global __nvmlDeviceGetPowerState
989 __nvmlDeviceGetPowerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerState')
990 if __nvmlDeviceGetPowerState == NULL:
991 if handle == NULL:
992 handle = load_library()
993 __nvmlDeviceGetPowerState = _cyb_dlsym(handle, 'nvmlDeviceGetPowerState')
995 global __nvmlDeviceGetDynamicPstatesInfo
996 __nvmlDeviceGetDynamicPstatesInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDynamicPstatesInfo')
997 if __nvmlDeviceGetDynamicPstatesInfo == NULL:
998 if handle == NULL:
999 handle = load_library()
1000 __nvmlDeviceGetDynamicPstatesInfo = _cyb_dlsym(handle, 'nvmlDeviceGetDynamicPstatesInfo')
1002 global __nvmlDeviceGetMemClkVfOffset
1003 __nvmlDeviceGetMemClkVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemClkVfOffset')
1004 if __nvmlDeviceGetMemClkVfOffset == NULL:
1005 if handle == NULL:
1006 handle = load_library()
1007 __nvmlDeviceGetMemClkVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetMemClkVfOffset')
1009 global __nvmlDeviceGetMinMaxClockOfPState
1010 __nvmlDeviceGetMinMaxClockOfPState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMinMaxClockOfPState')
1011 if __nvmlDeviceGetMinMaxClockOfPState == NULL:
1012 if handle == NULL:
1013 handle = load_library()
1014 __nvmlDeviceGetMinMaxClockOfPState = _cyb_dlsym(handle, 'nvmlDeviceGetMinMaxClockOfPState')
1016 global __nvmlDeviceGetSupportedPerformanceStates
1017 __nvmlDeviceGetSupportedPerformanceStates = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedPerformanceStates')
1018 if __nvmlDeviceGetSupportedPerformanceStates == NULL:
1019 if handle == NULL:
1020 handle = load_library()
1021 __nvmlDeviceGetSupportedPerformanceStates = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedPerformanceStates')
1023 global __nvmlDeviceGetGpcClkMinMaxVfOffset
1024 __nvmlDeviceGetGpcClkMinMaxVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpcClkMinMaxVfOffset')
1025 if __nvmlDeviceGetGpcClkMinMaxVfOffset == NULL:
1026 if handle == NULL:
1027 handle = load_library()
1028 __nvmlDeviceGetGpcClkMinMaxVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetGpcClkMinMaxVfOffset')
1030 global __nvmlDeviceGetMemClkMinMaxVfOffset
1031 __nvmlDeviceGetMemClkMinMaxVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemClkMinMaxVfOffset')
1032 if __nvmlDeviceGetMemClkMinMaxVfOffset == NULL:
1033 if handle == NULL:
1034 handle = load_library()
1035 __nvmlDeviceGetMemClkMinMaxVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetMemClkMinMaxVfOffset')
1037 global __nvmlDeviceGetClockOffsets
1038 __nvmlDeviceGetClockOffsets = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClockOffsets')
1039 if __nvmlDeviceGetClockOffsets == NULL:
1040 if handle == NULL:
1041 handle = load_library()
1042 __nvmlDeviceGetClockOffsets = _cyb_dlsym(handle, 'nvmlDeviceGetClockOffsets')
1044 global __nvmlDeviceSetClockOffsets
1045 __nvmlDeviceSetClockOffsets = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetClockOffsets')
1046 if __nvmlDeviceSetClockOffsets == NULL:
1047 if handle == NULL:
1048 handle = load_library()
1049 __nvmlDeviceSetClockOffsets = _cyb_dlsym(handle, 'nvmlDeviceSetClockOffsets')
1051 global __nvmlDeviceGetPerformanceModes
1052 __nvmlDeviceGetPerformanceModes = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPerformanceModes')
1053 if __nvmlDeviceGetPerformanceModes == NULL:
1054 if handle == NULL:
1055 handle = load_library()
1056 __nvmlDeviceGetPerformanceModes = _cyb_dlsym(handle, 'nvmlDeviceGetPerformanceModes')
1058 global __nvmlDeviceGetCurrentClockFreqs
1059 __nvmlDeviceGetCurrentClockFreqs = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrentClockFreqs')
1060 if __nvmlDeviceGetCurrentClockFreqs == NULL:
1061 if handle == NULL:
1062 handle = load_library()
1063 __nvmlDeviceGetCurrentClockFreqs = _cyb_dlsym(handle, 'nvmlDeviceGetCurrentClockFreqs')
1065 global __nvmlDeviceGetPowerManagementLimit
1066 __nvmlDeviceGetPowerManagementLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementLimit')
1067 if __nvmlDeviceGetPowerManagementLimit == NULL:
1068 if handle == NULL:
1069 handle = load_library()
1070 __nvmlDeviceGetPowerManagementLimit = _cyb_dlsym(handle, 'nvmlDeviceGetPowerManagementLimit')
1072 global __nvmlDeviceGetPowerManagementLimitConstraints
1073 __nvmlDeviceGetPowerManagementLimitConstraints = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementLimitConstraints')
1074 if __nvmlDeviceGetPowerManagementLimitConstraints == NULL:
1075 if handle == NULL:
1076 handle = load_library()
1077 __nvmlDeviceGetPowerManagementLimitConstraints = _cyb_dlsym(handle, 'nvmlDeviceGetPowerManagementLimitConstraints')
1079 global __nvmlDeviceGetPowerManagementDefaultLimit
1080 __nvmlDeviceGetPowerManagementDefaultLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementDefaultLimit')
1081 if __nvmlDeviceGetPowerManagementDefaultLimit == NULL:
1082 if handle == NULL:
1083 handle = load_library()
1084 __nvmlDeviceGetPowerManagementDefaultLimit = _cyb_dlsym(handle, 'nvmlDeviceGetPowerManagementDefaultLimit')
1086 global __nvmlDeviceGetPowerUsage
1087 __nvmlDeviceGetPowerUsage = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerUsage')
1088 if __nvmlDeviceGetPowerUsage == NULL:
1089 if handle == NULL:
1090 handle = load_library()
1091 __nvmlDeviceGetPowerUsage = _cyb_dlsym(handle, 'nvmlDeviceGetPowerUsage')
1093 global __nvmlDeviceGetTotalEnergyConsumption
1094 __nvmlDeviceGetTotalEnergyConsumption = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTotalEnergyConsumption')
1095 if __nvmlDeviceGetTotalEnergyConsumption == NULL:
1096 if handle == NULL:
1097 handle = load_library()
1098 __nvmlDeviceGetTotalEnergyConsumption = _cyb_dlsym(handle, 'nvmlDeviceGetTotalEnergyConsumption')
1100 global __nvmlDeviceGetEnforcedPowerLimit
1101 __nvmlDeviceGetEnforcedPowerLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEnforcedPowerLimit')
1102 if __nvmlDeviceGetEnforcedPowerLimit == NULL:
1103 if handle == NULL:
1104 handle = load_library()
1105 __nvmlDeviceGetEnforcedPowerLimit = _cyb_dlsym(handle, 'nvmlDeviceGetEnforcedPowerLimit')
1107 global __nvmlDeviceGetGpuOperationMode
1108 __nvmlDeviceGetGpuOperationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuOperationMode')
1109 if __nvmlDeviceGetGpuOperationMode == NULL:
1110 if handle == NULL:
1111 handle = load_library()
1112 __nvmlDeviceGetGpuOperationMode = _cyb_dlsym(handle, 'nvmlDeviceGetGpuOperationMode')
1114 global __nvmlDeviceGetMemoryInfo_v2
1115 __nvmlDeviceGetMemoryInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryInfo_v2')
1116 if __nvmlDeviceGetMemoryInfo_v2 == NULL:
1117 if handle == NULL:
1118 handle = load_library()
1119 __nvmlDeviceGetMemoryInfo_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryInfo_v2')
1121 global __nvmlDeviceGetComputeMode
1122 __nvmlDeviceGetComputeMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetComputeMode')
1123 if __nvmlDeviceGetComputeMode == NULL:
1124 if handle == NULL:
1125 handle = load_library()
1126 __nvmlDeviceGetComputeMode = _cyb_dlsym(handle, 'nvmlDeviceGetComputeMode')
1128 global __nvmlDeviceGetCudaComputeCapability
1129 __nvmlDeviceGetCudaComputeCapability = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCudaComputeCapability')
1130 if __nvmlDeviceGetCudaComputeCapability == NULL:
1131 if handle == NULL:
1132 handle = load_library()
1133 __nvmlDeviceGetCudaComputeCapability = _cyb_dlsym(handle, 'nvmlDeviceGetCudaComputeCapability')
1135 global __nvmlDeviceGetDramEncryptionMode
1136 __nvmlDeviceGetDramEncryptionMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDramEncryptionMode')
1137 if __nvmlDeviceGetDramEncryptionMode == NULL:
1138 if handle == NULL:
1139 handle = load_library()
1140 __nvmlDeviceGetDramEncryptionMode = _cyb_dlsym(handle, 'nvmlDeviceGetDramEncryptionMode')
1142 global __nvmlDeviceSetDramEncryptionMode
1143 __nvmlDeviceSetDramEncryptionMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDramEncryptionMode')
1144 if __nvmlDeviceSetDramEncryptionMode == NULL:
1145 if handle == NULL:
1146 handle = load_library()
1147 __nvmlDeviceSetDramEncryptionMode = _cyb_dlsym(handle, 'nvmlDeviceSetDramEncryptionMode')
1149 global __nvmlDeviceGetEccMode
1150 __nvmlDeviceGetEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEccMode')
1151 if __nvmlDeviceGetEccMode == NULL:
1152 if handle == NULL:
1153 handle = load_library()
1154 __nvmlDeviceGetEccMode = _cyb_dlsym(handle, 'nvmlDeviceGetEccMode')
1156 global __nvmlDeviceGetDefaultEccMode
1157 __nvmlDeviceGetDefaultEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDefaultEccMode')
1158 if __nvmlDeviceGetDefaultEccMode == NULL:
1159 if handle == NULL:
1160 handle = load_library()
1161 __nvmlDeviceGetDefaultEccMode = _cyb_dlsym(handle, 'nvmlDeviceGetDefaultEccMode')
1163 global __nvmlDeviceGetBoardId
1164 __nvmlDeviceGetBoardId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBoardId')
1165 if __nvmlDeviceGetBoardId == NULL:
1166 if handle == NULL:
1167 handle = load_library()
1168 __nvmlDeviceGetBoardId = _cyb_dlsym(handle, 'nvmlDeviceGetBoardId')
1170 global __nvmlDeviceGetMultiGpuBoard
1171 __nvmlDeviceGetMultiGpuBoard = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMultiGpuBoard')
1172 if __nvmlDeviceGetMultiGpuBoard == NULL:
1173 if handle == NULL:
1174 handle = load_library()
1175 __nvmlDeviceGetMultiGpuBoard = _cyb_dlsym(handle, 'nvmlDeviceGetMultiGpuBoard')
1177 global __nvmlDeviceGetTotalEccErrors
1178 __nvmlDeviceGetTotalEccErrors = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTotalEccErrors')
1179 if __nvmlDeviceGetTotalEccErrors == NULL:
1180 if handle == NULL:
1181 handle = load_library()
1182 __nvmlDeviceGetTotalEccErrors = _cyb_dlsym(handle, 'nvmlDeviceGetTotalEccErrors')
1184 global __nvmlDeviceGetMemoryErrorCounter
1185 __nvmlDeviceGetMemoryErrorCounter = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryErrorCounter')
1186 if __nvmlDeviceGetMemoryErrorCounter == NULL:
1187 if handle == NULL:
1188 handle = load_library()
1189 __nvmlDeviceGetMemoryErrorCounter = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryErrorCounter')
1191 global __nvmlDeviceGetUtilizationRates
1192 __nvmlDeviceGetUtilizationRates = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetUtilizationRates')
1193 if __nvmlDeviceGetUtilizationRates == NULL:
1194 if handle == NULL:
1195 handle = load_library()
1196 __nvmlDeviceGetUtilizationRates = _cyb_dlsym(handle, 'nvmlDeviceGetUtilizationRates')
1198 global __nvmlDeviceGetEncoderUtilization
1199 __nvmlDeviceGetEncoderUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderUtilization')
1200 if __nvmlDeviceGetEncoderUtilization == NULL:
1201 if handle == NULL:
1202 handle = load_library()
1203 __nvmlDeviceGetEncoderUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderUtilization')
1205 global __nvmlDeviceGetEncoderCapacity
1206 __nvmlDeviceGetEncoderCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderCapacity')
1207 if __nvmlDeviceGetEncoderCapacity == NULL:
1208 if handle == NULL:
1209 handle = load_library()
1210 __nvmlDeviceGetEncoderCapacity = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderCapacity')
1212 global __nvmlDeviceGetEncoderStats
1213 __nvmlDeviceGetEncoderStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderStats')
1214 if __nvmlDeviceGetEncoderStats == NULL:
1215 if handle == NULL:
1216 handle = load_library()
1217 __nvmlDeviceGetEncoderStats = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderStats')
1219 global __nvmlDeviceGetEncoderSessions
1220 __nvmlDeviceGetEncoderSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderSessions')
1221 if __nvmlDeviceGetEncoderSessions == NULL:
1222 if handle == NULL:
1223 handle = load_library()
1224 __nvmlDeviceGetEncoderSessions = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderSessions')
1226 global __nvmlDeviceGetDecoderUtilization
1227 __nvmlDeviceGetDecoderUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDecoderUtilization')
1228 if __nvmlDeviceGetDecoderUtilization == NULL:
1229 if handle == NULL:
1230 handle = load_library()
1231 __nvmlDeviceGetDecoderUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetDecoderUtilization')
1233 global __nvmlDeviceGetJpgUtilization
1234 __nvmlDeviceGetJpgUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetJpgUtilization')
1235 if __nvmlDeviceGetJpgUtilization == NULL:
1236 if handle == NULL:
1237 handle = load_library()
1238 __nvmlDeviceGetJpgUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetJpgUtilization')
1240 global __nvmlDeviceGetOfaUtilization
1241 __nvmlDeviceGetOfaUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetOfaUtilization')
1242 if __nvmlDeviceGetOfaUtilization == NULL:
1243 if handle == NULL:
1244 handle = load_library()
1245 __nvmlDeviceGetOfaUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetOfaUtilization')
1247 global __nvmlDeviceGetFBCStats
1248 __nvmlDeviceGetFBCStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFBCStats')
1249 if __nvmlDeviceGetFBCStats == NULL:
1250 if handle == NULL:
1251 handle = load_library()
1252 __nvmlDeviceGetFBCStats = _cyb_dlsym(handle, 'nvmlDeviceGetFBCStats')
1254 global __nvmlDeviceGetFBCSessions
1255 __nvmlDeviceGetFBCSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFBCSessions')
1256 if __nvmlDeviceGetFBCSessions == NULL:
1257 if handle == NULL:
1258 handle = load_library()
1259 __nvmlDeviceGetFBCSessions = _cyb_dlsym(handle, 'nvmlDeviceGetFBCSessions')
1261 global __nvmlDeviceGetDriverModel_v2
1262 __nvmlDeviceGetDriverModel_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDriverModel_v2')
1263 if __nvmlDeviceGetDriverModel_v2 == NULL:
1264 if handle == NULL:
1265 handle = load_library()
1266 __nvmlDeviceGetDriverModel_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetDriverModel_v2')
1268 global __nvmlDeviceGetVbiosVersion
1269 __nvmlDeviceGetVbiosVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVbiosVersion')
1270 if __nvmlDeviceGetVbiosVersion == NULL:
1271 if handle == NULL:
1272 handle = load_library()
1273 __nvmlDeviceGetVbiosVersion = _cyb_dlsym(handle, 'nvmlDeviceGetVbiosVersion')
1275 global __nvmlDeviceGetBridgeChipInfo
1276 __nvmlDeviceGetBridgeChipInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBridgeChipInfo')
1277 if __nvmlDeviceGetBridgeChipInfo == NULL:
1278 if handle == NULL:
1279 handle = load_library()
1280 __nvmlDeviceGetBridgeChipInfo = _cyb_dlsym(handle, 'nvmlDeviceGetBridgeChipInfo')
1282 global __nvmlDeviceGetComputeRunningProcesses_v3
1283 __nvmlDeviceGetComputeRunningProcesses_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetComputeRunningProcesses_v3')
1284 if __nvmlDeviceGetComputeRunningProcesses_v3 == NULL:
1285 if handle == NULL:
1286 handle = load_library()
1287 __nvmlDeviceGetComputeRunningProcesses_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetComputeRunningProcesses_v3')
1289 global __nvmlDeviceGetGraphicsRunningProcesses_v3
1290 __nvmlDeviceGetGraphicsRunningProcesses_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGraphicsRunningProcesses_v3')
1291 if __nvmlDeviceGetGraphicsRunningProcesses_v3 == NULL:
1292 if handle == NULL:
1293 handle = load_library()
1294 __nvmlDeviceGetGraphicsRunningProcesses_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetGraphicsRunningProcesses_v3')
1296 global __nvmlDeviceGetMPSComputeRunningProcesses_v3
1297 __nvmlDeviceGetMPSComputeRunningProcesses_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMPSComputeRunningProcesses_v3')
1298 if __nvmlDeviceGetMPSComputeRunningProcesses_v3 == NULL:
1299 if handle == NULL:
1300 handle = load_library()
1301 __nvmlDeviceGetMPSComputeRunningProcesses_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetMPSComputeRunningProcesses_v3')
1303 global __nvmlDeviceGetRunningProcessDetailList
1304 __nvmlDeviceGetRunningProcessDetailList = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRunningProcessDetailList')
1305 if __nvmlDeviceGetRunningProcessDetailList == NULL:
1306 if handle == NULL:
1307 handle = load_library()
1308 __nvmlDeviceGetRunningProcessDetailList = _cyb_dlsym(handle, 'nvmlDeviceGetRunningProcessDetailList')
1310 global __nvmlDeviceOnSameBoard
1311 __nvmlDeviceOnSameBoard = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceOnSameBoard')
1312 if __nvmlDeviceOnSameBoard == NULL:
1313 if handle == NULL:
1314 handle = load_library()
1315 __nvmlDeviceOnSameBoard = _cyb_dlsym(handle, 'nvmlDeviceOnSameBoard')
1317 global __nvmlDeviceGetAPIRestriction
1318 __nvmlDeviceGetAPIRestriction = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAPIRestriction')
1319 if __nvmlDeviceGetAPIRestriction == NULL:
1320 if handle == NULL:
1321 handle = load_library()
1322 __nvmlDeviceGetAPIRestriction = _cyb_dlsym(handle, 'nvmlDeviceGetAPIRestriction')
1324 global __nvmlDeviceGetSamples
1325 __nvmlDeviceGetSamples = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSamples')
1326 if __nvmlDeviceGetSamples == NULL:
1327 if handle == NULL:
1328 handle = load_library()
1329 __nvmlDeviceGetSamples = _cyb_dlsym(handle, 'nvmlDeviceGetSamples')
1331 global __nvmlDeviceGetBAR1MemoryInfo
1332 __nvmlDeviceGetBAR1MemoryInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBAR1MemoryInfo')
1333 if __nvmlDeviceGetBAR1MemoryInfo == NULL:
1334 if handle == NULL:
1335 handle = load_library()
1336 __nvmlDeviceGetBAR1MemoryInfo = _cyb_dlsym(handle, 'nvmlDeviceGetBAR1MemoryInfo')
1338 global __nvmlDeviceGetIrqNum
1339 __nvmlDeviceGetIrqNum = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetIrqNum')
1340 if __nvmlDeviceGetIrqNum == NULL:
1341 if handle == NULL:
1342 handle = load_library()
1343 __nvmlDeviceGetIrqNum = _cyb_dlsym(handle, 'nvmlDeviceGetIrqNum')
1345 global __nvmlDeviceGetNumGpuCores
1346 __nvmlDeviceGetNumGpuCores = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNumGpuCores')
1347 if __nvmlDeviceGetNumGpuCores == NULL:
1348 if handle == NULL:
1349 handle = load_library()
1350 __nvmlDeviceGetNumGpuCores = _cyb_dlsym(handle, 'nvmlDeviceGetNumGpuCores')
1352 global __nvmlDeviceGetPowerSource
1353 __nvmlDeviceGetPowerSource = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerSource')
1354 if __nvmlDeviceGetPowerSource == NULL:
1355 if handle == NULL:
1356 handle = load_library()
1357 __nvmlDeviceGetPowerSource = _cyb_dlsym(handle, 'nvmlDeviceGetPowerSource')
1359 global __nvmlDeviceGetMemoryBusWidth
1360 __nvmlDeviceGetMemoryBusWidth = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryBusWidth')
1361 if __nvmlDeviceGetMemoryBusWidth == NULL:
1362 if handle == NULL:
1363 handle = load_library()
1364 __nvmlDeviceGetMemoryBusWidth = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryBusWidth')
1366 global __nvmlDeviceGetPcieLinkMaxSpeed
1367 __nvmlDeviceGetPcieLinkMaxSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieLinkMaxSpeed')
1368 if __nvmlDeviceGetPcieLinkMaxSpeed == NULL:
1369 if handle == NULL:
1370 handle = load_library()
1371 __nvmlDeviceGetPcieLinkMaxSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetPcieLinkMaxSpeed')
1373 global __nvmlDeviceGetPcieSpeed
1374 __nvmlDeviceGetPcieSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieSpeed')
1375 if __nvmlDeviceGetPcieSpeed == NULL:
1376 if handle == NULL:
1377 handle = load_library()
1378 __nvmlDeviceGetPcieSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetPcieSpeed')
1380 global __nvmlDeviceGetAdaptiveClockInfoStatus
1381 __nvmlDeviceGetAdaptiveClockInfoStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAdaptiveClockInfoStatus')
1382 if __nvmlDeviceGetAdaptiveClockInfoStatus == NULL:
1383 if handle == NULL:
1384 handle = load_library()
1385 __nvmlDeviceGetAdaptiveClockInfoStatus = _cyb_dlsym(handle, 'nvmlDeviceGetAdaptiveClockInfoStatus')
1387 global __nvmlDeviceGetBusType
1388 __nvmlDeviceGetBusType = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBusType')
1389 if __nvmlDeviceGetBusType == NULL:
1390 if handle == NULL:
1391 handle = load_library()
1392 __nvmlDeviceGetBusType = _cyb_dlsym(handle, 'nvmlDeviceGetBusType')
1394 global __nvmlDeviceGetGpuFabricInfoV
1395 __nvmlDeviceGetGpuFabricInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuFabricInfoV')
1396 if __nvmlDeviceGetGpuFabricInfoV == NULL:
1397 if handle == NULL:
1398 handle = load_library()
1399 __nvmlDeviceGetGpuFabricInfoV = _cyb_dlsym(handle, 'nvmlDeviceGetGpuFabricInfoV')
1401 global __nvmlSystemGetConfComputeCapabilities
1402 __nvmlSystemGetConfComputeCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeCapabilities')
1403 if __nvmlSystemGetConfComputeCapabilities == NULL:
1404 if handle == NULL:
1405 handle = load_library()
1406 __nvmlSystemGetConfComputeCapabilities = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeCapabilities')
1408 global __nvmlSystemGetConfComputeState
1409 __nvmlSystemGetConfComputeState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeState')
1410 if __nvmlSystemGetConfComputeState == NULL:
1411 if handle == NULL:
1412 handle = load_library()
1413 __nvmlSystemGetConfComputeState = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeState')
1415 global __nvmlDeviceGetConfComputeMemSizeInfo
1416 __nvmlDeviceGetConfComputeMemSizeInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeMemSizeInfo')
1417 if __nvmlDeviceGetConfComputeMemSizeInfo == NULL:
1418 if handle == NULL:
1419 handle = load_library()
1420 __nvmlDeviceGetConfComputeMemSizeInfo = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeMemSizeInfo')
1422 global __nvmlSystemGetConfComputeGpusReadyState
1423 __nvmlSystemGetConfComputeGpusReadyState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeGpusReadyState')
1424 if __nvmlSystemGetConfComputeGpusReadyState == NULL:
1425 if handle == NULL:
1426 handle = load_library()
1427 __nvmlSystemGetConfComputeGpusReadyState = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeGpusReadyState')
1429 global __nvmlDeviceGetConfComputeProtectedMemoryUsage
1430 __nvmlDeviceGetConfComputeProtectedMemoryUsage = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeProtectedMemoryUsage')
1431 if __nvmlDeviceGetConfComputeProtectedMemoryUsage == NULL:
1432 if handle == NULL:
1433 handle = load_library()
1434 __nvmlDeviceGetConfComputeProtectedMemoryUsage = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeProtectedMemoryUsage')
1436 global __nvmlDeviceGetConfComputeGpuCertificate
1437 __nvmlDeviceGetConfComputeGpuCertificate = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeGpuCertificate')
1438 if __nvmlDeviceGetConfComputeGpuCertificate == NULL:
1439 if handle == NULL:
1440 handle = load_library()
1441 __nvmlDeviceGetConfComputeGpuCertificate = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeGpuCertificate')
1443 global __nvmlDeviceGetConfComputeGpuAttestationReport
1444 __nvmlDeviceGetConfComputeGpuAttestationReport = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeGpuAttestationReport')
1445 if __nvmlDeviceGetConfComputeGpuAttestationReport == NULL:
1446 if handle == NULL:
1447 handle = load_library()
1448 __nvmlDeviceGetConfComputeGpuAttestationReport = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeGpuAttestationReport')
1450 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo
1451 __nvmlSystemGetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeKeyRotationThresholdInfo') 2a f ob= Sbvc? Tbwc@ UbMb[ Vbw ] Wbx ^ Xb_ ` Yby { ZbIb| 0bxc} 1b~ ab2bZ bb3b9 cb4bz db5beb6b0 fb7b1 gb8bg 9b!bnbhb#bycib$b2 A %bzcb 'bB jb(bpbkb)bm lb*bn mb+bi ,bNbk -b.bl /bObC :b3 D ;b4 E =b5 F ?b6 G @b7 H [b8 I ]bJ ^bK _bL `bM {bN |bO }bP ~bJbQ acKbR bcPbS ccLbT dcucecfcgchcicQbjckcRblcmc! nc
1452 if __nvmlSystemGetConfComputeKeyRotationThresholdInfo == NULL:
1453 if handle == NULL:
1454 handle = load_library()
1455 __nvmlSystemGetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeKeyRotationThresholdInfo')
1457 global __nvmlDeviceSetConfComputeUnprotectedMemSize
1458 __nvmlDeviceSetConfComputeUnprotectedMemSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetConfComputeUnprotectedMemSize')
1459 if __nvmlDeviceSetConfComputeUnprotectedMemSize == NULL:
1460 if handle == NULL:
1461 handle = load_library()
1462 __nvmlDeviceSetConfComputeUnprotectedMemSize = _cyb_dlsym(handle, 'nvmlDeviceSetConfComputeUnprotectedMemSize')
1464 global __nvmlSystemSetConfComputeGpusReadyState
1465 __nvmlSystemSetConfComputeGpusReadyState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemSetConfComputeGpusReadyState')
1466 if __nvmlSystemSetConfComputeGpusReadyState == NULL:
1467 if handle == NULL:
1468 handle = load_library()
1469 __nvmlSystemSetConfComputeGpusReadyState = _cyb_dlsym(handle, 'nvmlSystemSetConfComputeGpusReadyState')
1471 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo
1472 __nvmlSystemSetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemSetConfComputeKeyRotationThresholdInfo')
1473 if __nvmlSystemSetConfComputeKeyRotationThresholdInfo == NULL:
1474 if handle == NULL:
1475 handle = load_library()
1476 __nvmlSystemSetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(handle, 'nvmlSystemSetConfComputeKeyRotationThresholdInfo')
1478 global __nvmlSystemGetConfComputeSettings
1479 __nvmlSystemGetConfComputeSettings = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeSettings')
1480 if __nvmlSystemGetConfComputeSettings == NULL:
1481 if handle == NULL:
1482 handle = load_library()
1483 __nvmlSystemGetConfComputeSettings = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeSettings')
1485 global __nvmlDeviceGetGspFirmwareVersion
1486 __nvmlDeviceGetGspFirmwareVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGspFirmwareVersion')
1487 if __nvmlDeviceGetGspFirmwareVersion == NULL:
1488 if handle == NULL:
1489 handle = load_library()
1490 __nvmlDeviceGetGspFirmwareVersion = _cyb_dlsym(handle, 'nvmlDeviceGetGspFirmwareVersion')
1492 global __nvmlDeviceGetGspFirmwareMode
1493 __nvmlDeviceGetGspFirmwareMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGspFirmwareMode')
1494 if __nvmlDeviceGetGspFirmwareMode == NULL:
1495 if handle == NULL:
1496 handle = load_library()
1497 __nvmlDeviceGetGspFirmwareMode = _cyb_dlsym(handle, 'nvmlDeviceGetGspFirmwareMode')
1499 global __nvmlDeviceGetSramEccErrorStatus
1500 __nvmlDeviceGetSramEccErrorStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSramEccErrorStatus')
1501 if __nvmlDeviceGetSramEccErrorStatus == NULL:
1502 if handle == NULL:
1503 handle = load_library()
1504 __nvmlDeviceGetSramEccErrorStatus = _cyb_dlsym(handle, 'nvmlDeviceGetSramEccErrorStatus')
1506 global __nvmlDeviceGetAccountingMode
1507 __nvmlDeviceGetAccountingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingMode')
1508 if __nvmlDeviceGetAccountingMode == NULL:
1509 if handle == NULL:
1510 handle = load_library()
1511 __nvmlDeviceGetAccountingMode = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingMode')
1513 global __nvmlDeviceGetAccountingStats
1514 __nvmlDeviceGetAccountingStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingStats')
1515 if __nvmlDeviceGetAccountingStats == NULL:
1516 if handle == NULL:
1517 handle = load_library()
1518 __nvmlDeviceGetAccountingStats = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingStats')
1520 global __nvmlDeviceGetAccountingPids
1521 __nvmlDeviceGetAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingPids')
1522 if __nvmlDeviceGetAccountingPids == NULL:
1523 if handle == NULL:
1524 handle = load_library()
1525 __nvmlDeviceGetAccountingPids = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingPids')
1527 global __nvmlDeviceGetAccountingBufferSize
1528 __nvmlDeviceGetAccountingBufferSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingBufferSize')
1529 if __nvmlDeviceGetAccountingBufferSize == NULL:
1530 if handle == NULL:
1531 handle = load_library()
1532 __nvmlDeviceGetAccountingBufferSize = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingBufferSize')
1534 global __nvmlDeviceGetRetiredPages
1535 __nvmlDeviceGetRetiredPages = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRetiredPages')
1536 if __nvmlDeviceGetRetiredPages == NULL:
1537 if handle == NULL:
1538 handle = load_library()
1539 __nvmlDeviceGetRetiredPages = _cyb_dlsym(handle, 'nvmlDeviceGetRetiredPages')
1541 global __nvmlDeviceGetRetiredPages_v2
1542 __nvmlDeviceGetRetiredPages_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRetiredPages_v2')
1543 if __nvmlDeviceGetRetiredPages_v2 == NULL:
1544 if handle == NULL:
1545 handle = load_library()
1546 __nvmlDeviceGetRetiredPages_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetRetiredPages_v2')
1548 global __nvmlDeviceGetRetiredPagesPendingStatus
1549 __nvmlDeviceGetRetiredPagesPendingStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRetiredPagesPendingStatus')
1550 if __nvmlDeviceGetRetiredPagesPendingStatus == NULL:
1551 if handle == NULL:
1552 handle = load_library()
1553 __nvmlDeviceGetRetiredPagesPendingStatus = _cyb_dlsym(handle, 'nvmlDeviceGetRetiredPagesPendingStatus')
1555 global __nvmlDeviceGetRemappedRows
1556 __nvmlDeviceGetRemappedRows = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRemappedRows')
1557 if __nvmlDeviceGetRemappedRows == NULL:
1558 if handle == NULL:
1559 handle = load_library()
1560 __nvmlDeviceGetRemappedRows = _cyb_dlsym(handle, 'nvmlDeviceGetRemappedRows')
1562 global __nvmlDeviceGetRowRemapperHistogram
1563 __nvmlDeviceGetRowRemapperHistogram = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRowRemapperHistogram')
1564 if __nvmlDeviceGetRowRemapperHistogram == NULL:
1565 if handle == NULL:
1566 handle = load_library()
1567 __nvmlDeviceGetRowRemapperHistogram = _cyb_dlsym(handle, 'nvmlDeviceGetRowRemapperHistogram')
1569 global __nvmlDeviceGetArchitecture
1570 __nvmlDeviceGetArchitecture = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetArchitecture')
1571 if __nvmlDeviceGetArchitecture == NULL:
1572 if handle == NULL:
1573 handle = load_library()
1574 __nvmlDeviceGetArchitecture = _cyb_dlsym(handle, 'nvmlDeviceGetArchitecture')
1576 global __nvmlDeviceGetClkMonStatus
1577 __nvmlDeviceGetClkMonStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClkMonStatus')
1578 if __nvmlDeviceGetClkMonStatus == NULL:
1579 if handle == NULL:
1580 handle = load_library()
1581 __nvmlDeviceGetClkMonStatus = _cyb_dlsym(handle, 'nvmlDeviceGetClkMonStatus')
1583 global __nvmlDeviceGetProcessUtilization
1584 __nvmlDeviceGetProcessUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetProcessUtilization')
1585 if __nvmlDeviceGetProcessUtilization == NULL:
1586 if handle == NULL:
1587 handle = load_library()
1588 __nvmlDeviceGetProcessUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetProcessUtilization')
1590 global __nvmlDeviceGetProcessesUtilizationInfo
1591 __nvmlDeviceGetProcessesUtilizationInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetProcessesUtilizationInfo')
1592 if __nvmlDeviceGetProcessesUtilizationInfo == NULL:
1593 if handle == NULL:
1594 handle = load_library()
1595 __nvmlDeviceGetProcessesUtilizationInfo = _cyb_dlsym(handle, 'nvmlDeviceGetProcessesUtilizationInfo')
1597 global __nvmlDeviceGetPlatformInfo
1598 __nvmlDeviceGetPlatformInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPlatformInfo')
1599 if __nvmlDeviceGetPlatformInfo == NULL:
1600 if handle == NULL:
1601 handle = load_library()
1602 __nvmlDeviceGetPlatformInfo = _cyb_dlsym(handle, 'nvmlDeviceGetPlatformInfo')
1604 global __nvmlUnitSetLedState
1605 __nvmlUnitSetLedState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitSetLedState')
1606 if __nvmlUnitSetLedState == NULL:
1607 if handle == NULL:
1608 handle = load_library()
1609 __nvmlUnitSetLedState = _cyb_dlsym(handle, 'nvmlUnitSetLedState')
1611 global __nvmlDeviceSetPersistenceMode
1612 __nvmlDeviceSetPersistenceMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetPersistenceMode')
1613 if __nvmlDeviceSetPersistenceMode == NULL:
1614 if handle == NULL:
1615 handle = load_library()
1616 __nvmlDeviceSetPersistenceMode = _cyb_dlsym(handle, 'nvmlDeviceSetPersistenceMode')
1618 global __nvmlDeviceSetComputeMode
1619 __nvmlDeviceSetComputeMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetComputeMode')
1620 if __nvmlDeviceSetComputeMode == NULL:
1621 if handle == NULL:
1622 handle = load_library()
1623 __nvmlDeviceSetComputeMode = _cyb_dlsym(handle, 'nvmlDeviceSetComputeMode')
1625 global __nvmlDeviceSetEccMode
1626 __nvmlDeviceSetEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetEccMode')
1627 if __nvmlDeviceSetEccMode == NULL:
1628 if handle == NULL:
1629 handle = load_library()
1630 __nvmlDeviceSetEccMode = _cyb_dlsym(handle, 'nvmlDeviceSetEccMode')
1632 global __nvmlDeviceClearEccErrorCounts
1633 __nvmlDeviceClearEccErrorCounts = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearEccErrorCounts')
1634 if __nvmlDeviceClearEccErrorCounts == NULL:
1635 if handle == NULL:
1636 handle = load_library()
1637 __nvmlDeviceClearEccErrorCounts = _cyb_dlsym(handle, 'nvmlDeviceClearEccErrorCounts')
1639 global __nvmlDeviceSetDriverModel
1640 __nvmlDeviceSetDriverModel = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDriverModel')
1641 if __nvmlDeviceSetDriverModel == NULL:
1642 if handle == NULL:
1643 handle = load_library()
1644 __nvmlDeviceSetDriverModel = _cyb_dlsym(handle, 'nvmlDeviceSetDriverModel')
1646 global __nvmlDeviceSetGpuLockedClocks
1647 __nvmlDeviceSetGpuLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetGpuLockedClocks')
1648 if __nvmlDeviceSetGpuLockedClocks == NULL:
1649 if handle == NULL:
1650 handle = load_library()
1651 __nvmlDeviceSetGpuLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceSetGpuLockedClocks')
1653 global __nvmlDeviceResetGpuLockedClocks
1654 __nvmlDeviceResetGpuLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceResetGpuLockedClocks')
1655 if __nvmlDeviceResetGpuLockedClocks == NULL:
1656 if handle == NULL:
1657 handle = load_library()
1658 __nvmlDeviceResetGpuLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceResetGpuLockedClocks')
1660 global __nvmlDeviceSetMemoryLockedClocks
1661 __nvmlDeviceSetMemoryLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetMemoryLockedClocks')
1662 if __nvmlDeviceSetMemoryLockedClocks == NULL:
1663 if handle == NULL:
1664 handle = load_library()
1665 __nvmlDeviceSetMemoryLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceSetMemoryLockedClocks')
1667 global __nvmlDeviceResetMemoryLockedClocks
1668 __nvmlDeviceResetMemoryLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceResetMemoryLockedClocks')
1669 if __nvmlDeviceResetMemoryLockedClocks == NULL:
1670 if handle == NULL:
1671 handle = load_library()
1672 __nvmlDeviceResetMemoryLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceResetMemoryLockedClocks')
1674 global __nvmlDeviceSetAutoBoostedClocksEnabled
1675 __nvmlDeviceSetAutoBoostedClocksEnabled = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetAutoBoostedClocksEnabled')
1676 if __nvmlDeviceSetAutoBoostedClocksEnabled == NULL:
1677 if handle == NULL:
1678 handle = load_library()
1679 __nvmlDeviceSetAutoBoostedClocksEnabled = _cyb_dlsym(handle, 'nvmlDeviceSetAutoBoostedClocksEnabled')
1681 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled
1682 __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDefaultAutoBoostedClocksEnabled')
1683 if __nvmlDeviceSetDefaultAutoBoostedClocksEnabled == NULL:
1684 if handle == NULL:
1685 handle = load_library()
1686 __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = _cyb_dlsym(handle, 'nvmlDeviceSetDefaultAutoBoostedClocksEnabled')
1688 global __nvmlDeviceSetDefaultFanSpeed_v2
1689 __nvmlDeviceSetDefaultFanSpeed_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDefaultFanSpeed_v2')
1690 if __nvmlDeviceSetDefaultFanSpeed_v2 == NULL:
1691 if handle == NULL:
1692 handle = load_library()
1693 __nvmlDeviceSetDefaultFanSpeed_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetDefaultFanSpeed_v2')
1695 global __nvmlDeviceSetFanControlPolicy
1696 __nvmlDeviceSetFanControlPolicy = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetFanControlPolicy')
1697 if __nvmlDeviceSetFanControlPolicy == NULL:
1698 if handle == NULL:
1699 handle = load_library()
1700 __nvmlDeviceSetFanControlPolicy = _cyb_dlsym(handle, 'nvmlDeviceSetFanControlPolicy')
1702 global __nvmlDeviceSetTemperatureThreshold
1703 __nvmlDeviceSetTemperatureThreshold = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetTemperatureThreshold')
1704 if __nvmlDeviceSetTemperatureThreshold == NULL:
1705 if handle == NULL:
1706 handle = load_library()
1707 __nvmlDeviceSetTemperatureThreshold = _cyb_dlsym(handle, 'nvmlDeviceSetTemperatureThreshold')
1709 global __nvmlDeviceSetGpuOperationMode
1710 __nvmlDeviceSetGpuOperationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetGpuOperationMode')
1711 if __nvmlDeviceSetGpuOperationMode == NULL:
1712 if handle == NULL:
1713 handle = load_library()
1714 __nvmlDeviceSetGpuOperationMode = _cyb_dlsym(handle, 'nvmlDeviceSetGpuOperationMode')
1716 global __nvmlDeviceSetAPIRestriction
1717 __nvmlDeviceSetAPIRestriction = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetAPIRestriction')
1718 if __nvmlDeviceSetAPIRestriction == NULL:
1719 if handle == NULL:
1720 handle = load_library()
1721 __nvmlDeviceSetAPIRestriction = _cyb_dlsym(handle, 'nvmlDeviceSetAPIRestriction')
1723 global __nvmlDeviceSetFanSpeed_v2
1724 __nvmlDeviceSetFanSpeed_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetFanSpeed_v2')
1725 if __nvmlDeviceSetFanSpeed_v2 == NULL:
1726 if handle == NULL:
1727 handle = load_library()
1728 __nvmlDeviceSetFanSpeed_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetFanSpeed_v2')
1730 global __nvmlDeviceSetAccountingMode
1731 __nvmlDeviceSetAccountingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetAccountingMode')
1732 if __nvmlDeviceSetAccountingMode == NULL:
1733 if handle == NULL:
1734 handle = load_library()
1735 __nvmlDeviceSetAccountingMode = _cyb_dlsym(handle, 'nvmlDeviceSetAccountingMode')
1737 global __nvmlDeviceClearAccountingPids
1738 __nvmlDeviceClearAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearAccountingPids')
1739 if __nvmlDeviceClearAccountingPids == NULL:
1740 if handle == NULL:
1741 handle = load_library()
1742 __nvmlDeviceClearAccountingPids = _cyb_dlsym(handle, 'nvmlDeviceClearAccountingPids')
1744 global __nvmlDeviceSetPowerManagementLimit_v2
1745 __nvmlDeviceSetPowerManagementLimit_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetPowerManagementLimit_v2')
1746 if __nvmlDeviceSetPowerManagementLimit_v2 == NULL:
1747 if handle == NULL:
1748 handle = load_library()
1749 __nvmlDeviceSetPowerManagementLimit_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetPowerManagementLimit_v2')
1751 global __nvmlDeviceGetNvLinkState
1752 __nvmlDeviceGetNvLinkState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkState')
1753 if __nvmlDeviceGetNvLinkState == NULL:
1754 if handle == NULL:
1755 handle = load_library()
1756 __nvmlDeviceGetNvLinkState = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkState')
1758 global __nvmlDeviceGetNvLinkVersion
1759 __nvmlDeviceGetNvLinkVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkVersion')
1760 if __nvmlDeviceGetNvLinkVersion == NULL:
1761 if handle == NULL:
1762 handle = load_library()
1763 __nvmlDeviceGetNvLinkVersion = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkVersion')
1765 global __nvmlDeviceGetNvLinkCapability
1766 __nvmlDeviceGetNvLinkCapability = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkCapability')
1767 if __nvmlDeviceGetNvLinkCapability == NULL:
1768 if handle == NULL:
1769 handle = load_library()
1770 __nvmlDeviceGetNvLinkCapability = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkCapability')
1772 global __nvmlDeviceGetNvLinkRemotePciInfo_v2
1773 __nvmlDeviceGetNvLinkRemotePciInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkRemotePciInfo_v2')
1774 if __nvmlDeviceGetNvLinkRemotePciInfo_v2 == NULL:
1775 if handle == NULL:
1776 handle = load_library()
1777 __nvmlDeviceGetNvLinkRemotePciInfo_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkRemotePciInfo_v2')
1779 global __nvmlDeviceGetNvLinkErrorCounter
1780 __nvmlDeviceGetNvLinkErrorCounter = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkErrorCounter')
1781 if __nvmlDeviceGetNvLinkErrorCounter == NULL:
1782 if handle == NULL:
1783 handle = load_library()
1784 __nvmlDeviceGetNvLinkErrorCounter = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkErrorCounter')
1786 global __nvmlDeviceResetNvLinkErrorCounters
1787 __nvmlDeviceResetNvLinkErrorCounters = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceResetNvLinkErrorCounters')
1788 if __nvmlDeviceResetNvLinkErrorCounters == NULL:
1789 if handle == NULL:
1790 handle = load_library()
1791 __nvmlDeviceResetNvLinkErrorCounters = _cyb_dlsym(handle, 'nvmlDeviceResetNvLinkErrorCounters')
1793 global __nvmlDeviceGetNvLinkRemoteDeviceType
1794 __nvmlDeviceGetNvLinkRemoteDeviceType = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkRemoteDeviceType')
1795 if __nvmlDeviceGetNvLinkRemoteDeviceType == NULL:
1796 if handle == NULL:
1797 handle = load_library()
1798 __nvmlDeviceGetNvLinkRemoteDeviceType = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkRemoteDeviceType')
1800 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold
1801 __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetNvLinkDeviceLowPowerThreshold')
1802 if __nvmlDeviceSetNvLinkDeviceLowPowerThreshold == NULL:
1803 if handle == NULL:
1804 handle = load_library()
1805 __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = _cyb_dlsym(handle, 'nvmlDeviceSetNvLinkDeviceLowPowerThreshold')
1807 global __nvmlSystemSetNvlinkBwMode
1808 __nvmlSystemSetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemSetNvlinkBwMode')
1809 if __nvmlSystemSetNvlinkBwMode == NULL:
1810 if handle == NULL:
1811 handle = load_library()
1812 __nvmlSystemSetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlSystemSetNvlinkBwMode')
1814 global __nvmlSystemGetNvlinkBwMode
1815 __nvmlSystemGetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetNvlinkBwMode')
1816 if __nvmlSystemGetNvlinkBwMode == NULL:
1817 if handle == NULL:
1818 handle = load_library()
1819 __nvmlSystemGetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlSystemGetNvlinkBwMode')
1821 global __nvmlDeviceGetNvlinkSupportedBwModes
1822 __nvmlDeviceGetNvlinkSupportedBwModes = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvlinkSupportedBwModes')
1823 if __nvmlDeviceGetNvlinkSupportedBwModes == NULL:
1824 if handle == NULL:
1825 handle = load_library()
1826 __nvmlDeviceGetNvlinkSupportedBwModes = _cyb_dlsym(handle, 'nvmlDeviceGetNvlinkSupportedBwModes')
1828 global __nvmlDeviceGetNvlinkBwMode
1829 __nvmlDeviceGetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvlinkBwMode')
1830 if __nvmlDeviceGetNvlinkBwMode == NULL:
1831 if handle == NULL:
1832 handle = load_library()
1833 __nvmlDeviceGetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlDeviceGetNvlinkBwMode')
1835 global __nvmlDeviceSetNvlinkBwMode
1836 __nvmlDeviceSetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetNvlinkBwMode')
1837 if __nvmlDeviceSetNvlinkBwMode == NULL:
1838 if handle == NULL:
1839 handle = load_library()
1840 __nvmlDeviceSetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlDeviceSetNvlinkBwMode')
1842 global __nvmlEventSetCreate
1843 __nvmlEventSetCreate = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetCreate')
1844 if __nvmlEventSetCreate == NULL:
1845 if handle == NULL:
1846 handle = load_library()
1847 __nvmlEventSetCreate = _cyb_dlsym(handle, 'nvmlEventSetCreate')
1849 global __nvmlDeviceRegisterEvents
1850 __nvmlDeviceRegisterEvents = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceRegisterEvents')
1851 if __nvmlDeviceRegisterEvents == NULL:
1852 if handle == NULL:
1853 handle = load_library()
1854 __nvmlDeviceRegisterEvents = _cyb_dlsym(handle, 'nvmlDeviceRegisterEvents')
1856 global __nvmlDeviceGetSupportedEventTypes
1857 __nvmlDeviceGetSupportedEventTypes = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedEventTypes')
1858 if __nvmlDeviceGetSupportedEventTypes == NULL:
1859 if handle == NULL:
1860 handle = load_library()
1861 __nvmlDeviceGetSupportedEventTypes = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedEventTypes')
1863 global __nvmlEventSetWait_v2
1864 __nvmlEventSetWait_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetWait_v2')
1865 if __nvmlEventSetWait_v2 == NULL:
1866 if handle == NULL:
1867 handle = load_library()
1868 __nvmlEventSetWait_v2 = _cyb_dlsym(handle, 'nvmlEventSetWait_v2')
1870 global __nvmlEventSetFree
1871 __nvmlEventSetFree = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetFree')
1872 if __nvmlEventSetFree == NULL:
1873 if handle == NULL:
1874 handle = load_library()
1875 __nvmlEventSetFree = _cyb_dlsym(handle, 'nvmlEventSetFree')
1877 global __nvmlSystemEventSetCreate
1878 __nvmlSystemEventSetCreate = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemEventSetCreate')
1879 if __nvmlSystemEventSetCreate == NULL:
1880 if handle == NULL:
1881 handle = load_library()
1882 __nvmlSystemEventSetCreate = _cyb_dlsym(handle, 'nvmlSystemEventSetCreate')
1884 global __nvmlSystemEventSetFree
1885 __nvmlSystemEventSetFree = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemEventSetFree')
1886 if __nvmlSystemEventSetFree == NULL:
1887 if handle == NULL:
1888 handle = load_library()
1889 __nvmlSystemEventSetFree = _cyb_dlsym(handle, 'nvmlSystemEventSetFree')
1891 global __nvmlSystemRegisterEvents
1892 __nvmlSystemRegisterEvents = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemRegisterEvents')
1893 if __nvmlSystemRegisterEvents == NULL:
1894 if handle == NULL:
1895 handle = load_library()
1896 __nvmlSystemRegisterEvents = _cyb_dlsym(handle, 'nvmlSystemRegisterEvents')
1898 global __nvmlSystemEventSetWait
1899 __nvmlSystemEventSetWait = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemEventSetWait')
1900 if __nvmlSystemEventSetWait == NULL:
1901 if handle == NULL:
1902 handle = load_library()
1903 __nvmlSystemEventSetWait = _cyb_dlsym(handle, 'nvmlSystemEventSetWait')
1905 global __nvmlDeviceModifyDrainState
1906 __nvmlDeviceModifyDrainState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceModifyDrainState')
1907 if __nvmlDeviceModifyDrainState == NULL:
1908 if handle == NULL:
1909 handle = load_library()
1910 __nvmlDeviceModifyDrainState = _cyb_dlsym(handle, 'nvmlDeviceModifyDrainState')
1912 global __nvmlDeviceQueryDrainState
1913 __nvmlDeviceQueryDrainState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceQueryDrainState')
1914 if __nvmlDeviceQueryDrainState == NULL:
1915 if handle == NULL:
1916 handle = load_library()
1917 __nvmlDeviceQueryDrainState = _cyb_dlsym(handle, 'nvmlDeviceQueryDrainState')
1919 global __nvmlDeviceRemoveGpu_v2
1920 __nvmlDeviceRemoveGpu_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceRemoveGpu_v2')
1921 if __nvmlDeviceRemoveGpu_v2 == NULL:
1922 if handle == NULL:
1923 handle = load_library()
1924 __nvmlDeviceRemoveGpu_v2 = _cyb_dlsym(handle, 'nvmlDeviceRemoveGpu_v2')
1926 global __nvmlDeviceDiscoverGpus
1927 __nvmlDeviceDiscoverGpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceDiscoverGpus')
1928 if __nvmlDeviceDiscoverGpus == NULL:
1929 if handle == NULL:
1930 handle = load_library()
1931 __nvmlDeviceDiscoverGpus = _cyb_dlsym(handle, 'nvmlDeviceDiscoverGpus')
1933 global __nvmlDeviceGetFieldValues
1934 __nvmlDeviceGetFieldValues = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFieldValues')
1935 if __nvmlDeviceGetFieldValues == NULL:
1936 if handle == NULL:
1937 handle = load_library()
1938 __nvmlDeviceGetFieldValues = _cyb_dlsym(handle, 'nvmlDeviceGetFieldValues')
1940 global __nvmlDeviceClearFieldValues
1941 __nvmlDeviceClearFieldValues = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearFieldValues')
1942 if __nvmlDeviceClearFieldValues == NULL:
1943 if handle == NULL:
1944 handle = load_library()
1945 __nvmlDeviceClearFieldValues = _cyb_dlsym(handle, 'nvmlDeviceClearFieldValues')
1947 global __nvmlDeviceGetVirtualizationMode
1948 __nvmlDeviceGetVirtualizationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVirtualizationMode')
1949 if __nvmlDeviceGetVirtualizationMode == NULL:
1950 if handle == NULL:
1951 handle = load_library()
1952 __nvmlDeviceGetVirtualizationMode = _cyb_dlsym(handle, 'nvmlDeviceGetVirtualizationMode')
1954 global __nvmlDeviceGetHostVgpuMode
1955 __nvmlDeviceGetHostVgpuMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHostVgpuMode')
1956 if __nvmlDeviceGetHostVgpuMode == NULL:
1957 if handle == NULL:
1958 handle = load_library()
1959 __nvmlDeviceGetHostVgpuMode = _cyb_dlsym(handle, 'nvmlDeviceGetHostVgpuMode')
1961 global __nvmlDeviceSetVirtualizationMode
1962 __nvmlDeviceSetVirtualizationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVirtualizationMode')
1963 if __nvmlDeviceSetVirtualizationMode == NULL:
1964 if handle == NULL:
1965 handle = load_library()
1966 __nvmlDeviceSetVirtualizationMode = _cyb_dlsym(handle, 'nvmlDeviceSetVirtualizationMode')
1968 global __nvmlDeviceGetVgpuHeterogeneousMode
1969 __nvmlDeviceGetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuHeterogeneousMode')
1970 if __nvmlDeviceGetVgpuHeterogeneousMode == NULL:
1971 if handle == NULL:
1972 handle = load_library()
1973 __nvmlDeviceGetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuHeterogeneousMode')
1975 global __nvmlDeviceSetVgpuHeterogeneousMode
1976 __nvmlDeviceSetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuHeterogeneousMode')
1977 if __nvmlDeviceSetVgpuHeterogeneousMode == NULL:
1978 if handle == NULL:
1979 handle = load_library()
1980 __nvmlDeviceSetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuHeterogeneousMode')
1982 global __nvmlVgpuInstanceGetPlacementId
1983 __nvmlVgpuInstanceGetPlacementId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetPlacementId')
1984 if __nvmlVgpuInstanceGetPlacementId == NULL:
1985 if handle == NULL:
1986 handle = load_library()
1987 __nvmlVgpuInstanceGetPlacementId = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetPlacementId')
1989 global __nvmlDeviceGetVgpuTypeSupportedPlacements
1990 __nvmlDeviceGetVgpuTypeSupportedPlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuTypeSupportedPlacements')
1991 if __nvmlDeviceGetVgpuTypeSupportedPlacements == NULL:
1992 if handle == NULL:
1993 handle = load_library()
1994 __nvmlDeviceGetVgpuTypeSupportedPlacements = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuTypeSupportedPlacements')
1996 global __nvmlDeviceGetVgpuTypeCreatablePlacements
1997 __nvmlDeviceGetVgpuTypeCreatablePlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuTypeCreatablePlacements')
1998 if __nvmlDeviceGetVgpuTypeCreatablePlacements == NULL:
1999 if handle == NULL:
2000 handle = load_library()
2001 __nvmlDeviceGetVgpuTypeCreatablePlacements = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuTypeCreatablePlacements')
2003 global __nvmlVgpuTypeGetGspHeapSize
2004 __nvmlVgpuTypeGetGspHeapSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetGspHeapSize')
2005 if __nvmlVgpuTypeGetGspHeapSize == NULL:
2006 if handle == NULL:
2007 handle = load_library()
2008 __nvmlVgpuTypeGetGspHeapSize = _cyb_dlsym(handle, 'nvmlVgpuTypeGetGspHeapSize')
2010 global __nvmlVgpuTypeGetFbReservation
2011 __nvmlVgpuTypeGetFbReservation = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetFbReservation')
2012 if __nvmlVgpuTypeGetFbReservation == NULL:
2013 if handle == NULL:
2014 handle = load_library()
2015 __nvmlVgpuTypeGetFbReservation = _cyb_dlsym(handle, 'nvmlVgpuTypeGetFbReservation')
2017 global __nvmlVgpuInstanceGetRuntimeStateSize
2018 __nvmlVgpuInstanceGetRuntimeStateSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetRuntimeStateSize')
2019 if __nvmlVgpuInstanceGetRuntimeStateSize == NULL:
2020 if handle == NULL:
2021 handle = load_library()
2022 __nvmlVgpuInstanceGetRuntimeStateSize = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetRuntimeStateSize')
2024 global __nvmlDeviceSetVgpuCapabilities
2025 __nvmlDeviceSetVgpuCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuCapabilities')
2026 if __nvmlDeviceSetVgpuCapabilities == NULL:
2027 if handle == NULL:
2028 handle = load_library()
2029 __nvmlDeviceSetVgpuCapabilities = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuCapabilities')
2031 global __nvmlDeviceGetGridLicensableFeatures_v4
2032 __nvmlDeviceGetGridLicensableFeatures_v4 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGridLicensableFeatures_v4')
2033 if __nvmlDeviceGetGridLicensableFeatures_v4 == NULL:
2034 if handle == NULL:
2035 handle = load_library()
2036 __nvmlDeviceGetGridLicensableFeatures_v4 = _cyb_dlsym(handle, 'nvmlDeviceGetGridLicensableFeatures_v4')
2038 global __nvmlGetVgpuDriverCapabilities
2039 __nvmlGetVgpuDriverCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetVgpuDriverCapabilities')
2040 if __nvmlGetVgpuDriverCapabilities == NULL:
2041 if handle == NULL:
2042 handle = load_library()
2043 __nvmlGetVgpuDriverCapabilities = _cyb_dlsym(handle, 'nvmlGetVgpuDriverCapabilities')
2045 global __nvmlDeviceGetVgpuCapabilities
2046 __nvmlDeviceGetVgpuCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuCapabilities')
2047 if __nvmlDeviceGetVgpuCapabilities == NULL:
2048 if handle == NULL:
2049 handle = load_library()
2050 __nvmlDeviceGetVgpuCapabilities = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuCapabilities')
2052 global __nvmlDeviceGetSupportedVgpus
2053 __nvmlDeviceGetSupportedVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedVgpus')
2054 if __nvmlDeviceGetSupportedVgpus == NULL:
2055 if handle == NULL:
2056 handle = load_library()
2057 __nvmlDeviceGetSupportedVgpus = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedVgpus')
2059 global __nvmlDeviceGetCreatableVgpus
2060 __nvmlDeviceGetCreatableVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCreatableVgpus')
2061 if __nvmlDeviceGetCreatableVgpus == NULL:
2062 if handle == NULL:
2063 handle = load_library()
2064 __nvmlDeviceGetCreatableVgpus = _cyb_dlsym(handle, 'nvmlDeviceGetCreatableVgpus')
2066 global __nvmlVgpuTypeGetClass
2067 __nvmlVgpuTypeGetClass = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetClass')
2068 if __nvmlVgpuTypeGetClass == NULL:
2069 if handle == NULL:
2070 handle = load_library()
2071 __nvmlVgpuTypeGetClass = _cyb_dlsym(handle, 'nvmlVgpuTypeGetClass')
2073 global __nvmlVgpuTypeGetName
2074 __nvmlVgpuTypeGetName = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetName')
2075 if __nvmlVgpuTypeGetName == NULL:
2076 if handle == NULL:
2077 handle = load_library()
2078 __nvmlVgpuTypeGetName = _cyb_dlsym(handle, 'nvmlVgpuTypeGetName')
2080 global __nvmlVgpuTypeGetGpuInstanceProfileId
2081 __nvmlVgpuTypeGetGpuInstanceProfileId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetGpuInstanceProfileId')
2082 if __nvmlVgpuTypeGetGpuInstanceProfileId == NULL:
2083 if handle == NULL:
2084 handle = load_library()
2085 __nvmlVgpuTypeGetGpuInstanceProfileId = _cyb_dlsym(handle, 'nvmlVgpuTypeGetGpuInstanceProfileId')
2087 global __nvmlVgpuTypeGetDeviceID
2088 __nvmlVgpuTypeGetDeviceID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetDeviceID')
2089 if __nvmlVgpuTypeGetDeviceID == NULL:
2090 if handle == NULL:
2091 handle = load_library()
2092 __nvmlVgpuTypeGetDeviceID = _cyb_dlsym(handle, 'nvmlVgpuTypeGetDeviceID')
2094 global __nvmlVgpuTypeGetFramebufferSize
2095 __nvmlVgpuTypeGetFramebufferSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetFramebufferSize')
2096 if __nvmlVgpuTypeGetFramebufferSize == NULL:
2097 if handle == NULL:
2098 handle = load_library()
2099 __nvmlVgpuTypeGetFramebufferSize = _cyb_dlsym(handle, 'nvmlVgpuTypeGetFramebufferSize')
2101 global __nvmlVgpuTypeGetNumDisplayHeads
2102 __nvmlVgpuTypeGetNumDisplayHeads = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetNumDisplayHeads')
2103 if __nvmlVgpuTypeGetNumDisplayHeads == NULL:
2104 if handle == NULL:
2105 handle = load_library()
2106 __nvmlVgpuTypeGetNumDisplayHeads = _cyb_dlsym(handle, 'nvmlVgpuTypeGetNumDisplayHeads')
2108 global __nvmlVgpuTypeGetResolution
2109 __nvmlVgpuTypeGetResolution = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetResolution')
2110 if __nvmlVgpuTypeGetResolution == NULL:
2111 if handle == NULL:
2112 handle = load_library()
2113 __nvmlVgpuTypeGetResolution = _cyb_dlsym(handle, 'nvmlVgpuTypeGetResolution')
2115 global __nvmlVgpuTypeGetLicense
2116 __nvmlVgpuTypeGetLicense = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetLicense')
2117 if __nvmlVgpuTypeGetLicense == NULL:
2118 if handle == NULL:
2119 handle = load_library()
2120 __nvmlVgpuTypeGetLicense = _cyb_dlsym(handle, 'nvmlVgpuTypeGetLicense')
2122 global __nvmlVgpuTypeGetFrameRateLimit
2123 __nvmlVgpuTypeGetFrameRateLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetFrameRateLimit')
2124 if __nvmlVgpuTypeGetFrameRateLimit == NULL:
2125 if handle == NULL:
2126 handle = load_library()
2127 __nvmlVgpuTypeGetFrameRateLimit = _cyb_dlsym(handle, 'nvmlVgpuTypeGetFrameRateLimit')
2129 global __nvmlVgpuTypeGetMaxInstances
2130 __nvmlVgpuTypeGetMaxInstances = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstances')
2131 if __nvmlVgpuTypeGetMaxInstances == NULL:
2132 if handle == NULL:
2133 handle = load_library()
2134 __nvmlVgpuTypeGetMaxInstances = _cyb_dlsym(handle, 'nvmlVgpuTypeGetMaxInstances')
2136 global __nvmlVgpuTypeGetMaxInstancesPerVm
2137 __nvmlVgpuTypeGetMaxInstancesPerVm = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstancesPerVm')
2138 if __nvmlVgpuTypeGetMaxInstancesPerVm == NULL:
2139 if handle == NULL:
2140 handle = load_library()
2141 __nvmlVgpuTypeGetMaxInstancesPerVm = _cyb_dlsym(handle, 'nvmlVgpuTypeGetMaxInstancesPerVm')
2143 global __nvmlVgpuTypeGetBAR1Info
2144 __nvmlVgpuTypeGetBAR1Info = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetBAR1Info')
2145 if __nvmlVgpuTypeGetBAR1Info == NULL:
2146 if handle == NULL:
2147 handle = load_library()
2148 __nvmlVgpuTypeGetBAR1Info = _cyb_dlsym(handle, 'nvmlVgpuTypeGetBAR1Info')
2150 global __nvmlDeviceGetActiveVgpus
2151 __nvmlDeviceGetActiveVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetActiveVgpus')
2152 if __nvmlDeviceGetActiveVgpus == NULL:
2153 if handle == NULL:
2154 handle = load_library()
2155 __nvmlDeviceGetActiveVgpus = _cyb_dlsym(handle, 'nvmlDeviceGetActiveVgpus')
2157 global __nvmlVgpuInstanceGetVmID
2158 __nvmlVgpuInstanceGetVmID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetVmID')
2159 if __nvmlVgpuInstanceGetVmID == NULL:
2160 if handle == NULL:
2161 handle = load_library()
2162 __nvmlVgpuInstanceGetVmID = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetVmID')
2164 global __nvmlVgpuInstanceGetUUID
2165 __nvmlVgpuInstanceGetUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetUUID')
2166 if __nvmlVgpuInstanceGetUUID == NULL:
2167 if handle == NULL:
2168 handle = load_library()
2169 __nvmlVgpuInstanceGetUUID = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetUUID')
2171 global __nvmlVgpuInstanceGetVmDriverVersion
2172 __nvmlVgpuInstanceGetVmDriverVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetVmDriverVersion')
2173 if __nvmlVgpuInstanceGetVmDriverVersion == NULL:
2174 if handle == NULL:
2175 handle = load_library()
2176 __nvmlVgpuInstanceGetVmDriverVersion = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetVmDriverVersion')
2178 global __nvmlVgpuInstanceGetFbUsage
2179 __nvmlVgpuInstanceGetFbUsage = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFbUsage')
2180 if __nvmlVgpuInstanceGetFbUsage == NULL:
2181 if handle == NULL:
2182 handle = load_library()
2183 __nvmlVgpuInstanceGetFbUsage = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFbUsage')
2185 global __nvmlVgpuInstanceGetLicenseStatus
2186 __nvmlVgpuInstanceGetLicenseStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetLicenseStatus')
2187 if __nvmlVgpuInstanceGetLicenseStatus == NULL:
2188 if handle == NULL:
2189 handle = load_library()
2190 __nvmlVgpuInstanceGetLicenseStatus = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetLicenseStatus')
2192 global __nvmlVgpuInstanceGetType
2193 __nvmlVgpuInstanceGetType = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetType')
2194 if __nvmlVgpuInstanceGetType == NULL:
2195 if handle == NULL:
2196 handle = load_library()
2197 __nvmlVgpuInstanceGetType = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetType')
2199 global __nvmlVgpuInstanceGetFrameRateLimit
2200 __nvmlVgpuInstanceGetFrameRateLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFrameRateLimit')
2201 if __nvmlVgpuInstanceGetFrameRateLimit == NULL:
2202 if handle == NULL:
2203 handle = load_library()
2204 __nvmlVgpuInstanceGetFrameRateLimit = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFrameRateLimit')
2206 global __nvmlVgpuInstanceGetEccMode
2207 __nvmlVgpuInstanceGetEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEccMode')
2208 if __nvmlVgpuInstanceGetEccMode == NULL:
2209 if handle == NULL:
2210 handle = load_library()
2211 __nvmlVgpuInstanceGetEccMode = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEccMode')
2213 global __nvmlVgpuInstanceGetEncoderCapacity
2214 __nvmlVgpuInstanceGetEncoderCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderCapacity')
2215 if __nvmlVgpuInstanceGetEncoderCapacity == NULL:
2216 if handle == NULL:
2217 handle = load_library()
2218 __nvmlVgpuInstanceGetEncoderCapacity = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEncoderCapacity')
2220 global __nvmlVgpuInstanceSetEncoderCapacity
2221 __nvmlVgpuInstanceSetEncoderCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceSetEncoderCapacity')
2222 if __nvmlVgpuInstanceSetEncoderCapacity == NULL:
2223 if handle == NULL:
2224 handle = load_library()
2225 __nvmlVgpuInstanceSetEncoderCapacity = _cyb_dlsym(handle, 'nvmlVgpuInstanceSetEncoderCapacity')
2227 global __nvmlVgpuInstanceGetEncoderStats
2228 __nvmlVgpuInstanceGetEncoderStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderStats')
2229 if __nvmlVgpuInstanceGetEncoderStats == NULL:
2230 if handle == NULL:
2231 handle = load_library()
2232 __nvmlVgpuInstanceGetEncoderStats = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEncoderStats')
2234 global __nvmlVgpuInstanceGetEncoderSessions
2235 __nvmlVgpuInstanceGetEncoderSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderSessions')
2236 if __nvmlVgpuInstanceGetEncoderSessions == NULL:
2237 if handle == NULL:
2238 handle = load_library()
2239 __nvmlVgpuInstanceGetEncoderSessions = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEncoderSessions')
2241 global __nvmlVgpuInstanceGetFBCStats
2242 __nvmlVgpuInstanceGetFBCStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFBCStats')
2243 if __nvmlVgpuInstanceGetFBCStats == NULL:
2244 if handle == NULL:
2245 handle = load_library()
2246 __nvmlVgpuInstanceGetFBCStats = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFBCStats')
2248 global __nvmlVgpuInstanceGetFBCSessions
2249 __nvmlVgpuInstanceGetFBCSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFBCSessions')
2250 if __nvmlVgpuInstanceGetFBCSessions == NULL:
2251 if handle == NULL:
2252 handle = load_library()
2253 __nvmlVgpuInstanceGetFBCSessions = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFBCSessions')
2255 global __nvmlVgpuInstanceGetGpuInstanceId
2256 __nvmlVgpuInstanceGetGpuInstanceId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetGpuInstanceId')
2257 if __nvmlVgpuInstanceGetGpuInstanceId == NULL:
2258 if handle == NULL:
2259 handle = load_library()
2260 __nvmlVgpuInstanceGetGpuInstanceId = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetGpuInstanceId')
2262 global __nvmlVgpuInstanceGetGpuPciId
2263 __nvmlVgpuInstanceGetGpuPciId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetGpuPciId')
2264 if __nvmlVgpuInstanceGetGpuPciId == NULL:
2265 if handle == NULL:
2266 handle = load_library()
2267 __nvmlVgpuInstanceGetGpuPciId = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetGpuPciId')
2269 global __nvmlVgpuTypeGetCapabilities
2270 __nvmlVgpuTypeGetCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetCapabilities')
2271 if __nvmlVgpuTypeGetCapabilities == NULL:
2272 if handle == NULL:
2273 handle = load_library()
2274 __nvmlVgpuTypeGetCapabilities = _cyb_dlsym(handle, 'nvmlVgpuTypeGetCapabilities')
2276 global __nvmlVgpuInstanceGetMdevUUID
2277 __nvmlVgpuInstanceGetMdevUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetMdevUUID')
2278 if __nvmlVgpuInstanceGetMdevUUID == NULL:
2279 if handle == NULL:
2280 handle = load_library()
2281 __nvmlVgpuInstanceGetMdevUUID = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetMdevUUID')
2283 global __nvmlGpuInstanceGetCreatableVgpus
2284 __nvmlGpuInstanceGetCreatableVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetCreatableVgpus')
2285 if __nvmlGpuInstanceGetCreatableVgpus == NULL:
2286 if handle == NULL:
2287 handle = load_library()
2288 __nvmlGpuInstanceGetCreatableVgpus = _cyb_dlsym(handle, 'nvmlGpuInstanceGetCreatableVgpus')
2290 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance
2291 __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstancesPerGpuInstance')
2292 if __nvmlVgpuTypeGetMaxInstancesPerGpuInstance == NULL:
2293 if handle == NULL:
2294 handle = load_library()
2295 __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = _cyb_dlsym(handle, 'nvmlVgpuTypeGetMaxInstancesPerGpuInstance')
2297 global __nvmlGpuInstanceGetActiveVgpus
2298 __nvmlGpuInstanceGetActiveVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetActiveVgpus')
2299 if __nvmlGpuInstanceGetActiveVgpus == NULL:
2300 if handle == NULL:
2301 handle = load_library()
2302 __nvmlGpuInstanceGetActiveVgpus = _cyb_dlsym(handle, 'nvmlGpuInstanceGetActiveVgpus')
2304 global __nvmlGpuInstanceSetVgpuSchedulerState
2305 __nvmlGpuInstanceSetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuSchedulerState')
2306 if __nvmlGpuInstanceSetVgpuSchedulerState == NULL:
2307 if handle == NULL:
2308 handle = load_library()
2309 __nvmlGpuInstanceSetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlGpuInstanceSetVgpuSchedulerState')
2311 global __nvmlGpuInstanceGetVgpuSchedulerState
2312 __nvmlGpuInstanceGetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerState')
2313 if __nvmlGpuInstanceGetVgpuSchedulerState == NULL:
2314 if handle == NULL:
2315 handle = load_library()
2316 __nvmlGpuInstanceGetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerState')
2318 global __nvmlGpuInstanceGetVgpuSchedulerLog
2319 __nvmlGpuInstanceGetVgpuSchedulerLog = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerLog')
2320 if __nvmlGpuInstanceGetVgpuSchedulerLog == NULL:
2321 if handle == NULL:
2322 handle = load_library()
2323 __nvmlGpuInstanceGetVgpuSchedulerLog = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerLog')
2325 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements
2326 __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuTypeCreatablePlacements')
2327 if __nvmlGpuInstanceGetVgpuTypeCreatablePlacements == NULL:
2328 if handle == NULL:
2329 handle = load_library()
2330 __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuTypeCreatablePlacements')
2332 global __nvmlGpuInstanceGetVgpuHeterogeneousMode
2333 __nvmlGpuInstanceGetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuHeterogeneousMode')
2334 if __nvmlGpuInstanceGetVgpuHeterogeneousMode == NULL:
2335 if handle == NULL:
2336 handle = load_library()
2337 __nvmlGpuInstanceGetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuHeterogeneousMode')
2339 global __nvmlGpuInstanceSetVgpuHeterogeneousMode
2340 __nvmlGpuInstanceSetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuHeterogeneousMode')
2341 if __nvmlGpuInstanceSetVgpuHeterogeneousMode == NULL:
2342 if handle == NULL:
2343 handle = load_library()
2344 __nvmlGpuInstanceSetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlGpuInstanceSetVgpuHeterogeneousMode')
2346 global __nvmlVgpuInstanceGetMetadata
2347 __nvmlVgpuInstanceGetMetadata = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetMetadata')
2348 if __nvmlVgpuInstanceGetMetadata == NULL:
2349 if handle == NULL:
2350 handle = load_library()
2351 __nvmlVgpuInstanceGetMetadata = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetMetadata')
2353 global __nvmlDeviceGetVgpuMetadata
2354 __nvmlDeviceGetVgpuMetadata = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuMetadata')
2355 if __nvmlDeviceGetVgpuMetadata == NULL:
2356 if handle == NULL:
2357 handle = load_library()
2358 __nvmlDeviceGetVgpuMetadata = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuMetadata')
2360 global __nvmlGetVgpuCompatibility
2361 __nvmlGetVgpuCompatibility = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetVgpuCompatibility')
2362 if __nvmlGetVgpuCompatibility == NULL:
2363 if handle == NULL:
2364 handle = load_library()
2365 __nvmlGetVgpuCompatibility = _cyb_dlsym(handle, 'nvmlGetVgpuCompatibility')
2367 global __nvmlDeviceGetPgpuMetadataString
2368 __nvmlDeviceGetPgpuMetadataString = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPgpuMetadataString')
2369 if __nvmlDeviceGetPgpuMetadataString == NULL:
2370 if handle == NULL:
2371 handle = load_library()
2372 __nvmlDeviceGetPgpuMetadataString = _cyb_dlsym(handle, 'nvmlDeviceGetPgpuMetadataString')
2374 global __nvmlDeviceGetVgpuSchedulerLog
2375 __nvmlDeviceGetVgpuSchedulerLog = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerLog')
2376 if __nvmlDeviceGetVgpuSchedulerLog == NULL:
2377 if handle == NULL:
2378 handle = load_library()
2379 __nvmlDeviceGetVgpuSchedulerLog = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerLog')
2381 global __nvmlDeviceGetVgpuSchedulerState
2382 __nvmlDeviceGetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerState')
2383 if __nvmlDeviceGetVgpuSchedulerState == NULL:
2384 if handle == NULL:
2385 handle = load_library()
2386 __nvmlDeviceGetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerState')
2388 global __nvmlDeviceGetVgpuSchedulerCapabilities
2389 __nvmlDeviceGetVgpuSchedulerCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerCapabilities')
2390 if __nvmlDeviceGetVgpuSchedulerCapabilities == NULL:
2391 if handle == NULL:
2392 handle = load_library()
2393 __nvmlDeviceGetVgpuSchedulerCapabilities = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerCapabilities')
2395 global __nvmlDeviceSetVgpuSchedulerState
2396 __nvmlDeviceSetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuSchedulerState')
2397 if __nvmlDeviceSetVgpuSchedulerState == NULL:
2398 if handle == NULL:
2399 handle = load_library()
2400 __nvmlDeviceSetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuSchedulerState')
2402 global __nvmlGetVgpuVersion
2403 __nvmlGetVgpuVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetVgpuVersion')
2404 if __nvmlGetVgpuVersion == NULL:
2405 if handle == NULL:
2406 handle = load_library()
2407 __nvmlGetVgpuVersion = _cyb_dlsym(handle, 'nvmlGetVgpuVersion')
2409 global __nvmlSetVgpuVersion
2410 __nvmlSetVgpuVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSetVgpuVersion')
2411 if __nvmlSetVgpuVersion == NULL:
2412 if handle == NULL:
2413 handle = load_library()
2414 __nvmlSetVgpuVersion = _cyb_dlsym(handle, 'nvmlSetVgpuVersion')
2416 global __nvmlDeviceGetVgpuUtilization
2417 __nvmlDeviceGetVgpuUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuUtilization')
2418 if __nvmlDeviceGetVgpuUtilization == NULL:
2419 if handle == NULL:
2420 handle = load_library()
2421 __nvmlDeviceGetVgpuUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuUtilization')
2423 global __nvmlDeviceGetVgpuInstancesUtilizationInfo
2424 __nvmlDeviceGetVgpuInstancesUtilizationInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuInstancesUtilizationInfo')
2425 if __nvmlDeviceGetVgpuInstancesUtilizationInfo == NULL:
2426 if handle == NULL:
2427 handle = load_library()
2428 __nvmlDeviceGetVgpuInstancesUtilizationInfo = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuInstancesUtilizationInfo')
2430 global __nvmlDeviceGetVgpuProcessUtilization
2431 __nvmlDeviceGetVgpuProcessUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuProcessUtilization')
2432 if __nvmlDeviceGetVgpuProcessUtilization == NULL:
2433 if handle == NULL:
2434 handle = load_library()
2435 __nvmlDeviceGetVgpuProcessUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuProcessUtilization')
2437 global __nvmlDeviceGetVgpuProcessesUtilizationInfo
2438 __nvmlDeviceGetVgpuProcessesUtilizationInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuProcessesUtilizationInfo')
2439 if __nvmlDeviceGetVgpuProcessesUtilizationInfo == NULL:
2440 if handle == NULL:
2441 handle = load_library()
2442 __nvmlDeviceGetVgpuProcessesUtilizationInfo = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuProcessesUtilizationInfo')
2444 global __nvmlVgpuInstanceGetAccountingMode
2445 __nvmlVgpuInstanceGetAccountingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingMode')
2446 if __nvmlVgpuInstanceGetAccountingMode == NULL:
2447 if handle == NULL:
2448 handle = load_library()
2449 __nvmlVgpuInstanceGetAccountingMode = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetAccountingMode')
2451 global __nvmlVgpuInstanceGetAccountingPids
2452 __nvmlVgpuInstanceGetAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingPids')
2453 if __nvmlVgpuInstanceGetAccountingPids == NULL:
2454 if handle == NULL:
2455 handle = load_library()
2456 __nvmlVgpuInstanceGetAccountingPids = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetAccountingPids')
2458 global __nvmlVgpuInstanceGetAccountingStats
2459 __nvmlVgpuInstanceGetAccountingStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingStats')
2460 if __nvmlVgpuInstanceGetAccountingStats == NULL:
2461 if handle == NULL:
2462 handle = load_library()
2463 __nvmlVgpuInstanceGetAccountingStats = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetAccountingStats')
2465 global __nvmlVgpuInstanceClearAccountingPids
2466 __nvmlVgpuInstanceClearAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceClearAccountingPids')
2467 if __nvmlVgpuInstanceClearAccountingPids == NULL:
2468 if handle == NULL:
2469 handle = load_library()
2470 __nvmlVgpuInstanceClearAccountingPids = _cyb_dlsym(handle, 'nvmlVgpuInstanceClearAccountingPids')
2472 global __nvmlVgpuInstanceGetLicenseInfo_v2
2473 __nvmlVgpuInstanceGetLicenseInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetLicenseInfo_v2')
2474 if __nvmlVgpuInstanceGetLicenseInfo_v2 == NULL:
2475 if handle == NULL:
2476 handle = load_library()
2477 __nvmlVgpuInstanceGetLicenseInfo_v2 = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetLicenseInfo_v2')
2479 global __nvmlGetExcludedDeviceCount
2480 __nvmlGetExcludedDeviceCount = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetExcludedDeviceCount')
2481 if __nvmlGetExcludedDeviceCount == NULL:
2482 if handle == NULL:
2483 handle = load_library()
2484 __nvmlGetExcludedDeviceCount = _cyb_dlsym(handle, 'nvmlGetExcludedDeviceCount')
2486 global __nvmlGetExcludedDeviceInfoByIndex
2487 __nvmlGetExcludedDeviceInfoByIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetExcludedDeviceInfoByIndex')
2488 if __nvmlGetExcludedDeviceInfoByIndex == NULL:
2489 if handle == NULL:
2490 handle = load_library()
2491 __nvmlGetExcludedDeviceInfoByIndex = _cyb_dlsym(handle, 'nvmlGetExcludedDeviceInfoByIndex')
2493 global __nvmlDeviceSetMigMode
2494 __nvmlDeviceSetMigMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetMigMode')
2495 if __nvmlDeviceSetMigMode == NULL:
2496 if handle == NULL:
2497 handle = load_library()
2498 __nvmlDeviceSetMigMode = _cyb_dlsym(handle, 'nvmlDeviceSetMigMode')
2500 global __nvmlDeviceGetMigMode
2501 __nvmlDeviceGetMigMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMigMode')
2502 if __nvmlDeviceGetMigMode == NULL:
2503 if handle == NULL:
2504 handle = load_library()
2505 __nvmlDeviceGetMigMode = _cyb_dlsym(handle, 'nvmlDeviceGetMigMode')
2507 global __nvmlDeviceGetGpuInstanceProfileInfoV
2508 __nvmlDeviceGetGpuInstanceProfileInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceProfileInfoV')
2509 if __nvmlDeviceGetGpuInstanceProfileInfoV == NULL:
2510 if handle == NULL:
2511 handle = load_library()
2512 __nvmlDeviceGetGpuInstanceProfileInfoV = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceProfileInfoV')
2514 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2
2515 __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstancePossiblePlacements_v2')
2516 if __nvmlDeviceGetGpuInstancePossiblePlacements_v2 == NULL:
2517 if handle == NULL:
2518 handle = load_library()
2519 __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstancePossiblePlacements_v2')
2521 global __nvmlDeviceGetGpuInstanceRemainingCapacity
2522 __nvmlDeviceGetGpuInstanceRemainingCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceRemainingCapacity')
2523 if __nvmlDeviceGetGpuInstanceRemainingCapacity == NULL:
2524 if handle == NULL:
2525 handle = load_library()
2526 __nvmlDeviceGetGpuInstanceRemainingCapacity = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceRemainingCapacity')
2528 global __nvmlDeviceCreateGpuInstance
2529 __nvmlDeviceCreateGpuInstance = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceCreateGpuInstance')
2530 if __nvmlDeviceCreateGpuInstance == NULL:
2531 if handle == NULL:
2532 handle = load_library()
2533 __nvmlDeviceCreateGpuInstance = _cyb_dlsym(handle, 'nvmlDeviceCreateGpuInstance')
2535 global __nvmlDeviceCreateGpuInstanceWithPlacement
2536 __nvmlDeviceCreateGpuInstanceWithPlacement = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceCreateGpuInstanceWithPlacement')
2537 if __nvmlDeviceCreateGpuInstanceWithPlacement == NULL:
2538 if handle == NULL: 2a f = ? @ [ ] ^ ` { | } abbbcbdbebfbgb9bhbibA b jbkblbmbi k l C D E F G H I J K L M N O P Q R S T echcjclc!
2539 handle = load_library() 2a f = ? @ [ ] ^ ` { | } abbbcbdbebfbgb9bhbibA b jbkblbmbi k l C D E F G H I J K L M N O P Q R S T echcjclc!
2540 __nvmlDeviceCreateGpuInstanceWithPlacement = _cyb_dlsym(handle, 'nvmlDeviceCreateGpuInstanceWithPlacement')
2542 global __nvmlGpuInstanceDestroy
2543 __nvmlGpuInstanceDestroy = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceDestroy')
2544 if __nvmlGpuInstanceDestroy == NULL:
2545 if handle == NULL:
2546 handle = load_library()
2547 __nvmlGpuInstanceDestroy = _cyb_dlsym(handle, 'nvmlGpuInstanceDestroy')
2549 global __nvmlDeviceGetGpuInstances
2550 __nvmlDeviceGetGpuInstances = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstances')
2551 if __nvmlDeviceGetGpuInstances == NULL:
2552 if handle == NULL:
2553 handle = load_library()
2554 __nvmlDeviceGetGpuInstances = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstances')
2556 global __nvmlDeviceGetGpuInstanceById
2557 __nvmlDeviceGetGpuInstanceById = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceById')
2558 if __nvmlDeviceGetGpuInstanceById == NULL: 2a f SbTbUbVbWbXbYbZb0b1b2b3b4b5b6b7b8b!b#b$bA %b'b(b)b*b+bi ,b-b/b:b;b=b?b@b[b]b^b_b`b{b|b}b~bacbcccdcfcickcmcnc
2559 if handle == NULL: 2a f SbTbUbVbWbXbYbZb0b1b2b3b4b5b6b7b8b!b#b$bA %b'b(b)b*b+bi ,b-b/b:b;b=b?b@b[b]b^b_b`b{b|b}b~bacbcccdcfcickcmcnc
2560 handle = load_library()
2561 __nvmlDeviceGetGpuInstanceById = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceById')
2563 global __nvmlGpuInstanceGetInfo
2564 __nvmlGpuInstanceGetInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetInfo')
2565 if __nvmlGpuInstanceGetInfo == NULL:
2566 if handle == NULL:
2567 handle = load_library()
2568 __nvmlGpuInstanceGetInfo = _cyb_dlsym(handle, 'nvmlGpuInstanceGetInfo') 2w x y ~ Z 9 z 0 1 B pbm n
2570 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV
2571 __nvmlGpuInstanceGetComputeInstanceProfileInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceProfileInfoV')
2572 if __nvmlGpuInstanceGetComputeInstanceProfileInfoV == NULL: 2a w x y ~ Z 9 z 0 1 B pbm n
2573 if handle == NULL:
2574 handle = load_library()
2575 __nvmlGpuInstanceGetComputeInstanceProfileInfoV = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceProfileInfoV')
2577 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity
2578 __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceRemainingCapacity') 2a Qb
2579 if __nvmlGpuInstanceGetComputeInstanceRemainingCapacity == NULL: 2a Qb
2580 if handle == NULL:
2581 handle = load_library()
2582 __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceRemainingCapacity') 2Qb
2584 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements
2585 __nvmlGpuInstanceGetComputeInstancePossiblePlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstancePossiblePlacements')
2586 if __nvmlGpuInstanceGetComputeInstancePossiblePlacements == NULL:
2587 if handle == NULL:
2588 handle = load_library() 2Rb
2589 __nvmlGpuInstanceGetComputeInstancePossiblePlacements = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstancePossiblePlacements') 2Rb
2591 global __nvmlGpuInstanceCreateComputeInstance
2592 __nvmlGpuInstanceCreateComputeInstance = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceCreateComputeInstance') 2a Rb
2593 if __nvmlGpuInstanceCreateComputeInstance == NULL:
2594 if handle == NULL:
2595 handle = load_library()
2596 __nvmlGpuInstanceCreateComputeInstance = _cyb_dlsym(handle, 'nvmlGpuInstanceCreateComputeInstance')
2598 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement
2599 __nvmlGpuInstanceCreateComputeInstanceWithPlacement = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceCreateComputeInstanceWithPlacement') 2a gc
2600 if __nvmlGpuInstanceCreateComputeInstanceWithPlacement == NULL:
2601 if handle == NULL:
2602 handle = load_library() 2a gc
2603 __nvmlGpuInstanceCreateComputeInstanceWithPlacement = _cyb_dlsym(handle, 'nvmlGpuInstanceCreateComputeInstanceWithPlacement')
2605 global __nvmlComputeInstanceDestroy
2606 __nvmlComputeInstanceDestroy = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlComputeInstanceDestroy')
2607 if __nvmlComputeInstanceDestroy == NULL:
2608 if handle == NULL:
2609 handle = load_library()
2610 __nvmlComputeInstanceDestroy = _cyb_dlsym(handle, 'nvmlComputeInstanceDestroy')
2612 global __nvmlGpuInstanceGetComputeInstances
2613 __nvmlGpuInstanceGetComputeInstances = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstances')
2614 if __nvmlGpuInstanceGetComputeInstances == NULL:
2615 if handle == NULL:
2616 handle = load_library()
2617 __nvmlGpuInstanceGetComputeInstances = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstances')
2619 global __nvmlGpuInstanceGetComputeInstanceById
2620 __nvmlGpuInstanceGetComputeInstanceById = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceById')
2621 if __nvmlGpuInstanceGetComputeInstanceById == NULL:
2622 if handle == NULL: 2uc
2623 handle = load_library()
2624 __nvmlGpuInstanceGetComputeInstanceById = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceById')
2626 global __nvmlComputeInstanceGetInfo_v2
2627 __nvmlComputeInstanceGetInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlComputeInstanceGetInfo_v2')
2628 if __nvmlComputeInstanceGetInfo_v2 == NULL:
2629 if handle == NULL:
2630 handle = load_library()
2631 __nvmlComputeInstanceGetInfo_v2 = _cyb_dlsym(handle, 'nvmlComputeInstanceGetInfo_v2')
2633 global __nvmlDeviceIsMigDeviceHandle
2634 __nvmlDeviceIsMigDeviceHandle = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceIsMigDeviceHandle')
2635 if __nvmlDeviceIsMigDeviceHandle == NULL:
2636 if handle == NULL:
2637 handle = load_library()
2638 __nvmlDeviceIsMigDeviceHandle = _cyb_dlsym(handle, 'nvmlDeviceIsMigDeviceHandle')
2640 global __nvmlDeviceGetGpuInstanceId
2641 __nvmlDeviceGetGpuInstanceId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceId')
2642 if __nvmlDeviceGetGpuInstanceId == NULL:
2643 if handle == NULL:
2644 handle = load_library()
2645 __nvmlDeviceGetGpuInstanceId = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceId')
2647 global __nvmlDeviceGetComputeInstanceId
2648 __nvmlDeviceGetComputeInstanceId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetComputeInstanceId')
2649 if __nvmlDeviceGetComputeInstanceId == NULL:
2650 if handle == NULL:
2651 handle = load_library()
2652 __nvmlDeviceGetComputeInstanceId = _cyb_dlsym(handle, 'nvmlDeviceGetComputeInstanceId')
2654 global __nvmlDeviceGetMaxMigDeviceCount
2655 __nvmlDeviceGetMaxMigDeviceCount = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxMigDeviceCount')
2656 if __nvmlDeviceGetMaxMigDeviceCount == NULL:
2657 if handle == NULL:
2658 handle = load_library() 1!
2659 __nvmlDeviceGetMaxMigDeviceCount = _cyb_dlsym(handle, 'nvmlDeviceGetMaxMigDeviceCount') 1!
2661 global __nvmlDeviceGetMigDeviceHandleByIndex
2662 __nvmlDeviceGetMigDeviceHandleByIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMigDeviceHandleByIndex') 1a!
2663 if __nvmlDeviceGetMigDeviceHandleByIndex == NULL:
2664 if handle == NULL:
2665 handle = load_library()
2666 __nvmlDeviceGetMigDeviceHandleByIndex = _cyb_dlsym(handle, 'nvmlDeviceGetMigDeviceHandleByIndex')
2668 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle
2669 __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDeviceHandleFromMigDeviceHandle')
2670 if __nvmlDeviceGetDeviceHandleFromMigDeviceHandle == NULL:
2671 if handle == NULL:
2672 handle = load_library()
2673 __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = _cyb_dlsym(handle, 'nvmlDeviceGetDeviceHandleFromMigDeviceHandle')
2675 global __nvmlDeviceGetCapabilities
2676 __nvmlDeviceGetCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCapabilities')
2677 if __nvmlDeviceGetCapabilities == NULL:
2678 if handle == NULL:
2679 handle = load_library()
2680 __nvmlDeviceGetCapabilities = _cyb_dlsym(handle, 'nvmlDeviceGetCapabilities')
2682 global __nvmlDevicePowerSmoothingActivatePresetProfile
2683 __nvmlDevicePowerSmoothingActivatePresetProfile = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDevicePowerSmoothingActivatePresetProfile')
2684 if __nvmlDevicePowerSmoothingActivatePresetProfile == NULL:
2685 if handle == NULL:
2686 handle = load_library()
2687 __nvmlDevicePowerSmoothingActivatePresetProfile = _cyb_dlsym(handle, 'nvmlDevicePowerSmoothingActivatePresetProfile')
2689 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam
2690 __nvmlDevicePowerSmoothingUpdatePresetProfileParam = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDevicePowerSmoothingUpdatePresetProfileParam')
2691 if __nvmlDevicePowerSmoothingUpdatePresetProfileParam == NULL:
2692 if handle == NULL:
2693 handle = load_library()
2694 __nvmlDevicePowerSmoothingUpdatePresetProfileParam = _cyb_dlsym(handle, 'nvmlDevicePowerSmoothingUpdatePresetProfileParam')
2696 global __nvmlDevicePowerSmoothingSetState
2697 __nvmlDevicePowerSmoothingSetState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDevicePowerSmoothingSetState')
2698 if __nvmlDevicePowerSmoothingSetState == NULL:
2699 if handle == NULL:
2700 handle = load_library()
2701 __nvmlDevicePowerSmoothingSetState = _cyb_dlsym(handle, 'nvmlDevicePowerSmoothingSetState')
2703 global __nvmlDeviceGetAddressingMode
2704 __nvmlDeviceGetAddressingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAddressingMode')
2705 if __nvmlDeviceGetAddressingMode == NULL:
2706 if handle == NULL:
2707 handle = load_library()
2708 __nvmlDeviceGetAddressingMode = _cyb_dlsym(handle, 'nvmlDeviceGetAddressingMode')
2710 global __nvmlDeviceGetRepairStatus
2711 __nvmlDeviceGetRepairStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRepairStatus')
2712 if __nvmlDeviceGetRepairStatus == NULL:
2713 if handle == NULL:
2714 handle = load_library()
2715 __nvmlDeviceGetRepairStatus = _cyb_dlsym(handle, 'nvmlDeviceGetRepairStatus')
2717 global __nvmlDeviceGetPowerMizerMode_v1
2718 __nvmlDeviceGetPowerMizerMode_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerMizerMode_v1')
2719 if __nvmlDeviceGetPowerMizerMode_v1 == NULL:
2720 if handle == NULL:
2721 handle = load_library()
2722 __nvmlDeviceGetPowerMizerMode_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetPowerMizerMode_v1')
2724 global __nvmlDeviceSetPowerMizerMode_v1
2725 __nvmlDeviceSetPowerMizerMode_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetPowerMizerMode_v1')
2726 if __nvmlDeviceSetPowerMizerMode_v1 == NULL:
2727 if handle == NULL:
2728 handle = load_library()
2729 __nvmlDeviceSetPowerMizerMode_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetPowerMizerMode_v1')
2731 global __nvmlDeviceGetPdi
2732 __nvmlDeviceGetPdi = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPdi')
2733 if __nvmlDeviceGetPdi == NULL:
2734 if handle == NULL:
2735 handle = load_library()
2736 __nvmlDeviceGetPdi = _cyb_dlsym(handle, 'nvmlDeviceGetPdi')
2738 global __nvmlDeviceSetHostname_v1
2739 __nvmlDeviceSetHostname_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetHostname_v1') 1afg2AiklCDEFGHIJKLMNOPQRST
2740 if __nvmlDeviceSetHostname_v1 == NULL:
2741 if handle == NULL:
2742 handle = load_library() 1fg2AiklCDEFGHIJKLMNOPQRST
2743 __nvmlDeviceSetHostname_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetHostname_v1')
2745 global __nvmlDeviceGetHostname_v1
2746 __nvmlDeviceGetHostname_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHostname_v1')
2747 if __nvmlDeviceGetHostname_v1 == NULL:
2748 if handle == NULL:
2749 handle = load_library()
2750 __nvmlDeviceGetHostname_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetHostname_v1')
2752 global __nvmlDeviceGetNvLinkInfo
2753 __nvmlDeviceGetNvLinkInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkInfo')
2754 if __nvmlDeviceGetNvLinkInfo == NULL:
2755 if handle == NULL:
2756 handle = load_library()
2757 __nvmlDeviceGetNvLinkInfo = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkInfo')
2759 global __nvmlDeviceReadWritePRM_v1
2760 __nvmlDeviceReadWritePRM_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceReadWritePRM_v1')
2761 if __nvmlDeviceReadWritePRM_v1 == NULL:
2762 if handle == NULL: 1fg2AiklCDEFGHIJKLMNOPQRST
2763 handle = load_library()
2764 __nvmlDeviceReadWritePRM_v1 = _cyb_dlsym(handle, 'nvmlDeviceReadWritePRM_v1')
2766 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV
2767 __nvmlDeviceGetGpuInstanceProfileInfoByIdV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceProfileInfoByIdV')
2768 if __nvmlDeviceGetGpuInstanceProfileInfoByIdV == NULL:
2769 if handle == NULL:
2770 handle = load_library()
2771 __nvmlDeviceGetGpuInstanceProfileInfoByIdV = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceProfileInfoByIdV')
2773 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts
2774 __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts')
2775 if __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts == NULL:
2776 if handle == NULL:
2777 handle = load_library()
2778 __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = _cyb_dlsym(handle, 'nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts') 2= ? @ [ ] ^ ` { | } abbbcbdbebfbgbhbibb jbkblbmb.b
2780 global __nvmlDeviceGetUnrepairableMemoryFlag_v1
2781 __nvmlDeviceGetUnrepairableMemoryFlag_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetUnrepairableMemoryFlag_v1')
2782 if __nvmlDeviceGetUnrepairableMemoryFlag_v1 == NULL: 2a = ? @ [ ] ^ ` { | } abbbcbdbebfbgbhbibb jbkblbmb.b
2783 if handle == NULL:
2784 handle = load_library()
2785 __nvmlDeviceGetUnrepairableMemoryFlag_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetUnrepairableMemoryFlag_v1')
2787 global __nvmlDeviceReadPRMCounters_v1
2788 __nvmlDeviceReadPRMCounters_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceReadPRMCounters_v1') 1a_
2789 if __nvmlDeviceReadPRMCounters_v1 == NULL: 1a_
2790 if handle == NULL:
2791 handle = load_library()
2792 __nvmlDeviceReadPRMCounters_v1 = _cyb_dlsym(handle, 'nvmlDeviceReadPRMCounters_v1') 1_
2794 global __nvmlDeviceSetRusdSettings_v1
2795 __nvmlDeviceSetRusdSettings_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetRusdSettings_v1')
2796 if __nvmlDeviceSetRusdSettings_v1 == NULL:
2797 if handle == NULL:
2798 handle = load_library() 2Nb
2799 __nvmlDeviceSetRusdSettings_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetRusdSettings_v1') 2Nb
2801 global __nvmlDeviceVgpuForceGspUnload
2802 __nvmlDeviceVgpuForceGspUnload = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceVgpuForceGspUnload') 2a Nb
2803 if __nvmlDeviceVgpuForceGspUnload == NULL:
2804 if handle == NULL:
2805 handle = load_library()
2806 __nvmlDeviceVgpuForceGspUnload = _cyb_dlsym(handle, 'nvmlDeviceVgpuForceGspUnload')
2808 global __nvmlDeviceGetVgpuSchedulerState_v2
2809 __nvmlDeviceGetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerState_v2') 1afwxy~Zz01Amn
2810 if __nvmlDeviceGetVgpuSchedulerState_v2 == NULL:
2811 if handle == NULL:
2812 handle = load_library() 1fwxy~Zz01Amn
2813 __nvmlDeviceGetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerState_v2')
2815 global __nvmlGpuInstanceGetVgpuSchedulerState_v2
2816 __nvmlGpuInstanceGetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerState_v2')
2817 if __nvmlGpuInstanceGetVgpuSchedulerState_v2 == NULL:
2818 if handle == NULL:
2819 handle = load_library()
2820 __nvmlGpuInstanceGetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerState_v2')
2822 global __nvmlDeviceGetVgpuSchedulerLog_v2
2823 __nvmlDeviceGetVgpuSchedulerLog_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerLog_v2')
2824 if __nvmlDeviceGetVgpuSchedulerLog_v2 == NULL:
2825 if handle == NULL:
2826 handle = load_library()
2827 __nvmlDeviceGetVgpuSchedulerLog_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerLog_v2')
2829 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2
2830 __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerLog_v2')
2831 if __nvmlGpuInstanceGetVgpuSchedulerLog_v2 == NULL:
2832 if handle == NULL: 12
2833 handle = load_library()
2834 __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerLog_v2')
2836 global __nvmlDeviceSetVgpuSchedulerState_v2
2837 __nvmlDeviceSetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuSchedulerState_v2')
2838 if __nvmlDeviceSetVgpuSchedulerState_v2 == NULL: 1aA
2839 if handle == NULL: 1A
2840 handle = load_library()
2841 __nvmlDeviceSetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuSchedulerState_v2')
2843 global __nvmlGpuInstanceSetVgpuSchedulerState_v2
2844 __nvmlGpuInstanceSetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuSchedulerState_v2')
2845 if __nvmlGpuInstanceSetVgpuSchedulerState_v2 == NULL:
2846 if handle == NULL:
2847 handle = load_library()
2848 __nvmlGpuInstanceSetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlGpuInstanceSetVgpuSchedulerState_v2') 1g
2850 _cyb___py_nvml_init = True
2851 return 0
2853cdef inline int _check_or_init_nvml() except -1 nogil:
2854 if _cyb___py_nvml_init: 2a AcBcCcDcEc# ocFcf ob= Sbvc? Tbwc@ UbMb[ Vbw ] Wbx ^ Xb_ ` Yby { ZbIb| 0bxc} 1b~ ab2bZ bb3b9 cb4bz db5beb6b0 fb7b1 gb8bg 9b!bnbhb#bycib$b2 A %b$ zcb 'bB jb(bpbkb)bm lb*bn mb+bi ,bpcqbGcqcrbHcNbk -b.bl /brcsbIcsctbJcObC :b3 D ;b4 E =b5 F ?b6 G @b7 H [b8 I ]bJ ^bK _bL `bM {bN |bO }bP ~bJbQ acKbR bcPbS ccLbT dcucecfcgchcicQbjckcRblcmc! nc% U o p V c q ubvbr ' wbKc( xb) ybW d * zbAb+ BbX Cbe DbEbLcMcFbs , t u Nc- v h . j / : GbY OcPc; QcRcScTcHbUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdtccd
2855 return 0 2a AcBcCcDcEc# ocFcf ob= Sbvc? Tbwc@ UbMb[ Vbw ] Wbx ^ Xb_ ` Yby { ZbIb| 0bxc} 1b~ ab2bZ bb3b9 cb4bz db5beb6b0 fb7b1 gb8bg 9b!bnbhb#bycib$b2 A %b$ zcb 'bB jb(bpbkb)bm lb*bn mb+bi ,bpcqbGcqcrbHcNbk -b.bl /brcsbIcsctbJcObC :b3 D ;b4 E =b5 F ?b6 G @b7 H [b8 I ]bJ ^bK _bL `bM {bN |bO }bP ~bJbQ acKbR bcPbS ccLbT dcucecfcgchcicQbjckcRblcmc! nc% U o p V c q ubvbr ' wbKc( xb) ybW d * zbAb+ BbX Cbe DbEbLcMcFbs , t u Nc- v h . j / : GbY OcPc; QcRcScTcHbUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdtccd
2857 return _init_nvml()
2860cpdef dict _inspect_function_pointers():
2861 global _cyb_func_ptrs
2862 if _cyb_func_ptrs is not None:
2863 return _cyb_func_ptrs
2865 _check_or_init_nvml()
2866 cdef dict data = {}
2867 global __nvmlInit_v2
2868 data["__nvmlInit_v2"] = <_cyb_intptr_t>__nvmlInit_v2
2870 global __nvmlInitWithFlags
2871 data["__nvmlInitWithFlags"] = <_cyb_intptr_t>__nvmlInitWithFlags
2873 global __nvmlShutdown
2874 data["__nvmlShutdown"] = <_cyb_intptr_t>__nvmlShutdown
2876 global __nvmlErrorString
2877 data["__nvmlErrorString"] = <_cyb_intptr_t>__nvmlErrorString
2879 global __nvmlSystemGetDriverVersion
2880 data["__nvmlSystemGetDriverVersion"] = <_cyb_intptr_t>__nvmlSystemGetDriverVersion
2882 global __nvmlSystemGetNVMLVersion
2883 data["__nvmlSystemGetNVMLVersion"] = <_cyb_intptr_t>__nvmlSystemGetNVMLVersion
2885 global __nvmlSystemGetCudaDriverVersion
2886 data["__nvmlSystemGetCudaDriverVersion"] = <_cyb_intptr_t>__nvmlSystemGetCudaDriverVersion
2888 global __nvmlSystemGetCudaDriverVersion_v2
2889 data["__nvmlSystemGetCudaDriverVersion_v2"] = <_cyb_intptr_t>__nvmlSystemGetCudaDriverVersion_v2
2891 global __nvmlSystemGetProcessName
2892 data["__nvmlSystemGetProcessName"] = <_cyb_intptr_t>__nvmlSystemGetProcessName
2894 global __nvmlSystemGetHicVersion
2895 data["__nvmlSystemGetHicVersion"] = <_cyb_intptr_t>__nvmlSystemGetHicVersion
2897 global __nvmlSystemGetTopologyGpuSet
2898 data["__nvmlSystemGetTopologyGpuSet"] = <_cyb_intptr_t>__nvmlSystemGetTopologyGpuSet
2900 global __nvmlSystemGetDriverBranch
2901 data["__nvmlSystemGetDriverBranch"] = <_cyb_intptr_t>__nvmlSystemGetDriverBranch
2903 global __nvmlUnitGetCount
2904 data["__nvmlUnitGetCount"] = <_cyb_intptr_t>__nvmlUnitGetCount
2906 global __nvmlUnitGetHandleByIndex
2907 data["__nvmlUnitGetHandleByIndex"] = <_cyb_intptr_t>__nvmlUnitGetHandleByIndex
2909 global __nvmlUnitGetUnitInfo
2910 data["__nvmlUnitGetUnitInfo"] = <_cyb_intptr_t>__nvmlUnitGetUnitInfo
2912 global __nvmlUnitGetLedState
2913 data["__nvmlUnitGetLedState"] = <_cyb_intptr_t>__nvmlUnitGetLedState
2915 global __nvmlUnitGetPsuInfo
2916 data["__nvmlUnitGetPsuInfo"] = <_cyb_intptr_t>__nvmlUnitGetPsuInfo
2918 global __nvmlUnitGetTemperature
2919 data["__nvmlUnitGetTemperature"] = <_cyb_intptr_t>__nvmlUnitGetTemperature
2921 global __nvmlUnitGetFanSpeedInfo
2922 data["__nvmlUnitGetFanSpeedInfo"] = <_cyb_intptr_t>__nvmlUnitGetFanSpeedInfo
2924 global __nvmlUnitGetDevices
2925 data["__nvmlUnitGetDevices"] = <_cyb_intptr_t>__nvmlUnitGetDevices
2927 global __nvmlDeviceGetCount_v2
2928 data["__nvmlDeviceGetCount_v2"] = <_cyb_intptr_t>__nvmlDeviceGetCount_v2
2930 global __nvmlDeviceGetAttributes_v2
2931 data["__nvmlDeviceGetAttributes_v2"] = <_cyb_intptr_t>__nvmlDeviceGetAttributes_v2
2933 global __nvmlDeviceGetHandleByIndex_v2
2934 data["__nvmlDeviceGetHandleByIndex_v2"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByIndex_v2
2936 global __nvmlDeviceGetHandleBySerial
2937 data["__nvmlDeviceGetHandleBySerial"] = <_cyb_intptr_t>__nvmlDeviceGetHandleBySerial
2939 global __nvmlDeviceGetHandleByUUID
2940 data["__nvmlDeviceGetHandleByUUID"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByUUID
2942 global __nvmlDeviceGetHandleByUUIDV
2943 data["__nvmlDeviceGetHandleByUUIDV"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByUUIDV
2945 global __nvmlDeviceGetHandleByPciBusId_v2
2946 data["__nvmlDeviceGetHandleByPciBusId_v2"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByPciBusId_v2
2948 global __nvmlDeviceGetName
2949 data["__nvmlDeviceGetName"] = <_cyb_intptr_t>__nvmlDeviceGetName
2951 global __nvmlDeviceGetBrand
2952 data["__nvmlDeviceGetBrand"] = <_cyb_intptr_t>__nvmlDeviceGetBrand
2954 global __nvmlDeviceGetIndex
2955 data["__nvmlDeviceGetIndex"] = <_cyb_intptr_t>__nvmlDeviceGetIndex
2957 global __nvmlDeviceGetSerial
2958 data["__nvmlDeviceGetSerial"] = <_cyb_intptr_t>__nvmlDeviceGetSerial 1_gAl
2960 global __nvmlDeviceGetModuleId
2961 data["__nvmlDeviceGetModuleId"] = <_cyb_intptr_t>__nvmlDeviceGetModuleId
2963 global __nvmlDeviceGetC2cModeInfoV
2964 data["__nvmlDeviceGetC2cModeInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetC2cModeInfoV
2966 global __nvmlDeviceGetMemoryAffinity
2967 data["__nvmlDeviceGetMemoryAffinity"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryAffinity
2969 global __nvmlDeviceGetCpuAffinityWithinScope
2970 data["__nvmlDeviceGetCpuAffinityWithinScope"] = <_cyb_intptr_t>__nvmlDeviceGetCpuAffinityWithinScope
2972 global __nvmlDeviceGetCpuAffinity
2973 data["__nvmlDeviceGetCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceGetCpuAffinity
2975 global __nvmlDeviceSetCpuAffinity
2976 data["__nvmlDeviceSetCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceSetCpuAffinity
2978 global __nvmlDeviceClearCpuAffinity
2979 data["__nvmlDeviceClearCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceClearCpuAffinity
2981 global __nvmlDeviceGetNumaNodeId
2982 data["__nvmlDeviceGetNumaNodeId"] = <_cyb_intptr_t>__nvmlDeviceGetNumaNodeId
2984 global __nvmlDeviceGetTopologyCommonAncestor
2985 data["__nvmlDeviceGetTopologyCommonAncestor"] = <_cyb_intptr_t>__nvmlDeviceGetTopologyCommonAncestor
2987 global __nvmlDeviceGetTopologyNearestGpus
2988 data["__nvmlDeviceGetTopologyNearestGpus"] = <_cyb_intptr_t>__nvmlDeviceGetTopologyNearestGpus
2990 global __nvmlDeviceGetP2PStatus
2991 data["__nvmlDeviceGetP2PStatus"] = <_cyb_intptr_t>__nvmlDeviceGetP2PStatus
2993 global __nvmlDeviceGetUUID
2994 data["__nvmlDeviceGetUUID"] = <_cyb_intptr_t>__nvmlDeviceGetUUID
2996 global __nvmlDeviceGetMinorNumber
2997 data["__nvmlDeviceGetMinorNumber"] = <_cyb_intptr_t>__nvmlDeviceGetMinorNumber
2999 global __nvmlDeviceGetBoardPartNumber
3000 data["__nvmlDeviceGetBoardPartNumber"] = <_cyb_intptr_t>__nvmlDeviceGetBoardPartNumber
3002 global __nvmlDeviceGetInforomVersion
3003 data["__nvmlDeviceGetInforomVersion"] = <_cyb_intptr_t>__nvmlDeviceGetInforomVersion
3005 global __nvmlDeviceGetInforomImageVersion
3006 data["__nvmlDeviceGetInforomImageVersion"] = <_cyb_intptr_t>__nvmlDeviceGetInforomImageVersion
3008 global __nvmlDeviceGetInforomConfigurationChecksum
3009 data["__nvmlDeviceGetInforomConfigurationChecksum"] = <_cyb_intptr_t>__nvmlDeviceGetInforomConfigurationChecksum
3011 global __nvmlDeviceValidateInforom
3012 data["__nvmlDeviceValidateInforom"] = <_cyb_intptr_t>__nvmlDeviceValidateInforom
3014 global __nvmlDeviceGetLastBBXFlushTime
3015 data["__nvmlDeviceGetLastBBXFlushTime"] = <_cyb_intptr_t>__nvmlDeviceGetLastBBXFlushTime
3017 global __nvmlDeviceGetDisplayMode
3018 data["__nvmlDeviceGetDisplayMode"] = <_cyb_intptr_t>__nvmlDeviceGetDisplayMode
3020 global __nvmlDeviceGetDisplayActive
3021 data["__nvmlDeviceGetDisplayActive"] = <_cyb_intptr_t>__nvmlDeviceGetDisplayActive
3023 global __nvmlDeviceGetPersistenceMode
3024 data["__nvmlDeviceGetPersistenceMode"] = <_cyb_intptr_t>__nvmlDeviceGetPersistenceMode
3026 global __nvmlDeviceGetPciInfoExt
3027 data["__nvmlDeviceGetPciInfoExt"] = <_cyb_intptr_t>__nvmlDeviceGetPciInfoExt
3029 global __nvmlDeviceGetPciInfo_v3
3030 data["__nvmlDeviceGetPciInfo_v3"] = <_cyb_intptr_t>__nvmlDeviceGetPciInfo_v3
3032 global __nvmlDeviceGetMaxPcieLinkGeneration
3033 data["__nvmlDeviceGetMaxPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetMaxPcieLinkGeneration
3035 global __nvmlDeviceGetGpuMaxPcieLinkGeneration
3036 data["__nvmlDeviceGetGpuMaxPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetGpuMaxPcieLinkGeneration
3038 global __nvmlDeviceGetMaxPcieLinkWidth
3039 data["__nvmlDeviceGetMaxPcieLinkWidth"] = <_cyb_intptr_t>__nvmlDeviceGetMaxPcieLinkWidth
3041 global __nvmlDeviceGetCurrPcieLinkGeneration
3042 data["__nvmlDeviceGetCurrPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetCurrPcieLinkGeneration
3044 global __nvmlDeviceGetCurrPcieLinkWidth
3045 data["__nvmlDeviceGetCurrPcieLinkWidth"] = <_cyb_intptr_t>__nvmlDeviceGetCurrPcieLinkWidth
3047 global __nvmlDeviceGetPcieThroughput
3048 data["__nvmlDeviceGetPcieThroughput"] = <_cyb_intptr_t>__nvmlDeviceGetPcieThroughput
3050 global __nvmlDeviceGetPcieReplayCounter
3051 data["__nvmlDeviceGetPcieReplayCounter"] = <_cyb_intptr_t>__nvmlDeviceGetPcieReplayCounter
3053 global __nvmlDeviceGetClockInfo
3054 data["__nvmlDeviceGetClockInfo"] = <_cyb_intptr_t>__nvmlDeviceGetClockInfo
3056 global __nvmlDeviceGetMaxClockInfo
3057 data["__nvmlDeviceGetMaxClockInfo"] = <_cyb_intptr_t>__nvmlDeviceGetMaxClockInfo
3059 global __nvmlDeviceGetGpcClkVfOffset
3060 data["__nvmlDeviceGetGpcClkVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetGpcClkVfOffset
3062 global __nvmlDeviceGetClock
3063 data["__nvmlDeviceGetClock"] = <_cyb_intptr_t>__nvmlDeviceGetClock
3065 global __nvmlDeviceGetMaxCustomerBoostClock
3066 data["__nvmlDeviceGetMaxCustomerBoostClock"] = <_cyb_intptr_t>__nvmlDeviceGetMaxCustomerBoostClock
3068 global __nvmlDeviceGetSupportedMemoryClocks
3069 data["__nvmlDeviceGetSupportedMemoryClocks"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedMemoryClocks
3071 global __nvmlDeviceGetSupportedGraphicsClocks
3072 data["__nvmlDeviceGetSupportedGraphicsClocks"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedGraphicsClocks
3074 global __nvmlDeviceGetAutoBoostedClocksEnabled
3075 data["__nvmlDeviceGetAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceGetAutoBoostedClocksEnabled
3077 global __nvmlDeviceGetFanSpeed
3078 data["__nvmlDeviceGetFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeed 1fAnk
3080 global __nvmlDeviceGetFanSpeed_v2
3081 data["__nvmlDeviceGetFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeed_v2
3083 global __nvmlDeviceGetFanSpeedRPM
3084 data["__nvmlDeviceGetFanSpeedRPM"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeedRPM
3086 global __nvmlDeviceGetTargetFanSpeed
3087 data["__nvmlDeviceGetTargetFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetTargetFanSpeed
3089 global __nvmlDeviceGetMinMaxFanSpeed
3090 data["__nvmlDeviceGetMinMaxFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetMinMaxFanSpeed
3092 global __nvmlDeviceGetFanControlPolicy_v2
3093 data["__nvmlDeviceGetFanControlPolicy_v2"] = <_cyb_intptr_t>__nvmlDeviceGetFanControlPolicy_v2
3095 global __nvmlDeviceGetNumFans
3096 data["__nvmlDeviceGetNumFans"] = <_cyb_intptr_t>__nvmlDeviceGetNumFans
3098 global __nvmlDeviceGetCoolerInfo
3099 data["__nvmlDeviceGetCoolerInfo"] = <_cyb_intptr_t>__nvmlDeviceGetCoolerInfo
3101 global __nvmlDeviceGetTemperatureV
3102 data["__nvmlDeviceGetTemperatureV"] = <_cyb_intptr_t>__nvmlDeviceGetTemperatureV
3104 global __nvmlDeviceGetTemperatureThreshold
3105 data["__nvmlDeviceGetTemperatureThreshold"] = <_cyb_intptr_t>__nvmlDeviceGetTemperatureThreshold
3107 global __nvmlDeviceGetMarginTemperature
3108 data["__nvmlDeviceGetMarginTemperature"] = <_cyb_intptr_t>__nvmlDeviceGetMarginTemperature
3110 global __nvmlDeviceGetThermalSettings
3111 data["__nvmlDeviceGetThermalSettings"] = <_cyb_intptr_t>__nvmlDeviceGetThermalSettings
3113 global __nvmlDeviceGetPerformanceState
3114 data["__nvmlDeviceGetPerformanceState"] = <_cyb_intptr_t>__nvmlDeviceGetPerformanceState
3116 global __nvmlDeviceGetCurrentClocksEventReasons
3117 data["__nvmlDeviceGetCurrentClocksEventReasons"] = <_cyb_intptr_t>__nvmlDeviceGetCurrentClocksEventReasons
3119 global __nvmlDeviceGetSupportedClocksEventReasons
3120 data["__nvmlDeviceGetSupportedClocksEventReasons"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedClocksEventReasons
3122 global __nvmlDeviceGetPowerState
3123 data["__nvmlDeviceGetPowerState"] = <_cyb_intptr_t>__nvmlDeviceGetPowerState
3125 global __nvmlDeviceGetDynamicPstatesInfo
3126 data["__nvmlDeviceGetDynamicPstatesInfo"] = <_cyb_intptr_t>__nvmlDeviceGetDynamicPstatesInfo
3128 global __nvmlDeviceGetMemClkVfOffset
3129 data["__nvmlDeviceGetMemClkVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetMemClkVfOffset
3131 global __nvmlDeviceGetMinMaxClockOfPState
3132 data["__nvmlDeviceGetMinMaxClockOfPState"] = <_cyb_intptr_t>__nvmlDeviceGetMinMaxClockOfPState
3134 global __nvmlDeviceGetSupportedPerformanceStates
3135 data["__nvmlDeviceGetSupportedPerformanceStates"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedPerformanceStates
3137 global __nvmlDeviceGetGpcClkMinMaxVfOffset
3138 data["__nvmlDeviceGetGpcClkMinMaxVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetGpcClkMinMaxVfOffset 2Jb
3140 global __nvmlDeviceGetMemClkMinMaxVfOffset
3141 data["__nvmlDeviceGetMemClkMinMaxVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetMemClkMinMaxVfOffset
3143 global __nvmlDeviceGetClockOffsets
3144 data["__nvmlDeviceGetClockOffsets"] = <_cyb_intptr_t>__nvmlDeviceGetClockOffsets
3146 global __nvmlDeviceSetClockOffsets
3147 data["__nvmlDeviceSetClockOffsets"] = <_cyb_intptr_t>__nvmlDeviceSetClockOffsets
3149 global __nvmlDeviceGetPerformanceModes
3150 data["__nvmlDeviceGetPerformanceModes"] = <_cyb_intptr_t>__nvmlDeviceGetPerformanceModes
3152 global __nvmlDeviceGetCurrentClockFreqs
3153 data["__nvmlDeviceGetCurrentClockFreqs"] = <_cyb_intptr_t>__nvmlDeviceGetCurrentClockFreqs
3155 global __nvmlDeviceGetPowerManagementLimit
3156 data["__nvmlDeviceGetPowerManagementLimit"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementLimit
3158 global __nvmlDeviceGetPowerManagementLimitConstraints
3159 data["__nvmlDeviceGetPowerManagementLimitConstraints"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementLimitConstraints
3161 global __nvmlDeviceGetPowerManagementDefaultLimit
3162 data["__nvmlDeviceGetPowerManagementDefaultLimit"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementDefaultLimit
3164 global __nvmlDeviceGetPowerUsage
3165 data["__nvmlDeviceGetPowerUsage"] = <_cyb_intptr_t>__nvmlDeviceGetPowerUsage
3167 global __nvmlDeviceGetTotalEnergyConsumption
3168 data["__nvmlDeviceGetTotalEnergyConsumption"] = <_cyb_intptr_t>__nvmlDeviceGetTotalEnergyConsumption
3170 global __nvmlDeviceGetEnforcedPowerLimit
3171 data["__nvmlDeviceGetEnforcedPowerLimit"] = <_cyb_intptr_t>__nvmlDeviceGetEnforcedPowerLimit
3173 global __nvmlDeviceGetGpuOperationMode
3174 data["__nvmlDeviceGetGpuOperationMode"] = <_cyb_intptr_t>__nvmlDeviceGetGpuOperationMode
3176 global __nvmlDeviceGetMemoryInfo_v2
3177 data["__nvmlDeviceGetMemoryInfo_v2"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryInfo_v2
3179 global __nvmlDeviceGetComputeMode
3180 data["__nvmlDeviceGetComputeMode"] = <_cyb_intptr_t>__nvmlDeviceGetComputeMode
3182 global __nvmlDeviceGetCudaComputeCapability
3183 data["__nvmlDeviceGetCudaComputeCapability"] = <_cyb_intptr_t>__nvmlDeviceGetCudaComputeCapability
3185 global __nvmlDeviceGetDramEncryptionMode
3186 data["__nvmlDeviceGetDramEncryptionMode"] = <_cyb_intptr_t>__nvmlDeviceGetDramEncryptionMode
3188 global __nvmlDeviceSetDramEncryptionMode
3189 data["__nvmlDeviceSetDramEncryptionMode"] = <_cyb_intptr_t>__nvmlDeviceSetDramEncryptionMode
3191 global __nvmlDeviceGetEccMode
3192 data["__nvmlDeviceGetEccMode"] = <_cyb_intptr_t>__nvmlDeviceGetEccMode
3194 global __nvmlDeviceGetDefaultEccMode
3195 data["__nvmlDeviceGetDefaultEccMode"] = <_cyb_intptr_t>__nvmlDeviceGetDefaultEccMode
3197 global __nvmlDeviceGetBoardId
3198 data["__nvmlDeviceGetBoardId"] = <_cyb_intptr_t>__nvmlDeviceGetBoardId
3200 global __nvmlDeviceGetMultiGpuBoard
3201 data["__nvmlDeviceGetMultiGpuBoard"] = <_cyb_intptr_t>__nvmlDeviceGetMultiGpuBoard
3203 global __nvmlDeviceGetTotalEccErrors
3204 data["__nvmlDeviceGetTotalEccErrors"] = <_cyb_intptr_t>__nvmlDeviceGetTotalEccErrors
3206 global __nvmlDeviceGetMemoryErrorCounter
3207 data["__nvmlDeviceGetMemoryErrorCounter"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryErrorCounter
3209 global __nvmlDeviceGetUtilizationRates
3210 data["__nvmlDeviceGetUtilizationRates"] = <_cyb_intptr_t>__nvmlDeviceGetUtilizationRates
3212 global __nvmlDeviceGetEncoderUtilization
3213 data["__nvmlDeviceGetEncoderUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderUtilization
3215 global __nvmlDeviceGetEncoderCapacity
3216 data["__nvmlDeviceGetEncoderCapacity"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderCapacity
3218 global __nvmlDeviceGetEncoderStats
3219 data["__nvmlDeviceGetEncoderStats"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderStats
3221 global __nvmlDeviceGetEncoderSessions
3222 data["__nvmlDeviceGetEncoderSessions"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderSessions
3224 global __nvmlDeviceGetDecoderUtilization
3225 data["__nvmlDeviceGetDecoderUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetDecoderUtilization
3227 global __nvmlDeviceGetJpgUtilization
3228 data["__nvmlDeviceGetJpgUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetJpgUtilization
3230 global __nvmlDeviceGetOfaUtilization
3231 data["__nvmlDeviceGetOfaUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetOfaUtilization
3233 global __nvmlDeviceGetFBCStats
3234 data["__nvmlDeviceGetFBCStats"] = <_cyb_intptr_t>__nvmlDeviceGetFBCStats
3236 global __nvmlDeviceGetFBCSessions
3237 data["__nvmlDeviceGetFBCSessions"] = <_cyb_intptr_t>__nvmlDeviceGetFBCSessions
3239 global __nvmlDeviceGetDriverModel_v2
3240 data["__nvmlDeviceGetDriverModel_v2"] = <_cyb_intptr_t>__nvmlDeviceGetDriverModel_v2
3242 global __nvmlDeviceGetVbiosVersion
3243 data["__nvmlDeviceGetVbiosVersion"] = <_cyb_intptr_t>__nvmlDeviceGetVbiosVersion
3245 global __nvmlDeviceGetBridgeChipInfo
3246 data["__nvmlDeviceGetBridgeChipInfo"] = <_cyb_intptr_t>__nvmlDeviceGetBridgeChipInfo
3248 global __nvmlDeviceGetComputeRunningProcesses_v3
3249 data["__nvmlDeviceGetComputeRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetComputeRunningProcesses_v3
3251 global __nvmlDeviceGetGraphicsRunningProcesses_v3
3252 data["__nvmlDeviceGetGraphicsRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetGraphicsRunningProcesses_v3
3254 global __nvmlDeviceGetMPSComputeRunningProcesses_v3
3255 data["__nvmlDeviceGetMPSComputeRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetMPSComputeRunningProcesses_v3
3257 global __nvmlDeviceGetRunningProcessDetailList
3258 data["__nvmlDeviceGetRunningProcessDetailList"] = <_cyb_intptr_t>__nvmlDeviceGetRunningProcessDetailList
3260 global __nvmlDeviceOnSameBoard
3261 data["__nvmlDeviceOnSameBoard"] = <_cyb_intptr_t>__nvmlDeviceOnSameBoard
3263 global __nvmlDeviceGetAPIRestriction
3264 data["__nvmlDeviceGetAPIRestriction"] = <_cyb_intptr_t>__nvmlDeviceGetAPIRestriction
3266 global __nvmlDeviceGetSamples
3267 data["__nvmlDeviceGetSamples"] = <_cyb_intptr_t>__nvmlDeviceGetSamples
3269 global __nvmlDeviceGetBAR1MemoryInfo
3270 data["__nvmlDeviceGetBAR1MemoryInfo"] = <_cyb_intptr_t>__nvmlDeviceGetBAR1MemoryInfo
3272 global __nvmlDeviceGetIrqNum
3273 data["__nvmlDeviceGetIrqNum"] = <_cyb_intptr_t>__nvmlDeviceGetIrqNum
3275 global __nvmlDeviceGetNumGpuCores
3276 data["__nvmlDeviceGetNumGpuCores"] = <_cyb_intptr_t>__nvmlDeviceGetNumGpuCores
3278 global __nvmlDeviceGetPowerSource
3279 data["__nvmlDeviceGetPowerSource"] = <_cyb_intptr_t>__nvmlDeviceGetPowerSource
3281 global __nvmlDeviceGetMemoryBusWidth
3282 data["__nvmlDeviceGetMemoryBusWidth"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryBusWidth
3284 global __nvmlDeviceGetPcieLinkMaxSpeed
3285 data["__nvmlDeviceGetPcieLinkMaxSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetPcieLinkMaxSpeed
3287 global __nvmlDeviceGetPcieSpeed
3288 data["__nvmlDeviceGetPcieSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetPcieSpeed
3290 global __nvmlDeviceGetAdaptiveClockInfoStatus
3291 data["__nvmlDeviceGetAdaptiveClockInfoStatus"] = <_cyb_intptr_t>__nvmlDeviceGetAdaptiveClockInfoStatus
3293 global __nvmlDeviceGetBusType
3294 data["__nvmlDeviceGetBusType"] = <_cyb_intptr_t>__nvmlDeviceGetBusType
3296 global __nvmlDeviceGetGpuFabricInfoV
3297 data["__nvmlDeviceGetGpuFabricInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuFabricInfoV
3299 global __nvmlSystemGetConfComputeCapabilities
3300 data["__nvmlSystemGetConfComputeCapabilities"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeCapabilities
3302 global __nvmlSystemGetConfComputeState
3303 data["__nvmlSystemGetConfComputeState"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeState
3305 global __nvmlDeviceGetConfComputeMemSizeInfo
3306 data["__nvmlDeviceGetConfComputeMemSizeInfo"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeMemSizeInfo
3308 global __nvmlSystemGetConfComputeGpusReadyState
3309 data["__nvmlSystemGetConfComputeGpusReadyState"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeGpusReadyState
3311 global __nvmlDeviceGetConfComputeProtectedMemoryUsage
3312 data["__nvmlDeviceGetConfComputeProtectedMemoryUsage"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeProtectedMemoryUsage
3314 global __nvmlDeviceGetConfComputeGpuCertificate
3315 data["__nvmlDeviceGetConfComputeGpuCertificate"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeGpuCertificate
3317 global __nvmlDeviceGetConfComputeGpuAttestationReport
3318 data["__nvmlDeviceGetConfComputeGpuAttestationReport"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeGpuAttestationReport
3320 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo
3321 data["__nvmlSystemGetConfComputeKeyRotationThresholdInfo"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeKeyRotationThresholdInfo
3323 global __nvmlDeviceSetConfComputeUnprotectedMemSize
3324 data["__nvmlDeviceSetConfComputeUnprotectedMemSize"] = <_cyb_intptr_t>__nvmlDeviceSetConfComputeUnprotectedMemSize
3326 global __nvmlSystemSetConfComputeGpusReadyState
3327 data["__nvmlSystemSetConfComputeGpusReadyState"] = <_cyb_intptr_t>__nvmlSystemSetConfComputeGpusReadyState
3329 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo
3330 data["__nvmlSystemSetConfComputeKeyRotationThresholdInfo"] = <_cyb_intptr_t>__nvmlSystemSetConfComputeKeyRotationThresholdInfo
3332 global __nvmlSystemGetConfComputeSettings
3333 data["__nvmlSystemGetConfComputeSettings"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeSettings
3335 global __nvmlDeviceGetGspFirmwareVersion
3336 data["__nvmlDeviceGetGspFirmwareVersion"] = <_cyb_intptr_t>__nvmlDeviceGetGspFirmwareVersion
3338 global __nvmlDeviceGetGspFirmwareMode
3339 data["__nvmlDeviceGetGspFirmwareMode"] = <_cyb_intptr_t>__nvmlDeviceGetGspFirmwareMode
3341 global __nvmlDeviceGetSramEccErrorStatus
3342 data["__nvmlDeviceGetSramEccErrorStatus"] = <_cyb_intptr_t>__nvmlDeviceGetSramEccErrorStatus
3344 global __nvmlDeviceGetAccountingMode
3345 data["__nvmlDeviceGetAccountingMode"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingMode
3347 global __nvmlDeviceGetAccountingStats
3348 data["__nvmlDeviceGetAccountingStats"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingStats
3350 global __nvmlDeviceGetAccountingPids
3351 data["__nvmlDeviceGetAccountingPids"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingPids
3353 global __nvmlDeviceGetAccountingBufferSize
3354 data["__nvmlDeviceGetAccountingBufferSize"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingBufferSize
3356 global __nvmlDeviceGetRetiredPages
3357 data["__nvmlDeviceGetRetiredPages"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPages
3359 global __nvmlDeviceGetRetiredPages_v2
3360 data["__nvmlDeviceGetRetiredPages_v2"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPages_v2
3362 global __nvmlDeviceGetRetiredPagesPendingStatus
3363 data["__nvmlDeviceGetRetiredPagesPendingStatus"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPagesPendingStatus
3365 global __nvmlDeviceGetRemappedRows
3366 data["__nvmlDeviceGetRemappedRows"] = <_cyb_intptr_t>__nvmlDeviceGetRemappedRows
3368 global __nvmlDeviceGetRowRemapperHistogram
3369 data["__nvmlDeviceGetRowRemapperHistogram"] = <_cyb_intptr_t>__nvmlDeviceGetRowRemapperHistogram
3371 global __nvmlDeviceGetArchitecture
3372 data["__nvmlDeviceGetArchitecture"] = <_cyb_intptr_t>__nvmlDeviceGetArchitecture
3374 global __nvmlDeviceGetClkMonStatus
3375 data["__nvmlDeviceGetClkMonStatus"] = <_cyb_intptr_t>__nvmlDeviceGetClkMonStatus
3377 global __nvmlDeviceGetProcessUtilization
3378 data["__nvmlDeviceGetProcessUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetProcessUtilization
3380 global __nvmlDeviceGetProcessesUtilizationInfo
3381 data["__nvmlDeviceGetProcessesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetProcessesUtilizationInfo
3383 global __nvmlDeviceGetPlatformInfo
3384 data["__nvmlDeviceGetPlatformInfo"] = <_cyb_intptr_t>__nvmlDeviceGetPlatformInfo
3386 global __nvmlUnitSetLedState
3387 data["__nvmlUnitSetLedState"] = <_cyb_intptr_t>__nvmlUnitSetLedState
3389 global __nvmlDeviceSetPersistenceMode
3390 data["__nvmlDeviceSetPersistenceMode"] = <_cyb_intptr_t>__nvmlDeviceSetPersistenceMode
3392 global __nvmlDeviceSetComputeMode
3393 data["__nvmlDeviceSetComputeMode"] = <_cyb_intptr_t>__nvmlDeviceSetComputeMode
3395 global __nvmlDeviceSetEccMode
3396 data["__nvmlDeviceSetEccMode"] = <_cyb_intptr_t>__nvmlDeviceSetEccMode
3398 global __nvmlDeviceClearEccErrorCounts
3399 data["__nvmlDeviceClearEccErrorCounts"] = <_cyb_intptr_t>__nvmlDeviceClearEccErrorCounts
3401 global __nvmlDeviceSetDriverModel
3402 data["__nvmlDeviceSetDriverModel"] = <_cyb_intptr_t>__nvmlDeviceSetDriverModel
3404 global __nvmlDeviceSetGpuLockedClocks
3405 data["__nvmlDeviceSetGpuLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceSetGpuLockedClocks
3407 global __nvmlDeviceResetGpuLockedClocks
3408 data["__nvmlDeviceResetGpuLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceResetGpuLockedClocks
3410 global __nvmlDeviceSetMemoryLockedClocks
3411 data["__nvmlDeviceSetMemoryLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceSetMemoryLockedClocks
3413 global __nvmlDeviceResetMemoryLockedClocks
3414 data["__nvmlDeviceResetMemoryLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceResetMemoryLockedClocks
3416 global __nvmlDeviceSetAutoBoostedClocksEnabled
3417 data["__nvmlDeviceSetAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceSetAutoBoostedClocksEnabled
3419 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled
3420 data["__nvmlDeviceSetDefaultAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceSetDefaultAutoBoostedClocksEnabled
3422 global __nvmlDeviceSetDefaultFanSpeed_v2
3423 data["__nvmlDeviceSetDefaultFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceSetDefaultFanSpeed_v2
3425 global __nvmlDeviceSetFanControlPolicy
3426 data["__nvmlDeviceSetFanControlPolicy"] = <_cyb_intptr_t>__nvmlDeviceSetFanControlPolicy
3428 global __nvmlDeviceSetTemperatureThreshold
3429 data["__nvmlDeviceSetTemperatureThreshold"] = <_cyb_intptr_t>__nvmlDeviceSetTemperatureThreshold
3431 global __nvmlDeviceSetGpuOperationMode
3432 data["__nvmlDeviceSetGpuOperationMode"] = <_cyb_intptr_t>__nvmlDeviceSetGpuOperationMode
3434 global __nvmlDeviceSetAPIRestriction
3435 data["__nvmlDeviceSetAPIRestriction"] = <_cyb_intptr_t>__nvmlDeviceSetAPIRestriction
3437 global __nvmlDeviceSetFanSpeed_v2
3438 data["__nvmlDeviceSetFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceSetFanSpeed_v2
3440 global __nvmlDeviceSetAccountingMode
3441 data["__nvmlDeviceSetAccountingMode"] = <_cyb_intptr_t>__nvmlDeviceSetAccountingMode
3443 global __nvmlDeviceClearAccountingPids
3444 data["__nvmlDeviceClearAccountingPids"] = <_cyb_intptr_t>__nvmlDeviceClearAccountingPids
3446 global __nvmlDeviceSetPowerManagementLimit_v2
3447 data["__nvmlDeviceSetPowerManagementLimit_v2"] = <_cyb_intptr_t>__nvmlDeviceSetPowerManagementLimit_v2
3449 global __nvmlDeviceGetNvLinkState
3450 data["__nvmlDeviceGetNvLinkState"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkState
3452 global __nvmlDeviceGetNvLinkVersion
3453 data["__nvmlDeviceGetNvLinkVersion"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkVersion
3455 global __nvmlDeviceGetNvLinkCapability
3456 data["__nvmlDeviceGetNvLinkCapability"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkCapability
3458 global __nvmlDeviceGetNvLinkRemotePciInfo_v2
3459 data["__nvmlDeviceGetNvLinkRemotePciInfo_v2"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkRemotePciInfo_v2
3461 global __nvmlDeviceGetNvLinkErrorCounter
3462 data["__nvmlDeviceGetNvLinkErrorCounter"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkErrorCounter
3464 global __nvmlDeviceResetNvLinkErrorCounters
3465 data["__nvmlDeviceResetNvLinkErrorCounters"] = <_cyb_intptr_t>__nvmlDeviceResetNvLinkErrorCounters
3467 global __nvmlDeviceGetNvLinkRemoteDeviceType
3468 data["__nvmlDeviceGetNvLinkRemoteDeviceType"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkRemoteDeviceType
3470 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold
3471 data["__nvmlDeviceSetNvLinkDeviceLowPowerThreshold"] = <_cyb_intptr_t>__nvmlDeviceSetNvLinkDeviceLowPowerThreshold
3473 global __nvmlSystemSetNvlinkBwMode
3474 data["__nvmlSystemSetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlSystemSetNvlinkBwMode
3476 global __nvmlSystemGetNvlinkBwMode
3477 data["__nvmlSystemGetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlSystemGetNvlinkBwMode
3479 global __nvmlDeviceGetNvlinkSupportedBwModes
3480 data["__nvmlDeviceGetNvlinkSupportedBwModes"] = <_cyb_intptr_t>__nvmlDeviceGetNvlinkSupportedBwModes
3482 global __nvmlDeviceGetNvlinkBwMode
3483 data["__nvmlDeviceGetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlDeviceGetNvlinkBwMode
3485 global __nvmlDeviceSetNvlinkBwMode
3486 data["__nvmlDeviceSetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlDeviceSetNvlinkBwMode
3488 global __nvmlEventSetCreate
3489 data["__nvmlEventSetCreate"] = <_cyb_intptr_t>__nvmlEventSetCreate 2ob
3491 global __nvmlDeviceRegisterEvents
3492 data["__nvmlDeviceRegisterEvents"] = <_cyb_intptr_t>__nvmlDeviceRegisterEvents 2ob
3494 global __nvmlDeviceGetSupportedEventTypes
3495 data["__nvmlDeviceGetSupportedEventTypes"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedEventTypes
3497 global __nvmlEventSetWait_v2
3498 data["__nvmlEventSetWait_v2"] = <_cyb_intptr_t>__nvmlEventSetWait_v2 2Ib
3500 global __nvmlEventSetFree
3501 data["__nvmlEventSetFree"] = <_cyb_intptr_t>__nvmlEventSetFree
3503 global __nvmlSystemEventSetCreate
3504 data["__nvmlSystemEventSetCreate"] = <_cyb_intptr_t>__nvmlSystemEventSetCreate
3506 global __nvmlSystemEventSetFree
3507 data["__nvmlSystemEventSetFree"] = <_cyb_intptr_t>__nvmlSystemEventSetFree
3509 global __nvmlSystemRegisterEvents
3510 data["__nvmlSystemRegisterEvents"] = <_cyb_intptr_t>__nvmlSystemRegisterEvents
3512 global __nvmlSystemEventSetWait
3513 data["__nvmlSystemEventSetWait"] = <_cyb_intptr_t>__nvmlSystemEventSetWait
3515 global __nvmlDeviceModifyDrainState
3516 data["__nvmlDeviceModifyDrainState"] = <_cyb_intptr_t>__nvmlDeviceModifyDrainState
3518 global __nvmlDeviceQueryDrainState
3519 data["__nvmlDeviceQueryDrainState"] = <_cyb_intptr_t>__nvmlDeviceQueryDrainState
3521 global __nvmlDeviceRemoveGpu_v2
3522 data["__nvmlDeviceRemoveGpu_v2"] = <_cyb_intptr_t>__nvmlDeviceRemoveGpu_v2
3524 global __nvmlDeviceDiscoverGpus
3525 data["__nvmlDeviceDiscoverGpus"] = <_cyb_intptr_t>__nvmlDeviceDiscoverGpus
3527 global __nvmlDeviceGetFieldValues
3528 data["__nvmlDeviceGetFieldValues"] = <_cyb_intptr_t>__nvmlDeviceGetFieldValues 2Kb
3530 global __nvmlDeviceClearFieldValues
3531 data["__nvmlDeviceClearFieldValues"] = <_cyb_intptr_t>__nvmlDeviceClearFieldValues
3533 global __nvmlDeviceGetVirtualizationMode
3534 data["__nvmlDeviceGetVirtualizationMode"] = <_cyb_intptr_t>__nvmlDeviceGetVirtualizationMode
3536 global __nvmlDeviceGetHostVgpuMode
3537 data["__nvmlDeviceGetHostVgpuMode"] = <_cyb_intptr_t>__nvmlDeviceGetHostVgpuMode
3539 global __nvmlDeviceSetVirtualizationMode
3540 data["__nvmlDeviceSetVirtualizationMode"] = <_cyb_intptr_t>__nvmlDeviceSetVirtualizationMode
3542 global __nvmlDeviceGetVgpuHeterogeneousMode
3543 data["__nvmlDeviceGetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuHeterogeneousMode
3545 global __nvmlDeviceSetVgpuHeterogeneousMode
3546 data["__nvmlDeviceSetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuHeterogeneousMode
3548 global __nvmlVgpuInstanceGetPlacementId
3549 data["__nvmlVgpuInstanceGetPlacementId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetPlacementId
3551 global __nvmlDeviceGetVgpuTypeSupportedPlacements
3552 data["__nvmlDeviceGetVgpuTypeSupportedPlacements"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuTypeSupportedPlacements
3554 global __nvmlDeviceGetVgpuTypeCreatablePlacements
3555 data["__nvmlDeviceGetVgpuTypeCreatablePlacements"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuTypeCreatablePlacements
3557 global __nvmlVgpuTypeGetGspHeapSize
3558 data["__nvmlVgpuTypeGetGspHeapSize"] = <_cyb_intptr_t>__nvmlVgpuTypeGetGspHeapSize
3560 global __nvmlVgpuTypeGetFbReservation
3561 data["__nvmlVgpuTypeGetFbReservation"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFbReservation
3563 global __nvmlVgpuInstanceGetRuntimeStateSize
3564 data["__nvmlVgpuInstanceGetRuntimeStateSize"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetRuntimeStateSize
3566 global __nvmlDeviceSetVgpuCapabilities
3567 data["__nvmlDeviceSetVgpuCapabilities"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuCapabilities
3569 global __nvmlDeviceGetGridLicensableFeatures_v4
3570 data["__nvmlDeviceGetGridLicensableFeatures_v4"] = <_cyb_intptr_t>__nvmlDeviceGetGridLicensableFeatures_v4
3572 global __nvmlGetVgpuDriverCapabilities
3573 data["__nvmlGetVgpuDriverCapabilities"] = <_cyb_intptr_t>__nvmlGetVgpuDriverCapabilities
3575 global __nvmlDeviceGetVgpuCapabilities
3576 data["__nvmlDeviceGetVgpuCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuCapabilities
3578 global __nvmlDeviceGetSupportedVgpus
3579 data["__nvmlDeviceGetSupportedVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedVgpus
3581 global __nvmlDeviceGetCreatableVgpus
3582 data["__nvmlDeviceGetCreatableVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetCreatableVgpus
3584 global __nvmlVgpuTypeGetClass
3585 data["__nvmlVgpuTypeGetClass"] = <_cyb_intptr_t>__nvmlVgpuTypeGetClass
3587 global __nvmlVgpuTypeGetName
3588 data["__nvmlVgpuTypeGetName"] = <_cyb_intptr_t>__nvmlVgpuTypeGetName
3590 global __nvmlVgpuTypeGetGpuInstanceProfileId
3591 data["__nvmlVgpuTypeGetGpuInstanceProfileId"] = <_cyb_intptr_t>__nvmlVgpuTypeGetGpuInstanceProfileId
3593 global __nvmlVgpuTypeGetDeviceID
3594 data["__nvmlVgpuTypeGetDeviceID"] = <_cyb_intptr_t>__nvmlVgpuTypeGetDeviceID
3596 global __nvmlVgpuTypeGetFramebufferSize
3597 data["__nvmlVgpuTypeGetFramebufferSize"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFramebufferSize
3599 global __nvmlVgpuTypeGetNumDisplayHeads
3600 data["__nvmlVgpuTypeGetNumDisplayHeads"] = <_cyb_intptr_t>__nvmlVgpuTypeGetNumDisplayHeads
3602 global __nvmlVgpuTypeGetResolution
3603 data["__nvmlVgpuTypeGetResolution"] = <_cyb_intptr_t>__nvmlVgpuTypeGetResolution
3605 global __nvmlVgpuTypeGetLicense
3606 data["__nvmlVgpuTypeGetLicense"] = <_cyb_intptr_t>__nvmlVgpuTypeGetLicense
3608 global __nvmlVgpuTypeGetFrameRateLimit
3609 data["__nvmlVgpuTypeGetFrameRateLimit"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFrameRateLimit
3611 global __nvmlVgpuTypeGetMaxInstances
3612 data["__nvmlVgpuTypeGetMaxInstances"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstances
3614 global __nvmlVgpuTypeGetMaxInstancesPerVm
3615 data["__nvmlVgpuTypeGetMaxInstancesPerVm"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstancesPerVm
3617 global __nvmlVgpuTypeGetBAR1Info
3618 data["__nvmlVgpuTypeGetBAR1Info"] = <_cyb_intptr_t>__nvmlVgpuTypeGetBAR1Info 1B
3620 global __nvmlDeviceGetActiveVgpus
3621 data["__nvmlDeviceGetActiveVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetActiveVgpus
3623 global __nvmlVgpuInstanceGetVmID
3624 data["__nvmlVgpuInstanceGetVmID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetVmID
3626 global __nvmlVgpuInstanceGetUUID
3627 data["__nvmlVgpuInstanceGetUUID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetUUID
3629 global __nvmlVgpuInstanceGetVmDriverVersion
3630 data["__nvmlVgpuInstanceGetVmDriverVersion"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetVmDriverVersion
3632 global __nvmlVgpuInstanceGetFbUsage
3633 data["__nvmlVgpuInstanceGetFbUsage"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFbUsage
3635 global __nvmlVgpuInstanceGetLicenseStatus
3636 data["__nvmlVgpuInstanceGetLicenseStatus"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetLicenseStatus
3638 global __nvmlVgpuInstanceGetType
3639 data["__nvmlVgpuInstanceGetType"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetType
3641 global __nvmlVgpuInstanceGetFrameRateLimit
3642 data["__nvmlVgpuInstanceGetFrameRateLimit"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFrameRateLimit
3644 global __nvmlVgpuInstanceGetEccMode
3645 data["__nvmlVgpuInstanceGetEccMode"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEccMode
3647 global __nvmlVgpuInstanceGetEncoderCapacity
3648 data["__nvmlVgpuInstanceGetEncoderCapacity"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderCapacity
3650 global __nvmlVgpuInstanceSetEncoderCapacity
3651 data["__nvmlVgpuInstanceSetEncoderCapacity"] = <_cyb_intptr_t>__nvmlVgpuInstanceSetEncoderCapacity
3653 global __nvmlVgpuInstanceGetEncoderStats
3654 data["__nvmlVgpuInstanceGetEncoderStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderStats
3656 global __nvmlVgpuInstanceGetEncoderSessions
3657 data["__nvmlVgpuInstanceGetEncoderSessions"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderSessions
3659 global __nvmlVgpuInstanceGetFBCStats
3660 data["__nvmlVgpuInstanceGetFBCStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFBCStats
3662 global __nvmlVgpuInstanceGetFBCSessions
3663 data["__nvmlVgpuInstanceGetFBCSessions"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFBCSessions
3665 global __nvmlVgpuInstanceGetGpuInstanceId
3666 data["__nvmlVgpuInstanceGetGpuInstanceId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetGpuInstanceId
3668 global __nvmlVgpuInstanceGetGpuPciId
3669 data["__nvmlVgpuInstanceGetGpuPciId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetGpuPciId
3671 global __nvmlVgpuTypeGetCapabilities
3672 data["__nvmlVgpuTypeGetCapabilities"] = <_cyb_intptr_t>__nvmlVgpuTypeGetCapabilities
3674 global __nvmlVgpuInstanceGetMdevUUID
3675 data["__nvmlVgpuInstanceGetMdevUUID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetMdevUUID
3677 global __nvmlGpuInstanceGetCreatableVgpus
3678 data["__nvmlGpuInstanceGetCreatableVgpus"] = <_cyb_intptr_t>__nvmlGpuInstanceGetCreatableVgpus 2Lb
3680 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance
3681 data["__nvmlVgpuTypeGetMaxInstancesPerGpuInstance"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstancesPerGpuInstance
3683 global __nvmlGpuInstanceGetActiveVgpus
3684 data["__nvmlGpuInstanceGetActiveVgpus"] = <_cyb_intptr_t>__nvmlGpuInstanceGetActiveVgpus
3686 global __nvmlGpuInstanceSetVgpuSchedulerState
3687 data["__nvmlGpuInstanceSetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuSchedulerState
3689 global __nvmlGpuInstanceGetVgpuSchedulerState
3690 data["__nvmlGpuInstanceGetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerState
3692 global __nvmlGpuInstanceGetVgpuSchedulerLog
3693 data["__nvmlGpuInstanceGetVgpuSchedulerLog"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerLog
3695 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements
3696 data["__nvmlGpuInstanceGetVgpuTypeCreatablePlacements"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuTypeCreatablePlacements
3698 global __nvmlGpuInstanceGetVgpuHeterogeneousMode
3699 data["__nvmlGpuInstanceGetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuHeterogeneousMode
3701 global __nvmlGpuInstanceSetVgpuHeterogeneousMode
3702 data["__nvmlGpuInstanceSetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuHeterogeneousMode
3704 global __nvmlVgpuInstanceGetMetadata
3705 data["__nvmlVgpuInstanceGetMetadata"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetMetadata
3707 global __nvmlDeviceGetVgpuMetadata
3708 data["__nvmlDeviceGetVgpuMetadata"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuMetadata
3710 global __nvmlGetVgpuCompatibility
3711 data["__nvmlGetVgpuCompatibility"] = <_cyb_intptr_t>__nvmlGetVgpuCompatibility
3713 global __nvmlDeviceGetPgpuMetadataString
3714 data["__nvmlDeviceGetPgpuMetadataString"] = <_cyb_intptr_t>__nvmlDeviceGetPgpuMetadataString
3716 global __nvmlDeviceGetVgpuSchedulerLog
3717 data["__nvmlDeviceGetVgpuSchedulerLog"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerLog
3719 global __nvmlDeviceGetVgpuSchedulerState
3720 data["__nvmlDeviceGetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerState
3722 global __nvmlDeviceGetVgpuSchedulerCapabilities
3723 data["__nvmlDeviceGetVgpuSchedulerCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerCapabilities
3725 global __nvmlDeviceSetVgpuSchedulerState
3726 data["__nvmlDeviceSetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuSchedulerState
3728 global __nvmlGetVgpuVersion
3729 data["__nvmlGetVgpuVersion"] = <_cyb_intptr_t>__nvmlGetVgpuVersion
3731 global __nvmlSetVgpuVersion
3732 data["__nvmlSetVgpuVersion"] = <_cyb_intptr_t>__nvmlSetVgpuVersion
3734 global __nvmlDeviceGetVgpuUtilization
3735 data["__nvmlDeviceGetVgpuUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuUtilization
3737 global __nvmlDeviceGetVgpuInstancesUtilizationInfo
3738 data["__nvmlDeviceGetVgpuInstancesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuInstancesUtilizationInfo
3740 global __nvmlDeviceGetVgpuProcessUtilization
3741 data["__nvmlDeviceGetVgpuProcessUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuProcessUtilization
3743 global __nvmlDeviceGetVgpuProcessesUtilizationInfo
3744 data["__nvmlDeviceGetVgpuProcessesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuProcessesUtilizationInfo
3746 global __nvmlVgpuInstanceGetAccountingMode
3747 data["__nvmlVgpuInstanceGetAccountingMode"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingMode
3749 global __nvmlVgpuInstanceGetAccountingPids
3750 data["__nvmlVgpuInstanceGetAccountingPids"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingPids
3752 global __nvmlVgpuInstanceGetAccountingStats
3753 data["__nvmlVgpuInstanceGetAccountingStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingStats
3755 global __nvmlVgpuInstanceClearAccountingPids
3756 data["__nvmlVgpuInstanceClearAccountingPids"] = <_cyb_intptr_t>__nvmlVgpuInstanceClearAccountingPids
3758 global __nvmlVgpuInstanceGetLicenseInfo_v2
3759 data["__nvmlVgpuInstanceGetLicenseInfo_v2"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetLicenseInfo_v2
3761 global __nvmlGetExcludedDeviceCount
3762 data["__nvmlGetExcludedDeviceCount"] = <_cyb_intptr_t>__nvmlGetExcludedDeviceCount
3764 global __nvmlGetExcludedDeviceInfoByIndex
3765 data["__nvmlGetExcludedDeviceInfoByIndex"] = <_cyb_intptr_t>__nvmlGetExcludedDeviceInfoByIndex
3767 global __nvmlDeviceSetMigMode
3768 data["__nvmlDeviceSetMigMode"] = <_cyb_intptr_t>__nvmlDeviceSetMigMode
3770 global __nvmlDeviceGetMigMode
3771 data["__nvmlDeviceGetMigMode"] = <_cyb_intptr_t>__nvmlDeviceGetMigMode
3773 global __nvmlDeviceGetGpuInstanceProfileInfoV
3774 data["__nvmlDeviceGetGpuInstanceProfileInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceProfileInfoV
3776 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2
3777 data["__nvmlDeviceGetGpuInstancePossiblePlacements_v2"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstancePossiblePlacements_v2
3779 global __nvmlDeviceGetGpuInstanceRemainingCapacity
3780 data["__nvmlDeviceGetGpuInstanceRemainingCapacity"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceRemainingCapacity
3782 global __nvmlDeviceCreateGpuInstance
3783 data["__nvmlDeviceCreateGpuInstance"] = <_cyb_intptr_t>__nvmlDeviceCreateGpuInstance
3785 global __nvmlDeviceCreateGpuInstanceWithPlacement
3786 data["__nvmlDeviceCreateGpuInstanceWithPlacement"] = <_cyb_intptr_t>__nvmlDeviceCreateGpuInstanceWithPlacement
3788 global __nvmlGpuInstanceDestroy
3789 data["__nvmlGpuInstanceDestroy"] = <_cyb_intptr_t>__nvmlGpuInstanceDestroy
3791 global __nvmlDeviceGetGpuInstances
3792 data["__nvmlDeviceGetGpuInstances"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstances
3794 global __nvmlDeviceGetGpuInstanceById
3795 data["__nvmlDeviceGetGpuInstanceById"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceById
3797 global __nvmlGpuInstanceGetInfo
3798 data["__nvmlGpuInstanceGetInfo"] = <_cyb_intptr_t>__nvmlGpuInstanceGetInfo 1m
3800 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV
3801 data["__nvmlGpuInstanceGetComputeInstanceProfileInfoV"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceProfileInfoV
3803 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity
3804 data["__nvmlGpuInstanceGetComputeInstanceRemainingCapacity"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceRemainingCapacity
3806 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements
3807 data["__nvmlGpuInstanceGetComputeInstancePossiblePlacements"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstancePossiblePlacements
3809 global __nvmlGpuInstanceCreateComputeInstance
3810 data["__nvmlGpuInstanceCreateComputeInstance"] = <_cyb_intptr_t>__nvmlGpuInstanceCreateComputeInstance
3812 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement
3813 data["__nvmlGpuInstanceCreateComputeInstanceWithPlacement"] = <_cyb_intptr_t>__nvmlGpuInstanceCreateComputeInstanceWithPlacement
3815 global __nvmlComputeInstanceDestroy
3816 data["__nvmlComputeInstanceDestroy"] = <_cyb_intptr_t>__nvmlComputeInstanceDestroy
3818 global __nvmlGpuInstanceGetComputeInstances
3819 data["__nvmlGpuInstanceGetComputeInstances"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstances
3821 global __nvmlGpuInstanceGetComputeInstanceById
3822 data["__nvmlGpuInstanceGetComputeInstanceById"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceById
3824 global __nvmlComputeInstanceGetInfo_v2
3825 data["__nvmlComputeInstanceGetInfo_v2"] = <_cyb_intptr_t>__nvmlComputeInstanceGetInfo_v2
3827 global __nvmlDeviceIsMigDeviceHandle
3828 data["__nvmlDeviceIsMigDeviceHandle"] = <_cyb_intptr_t>__nvmlDeviceIsMigDeviceHandle
3830 global __nvmlDeviceGetGpuInstanceId
3831 data["__nvmlDeviceGetGpuInstanceId"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceId
3833 global __nvmlDeviceGetComputeInstanceId
3834 data["__nvmlDeviceGetComputeInstanceId"] = <_cyb_intptr_t>__nvmlDeviceGetComputeInstanceId
3836 global __nvmlDeviceGetMaxMigDeviceCount
3837 data["__nvmlDeviceGetMaxMigDeviceCount"] = <_cyb_intptr_t>__nvmlDeviceGetMaxMigDeviceCount
3839 global __nvmlDeviceGetMigDeviceHandleByIndex
3840 data["__nvmlDeviceGetMigDeviceHandleByIndex"] = <_cyb_intptr_t>__nvmlDeviceGetMigDeviceHandleByIndex
3842 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle
3843 data["__nvmlDeviceGetDeviceHandleFromMigDeviceHandle"] = <_cyb_intptr_t>__nvmlDeviceGetDeviceHandleFromMigDeviceHandle
3845 global __nvmlDeviceGetCapabilities
3846 data["__nvmlDeviceGetCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetCapabilities
3848 global __nvmlDevicePowerSmoothingActivatePresetProfile
3849 data["__nvmlDevicePowerSmoothingActivatePresetProfile"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingActivatePresetProfile
3851 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam
3852 data["__nvmlDevicePowerSmoothingUpdatePresetProfileParam"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingUpdatePresetProfileParam
3854 global __nvmlDevicePowerSmoothingSetState
3855 data["__nvmlDevicePowerSmoothingSetState"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingSetState
3857 global __nvmlDeviceGetAddressingMode
3858 data["__nvmlDeviceGetAddressingMode"] = <_cyb_intptr_t>__nvmlDeviceGetAddressingMode
3860 global __nvmlDeviceGetRepairStatus
3861 data["__nvmlDeviceGetRepairStatus"] = <_cyb_intptr_t>__nvmlDeviceGetRepairStatus
3863 global __nvmlDeviceGetPowerMizerMode_v1
3864 data["__nvmlDeviceGetPowerMizerMode_v1"] = <_cyb_intptr_t>__nvmlDeviceGetPowerMizerMode_v1
3866 global __nvmlDeviceSetPowerMizerMode_v1
3867 data["__nvmlDeviceSetPowerMizerMode_v1"] = <_cyb_intptr_t>__nvmlDeviceSetPowerMizerMode_v1
3869 global __nvmlDeviceGetPdi
3870 data["__nvmlDeviceGetPdi"] = <_cyb_intptr_t>__nvmlDeviceGetPdi
3872 global __nvmlDeviceSetHostname_v1
3873 data["__nvmlDeviceSetHostname_v1"] = <_cyb_intptr_t>__nvmlDeviceSetHostname_v1
3875 global __nvmlDeviceGetHostname_v1
3876 data["__nvmlDeviceGetHostname_v1"] = <_cyb_intptr_t>__nvmlDeviceGetHostname_v1
3878 global __nvmlDeviceGetNvLinkInfo
3879 data["__nvmlDeviceGetNvLinkInfo"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkInfo
3881 global __nvmlDeviceReadWritePRM_v1
3882 data["__nvmlDeviceReadWritePRM_v1"] = <_cyb_intptr_t>__nvmlDeviceReadWritePRM_v1
3884 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV
3885 data["__nvmlDeviceGetGpuInstanceProfileInfoByIdV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceProfileInfoByIdV
3887 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts
3888 data["__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts"] = <_cyb_intptr_t>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts
3890 global __nvmlDeviceGetUnrepairableMemoryFlag_v1
3891 data["__nvmlDeviceGetUnrepairableMemoryFlag_v1"] = <_cyb_intptr_t>__nvmlDeviceGetUnrepairableMemoryFlag_v1
3893 global __nvmlDeviceReadPRMCounters_v1
3894 data["__nvmlDeviceReadPRMCounters_v1"] = <_cyb_intptr_t>__nvmlDeviceReadPRMCounters_v1
3896 global __nvmlDeviceSetRusdSettings_v1
3897 data["__nvmlDeviceSetRusdSettings_v1"] = <_cyb_intptr_t>__nvmlDeviceSetRusdSettings_v1
3899 global __nvmlDeviceVgpuForceGspUnload
3900 data["__nvmlDeviceVgpuForceGspUnload"] = <_cyb_intptr_t>__nvmlDeviceVgpuForceGspUnload
3902 global __nvmlDeviceGetVgpuSchedulerState_v2
3903 data["__nvmlDeviceGetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerState_v2
3905 global __nvmlGpuInstanceGetVgpuSchedulerState_v2
3906 data["__nvmlGpuInstanceGetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerState_v2
3908 global __nvmlDeviceGetVgpuSchedulerLog_v2
3909 data["__nvmlDeviceGetVgpuSchedulerLog_v2"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerLog_v2
3911 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2
3912 data["__nvmlGpuInstanceGetVgpuSchedulerLog_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerLog_v2
3914 global __nvmlDeviceSetVgpuSchedulerState_v2
3915 data["__nvmlDeviceSetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuSchedulerState_v2
3917 global __nvmlGpuInstanceSetVgpuSchedulerState_v2
3918 data["__nvmlGpuInstanceSetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuSchedulerState_v2
3919 _cyb_func_ptrs = data
3920 return data
3923cpdef _inspect_function_pointer(str name):
3924 global _cyb_func_ptrs
3925 if _cyb_func_ptrs is None:
3926 _cyb_func_ptrs = _inspect_function_pointers()
3927 return _cyb_func_ptrs[name]
3932cdef void* load_library() except* with gil:
3933 cdef uintptr_t handle = load_nvidia_dynamic_lib("nvml")._handle_uint
3934 return <void*>handle
3937###############################################################################
3938# Wrapper functions
3939###############################################################################
3941cdef nvmlReturn_t _nvmlInit_v2() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
3942 global __nvmlInit_v2
3943 _check_or_init_nvml() 2a ocf = ? @ [ ] ^ ` { | } abbbcbdbebfbgb9bhbibA $ b jbkblbmbi qbrbk l sbtbC D E F G H I J K L M N O P Q R S T echcjclc! tc
3944 if __nvmlInit_v2 == NULL: 2a ocf = ? @ [ ] ^ ` { | } abbbcbdbebfbgb9bhbibA $ b jbkblbmbi qbrbk l sbtbC D E F G H I J K L M N O P Q R S T echcjclc! tc
3945 with gil:
3946 raise FunctionNotFoundError("function nvmlInit_v2 is not found")
3947 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlInit_v2)( 2a ocf = ? @ [ ] ^ ` { | } abbbcbdbebfbgb9bhbibA $ b jbkblbmbi qbrbk l sbtbC D E F G H I J K L M N O P Q R S T echcjclc! tc
3948 )
3951cdef nvmlReturn_t _nvmlInitWithFlags(unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
3952 global __nvmlInitWithFlags
3953 _check_or_init_nvml()
3954 if __nvmlInitWithFlags == NULL:
3955 with gil:
3956 raise FunctionNotFoundError("function nvmlInitWithFlags is not found")
3957 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlInitWithFlags)(
3958 flags)
3961cdef nvmlReturn_t _nvmlShutdown() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
3962 global __nvmlShutdown
3963 _check_or_init_nvml() 2a Fcf SbTbUbVbWbXbYbZb0b1b2b3b4b5b6b7b8b!b#b$b%b$ b 'b(b)b*b+bi ,bGcHc-b/bIcJc:b;b=b?b@b[b]b^b_b`b{b|b}b~bacbcccdcfcickcmcnc
3964 if __nvmlShutdown == NULL: 2a Fcf SbTbUbVbWbXbYbZb0b1b2b3b4b5b6b7b8b!b#b$b%b$ b 'b(b)b*b+bi ,bGcHc-b/bIcJc:b;b=b?b@b[b]b^b_b`b{b|b}b~bacbcccdcfcickcmcnc
3965 with gil:
3966 raise FunctionNotFoundError("function nvmlShutdown is not found")
3967 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlShutdown)( 2a Fcf SbTbUbVbWbXbYbZb0b1b2b3b4b5b6b7b8b!b#b$b%b$ b 'b(b)b*b+bi ,bGcHc-b/bIcJc:b;b=b?b@b[b]b^b_b`b{b|b}b~bacbcccdcfcickcmcnc
3968 )
3971cdef const char* _nvmlErrorString(nvmlReturn_t result) except?NULL nogil:
3972 global __nvmlErrorString
3973 _check_or_init_nvml() 2# w x y Z 9 z 0 1 $ B pbm n 3 4 5 6 7 8 o p c q r e t u h j Y
3974 if __nvmlErrorString == NULL: 2# w x y Z 9 z 0 1 $ B pbm n 3 4 5 6 7 8 o p c q r e t u h j Y
3975 with gil:
3976 raise FunctionNotFoundError("function nvmlErrorString is not found")
3977 return (<const char* (*)(nvmlReturn_t) noexcept nogil>__nvmlErrorString)( 2# w x y Z 9 z 0 1 $ B pbm n 3 4 5 6 7 8 o p c q r e t u h j Y
3978 result)
3981cdef nvmlReturn_t _nvmlSystemGetDriverVersion(char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
3982 global __nvmlSystemGetDriverVersion
3983 _check_or_init_nvml() 2QbQc
3984 if __nvmlSystemGetDriverVersion == NULL: 2QbQc
3985 with gil:
3986 raise FunctionNotFoundError("function nvmlSystemGetDriverVersion is not found")
3987 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetDriverVersion)( 2QbQc
3988 version, length)
3991cdef nvmlReturn_t _nvmlSystemGetNVMLVersion(char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
3992 global __nvmlSystemGetNVMLVersion
3993 _check_or_init_nvml() 2RbRc
3994 if __nvmlSystemGetNVMLVersion == NULL: 2RbRc
3995 with gil:
3996 raise FunctionNotFoundError("function nvmlSystemGetNVMLVersion is not found")
3997 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetNVMLVersion)( 2RbRc
3998 version, length)
4001cdef nvmlReturn_t _nvmlSystemGetCudaDriverVersion(int* cudaDriverVersion) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4002 global __nvmlSystemGetCudaDriverVersion
4003 _check_or_init_nvml() 2a gcSc
4004 if __nvmlSystemGetCudaDriverVersion == NULL: 2a gcSc
4005 with gil:
4006 raise FunctionNotFoundError("function nvmlSystemGetCudaDriverVersion is not found")
4007 return (<nvmlReturn_t (*)(int*) noexcept nogil>__nvmlSystemGetCudaDriverVersion)( 2a gcSc
4008 cudaDriverVersion)
4011cdef nvmlReturn_t _nvmlSystemGetCudaDriverVersion_v2(int* cudaDriverVersion) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4012 global __nvmlSystemGetCudaDriverVersion_v2
4013 _check_or_init_nvml()
4014 if __nvmlSystemGetCudaDriverVersion_v2 == NULL:
4015 with gil:
4016 raise FunctionNotFoundError("function nvmlSystemGetCudaDriverVersion_v2 is not found")
4017 return (<nvmlReturn_t (*)(int*) noexcept nogil>__nvmlSystemGetCudaDriverVersion_v2)(
4018 cudaDriverVersion)
4021cdef nvmlReturn_t _nvmlSystemGetProcessName(unsigned int pid, char* name, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4022 global __nvmlSystemGetProcessName
4023 _check_or_init_nvml() 2uc;
4024 if __nvmlSystemGetProcessName == NULL: 2uc;
4025 with gil:
4026 raise FunctionNotFoundError("function nvmlSystemGetProcessName is not found")
4027 return (<nvmlReturn_t (*)(unsigned int, char*, unsigned int) noexcept nogil>__nvmlSystemGetProcessName)( 2uc;
4028 pid, name, length)
4031cdef nvmlReturn_t _nvmlSystemGetHicVersion(unsigned int* hwbcCount, nvmlHwbcEntry_t* hwbcEntries) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4032 global __nvmlSystemGetHicVersion
4033 _check_or_init_nvml()
4034 if __nvmlSystemGetHicVersion == NULL:
4035 with gil:
4036 raise FunctionNotFoundError("function nvmlSystemGetHicVersion is not found")
4037 return (<nvmlReturn_t (*)(unsigned int*, nvmlHwbcEntry_t*) noexcept nogil>__nvmlSystemGetHicVersion)(
4038 hwbcCount, hwbcEntries)
4041cdef nvmlReturn_t _nvmlSystemGetTopologyGpuSet(unsigned int cpuNumber, unsigned int* count, nvmlDevice_t* deviceArray) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4042 global __nvmlSystemGetTopologyGpuSet
4043 _check_or_init_nvml() 2Cb
4044 if __nvmlSystemGetTopologyGpuSet == NULL: 2Cb
4045 with gil:
4046 raise FunctionNotFoundError("function nvmlSystemGetTopologyGpuSet is not found")
4047 return (<nvmlReturn_t (*)(unsigned int, unsigned int*, nvmlDevice_t*) noexcept nogil>__nvmlSystemGetTopologyGpuSet)( 2Cb
4048 cpuNumber, count, deviceArray)
4051cdef nvmlReturn_t _nvmlSystemGetDriverBranch(nvmlSystemDriverBranchInfo_t* branchInfo, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4052 global __nvmlSystemGetDriverBranch
4053 _check_or_init_nvml() 2a Pc
4054 if __nvmlSystemGetDriverBranch == NULL: 2a Pc
4055 with gil:
4056 raise FunctionNotFoundError("function nvmlSystemGetDriverBranch is not found")
4057 return (<nvmlReturn_t (*)(nvmlSystemDriverBranchInfo_t*, unsigned int) noexcept nogil>__nvmlSystemGetDriverBranch)( 2a Pc
4058 branchInfo, length)
4061cdef nvmlReturn_t _nvmlUnitGetCount(unsigned int* unitCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4062 global __nvmlUnitGetCount
4063 _check_or_init_nvml() 1!
4064 if __nvmlUnitGetCount == NULL: 1!
4065 with gil:
4066 raise FunctionNotFoundError("function nvmlUnitGetCount is not found")
4067 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlUnitGetCount)( 1!
4068 unitCount)
4071cdef nvmlReturn_t _nvmlUnitGetHandleByIndex(unsigned int index, nvmlUnit_t* unit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4072 global __nvmlUnitGetHandleByIndex
4073 _check_or_init_nvml()
4074 if __nvmlUnitGetHandleByIndex == NULL:
4075 with gil:
4076 raise FunctionNotFoundError("function nvmlUnitGetHandleByIndex is not found")
4077 return (<nvmlReturn_t (*)(unsigned int, nvmlUnit_t*) noexcept nogil>__nvmlUnitGetHandleByIndex)(
4078 index, unit)
4081cdef nvmlReturn_t _nvmlUnitGetUnitInfo(nvmlUnit_t unit, nvmlUnitInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4082 global __nvmlUnitGetUnitInfo
4083 _check_or_init_nvml()
4084 if __nvmlUnitGetUnitInfo == NULL:
4085 with gil:
4086 raise FunctionNotFoundError("function nvmlUnitGetUnitInfo is not found")
4087 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlUnitInfo_t*) noexcept nogil>__nvmlUnitGetUnitInfo)(
4088 unit, info)
4091cdef nvmlReturn_t _nvmlUnitGetLedState(nvmlUnit_t unit, nvmlLedState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4092 global __nvmlUnitGetLedState
4093 _check_or_init_nvml()
4094 if __nvmlUnitGetLedState == NULL:
4095 with gil:
4096 raise FunctionNotFoundError("function nvmlUnitGetLedState is not found")
4097 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlLedState_t*) noexcept nogil>__nvmlUnitGetLedState)(
4098 unit, state)
4101cdef nvmlReturn_t _nvmlUnitGetPsuInfo(nvmlUnit_t unit, nvmlPSUInfo_t* psu) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4102 global __nvmlUnitGetPsuInfo
4103 _check_or_init_nvml()
4104 if __nvmlUnitGetPsuInfo == NULL:
4105 with gil:
4106 raise FunctionNotFoundError("function nvmlUnitGetPsuInfo is not found")
4107 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlPSUInfo_t*) noexcept nogil>__nvmlUnitGetPsuInfo)(
4108 unit, psu)
4111cdef nvmlReturn_t _nvmlUnitGetTemperature(nvmlUnit_t unit, unsigned int type, unsigned int* temp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4112 global __nvmlUnitGetTemperature
4113 _check_or_init_nvml()
4114 if __nvmlUnitGetTemperature == NULL:
4115 with gil:
4116 raise FunctionNotFoundError("function nvmlUnitGetTemperature is not found")
4117 return (<nvmlReturn_t (*)(nvmlUnit_t, unsigned int, unsigned int*) noexcept nogil>__nvmlUnitGetTemperature)(
4118 unit, type, temp)
4121cdef nvmlReturn_t _nvmlUnitGetFanSpeedInfo(nvmlUnit_t unit, nvmlUnitFanSpeeds_t* fanSpeeds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4122 global __nvmlUnitGetFanSpeedInfo
4123 _check_or_init_nvml()
4124 if __nvmlUnitGetFanSpeedInfo == NULL:
4125 with gil:
4126 raise FunctionNotFoundError("function nvmlUnitGetFanSpeedInfo is not found")
4127 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlUnitFanSpeeds_t*) noexcept nogil>__nvmlUnitGetFanSpeedInfo)(
4128 unit, fanSpeeds)
4131cdef nvmlReturn_t _nvmlUnitGetDevices(nvmlUnit_t unit, unsigned int* deviceCount, nvmlDevice_t* devices) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4132 global __nvmlUnitGetDevices
4133 _check_or_init_nvml()
4134 if __nvmlUnitGetDevices == NULL:
4135 with gil:
4136 raise FunctionNotFoundError("function nvmlUnitGetDevices is not found")
4137 return (<nvmlReturn_t (*)(nvmlUnit_t, unsigned int*, nvmlDevice_t*) noexcept nogil>__nvmlUnitGetDevices)(
4138 unit, deviceCount, devices)
4141cdef nvmlReturn_t _nvmlDeviceGetCount_v2(unsigned int* deviceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4142 global __nvmlDeviceGetCount_v2
4143 _check_or_init_nvml() 2AcBcCcDcEcf g 2 $ b i qbrbk l sbtbC D E F G H I J K L M N O P Q R S T % U o p V c q ubvbr ' wbKc( xb) ybW d * zbAb+ BbX e DbEbLcMcFbs , t u Nc- v h . j / : GbOc; TcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdtccd
4144 if __nvmlDeviceGetCount_v2 == NULL: 2AcBcCcDcEcf g 2 $ b i qbrbk l sbtbC D E F G H I J K L M N O P Q R S T % U o p V c q ubvbr ' wbKc( xb) ybW d * zbAb+ BbX e DbEbLcMcFbs , t u Nc- v h . j / : GbOc; TcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdtccd
4145 with gil:
4146 raise FunctionNotFoundError("function nvmlDeviceGetCount_v2 is not found")
4147 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlDeviceGetCount_v2)( 2AcBcCcDcEcf g 2 $ b i qbrbk l sbtbC D E F G H I J K L M N O P Q R S T % U o p V c q ubvbr ' wbKc( xb) ybW d * zbAb+ BbX e DbEbLcMcFbs , t u Nc- v h . j / : GbOc; TcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdtccd
4148 deviceCount)
4151cdef nvmlReturn_t _nvmlDeviceGetAttributes_v2(nvmlDevice_t device, nvmlDeviceAttributes_t* attributes) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4152 global __nvmlDeviceGetAttributes_v2
4153 _check_or_init_nvml() 1r
4154 if __nvmlDeviceGetAttributes_v2 == NULL: 1r
4155 with gil:
4156 raise FunctionNotFoundError("function nvmlDeviceGetAttributes_v2 is not found")
4157 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceAttributes_t*) noexcept nogil>__nvmlDeviceGetAttributes_v2)( 1r
4158 device, attributes)
4161cdef nvmlReturn_t _nvmlDeviceGetHandleByIndex_v2(unsigned int index, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4162 global __nvmlDeviceGetHandleByIndex_v2
4163 _check_or_init_nvml() 2f g 2 b i qbrbk l sbtbC D E F G H I J K L M N O P Q R S T % U o p V c q ubvbr ' wb( xb) ybW d * zbAb+ BbX e DbEbFbs , t u - v h . j / : Gb;
4164 if __nvmlDeviceGetHandleByIndex_v2 == NULL: 2f g 2 b i qbrbk l sbtbC D E F G H I J K L M N O P Q R S T % U o p V c q ubvbr ' wb( xb) ybW d * zbAb+ BbX e DbEbFbs , t u - v h . j / : Gb;
4165 with gil:
4166 raise FunctionNotFoundError("function nvmlDeviceGetHandleByIndex_v2 is not found")
4167 return (<nvmlReturn_t (*)(unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByIndex_v2)( 2f g 2 b i qbrbk l sbtbC D E F G H I J K L M N O P Q R S T % U o p V c q ubvbr ' wb( xb) ybW d * zbAb+ BbX e DbEbFbs , t u - v h . j / : Gb;
4168 index, device)
4171cdef nvmlReturn_t _nvmlDeviceGetHandleBySerial(const char* serial, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4172 global __nvmlDeviceGetHandleBySerial
4173 _check_or_init_nvml()
4174 if __nvmlDeviceGetHandleBySerial == NULL:
4175 with gil:
4176 raise FunctionNotFoundError("function nvmlDeviceGetHandleBySerial is not found")
4177 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleBySerial)(
4178 serial, device)
4181cdef nvmlReturn_t _nvmlDeviceGetHandleByUUID(const char* uuid, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4182 global __nvmlDeviceGetHandleByUUID
4183 _check_or_init_nvml() 2oc= ? @ [ ] ^ ` { | } abbbcbdbebfbgbhbibb jbkblbmb.bHb
4184 if __nvmlDeviceGetHandleByUUID == NULL: 2oc= ? @ [ ] ^ ` { | } abbbcbdbebfbgbhbibb jbkblbmb.bHb
4185 with gil:
4186 raise FunctionNotFoundError("function nvmlDeviceGetHandleByUUID is not found")
4187 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUID)( 2oc= ? @ [ ] ^ ` { | } abbbcbdbebfbgbhbibb jbkblbmb.bHb
4188 uuid, device)
4191cdef nvmlReturn_t _nvmlDeviceGetHandleByUUIDV(const nvmlUUID_t* uuid, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4192 global __nvmlDeviceGetHandleByUUIDV
4193 _check_or_init_nvml() 1_
4194 if __nvmlDeviceGetHandleByUUIDV == NULL: 1_
4195 with gil:
4196 raise FunctionNotFoundError("function nvmlDeviceGetHandleByUUIDV is not found")
4197 return (<nvmlReturn_t (*)(const nvmlUUID_t*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUIDV)( 1_
4198 uuid, device)
4201cdef nvmlReturn_t _nvmlDeviceGetHandleByPciBusId_v2(const char* pciBusId, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4202 global __nvmlDeviceGetHandleByPciBusId_v2
4203 _check_or_init_nvml() 2NbW
4204 if __nvmlDeviceGetHandleByPciBusId_v2 == NULL: 2NbW
4205 with gil:
4206 raise FunctionNotFoundError("function nvmlDeviceGetHandleByPciBusId_v2 is not found")
4207 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByPciBusId_v2)( 2NbW
4208 pciBusId, device)
4211cdef nvmlReturn_t _nvmlDeviceGetName(nvmlDevice_t device, char* name, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4212 global __nvmlDeviceGetName
4213 _check_or_init_nvml() 2f w x y z b m 3 4 5 6 7 8 o p c r ybt u j
4214 if __nvmlDeviceGetName == NULL: 2f w x y z b m 3 4 5 6 7 8 o p c r ybt u j
4215 with gil:
4216 raise FunctionNotFoundError("function nvmlDeviceGetName is not found")
4217 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetName)( 2f w x y z b m 3 4 5 6 7 8 o p c r ybt u j
4218 device, name, length)
4221cdef nvmlReturn_t _nvmlDeviceGetBrand(nvmlDevice_t device, nvmlBrandType_t* type) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4222 global __nvmlDeviceGetBrand
4223 _check_or_init_nvml() 2wb
4224 if __nvmlDeviceGetBrand == NULL: 2wb
4225 with gil:
4226 raise FunctionNotFoundError("function nvmlDeviceGetBrand is not found")
4227 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBrandType_t*) noexcept nogil>__nvmlDeviceGetBrand)( 2wb
4228 device, type)
4231cdef nvmlReturn_t _nvmlDeviceGetIndex(nvmlDevice_t device, unsigned int* index) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4232 global __nvmlDeviceGetIndex
4233 _check_or_init_nvml() 22 W Fb
4234 if __nvmlDeviceGetIndex == NULL: 22 W Fb
4235 with gil:
4236 raise FunctionNotFoundError("function nvmlDeviceGetIndex is not found")
4237 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIndex)( 22 W Fb
4238 device, index)
4241cdef nvmlReturn_t _nvmlDeviceGetSerial(nvmlDevice_t device, char* serial, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4242 global __nvmlDeviceGetSerial
4243 _check_or_init_nvml() 1b*
4244 if __nvmlDeviceGetSerial == NULL: 1b*
4245 with gil:
4246 raise FunctionNotFoundError("function nvmlDeviceGetSerial is not found")
4247 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetSerial)( 1b*
4248 device, serial, length)
4251cdef nvmlReturn_t _nvmlDeviceGetModuleId(nvmlDevice_t device, unsigned int* moduleId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4252 global __nvmlDeviceGetModuleId
4253 _check_or_init_nvml() 1g,
4254 if __nvmlDeviceGetModuleId == NULL: 1g,
4255 with gil:
4256 raise FunctionNotFoundError("function nvmlDeviceGetModuleId is not found")
4257 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetModuleId)( 1g,
4258 device, moduleId)
4261cdef nvmlReturn_t _nvmlDeviceGetC2cModeInfoV(nvmlDevice_t device, nvmlC2cModeInfo_v1_t* c2cModeInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4262 global __nvmlDeviceGetC2cModeInfoV
4263 _check_or_init_nvml() 1p
4264 if __nvmlDeviceGetC2cModeInfoV == NULL: 1p
4265 with gil:
4266 raise FunctionNotFoundError("function nvmlDeviceGetC2cModeInfoV is not found")
4267 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlC2cModeInfo_v1_t*) noexcept nogil>__nvmlDeviceGetC2cModeInfoV)( 1p
4268 device, c2cModeInfo)
4271cdef nvmlReturn_t _nvmlDeviceGetMemoryAffinity(nvmlDevice_t device, unsigned int nodeSetSize, unsigned long* nodeSet, nvmlAffinityScope_t scope) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4272 global __nvmlDeviceGetMemoryAffinity
4273 _check_or_init_nvml() 2rcscU
4274 if __nvmlDeviceGetMemoryAffinity == NULL: 2rcscU
4275 with gil:
4276 raise FunctionNotFoundError("function nvmlDeviceGetMemoryAffinity is not found")
4277 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*, nvmlAffinityScope_t) noexcept nogil>__nvmlDeviceGetMemoryAffinity)( 2rcscU
4278 device, nodeSetSize, nodeSet, scope)
4281cdef nvmlReturn_t _nvmlDeviceGetCpuAffinityWithinScope(nvmlDevice_t device, unsigned int cpuSetSize, unsigned long* cpuSet, nvmlAffinityScope_t scope) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4282 global __nvmlDeviceGetCpuAffinityWithinScope
4283 _check_or_init_nvml() 2pcqcU ( Cb
4284 if __nvmlDeviceGetCpuAffinityWithinScope == NULL: 2pcqcU ( Cb
4285 with gil:
4286 raise FunctionNotFoundError("function nvmlDeviceGetCpuAffinityWithinScope is not found")
4287 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*, nvmlAffinityScope_t) noexcept nogil>__nvmlDeviceGetCpuAffinityWithinScope)( 2pcqcU ( Cb
4288 device, cpuSetSize, cpuSet, scope)
4291cdef nvmlReturn_t _nvmlDeviceGetCpuAffinity(nvmlDevice_t device, unsigned int cpuSetSize, unsigned long* cpuSet) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4292 global __nvmlDeviceGetCpuAffinity
4293 _check_or_init_nvml()
4294 if __nvmlDeviceGetCpuAffinity == NULL:
4295 with gil:
4296 raise FunctionNotFoundError("function nvmlDeviceGetCpuAffinity is not found")
4297 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*) noexcept nogil>__nvmlDeviceGetCpuAffinity)(
4298 device, cpuSetSize, cpuSet)
4301cdef nvmlReturn_t _nvmlDeviceSetCpuAffinity(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4302 global __nvmlDeviceSetCpuAffinity
4303 _check_or_init_nvml()
4304 if __nvmlDeviceSetCpuAffinity == NULL:
4305 with gil:
4306 raise FunctionNotFoundError("function nvmlDeviceSetCpuAffinity is not found")
4307 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceSetCpuAffinity)(
4308 device)
4311cdef nvmlReturn_t _nvmlDeviceClearCpuAffinity(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4312 global __nvmlDeviceClearCpuAffinity
4313 _check_or_init_nvml()
4314 if __nvmlDeviceClearCpuAffinity == NULL:
4315 with gil:
4316 raise FunctionNotFoundError("function nvmlDeviceClearCpuAffinity is not found")
4317 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceClearCpuAffinity)(
4318 device)
4321cdef nvmlReturn_t _nvmlDeviceGetNumaNodeId(nvmlDevice_t device, unsigned int* node) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4322 global __nvmlDeviceGetNumaNodeId
4323 _check_or_init_nvml() 1t
4324 if __nvmlDeviceGetNumaNodeId == NULL: 1t
4325 with gil:
4326 raise FunctionNotFoundError("function nvmlDeviceGetNumaNodeId is not found")
4327 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumaNodeId)( 1t
4328 device, node)
4331cdef nvmlReturn_t _nvmlDeviceGetTopologyCommonAncestor(nvmlDevice_t device1, nvmlDevice_t device2, nvmlGpuTopologyLevel_t* pathInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4332 global __nvmlDeviceGetTopologyCommonAncestor
4333 _check_or_init_nvml()
4334 if __nvmlDeviceGetTopologyCommonAncestor == NULL:
4335 with gil:
4336 raise FunctionNotFoundError("function nvmlDeviceGetTopologyCommonAncestor is not found")
4337 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t, nvmlGpuTopologyLevel_t*) noexcept nogil>__nvmlDeviceGetTopologyCommonAncestor)(
4338 device1, device2, pathInfo)
4341cdef nvmlReturn_t _nvmlDeviceGetTopologyNearestGpus(nvmlDevice_t device, nvmlGpuTopologyLevel_t level, unsigned int* count, nvmlDevice_t* deviceArray) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4342 global __nvmlDeviceGetTopologyNearestGpus
4343 _check_or_init_nvml() 2Eb
4344 if __nvmlDeviceGetTopologyNearestGpus == NULL: 2Eb
4345 with gil:
4346 raise FunctionNotFoundError("function nvmlDeviceGetTopologyNearestGpus is not found")
4347 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuTopologyLevel_t, unsigned int*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetTopologyNearestGpus)( 2Eb
4348 device, level, count, deviceArray)
4351cdef nvmlReturn_t _nvmlDeviceGetP2PStatus(nvmlDevice_t device1, nvmlDevice_t device2, nvmlGpuP2PCapsIndex_t p2pIndex, nvmlGpuP2PStatus_t* p2pStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4352 global __nvmlDeviceGetP2PStatus
4353 _check_or_init_nvml()
4354 if __nvmlDeviceGetP2PStatus == NULL:
4355 with gil:
4356 raise FunctionNotFoundError("function nvmlDeviceGetP2PStatus is not found")
4357 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t, nvmlGpuP2PCapsIndex_t, nvmlGpuP2PStatus_t*) noexcept nogil>__nvmlDeviceGetP2PStatus)(
4358 device1, device2, p2pIndex, p2pStatus)
4361cdef nvmlReturn_t _nvmlDeviceGetUUID(nvmlDevice_t device, char* uuid, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4362 global __nvmlDeviceGetUUID
4363 _check_or_init_nvml() 2_ g b l zb/ GbHb
4364 if __nvmlDeviceGetUUID == NULL: 2_ g b l zb/ GbHb
4365 with gil:
4366 raise FunctionNotFoundError("function nvmlDeviceGetUUID is not found")
4367 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetUUID)( 2_ g b l zb/ GbHb
4368 device, uuid, length)
4371cdef nvmlReturn_t _nvmlDeviceGetMinorNumber(nvmlDevice_t device, unsigned int* minorNumber) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4372 global __nvmlDeviceGetMinorNumber
4373 _check_or_init_nvml() 2Db
4374 if __nvmlDeviceGetMinorNumber == NULL: 2Db
4375 with gil:
4376 raise FunctionNotFoundError("function nvmlDeviceGetMinorNumber is not found")
4377 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMinorNumber)( 2Db
4378 device, minorNumber)
4381cdef nvmlReturn_t _nvmlDeviceGetBoardPartNumber(nvmlDevice_t device, char* partNumber, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4382 global __nvmlDeviceGetBoardPartNumber
4383 _check_or_init_nvml() 1e
4384 if __nvmlDeviceGetBoardPartNumber == NULL: 1e
4385 with gil:
4386 raise FunctionNotFoundError("function nvmlDeviceGetBoardPartNumber is not found")
4387 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetBoardPartNumber)( 1e
4388 device, partNumber, length)
4391cdef nvmlReturn_t _nvmlDeviceGetInforomVersion(nvmlDevice_t device, nvmlInforomObject_t object, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4392 global __nvmlDeviceGetInforomVersion
4393 _check_or_init_nvml() 1e
4394 if __nvmlDeviceGetInforomVersion == NULL: 1e
4395 with gil:
4396 raise FunctionNotFoundError("function nvmlDeviceGetInforomVersion is not found")
4397 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlInforomObject_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetInforomVersion)( 1e
4398 device, object, version, length)
4401cdef nvmlReturn_t _nvmlDeviceGetInforomImageVersion(nvmlDevice_t device, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4402 global __nvmlDeviceGetInforomImageVersion
4403 _check_or_init_nvml() 1e
4404 if __nvmlDeviceGetInforomImageVersion == NULL: 1e
4405 with gil:
4406 raise FunctionNotFoundError("function nvmlDeviceGetInforomImageVersion is not found")
4407 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetInforomImageVersion)( 1e
4408 device, version, length)
4411cdef nvmlReturn_t _nvmlDeviceGetInforomConfigurationChecksum(nvmlDevice_t device, unsigned int* checksum) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4412 global __nvmlDeviceGetInforomConfigurationChecksum
4413 _check_or_init_nvml() 1e
4414 if __nvmlDeviceGetInforomConfigurationChecksum == NULL: 1e
4415 with gil:
4416 raise FunctionNotFoundError("function nvmlDeviceGetInforomConfigurationChecksum is not found")
4417 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetInforomConfigurationChecksum)( 1e
4418 device, checksum)
4421cdef nvmlReturn_t _nvmlDeviceValidateInforom(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4422 global __nvmlDeviceValidateInforom
4423 _check_or_init_nvml() 1e
4424 if __nvmlDeviceValidateInforom == NULL: 1e
4425 with gil:
4426 raise FunctionNotFoundError("function nvmlDeviceValidateInforom is not found")
4427 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceValidateInforom)( 1e
4428 device)
4431cdef nvmlReturn_t _nvmlDeviceGetLastBBXFlushTime(nvmlDevice_t device, unsigned long long* timestamp, unsigned long* durationUs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4432 global __nvmlDeviceGetLastBBXFlushTime
4433 _check_or_init_nvml() 1e
4434 if __nvmlDeviceGetLastBBXFlushTime == NULL: 1e
4435 with gil:
4436 raise FunctionNotFoundError("function nvmlDeviceGetLastBBXFlushTime is not found")
4437 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*, unsigned long*) noexcept nogil>__nvmlDeviceGetLastBBXFlushTime)( 1e
4438 device, timestamp, durationUs)
4441cdef nvmlReturn_t _nvmlDeviceGetDisplayMode(nvmlDevice_t device, nvmlEnableState_t* display) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4442 global __nvmlDeviceGetDisplayMode
4443 _check_or_init_nvml() 1+
4444 if __nvmlDeviceGetDisplayMode == NULL: 1+
4445 with gil:
4446 raise FunctionNotFoundError("function nvmlDeviceGetDisplayMode is not found")
4447 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetDisplayMode)( 1+
4448 device, display)
4451cdef nvmlReturn_t _nvmlDeviceGetDisplayActive(nvmlDevice_t device, nvmlEnableState_t* isActive) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4452 global __nvmlDeviceGetDisplayActive
4453 _check_or_init_nvml() 1+
4454 if __nvmlDeviceGetDisplayActive == NULL: 1+
4455 with gil:
4456 raise FunctionNotFoundError("function nvmlDeviceGetDisplayActive is not found")
4457 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetDisplayActive)( 1+
4458 device, isActive)
4461cdef nvmlReturn_t _nvmlDeviceGetPersistenceMode(nvmlDevice_t device, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4462 global __nvmlDeviceGetPersistenceMode
4463 _check_or_init_nvml() 1-
4464 if __nvmlDeviceGetPersistenceMode == NULL: 1-
4465 with gil:
4466 raise FunctionNotFoundError("function nvmlDeviceGetPersistenceMode is not found")
4467 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetPersistenceMode)( 1-
4468 device, mode)
4471cdef nvmlReturn_t _nvmlDeviceGetPciInfoExt(nvmlDevice_t device, nvmlPciInfoExt_t* pci) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4472 global __nvmlDeviceGetPciInfoExt
4473 _check_or_init_nvml() 2W d / Hb
4474 if __nvmlDeviceGetPciInfoExt == NULL: 2W d / Hb
4475 with gil:
4476 raise FunctionNotFoundError("function nvmlDeviceGetPciInfoExt is not found")
4477 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfoExt_t*) noexcept nogil>__nvmlDeviceGetPciInfoExt)( 2W d / Hb
4478 device, pci)
4481cdef nvmlReturn_t _nvmlDeviceGetPciInfo_v3(nvmlDevice_t device, nvmlPciInfo_t* pci) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4482 global __nvmlDeviceGetPciInfo_v3
4483 _check_or_init_nvml() 1fbnk
4484 if __nvmlDeviceGetPciInfo_v3 == NULL: 1fbnk
4485 with gil:
4486 raise FunctionNotFoundError("function nvmlDeviceGetPciInfo_v3 is not found")
4487 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetPciInfo_v3)( 1fbnk
4488 device, pci)
4491cdef nvmlReturn_t _nvmlDeviceGetMaxPcieLinkGeneration(nvmlDevice_t device, unsigned int* maxLinkGen) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4492 global __nvmlDeviceGetMaxPcieLinkGeneration
4493 _check_or_init_nvml() 1d
4494 if __nvmlDeviceGetMaxPcieLinkGeneration == NULL: 1d
4495 with gil:
4496 raise FunctionNotFoundError("function nvmlDeviceGetMaxPcieLinkGeneration is not found")
4497 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxPcieLinkGeneration)( 1d
4498 device, maxLinkGen)
4501cdef nvmlReturn_t _nvmlDeviceGetGpuMaxPcieLinkGeneration(nvmlDevice_t device, unsigned int* maxLinkGenDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4502 global __nvmlDeviceGetGpuMaxPcieLinkGeneration
4503 _check_or_init_nvml() 1d
4504 if __nvmlDeviceGetGpuMaxPcieLinkGeneration == NULL: 1d
4505 with gil:
4506 raise FunctionNotFoundError("function nvmlDeviceGetGpuMaxPcieLinkGeneration is not found")
4507 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuMaxPcieLinkGeneration)( 1d
4508 device, maxLinkGenDevice)
4511cdef nvmlReturn_t _nvmlDeviceGetMaxPcieLinkWidth(nvmlDevice_t device, unsigned int* maxLinkWidth) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4512 global __nvmlDeviceGetMaxPcieLinkWidth
4513 _check_or_init_nvml() 1d
4514 if __nvmlDeviceGetMaxPcieLinkWidth == NULL: 1d
4515 with gil:
4516 raise FunctionNotFoundError("function nvmlDeviceGetMaxPcieLinkWidth is not found")
4517 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxPcieLinkWidth)( 1d
4518 device, maxLinkWidth)
4521cdef nvmlReturn_t _nvmlDeviceGetCurrPcieLinkGeneration(nvmlDevice_t device, unsigned int* currLinkGen) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4522 global __nvmlDeviceGetCurrPcieLinkGeneration
4523 _check_or_init_nvml() 1d
4524 if __nvmlDeviceGetCurrPcieLinkGeneration == NULL: 1d
4525 with gil:
4526 raise FunctionNotFoundError("function nvmlDeviceGetCurrPcieLinkGeneration is not found")
4527 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetCurrPcieLinkGeneration)( 1d
4528 device, currLinkGen)
4531cdef nvmlReturn_t _nvmlDeviceGetCurrPcieLinkWidth(nvmlDevice_t device, unsigned int* currLinkWidth) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4532 global __nvmlDeviceGetCurrPcieLinkWidth
4533 _check_or_init_nvml() 1d
4534 if __nvmlDeviceGetCurrPcieLinkWidth == NULL: 1d
4535 with gil:
4536 raise FunctionNotFoundError("function nvmlDeviceGetCurrPcieLinkWidth is not found")
4537 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetCurrPcieLinkWidth)( 1d
4538 device, currLinkWidth)
4541cdef nvmlReturn_t _nvmlDeviceGetPcieThroughput(nvmlDevice_t device, nvmlPcieUtilCounter_t counter, unsigned int* value) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4542 global __nvmlDeviceGetPcieThroughput
4543 _check_or_init_nvml() 2Jbd
4544 if __nvmlDeviceGetPcieThroughput == NULL: 2Jbd
4545 with gil:
4546 raise FunctionNotFoundError("function nvmlDeviceGetPcieThroughput is not found")
4547 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPcieUtilCounter_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieThroughput)( 2Jbd
4548 device, counter, value)
4551cdef nvmlReturn_t _nvmlDeviceGetPcieReplayCounter(nvmlDevice_t device, unsigned int* value) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4552 global __nvmlDeviceGetPcieReplayCounter
4553 _check_or_init_nvml() 1d
4554 if __nvmlDeviceGetPcieReplayCounter == NULL: 1d
4555 with gil:
4556 raise FunctionNotFoundError("function nvmlDeviceGetPcieReplayCounter is not found")
4557 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieReplayCounter)( 1d
4558 device, value)
4561cdef nvmlReturn_t _nvmlDeviceGetClockInfo(nvmlDevice_t device, nvmlClockType_t type, unsigned int* clock) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4562 global __nvmlDeviceGetClockInfo
4563 _check_or_init_nvml()
4564 if __nvmlDeviceGetClockInfo == NULL:
4565 with gil:
4566 raise FunctionNotFoundError("function nvmlDeviceGetClockInfo is not found")
4567 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockType_t, unsigned int*) noexcept nogil>__nvmlDeviceGetClockInfo)(
4568 device, type, clock)
4571cdef nvmlReturn_t _nvmlDeviceGetMaxClockInfo(nvmlDevice_t device, nvmlClockType_t type, unsigned int* clock) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4572 global __nvmlDeviceGetMaxClockInfo
4573 _check_or_init_nvml() 1c
4574 if __nvmlDeviceGetMaxClockInfo == NULL: 1c
4575 with gil:
4576 raise FunctionNotFoundError("function nvmlDeviceGetMaxClockInfo is not found")
4577 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockType_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxClockInfo)( 1c
4578 device, type, clock)
4581cdef nvmlReturn_t _nvmlDeviceGetGpcClkVfOffset(nvmlDevice_t device, int* offset) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4582 global __nvmlDeviceGetGpcClkVfOffset
4583 _check_or_init_nvml()
4584 if __nvmlDeviceGetGpcClkVfOffset == NULL:
4585 with gil:
4586 raise FunctionNotFoundError("function nvmlDeviceGetGpcClkVfOffset is not found")
4587 return (<nvmlReturn_t (*)(nvmlDevice_t, int*) noexcept nogil>__nvmlDeviceGetGpcClkVfOffset)(
4588 device, offset)
4591cdef nvmlReturn_t _nvmlDeviceGetClock(nvmlDevice_t device, nvmlClockType_t clockType, nvmlClockId_t clockId, unsigned int* clockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4592 global __nvmlDeviceGetClock
4593 _check_or_init_nvml() 1c
4594 if __nvmlDeviceGetClock == NULL: 1c
4595 with gil:
4596 raise FunctionNotFoundError("function nvmlDeviceGetClock is not found")
4597 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockType_t, nvmlClockId_t, unsigned int*) noexcept nogil>__nvmlDeviceGetClock)( 1c
4598 device, clockType, clockId, clockMHz)
4601cdef nvmlReturn_t _nvmlDeviceGetMaxCustomerBoostClock(nvmlDevice_t device, nvmlClockType_t clockType, unsigned int* clockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4602 global __nvmlDeviceGetMaxCustomerBoostClock
4603 _check_or_init_nvml() 1c
4604 if __nvmlDeviceGetMaxCustomerBoostClock == NULL: 1c
4605 with gil:
4606 raise FunctionNotFoundError("function nvmlDeviceGetMaxCustomerBoostClock is not found")
4607 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockType_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxCustomerBoostClock)( 1c
4608 device, clockType, clockMHz)
4611cdef nvmlReturn_t _nvmlDeviceGetSupportedMemoryClocks(nvmlDevice_t device, unsigned int* count, unsigned int* clocksMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4612 global __nvmlDeviceGetSupportedMemoryClocks
4613 _check_or_init_nvml()
4614 if __nvmlDeviceGetSupportedMemoryClocks == NULL:
4615 with gil:
4616 raise FunctionNotFoundError("function nvmlDeviceGetSupportedMemoryClocks is not found")
4617 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetSupportedMemoryClocks)(
4618 device, count, clocksMHz)
4621cdef nvmlReturn_t _nvmlDeviceGetSupportedGraphicsClocks(nvmlDevice_t device, unsigned int memoryClockMHz, unsigned int* count, unsigned int* clocksMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4622 global __nvmlDeviceGetSupportedGraphicsClocks
4623 _check_or_init_nvml()
4624 if __nvmlDeviceGetSupportedGraphicsClocks == NULL:
4625 with gil:
4626 raise FunctionNotFoundError("function nvmlDeviceGetSupportedGraphicsClocks is not found")
4627 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetSupportedGraphicsClocks)(
4628 device, memoryClockMHz, count, clocksMHz)
4631cdef nvmlReturn_t _nvmlDeviceGetAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t* isEnabled, nvmlEnableState_t* defaultIsEnabled) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4632 global __nvmlDeviceGetAutoBoostedClocksEnabled
4633 _check_or_init_nvml() 1o
4634 if __nvmlDeviceGetAutoBoostedClocksEnabled == NULL: 1o
4635 with gil:
4636 raise FunctionNotFoundError("function nvmlDeviceGetAutoBoostedClocksEnabled is not found")
4637 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAutoBoostedClocksEnabled)( 1o
4638 device, isEnabled, defaultIsEnabled)
4641cdef nvmlReturn_t _nvmlDeviceGetFanSpeed(nvmlDevice_t device, unsigned int* speed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4642 global __nvmlDeviceGetFanSpeed
4643 _check_or_init_nvml()
4644 if __nvmlDeviceGetFanSpeed == NULL:
4645 with gil:
4646 raise FunctionNotFoundError("function nvmlDeviceGetFanSpeed is not found")
4647 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetFanSpeed)(
4648 device, speed)
4651cdef nvmlReturn_t _nvmlDeviceGetFanSpeed_v2(nvmlDevice_t device, unsigned int fan, unsigned int* speed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4652 global __nvmlDeviceGetFanSpeed_v2
4653 _check_or_init_nvml()
4654 if __nvmlDeviceGetFanSpeed_v2 == NULL:
4655 with gil:
4656 raise FunctionNotFoundError("function nvmlDeviceGetFanSpeed_v2 is not found")
4657 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetFanSpeed_v2)(
4658 device, fan, speed)
4661cdef nvmlReturn_t _nvmlDeviceGetFanSpeedRPM(nvmlDevice_t device, nvmlFanSpeedInfo_t* fanSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4662 global __nvmlDeviceGetFanSpeedRPM
4663 _check_or_init_nvml()
4664 if __nvmlDeviceGetFanSpeedRPM == NULL:
4665 with gil:
4666 raise FunctionNotFoundError("function nvmlDeviceGetFanSpeedRPM is not found")
4667 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlFanSpeedInfo_t*) noexcept nogil>__nvmlDeviceGetFanSpeedRPM)(
4668 device, fanSpeed)
4671cdef nvmlReturn_t _nvmlDeviceGetTargetFanSpeed(nvmlDevice_t device, unsigned int fan, unsigned int* targetSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4672 global __nvmlDeviceGetTargetFanSpeed
4673 _check_or_init_nvml()
4674 if __nvmlDeviceGetTargetFanSpeed == NULL:
4675 with gil:
4676 raise FunctionNotFoundError("function nvmlDeviceGetTargetFanSpeed is not found")
4677 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetTargetFanSpeed)(
4678 device, fan, targetSpeed)
4681cdef nvmlReturn_t _nvmlDeviceGetMinMaxFanSpeed(nvmlDevice_t device, unsigned int* minSpeed, unsigned int* maxSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4682 global __nvmlDeviceGetMinMaxFanSpeed
4683 _check_or_init_nvml()
4684 if __nvmlDeviceGetMinMaxFanSpeed == NULL:
4685 with gil:
4686 raise FunctionNotFoundError("function nvmlDeviceGetMinMaxFanSpeed is not found")
4687 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetMinMaxFanSpeed)(
4688 device, minSpeed, maxSpeed)
4691cdef nvmlReturn_t _nvmlDeviceGetFanControlPolicy_v2(nvmlDevice_t device, unsigned int fan, nvmlFanControlPolicy_t* policy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4692 global __nvmlDeviceGetFanControlPolicy_v2
4693 _check_or_init_nvml()
4694 if __nvmlDeviceGetFanControlPolicy_v2 == NULL:
4695 with gil:
4696 raise FunctionNotFoundError("function nvmlDeviceGetFanControlPolicy_v2 is not found")
4697 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlFanControlPolicy_t*) noexcept nogil>__nvmlDeviceGetFanControlPolicy_v2)(
4698 device, fan, policy)
4701cdef nvmlReturn_t _nvmlDeviceGetNumFans(nvmlDevice_t device, unsigned int* numFans) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4702 global __nvmlDeviceGetNumFans
4703 _check_or_init_nvml() 2ubBb
4704 if __nvmlDeviceGetNumFans == NULL: 2ubBb
4705 with gil:
4706 raise FunctionNotFoundError("function nvmlDeviceGetNumFans is not found")
4707 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumFans)( 2ubBb
4708 device, numFans)
4711cdef nvmlReturn_t _nvmlDeviceGetCoolerInfo(nvmlDevice_t device, nvmlCoolerInfo_t* coolerInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4712 global __nvmlDeviceGetCoolerInfo
4713 _check_or_init_nvml()
4714 if __nvmlDeviceGetCoolerInfo == NULL:
4715 with gil:
4716 raise FunctionNotFoundError("function nvmlDeviceGetCoolerInfo is not found")
4717 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlCoolerInfo_t*) noexcept nogil>__nvmlDeviceGetCoolerInfo)(
4718 device, coolerInfo)
4721cdef nvmlReturn_t _nvmlDeviceGetTemperatureV(nvmlDevice_t device, nvmlTemperature_t* temperature) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4722 global __nvmlDeviceGetTemperatureV
4723 _check_or_init_nvml() 1j
4724 if __nvmlDeviceGetTemperatureV == NULL: 1j
4725 with gil:
4726 raise FunctionNotFoundError("function nvmlDeviceGetTemperatureV is not found")
4727 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperature_t*) noexcept nogil>__nvmlDeviceGetTemperatureV)( 1j
4728 device, temperature)
4731cdef nvmlReturn_t _nvmlDeviceGetTemperatureThreshold(nvmlDevice_t device, nvmlTemperatureThresholds_t thresholdType, unsigned int* temp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4732 global __nvmlDeviceGetTemperatureThreshold
4733 _check_or_init_nvml() 1zj
4734 if __nvmlDeviceGetTemperatureThreshold == NULL: 1zj
4735 with gil:
4736 raise FunctionNotFoundError("function nvmlDeviceGetTemperatureThreshold is not found")
4737 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperatureThresholds_t, unsigned int*) noexcept nogil>__nvmlDeviceGetTemperatureThreshold)( 1zj
4738 device, thresholdType, temp)
4741cdef nvmlReturn_t _nvmlDeviceGetMarginTemperature(nvmlDevice_t device, nvmlMarginTemperature_t* marginTempInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4742 global __nvmlDeviceGetMarginTemperature
4743 _check_or_init_nvml()
4744 if __nvmlDeviceGetMarginTemperature == NULL:
4745 with gil:
4746 raise FunctionNotFoundError("function nvmlDeviceGetMarginTemperature is not found")
4747 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMarginTemperature_t*) noexcept nogil>__nvmlDeviceGetMarginTemperature)(
4748 device, marginTempInfo)
4751cdef nvmlReturn_t _nvmlDeviceGetThermalSettings(nvmlDevice_t device, unsigned int sensorIndex, nvmlGpuThermalSettings_t* pThermalSettings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4752 global __nvmlDeviceGetThermalSettings
4753 _check_or_init_nvml()
4754 if __nvmlDeviceGetThermalSettings == NULL:
4755 with gil:
4756 raise FunctionNotFoundError("function nvmlDeviceGetThermalSettings is not found")
4757 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuThermalSettings_t*) noexcept nogil>__nvmlDeviceGetThermalSettings)(
4758 device, sensorIndex, pThermalSettings)
4761cdef nvmlReturn_t _nvmlDeviceGetPerformanceState(nvmlDevice_t device, nvmlPstates_t* pState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4762 global __nvmlDeviceGetPerformanceState
4763 _check_or_init_nvml() 1cv
4764 if __nvmlDeviceGetPerformanceState == NULL: 1cv
4765 with gil:
4766 raise FunctionNotFoundError("function nvmlDeviceGetPerformanceState is not found")
4767 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t*) noexcept nogil>__nvmlDeviceGetPerformanceState)( 1cv
4768 device, pState)
4771cdef nvmlReturn_t _nvmlDeviceGetCurrentClocksEventReasons(nvmlDevice_t device, unsigned long long* clocksEventReasons) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4772 global __nvmlDeviceGetCurrentClocksEventReasons
4773 _check_or_init_nvml() 1V
4774 if __nvmlDeviceGetCurrentClocksEventReasons == NULL: 1V
4775 with gil:
4776 raise FunctionNotFoundError("function nvmlDeviceGetCurrentClocksEventReasons is not found")
4777 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetCurrentClocksEventReasons)( 1V
4778 device, clocksEventReasons)
4781cdef nvmlReturn_t _nvmlDeviceGetSupportedClocksEventReasons(nvmlDevice_t device, unsigned long long* supportedClocksEventReasons) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4782 global __nvmlDeviceGetSupportedClocksEventReasons
4783 _check_or_init_nvml() 1V
4784 if __nvmlDeviceGetSupportedClocksEventReasons == NULL: 1V
4785 with gil:
4786 raise FunctionNotFoundError("function nvmlDeviceGetSupportedClocksEventReasons is not found")
4787 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedClocksEventReasons)( 1V
4788 device, supportedClocksEventReasons)
4791cdef nvmlReturn_t _nvmlDeviceGetPowerState(nvmlDevice_t device, nvmlPstates_t* pState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4792 global __nvmlDeviceGetPowerState
4793 _check_or_init_nvml()
4794 if __nvmlDeviceGetPowerState == NULL:
4795 with gil:
4796 raise FunctionNotFoundError("function nvmlDeviceGetPowerState is not found")
4797 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t*) noexcept nogil>__nvmlDeviceGetPowerState)(
4798 device, pState)
4801cdef nvmlReturn_t _nvmlDeviceGetDynamicPstatesInfo(nvmlDevice_t device, nvmlGpuDynamicPstatesInfo_t* pDynamicPstatesInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4802 global __nvmlDeviceGetDynamicPstatesInfo
4803 _check_or_init_nvml() 1v
4804 if __nvmlDeviceGetDynamicPstatesInfo == NULL: 1v
4805 with gil:
4806 raise FunctionNotFoundError("function nvmlDeviceGetDynamicPstatesInfo is not found")
4807 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuDynamicPstatesInfo_t*) noexcept nogil>__nvmlDeviceGetDynamicPstatesInfo)( 1v
4808 device, pDynamicPstatesInfo)
4811cdef nvmlReturn_t _nvmlDeviceGetMemClkVfOffset(nvmlDevice_t device, int* offset) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4812 global __nvmlDeviceGetMemClkVfOffset
4813 _check_or_init_nvml()
4814 if __nvmlDeviceGetMemClkVfOffset == NULL:
4815 with gil:
4816 raise FunctionNotFoundError("function nvmlDeviceGetMemClkVfOffset is not found")
4817 return (<nvmlReturn_t (*)(nvmlDevice_t, int*) noexcept nogil>__nvmlDeviceGetMemClkVfOffset)(
4818 device, offset)
4821cdef nvmlReturn_t _nvmlDeviceGetMinMaxClockOfPState(nvmlDevice_t device, nvmlClockType_t type, nvmlPstates_t pstate, unsigned int* minClockMHz, unsigned int* maxClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4822 global __nvmlDeviceGetMinMaxClockOfPState
4823 _check_or_init_nvml() 1c
4824 if __nvmlDeviceGetMinMaxClockOfPState == NULL: 1c
4825 with gil:
4826 raise FunctionNotFoundError("function nvmlDeviceGetMinMaxClockOfPState is not found")
4827 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockType_t, nvmlPstates_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetMinMaxClockOfPState)( 1c
4828 device, type, pstate, minClockMHz, maxClockMHz)
4831cdef nvmlReturn_t _nvmlDeviceGetSupportedPerformanceStates(nvmlDevice_t device, nvmlPstates_t* pstates, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4832 global __nvmlDeviceGetSupportedPerformanceStates
4833 _check_or_init_nvml() 1v
4834 if __nvmlDeviceGetSupportedPerformanceStates == NULL: 1v
4835 with gil:
4836 raise FunctionNotFoundError("function nvmlDeviceGetSupportedPerformanceStates is not found")
4837 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t*, unsigned int) noexcept nogil>__nvmlDeviceGetSupportedPerformanceStates)( 1v
4838 device, pstates, size)
4841cdef nvmlReturn_t _nvmlDeviceGetGpcClkMinMaxVfOffset(nvmlDevice_t device, int* minOffset, int* maxOffset) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4842 global __nvmlDeviceGetGpcClkMinMaxVfOffset
4843 _check_or_init_nvml()
4844 if __nvmlDeviceGetGpcClkMinMaxVfOffset == NULL:
4845 with gil:
4846 raise FunctionNotFoundError("function nvmlDeviceGetGpcClkMinMaxVfOffset is not found")
4847 return (<nvmlReturn_t (*)(nvmlDevice_t, int*, int*) noexcept nogil>__nvmlDeviceGetGpcClkMinMaxVfOffset)(
4848 device, minOffset, maxOffset)
4851cdef nvmlReturn_t _nvmlDeviceGetMemClkMinMaxVfOffset(nvmlDevice_t device, int* minOffset, int* maxOffset) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4852 global __nvmlDeviceGetMemClkMinMaxVfOffset
4853 _check_or_init_nvml()
4854 if __nvmlDeviceGetMemClkMinMaxVfOffset == NULL:
4855 with gil:
4856 raise FunctionNotFoundError("function nvmlDeviceGetMemClkMinMaxVfOffset is not found")
4857 return (<nvmlReturn_t (*)(nvmlDevice_t, int*, int*) noexcept nogil>__nvmlDeviceGetMemClkMinMaxVfOffset)(
4858 device, minOffset, maxOffset)
4861cdef nvmlReturn_t _nvmlDeviceGetClockOffsets(nvmlDevice_t device, nvmlClockOffset_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4862 global __nvmlDeviceGetClockOffsets
4863 _check_or_init_nvml() 1c
4864 if __nvmlDeviceGetClockOffsets == NULL: 1c
4865 with gil:
4866 raise FunctionNotFoundError("function nvmlDeviceGetClockOffsets is not found")
4867 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockOffset_t*) noexcept nogil>__nvmlDeviceGetClockOffsets)( 1c
4868 device, info)
4871cdef nvmlReturn_t _nvmlDeviceSetClockOffsets(nvmlDevice_t device, nvmlClockOffset_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4872 global __nvmlDeviceSetClockOffsets
4873 _check_or_init_nvml()
4874 if __nvmlDeviceSetClockOffsets == NULL:
4875 with gil:
4876 raise FunctionNotFoundError("function nvmlDeviceSetClockOffsets is not found")
4877 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockOffset_t*) noexcept nogil>__nvmlDeviceSetClockOffsets)(
4878 device, info)
4881cdef nvmlReturn_t _nvmlDeviceGetPerformanceModes(nvmlDevice_t device, nvmlDevicePerfModes_t* perfModes) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4882 global __nvmlDeviceGetPerformanceModes
4883 _check_or_init_nvml() 2Mb
4884 if __nvmlDeviceGetPerformanceModes == NULL: 2Mb
4885 with gil:
4886 raise FunctionNotFoundError("function nvmlDeviceGetPerformanceModes is not found")
4887 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePerfModes_t*) noexcept nogil>__nvmlDeviceGetPerformanceModes)( 2Mb
4888 device, perfModes)
4891cdef nvmlReturn_t _nvmlDeviceGetCurrentClockFreqs(nvmlDevice_t device, nvmlDeviceCurrentClockFreqs_t* currentClockFreqs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4892 global __nvmlDeviceGetCurrentClockFreqs
4893 _check_or_init_nvml() 2ob
4894 if __nvmlDeviceGetCurrentClockFreqs == NULL: 2ob
4895 with gil:
4896 raise FunctionNotFoundError("function nvmlDeviceGetCurrentClockFreqs is not found")
4897 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCurrentClockFreqs_t*) noexcept nogil>__nvmlDeviceGetCurrentClockFreqs)( 2ob
4898 device, currentClockFreqs)
4901cdef nvmlReturn_t _nvmlDeviceGetPowerManagementLimit(nvmlDevice_t device, unsigned int* limit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4902 global __nvmlDeviceGetPowerManagementLimit
4903 _check_or_init_nvml() 2Ib
4904 if __nvmlDeviceGetPowerManagementLimit == NULL: 2Ib
4905 with gil:
4906 raise FunctionNotFoundError("function nvmlDeviceGetPowerManagementLimit is not found")
4907 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerManagementLimit)( 2Ib
4908 device, limit)
4911cdef nvmlReturn_t _nvmlDeviceGetPowerManagementLimitConstraints(nvmlDevice_t device, unsigned int* minLimit, unsigned int* maxLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4912 global __nvmlDeviceGetPowerManagementLimitConstraints
4913 _check_or_init_nvml()
4914 if __nvmlDeviceGetPowerManagementLimitConstraints == NULL:
4915 with gil:
4916 raise FunctionNotFoundError("function nvmlDeviceGetPowerManagementLimitConstraints is not found")
4917 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerManagementLimitConstraints)(
4918 device, minLimit, maxLimit)
4921cdef nvmlReturn_t _nvmlDeviceGetPowerManagementDefaultLimit(nvmlDevice_t device, unsigned int* defaultLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4922 global __nvmlDeviceGetPowerManagementDefaultLimit
4923 _check_or_init_nvml()
4924 if __nvmlDeviceGetPowerManagementDefaultLimit == NULL:
4925 with gil:
4926 raise FunctionNotFoundError("function nvmlDeviceGetPowerManagementDefaultLimit is not found")
4927 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerManagementDefaultLimit)(
4928 device, defaultLimit)
4931cdef nvmlReturn_t _nvmlDeviceGetPowerUsage(nvmlDevice_t device, unsigned int* power) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4932 global __nvmlDeviceGetPowerUsage
4933 _check_or_init_nvml() 2Kb
4934 if __nvmlDeviceGetPowerUsage == NULL: 2Kb
4935 with gil:
4936 raise FunctionNotFoundError("function nvmlDeviceGetPowerUsage is not found")
4937 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerUsage)( 2Kb
4938 device, power)
4941cdef nvmlReturn_t _nvmlDeviceGetTotalEnergyConsumption(nvmlDevice_t device, unsigned long long* energy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4942 global __nvmlDeviceGetTotalEnergyConsumption
4943 _check_or_init_nvml() 2Pb
4944 if __nvmlDeviceGetTotalEnergyConsumption == NULL: 2Pb
4945 with gil:
4946 raise FunctionNotFoundError("function nvmlDeviceGetTotalEnergyConsumption is not found")
4947 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetTotalEnergyConsumption)( 2Pb
4948 device, energy)
4951cdef nvmlReturn_t _nvmlDeviceGetEnforcedPowerLimit(nvmlDevice_t device, unsigned int* limit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4952 global __nvmlDeviceGetEnforcedPowerLimit
4953 _check_or_init_nvml()
4954 if __nvmlDeviceGetEnforcedPowerLimit == NULL:
4955 with gil:
4956 raise FunctionNotFoundError("function nvmlDeviceGetEnforcedPowerLimit is not found")
4957 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetEnforcedPowerLimit)(
4958 device, limit)
4961cdef nvmlReturn_t _nvmlDeviceGetGpuOperationMode(nvmlDevice_t device, nvmlGpuOperationMode_t* current, nvmlGpuOperationMode_t* pending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4962 global __nvmlDeviceGetGpuOperationMode
4963 _check_or_init_nvml()
4964 if __nvmlDeviceGetGpuOperationMode == NULL:
4965 with gil:
4966 raise FunctionNotFoundError("function nvmlDeviceGetGpuOperationMode is not found")
4967 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuOperationMode_t*, nvmlGpuOperationMode_t*) noexcept nogil>__nvmlDeviceGetGpuOperationMode)(
4968 device, current, pending)
4971cdef nvmlReturn_t _nvmlDeviceGetMemoryInfo_v2(nvmlDevice_t device, nvmlMemory_v2_t* memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4972 global __nvmlDeviceGetMemoryInfo_v2
4973 _check_or_init_nvml() 2Ob)
4974 if __nvmlDeviceGetMemoryInfo_v2 == NULL: 2Ob)
4975 with gil:
4976 raise FunctionNotFoundError("function nvmlDeviceGetMemoryInfo_v2 is not found")
4977 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_v2_t*) noexcept nogil>__nvmlDeviceGetMemoryInfo_v2)( 2Ob)
4978 device, memory)
4981cdef nvmlReturn_t _nvmlDeviceGetComputeMode(nvmlDevice_t device, nvmlComputeMode_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4982 global __nvmlDeviceGetComputeMode
4983 _check_or_init_nvml() 1#
4984 if __nvmlDeviceGetComputeMode == NULL: 1#
4985 with gil:
4986 raise FunctionNotFoundError("function nvmlDeviceGetComputeMode is not found")
4987 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t*) noexcept nogil>__nvmlDeviceGetComputeMode)( 1#
4988 device, mode)
4991cdef nvmlReturn_t _nvmlDeviceGetCudaComputeCapability(nvmlDevice_t device, int* major, int* minor) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
4992 global __nvmlDeviceGetCudaComputeCapability
4993 _check_or_init_nvml() 2xb
4994 if __nvmlDeviceGetCudaComputeCapability == NULL: 2xb
4995 with gil:
4996 raise FunctionNotFoundError("function nvmlDeviceGetCudaComputeCapability is not found")
4997 return (<nvmlReturn_t (*)(nvmlDevice_t, int*, int*) noexcept nogil>__nvmlDeviceGetCudaComputeCapability)( 2xb
4998 device, major, minor)
5001cdef nvmlReturn_t _nvmlDeviceGetDramEncryptionMode(nvmlDevice_t device, nvmlDramEncryptionInfo_t* current, nvmlDramEncryptionInfo_t* pending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5002 global __nvmlDeviceGetDramEncryptionMode
5003 _check_or_init_nvml()
5004 if __nvmlDeviceGetDramEncryptionMode == NULL:
5005 with gil:
5006 raise FunctionNotFoundError("function nvmlDeviceGetDramEncryptionMode is not found")
5007 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDramEncryptionInfo_t*, nvmlDramEncryptionInfo_t*) noexcept nogil>__nvmlDeviceGetDramEncryptionMode)(
5008 device, current, pending)
5011cdef nvmlReturn_t _nvmlDeviceSetDramEncryptionMode(nvmlDevice_t device, const nvmlDramEncryptionInfo_t* dramEncryption) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5012 global __nvmlDeviceSetDramEncryptionMode
5013 _check_or_init_nvml()
5014 if __nvmlDeviceSetDramEncryptionMode == NULL:
5015 with gil:
5016 raise FunctionNotFoundError("function nvmlDeviceSetDramEncryptionMode is not found")
5017 return (<nvmlReturn_t (*)(nvmlDevice_t, const nvmlDramEncryptionInfo_t*) noexcept nogil>__nvmlDeviceSetDramEncryptionMode)(
5018 device, dramEncryption)
5021cdef nvmlReturn_t _nvmlDeviceGetEccMode(nvmlDevice_t device, nvmlEnableState_t* current, nvmlEnableState_t* pending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5022 global __nvmlDeviceGetEccMode
5023 _check_or_init_nvml() 1B
5024 if __nvmlDeviceGetEccMode == NULL: 1B
5025 with gil:
5026 raise FunctionNotFoundError("function nvmlDeviceGetEccMode is not found")
5027 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetEccMode)( 1B
5028 device, current, pending)
5031cdef nvmlReturn_t _nvmlDeviceGetDefaultEccMode(nvmlDevice_t device, nvmlEnableState_t* defaultMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5032 global __nvmlDeviceGetDefaultEccMode
5033 _check_or_init_nvml()
5034 if __nvmlDeviceGetDefaultEccMode == NULL:
5035 with gil:
5036 raise FunctionNotFoundError("function nvmlDeviceGetDefaultEccMode is not found")
5037 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetDefaultEccMode)(
5038 device, defaultMode)
5041cdef nvmlReturn_t _nvmlDeviceGetBoardId(nvmlDevice_t device, unsigned int* boardId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5042 global __nvmlDeviceGetBoardId
5043 _check_or_init_nvml()
5044 if __nvmlDeviceGetBoardId == NULL:
5045 with gil:
5046 raise FunctionNotFoundError("function nvmlDeviceGetBoardId is not found")
5047 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetBoardId)(
5048 device, boardId)
5051cdef nvmlReturn_t _nvmlDeviceGetMultiGpuBoard(nvmlDevice_t device, unsigned int* multiGpuBool) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5052 global __nvmlDeviceGetMultiGpuBoard
5053 _check_or_init_nvml()
5054 if __nvmlDeviceGetMultiGpuBoard == NULL:
5055 with gil:
5056 raise FunctionNotFoundError("function nvmlDeviceGetMultiGpuBoard is not found")
5057 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMultiGpuBoard)(
5058 device, multiGpuBool)
5061cdef nvmlReturn_t _nvmlDeviceGetTotalEccErrors(nvmlDevice_t device, nvmlMemoryErrorType_t errorType, nvmlEccCounterType_t counterType, unsigned long long* eccCounts) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5062 global __nvmlDeviceGetTotalEccErrors
5063 _check_or_init_nvml()
5064 if __nvmlDeviceGetTotalEccErrors == NULL:
5065 with gil:
5066 raise FunctionNotFoundError("function nvmlDeviceGetTotalEccErrors is not found")
5067 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemoryErrorType_t, nvmlEccCounterType_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetTotalEccErrors)(
5068 device, errorType, counterType, eccCounts)
5071cdef nvmlReturn_t _nvmlDeviceGetMemoryErrorCounter(nvmlDevice_t device, nvmlMemoryErrorType_t errorType, nvmlEccCounterType_t counterType, nvmlMemoryLocation_t locationType, unsigned long long* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5072 global __nvmlDeviceGetMemoryErrorCounter
5073 _check_or_init_nvml()
5074 if __nvmlDeviceGetMemoryErrorCounter == NULL:
5075 with gil:
5076 raise FunctionNotFoundError("function nvmlDeviceGetMemoryErrorCounter is not found")
5077 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemoryErrorType_t, nvmlEccCounterType_t, nvmlMemoryLocation_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetMemoryErrorCounter)(
5078 device, errorType, counterType, locationType, count)
5081cdef nvmlReturn_t _nvmlDeviceGetUtilizationRates(nvmlDevice_t device, nvmlUtilization_t* utilization) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5082 global __nvmlDeviceGetUtilizationRates
5083 _check_or_init_nvml() 2Lb:
5084 if __nvmlDeviceGetUtilizationRates == NULL: 2Lb:
5085 with gil:
5086 raise FunctionNotFoundError("function nvmlDeviceGetUtilizationRates is not found")
5087 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUtilization_t*) noexcept nogil>__nvmlDeviceGetUtilizationRates)( 2Lb:
5088 device, utilization)
5091cdef nvmlReturn_t _nvmlDeviceGetEncoderUtilization(nvmlDevice_t device, unsigned int* utilization, unsigned int* samplingPeriodUs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5092 global __nvmlDeviceGetEncoderUtilization
5093 _check_or_init_nvml()
5094 if __nvmlDeviceGetEncoderUtilization == NULL:
5095 with gil:
5096 raise FunctionNotFoundError("function nvmlDeviceGetEncoderUtilization is not found")
5097 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetEncoderUtilization)(
5098 device, utilization, samplingPeriodUs)
5101cdef nvmlReturn_t _nvmlDeviceGetEncoderCapacity(nvmlDevice_t device, nvmlEncoderType_t encoderQueryType, unsigned int* encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5102 global __nvmlDeviceGetEncoderCapacity
5103 _check_or_init_nvml()
5104 if __nvmlDeviceGetEncoderCapacity == NULL:
5105 with gil:
5106 raise FunctionNotFoundError("function nvmlDeviceGetEncoderCapacity is not found")
5107 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEncoderType_t, unsigned int*) noexcept nogil>__nvmlDeviceGetEncoderCapacity)(
5108 device, encoderQueryType, encoderCapacity)
5111cdef nvmlReturn_t _nvmlDeviceGetEncoderStats(nvmlDevice_t device, unsigned int* sessionCount, unsigned int* averageFps, unsigned int* averageLatency) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5112 global __nvmlDeviceGetEncoderStats
5113 _check_or_init_nvml()
5114 if __nvmlDeviceGetEncoderStats == NULL:
5115 with gil:
5116 raise FunctionNotFoundError("function nvmlDeviceGetEncoderStats is not found")
5117 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetEncoderStats)(
5118 device, sessionCount, averageFps, averageLatency)
5121cdef nvmlReturn_t _nvmlDeviceGetEncoderSessions(nvmlDevice_t device, unsigned int* sessionCount, nvmlEncoderSessionInfo_t* sessionInfos) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5122 global __nvmlDeviceGetEncoderSessions
5123 _check_or_init_nvml()
5124 if __nvmlDeviceGetEncoderSessions == NULL:
5125 with gil:
5126 raise FunctionNotFoundError("function nvmlDeviceGetEncoderSessions is not found")
5127 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlEncoderSessionInfo_t*) noexcept nogil>__nvmlDeviceGetEncoderSessions)(
5128 device, sessionCount, sessionInfos)
5131cdef nvmlReturn_t _nvmlDeviceGetDecoderUtilization(nvmlDevice_t device, unsigned int* utilization, unsigned int* samplingPeriodUs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5132 global __nvmlDeviceGetDecoderUtilization
5133 _check_or_init_nvml()
5134 if __nvmlDeviceGetDecoderUtilization == NULL:
5135 with gil:
5136 raise FunctionNotFoundError("function nvmlDeviceGetDecoderUtilization is not found")
5137 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetDecoderUtilization)(
5138 device, utilization, samplingPeriodUs)
5141cdef nvmlReturn_t _nvmlDeviceGetJpgUtilization(nvmlDevice_t device, unsigned int* utilization, unsigned int* samplingPeriodUs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5142 global __nvmlDeviceGetJpgUtilization
5143 _check_or_init_nvml()
5144 if __nvmlDeviceGetJpgUtilization == NULL:
5145 with gil:
5146 raise FunctionNotFoundError("function nvmlDeviceGetJpgUtilization is not found")
5147 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetJpgUtilization)(
5148 device, utilization, samplingPeriodUs)
5151cdef nvmlReturn_t _nvmlDeviceGetOfaUtilization(nvmlDevice_t device, unsigned int* utilization, unsigned int* samplingPeriodUs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5152 global __nvmlDeviceGetOfaUtilization
5153 _check_or_init_nvml()
5154 if __nvmlDeviceGetOfaUtilization == NULL:
5155 with gil:
5156 raise FunctionNotFoundError("function nvmlDeviceGetOfaUtilization is not found")
5157 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetOfaUtilization)(
5158 device, utilization, samplingPeriodUs)
5161cdef nvmlReturn_t _nvmlDeviceGetFBCStats(nvmlDevice_t device, nvmlFBCStats_t* fbcStats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5162 global __nvmlDeviceGetFBCStats
5163 _check_or_init_nvml()
5164 if __nvmlDeviceGetFBCStats == NULL:
5165 with gil:
5166 raise FunctionNotFoundError("function nvmlDeviceGetFBCStats is not found")
5167 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlFBCStats_t*) noexcept nogil>__nvmlDeviceGetFBCStats)(
5168 device, fbcStats)
5171cdef nvmlReturn_t _nvmlDeviceGetFBCSessions(nvmlDevice_t device, unsigned int* sessionCount, nvmlFBCSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5172 global __nvmlDeviceGetFBCSessions
5173 _check_or_init_nvml()
5174 if __nvmlDeviceGetFBCSessions == NULL:
5175 with gil:
5176 raise FunctionNotFoundError("function nvmlDeviceGetFBCSessions is not found")
5177 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlFBCSessionInfo_t*) noexcept nogil>__nvmlDeviceGetFBCSessions)(
5178 device, sessionCount, sessionInfo)
5181cdef nvmlReturn_t _nvmlDeviceGetDriverModel_v2(nvmlDevice_t device, nvmlDriverModel_t* current, nvmlDriverModel_t* pending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5182 global __nvmlDeviceGetDriverModel_v2
5183 _check_or_init_nvml()
5184 if __nvmlDeviceGetDriverModel_v2 == NULL:
5185 with gil:
5186 raise FunctionNotFoundError("function nvmlDeviceGetDriverModel_v2 is not found")
5187 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDriverModel_t*, nvmlDriverModel_t*) noexcept nogil>__nvmlDeviceGetDriverModel_v2)(
5188 device, current, pending)
5191cdef nvmlReturn_t _nvmlDeviceGetVbiosVersion(nvmlDevice_t device, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5192 global __nvmlDeviceGetVbiosVersion
5193 _check_or_init_nvml()
5194 if __nvmlDeviceGetVbiosVersion == NULL:
5195 with gil:
5196 raise FunctionNotFoundError("function nvmlDeviceGetVbiosVersion is not found")
5197 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetVbiosVersion)(
5198 device, version, length)
5201cdef nvmlReturn_t _nvmlDeviceGetBridgeChipInfo(nvmlDevice_t device, nvmlBridgeChipHierarchy_t* bridgeHierarchy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5202 global __nvmlDeviceGetBridgeChipInfo
5203 _check_or_init_nvml() 1m
5204 if __nvmlDeviceGetBridgeChipInfo == NULL: 1m
5205 with gil:
5206 raise FunctionNotFoundError("function nvmlDeviceGetBridgeChipInfo is not found")
5207 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBridgeChipHierarchy_t*) noexcept nogil>__nvmlDeviceGetBridgeChipInfo)( 1m
5208 device, bridgeHierarchy)
5211cdef nvmlReturn_t _nvmlDeviceGetComputeRunningProcesses_v3(nvmlDevice_t device, unsigned int* infoCount, nvmlProcessInfo_t* infos) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5212 global __nvmlDeviceGetComputeRunningProcesses_v3
5213 _check_or_init_nvml() 1q;
5214 if __nvmlDeviceGetComputeRunningProcesses_v3 == NULL: 1q;
5215 with gil:
5216 raise FunctionNotFoundError("function nvmlDeviceGetComputeRunningProcesses_v3 is not found")
5217 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetComputeRunningProcesses_v3)( 1q;
5218 device, infoCount, infos)
5221cdef nvmlReturn_t _nvmlDeviceGetGraphicsRunningProcesses_v3(nvmlDevice_t device, unsigned int* infoCount, nvmlProcessInfo_t* infos) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5222 global __nvmlDeviceGetGraphicsRunningProcesses_v3
5223 _check_or_init_nvml()
5224 if __nvmlDeviceGetGraphicsRunningProcesses_v3 == NULL:
5225 with gil:
5226 raise FunctionNotFoundError("function nvmlDeviceGetGraphicsRunningProcesses_v3 is not found")
5227 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetGraphicsRunningProcesses_v3)(
5228 device, infoCount, infos)
5231cdef nvmlReturn_t _nvmlDeviceGetMPSComputeRunningProcesses_v3(nvmlDevice_t device, unsigned int* infoCount, nvmlProcessInfo_t* infos) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5232 global __nvmlDeviceGetMPSComputeRunningProcesses_v3
5233 _check_or_init_nvml()
5234 if __nvmlDeviceGetMPSComputeRunningProcesses_v3 == NULL:
5235 with gil:
5236 raise FunctionNotFoundError("function nvmlDeviceGetMPSComputeRunningProcesses_v3 is not found")
5237 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetMPSComputeRunningProcesses_v3)(
5238 device, infoCount, infos)
5241cdef nvmlReturn_t _nvmlDeviceGetRunningProcessDetailList(nvmlDevice_t device, nvmlProcessDetailList_t* plist) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5242 global __nvmlDeviceGetRunningProcessDetailList
5243 _check_or_init_nvml()
5244 if __nvmlDeviceGetRunningProcessDetailList == NULL:
5245 with gil:
5246 raise FunctionNotFoundError("function nvmlDeviceGetRunningProcessDetailList is not found")
5247 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessDetailList_t*) noexcept nogil>__nvmlDeviceGetRunningProcessDetailList)(
5248 device, plist)
5251cdef nvmlReturn_t _nvmlDeviceOnSameBoard(nvmlDevice_t device1, nvmlDevice_t device2, int* onSameBoard) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5252 global __nvmlDeviceOnSameBoard
5253 _check_or_init_nvml()
5254 if __nvmlDeviceOnSameBoard == NULL:
5255 with gil:
5256 raise FunctionNotFoundError("function nvmlDeviceOnSameBoard is not found")
5257 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t, int*) noexcept nogil>__nvmlDeviceOnSameBoard)(
5258 device1, device2, onSameBoard)
5261cdef nvmlReturn_t _nvmlDeviceGetAPIRestriction(nvmlDevice_t device, nvmlRestrictedAPI_t apiType, nvmlEnableState_t* isRestricted) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5262 global __nvmlDeviceGetAPIRestriction
5263 _check_or_init_nvml()
5264 if __nvmlDeviceGetAPIRestriction == NULL:
5265 with gil:
5266 raise FunctionNotFoundError("function nvmlDeviceGetAPIRestriction is not found")
5267 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAPIRestriction)(
5268 device, apiType, isRestricted)
5271cdef nvmlReturn_t _nvmlDeviceGetSamples(nvmlDevice_t device, nvmlSamplingType_t type, unsigned long long lastSeenTimeStamp, nvmlValueType_t* sampleValType, unsigned int* sampleCount, nvmlSample_t* samples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5272 global __nvmlDeviceGetSamples
5273 _check_or_init_nvml()
5274 if __nvmlDeviceGetSamples == NULL:
5275 with gil:
5276 raise FunctionNotFoundError("function nvmlDeviceGetSamples is not found")
5277 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlSamplingType_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlSample_t*) noexcept nogil>__nvmlDeviceGetSamples)(
5278 device, type, lastSeenTimeStamp, sampleValType, sampleCount, samples)
5281cdef nvmlReturn_t _nvmlDeviceGetBAR1MemoryInfo(nvmlDevice_t device, nvmlBAR1Memory_t* bar1Memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5282 global __nvmlDeviceGetBAR1MemoryInfo
5283 _check_or_init_nvml() 1'
5284 if __nvmlDeviceGetBAR1MemoryInfo == NULL: 1'
5285 with gil:
5286 raise FunctionNotFoundError("function nvmlDeviceGetBAR1MemoryInfo is not found")
5287 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBAR1Memory_t*) noexcept nogil>__nvmlDeviceGetBAR1MemoryInfo)( 1'
5288 device, bar1Memory)
5291cdef nvmlReturn_t _nvmlDeviceGetIrqNum(nvmlDevice_t device, unsigned int* irqNum) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5292 global __nvmlDeviceGetIrqNum
5293 _check_or_init_nvml()
5294 if __nvmlDeviceGetIrqNum == NULL:
5295 with gil:
5296 raise FunctionNotFoundError("function nvmlDeviceGetIrqNum is not found")
5297 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIrqNum)(
5298 device, irqNum)
5301cdef nvmlReturn_t _nvmlDeviceGetNumGpuCores(nvmlDevice_t device, unsigned int* numCores) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5302 global __nvmlDeviceGetNumGpuCores
5303 _check_or_init_nvml()
5304 if __nvmlDeviceGetNumGpuCores == NULL:
5305 with gil:
5306 raise FunctionNotFoundError("function nvmlDeviceGetNumGpuCores is not found")
5307 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumGpuCores)(
5308 device, numCores)
5311cdef nvmlReturn_t _nvmlDeviceGetPowerSource(nvmlDevice_t device, nvmlPowerSource_t* powerSource) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5312 global __nvmlDeviceGetPowerSource
5313 _check_or_init_nvml()
5314 if __nvmlDeviceGetPowerSource == NULL:
5315 with gil:
5316 raise FunctionNotFoundError("function nvmlDeviceGetPowerSource is not found")
5317 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSource_t*) noexcept nogil>__nvmlDeviceGetPowerSource)(
5318 device, powerSource)
5321cdef nvmlReturn_t _nvmlDeviceGetMemoryBusWidth(nvmlDevice_t device, unsigned int* busWidth) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5322 global __nvmlDeviceGetMemoryBusWidth
5323 _check_or_init_nvml()
5324 if __nvmlDeviceGetMemoryBusWidth == NULL:
5325 with gil:
5326 raise FunctionNotFoundError("function nvmlDeviceGetMemoryBusWidth is not found")
5327 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMemoryBusWidth)(
5328 device, busWidth)
5331cdef nvmlReturn_t _nvmlDeviceGetPcieLinkMaxSpeed(nvmlDevice_t device, unsigned int* maxSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5332 global __nvmlDeviceGetPcieLinkMaxSpeed
5333 _check_or_init_nvml()
5334 if __nvmlDeviceGetPcieLinkMaxSpeed == NULL:
5335 with gil:
5336 raise FunctionNotFoundError("function nvmlDeviceGetPcieLinkMaxSpeed is not found")
5337 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieLinkMaxSpeed)(
5338 device, maxSpeed)
5341cdef nvmlReturn_t _nvmlDeviceGetPcieSpeed(nvmlDevice_t device, unsigned int* pcieSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5342 global __nvmlDeviceGetPcieSpeed
5343 _check_or_init_nvml()
5344 if __nvmlDeviceGetPcieSpeed == NULL:
5345 with gil:
5346 raise FunctionNotFoundError("function nvmlDeviceGetPcieSpeed is not found")
5347 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieSpeed)(
5348 device, pcieSpeed)
5351cdef nvmlReturn_t _nvmlDeviceGetAdaptiveClockInfoStatus(nvmlDevice_t device, unsigned int* adaptiveClockStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5352 global __nvmlDeviceGetAdaptiveClockInfoStatus
5353 _check_or_init_nvml()
5354 if __nvmlDeviceGetAdaptiveClockInfoStatus == NULL:
5355 with gil:
5356 raise FunctionNotFoundError("function nvmlDeviceGetAdaptiveClockInfoStatus is not found")
5357 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAdaptiveClockInfoStatus)(
5358 device, adaptiveClockStatus)
5361cdef nvmlReturn_t _nvmlDeviceGetBusType(nvmlDevice_t device, nvmlBusType_t* type) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5362 global __nvmlDeviceGetBusType
5363 _check_or_init_nvml()
5364 if __nvmlDeviceGetBusType == NULL:
5365 with gil:
5366 raise FunctionNotFoundError("function nvmlDeviceGetBusType is not found")
5367 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBusType_t*) noexcept nogil>__nvmlDeviceGetBusType)(
5368 device, type)
5371cdef nvmlReturn_t _nvmlDeviceGetGpuFabricInfoV(nvmlDevice_t device, nvmlGpuFabricInfoV_t* gpuFabricInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5372 global __nvmlDeviceGetGpuFabricInfoV
5373 _check_or_init_nvml()
5374 if __nvmlDeviceGetGpuFabricInfoV == NULL:
5375 with gil:
5376 raise FunctionNotFoundError("function nvmlDeviceGetGpuFabricInfoV is not found")
5377 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuFabricInfoV_t*) noexcept nogil>__nvmlDeviceGetGpuFabricInfoV)(
5378 device, gpuFabricInfo)
5381cdef nvmlReturn_t _nvmlSystemGetConfComputeCapabilities(nvmlConfComputeSystemCaps_t* capabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5382 global __nvmlSystemGetConfComputeCapabilities
5383 _check_or_init_nvml()
5384 if __nvmlSystemGetConfComputeCapabilities == NULL:
5385 with gil:
5386 raise FunctionNotFoundError("function nvmlSystemGetConfComputeCapabilities is not found")
5387 return (<nvmlReturn_t (*)(nvmlConfComputeSystemCaps_t*) noexcept nogil>__nvmlSystemGetConfComputeCapabilities)(
5388 capabilities)
5391cdef nvmlReturn_t _nvmlSystemGetConfComputeState(nvmlConfComputeSystemState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5392 global __nvmlSystemGetConfComputeState
5393 _check_or_init_nvml()
5394 if __nvmlSystemGetConfComputeState == NULL:
5395 with gil:
5396 raise FunctionNotFoundError("function nvmlSystemGetConfComputeState is not found")
5397 return (<nvmlReturn_t (*)(nvmlConfComputeSystemState_t*) noexcept nogil>__nvmlSystemGetConfComputeState)(
5398 state)
5401cdef nvmlReturn_t _nvmlDeviceGetConfComputeMemSizeInfo(nvmlDevice_t device, nvmlConfComputeMemSizeInfo_t* memInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5402 global __nvmlDeviceGetConfComputeMemSizeInfo
5403 _check_or_init_nvml()
5404 if __nvmlDeviceGetConfComputeMemSizeInfo == NULL:
5405 with gil:
5406 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeMemSizeInfo is not found")
5407 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeMemSizeInfo_t*) noexcept nogil>__nvmlDeviceGetConfComputeMemSizeInfo)(
5408 device, memInfo)
5411cdef nvmlReturn_t _nvmlSystemGetConfComputeGpusReadyState(unsigned int* isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5412 global __nvmlSystemGetConfComputeGpusReadyState
5413 _check_or_init_nvml()
5414 if __nvmlSystemGetConfComputeGpusReadyState == NULL:
5415 with gil:
5416 raise FunctionNotFoundError("function nvmlSystemGetConfComputeGpusReadyState is not found")
5417 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetConfComputeGpusReadyState)(
5418 isAcceptingWork)
5421cdef nvmlReturn_t _nvmlDeviceGetConfComputeProtectedMemoryUsage(nvmlDevice_t device, nvmlMemory_t* memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5422 global __nvmlDeviceGetConfComputeProtectedMemoryUsage
5423 _check_or_init_nvml()
5424 if __nvmlDeviceGetConfComputeProtectedMemoryUsage == NULL:
5425 with gil:
5426 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeProtectedMemoryUsage is not found")
5427 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_t*) noexcept nogil>__nvmlDeviceGetConfComputeProtectedMemoryUsage)(
5428 device, memory)
5431cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuCertificate(nvmlDevice_t device, nvmlConfComputeGpuCertificate_t* gpuCert) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5432 global __nvmlDeviceGetConfComputeGpuCertificate
5433 _check_or_init_nvml() 10
5434 if __nvmlDeviceGetConfComputeGpuCertificate == NULL: 10
5435 with gil:
5436 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuCertificate is not found")
5437 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuCertificate_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuCertificate)( 10
5438 device, gpuCert)
5441cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuAttestationReport(nvmlDevice_t device, nvmlConfComputeGpuAttestationReport_t* gpuAtstReport) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5442 global __nvmlDeviceGetConfComputeGpuAttestationReport
5443 _check_or_init_nvml() 11
5444 if __nvmlDeviceGetConfComputeGpuAttestationReport == NULL: 11
5445 with gil:
5446 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuAttestationReport is not found")
5447 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuAttestationReport_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuAttestationReport)( 11
5448 device, gpuAtstReport)
5451cdef nvmlReturn_t _nvmlSystemGetConfComputeKeyRotationThresholdInfo(nvmlConfComputeGetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5452 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo
5453 _check_or_init_nvml()
5454 if __nvmlSystemGetConfComputeKeyRotationThresholdInfo == NULL:
5455 with gil:
5456 raise FunctionNotFoundError("function nvmlSystemGetConfComputeKeyRotationThresholdInfo is not found")
5457 return (<nvmlReturn_t (*)(nvmlConfComputeGetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemGetConfComputeKeyRotationThresholdInfo)(
5458 pKeyRotationThrInfo)
5461cdef nvmlReturn_t _nvmlDeviceSetConfComputeUnprotectedMemSize(nvmlDevice_t device, unsigned long long sizeKiB) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5462 global __nvmlDeviceSetConfComputeUnprotectedMemSize
5463 _check_or_init_nvml()
5464 if __nvmlDeviceSetConfComputeUnprotectedMemSize == NULL:
5465 with gil:
5466 raise FunctionNotFoundError("function nvmlDeviceSetConfComputeUnprotectedMemSize is not found")
5467 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long) noexcept nogil>__nvmlDeviceSetConfComputeUnprotectedMemSize)(
5468 device, sizeKiB)
5471cdef nvmlReturn_t _nvmlSystemSetConfComputeGpusReadyState(unsigned int isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5472 global __nvmlSystemSetConfComputeGpusReadyState
5473 _check_or_init_nvml()
5474 if __nvmlSystemSetConfComputeGpusReadyState == NULL:
5475 with gil:
5476 raise FunctionNotFoundError("function nvmlSystemSetConfComputeGpusReadyState is not found")
5477 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetConfComputeGpusReadyState)(
5478 isAcceptingWork)
5481cdef nvmlReturn_t _nvmlSystemSetConfComputeKeyRotationThresholdInfo(nvmlConfComputeSetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5482 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo
5483 _check_or_init_nvml()
5484 if __nvmlSystemSetConfComputeKeyRotationThresholdInfo == NULL:
5485 with gil:
5486 raise FunctionNotFoundError("function nvmlSystemSetConfComputeKeyRotationThresholdInfo is not found")
5487 return (<nvmlReturn_t (*)(nvmlConfComputeSetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemSetConfComputeKeyRotationThresholdInfo)(
5488 pKeyRotationThrInfo)
5491cdef nvmlReturn_t _nvmlSystemGetConfComputeSettings(nvmlSystemConfComputeSettings_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5492 global __nvmlSystemGetConfComputeSettings
5493 _check_or_init_nvml()
5494 if __nvmlSystemGetConfComputeSettings == NULL:
5495 with gil:
5496 raise FunctionNotFoundError("function nvmlSystemGetConfComputeSettings is not found")
5497 return (<nvmlReturn_t (*)(nvmlSystemConfComputeSettings_t*) noexcept nogil>__nvmlSystemGetConfComputeSettings)(
5498 settings)
5501cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareVersion(nvmlDevice_t device, char* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5502 global __nvmlDeviceGetGspFirmwareVersion
5503 _check_or_init_nvml()
5504 if __nvmlDeviceGetGspFirmwareVersion == NULL:
5505 with gil:
5506 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareVersion is not found")
5507 return (<nvmlReturn_t (*)(nvmlDevice_t, char*) noexcept nogil>__nvmlDeviceGetGspFirmwareVersion)(
5508 device, version)
5511cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareMode(nvmlDevice_t device, unsigned int* isEnabled, unsigned int* defaultMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5512 global __nvmlDeviceGetGspFirmwareMode
5513 _check_or_init_nvml()
5514 if __nvmlDeviceGetGspFirmwareMode == NULL:
5515 with gil:
5516 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareMode is not found")
5517 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetGspFirmwareMode)(
5518 device, isEnabled, defaultMode)
5521cdef nvmlReturn_t _nvmlDeviceGetSramEccErrorStatus(nvmlDevice_t device, nvmlEccSramErrorStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5522 global __nvmlDeviceGetSramEccErrorStatus
5523 _check_or_init_nvml()
5524 if __nvmlDeviceGetSramEccErrorStatus == NULL:
5525 with gil:
5526 raise FunctionNotFoundError("function nvmlDeviceGetSramEccErrorStatus is not found")
5527 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramErrorStatus_t*) noexcept nogil>__nvmlDeviceGetSramEccErrorStatus)(
5528 device, status)
5531cdef nvmlReturn_t _nvmlDeviceGetAccountingMode(nvmlDevice_t device, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5532 global __nvmlDeviceGetAccountingMode
5533 _check_or_init_nvml()
5534 if __nvmlDeviceGetAccountingMode == NULL:
5535 with gil:
5536 raise FunctionNotFoundError("function nvmlDeviceGetAccountingMode is not found")
5537 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAccountingMode)(
5538 device, mode)
5541cdef nvmlReturn_t _nvmlDeviceGetAccountingStats(nvmlDevice_t device, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5542 global __nvmlDeviceGetAccountingStats
5543 _check_or_init_nvml()
5544 if __nvmlDeviceGetAccountingStats == NULL:
5545 with gil:
5546 raise FunctionNotFoundError("function nvmlDeviceGetAccountingStats is not found")
5547 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlDeviceGetAccountingStats)(
5548 device, pid, stats)
5551cdef nvmlReturn_t _nvmlDeviceGetAccountingPids(nvmlDevice_t device, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5552 global __nvmlDeviceGetAccountingPids
5553 _check_or_init_nvml()
5554 if __nvmlDeviceGetAccountingPids == NULL:
5555 with gil:
5556 raise FunctionNotFoundError("function nvmlDeviceGetAccountingPids is not found")
5557 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingPids)(
5558 device, count, pids)
5561cdef nvmlReturn_t _nvmlDeviceGetAccountingBufferSize(nvmlDevice_t device, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5562 global __nvmlDeviceGetAccountingBufferSize
5563 _check_or_init_nvml()
5564 if __nvmlDeviceGetAccountingBufferSize == NULL:
5565 with gil:
5566 raise FunctionNotFoundError("function nvmlDeviceGetAccountingBufferSize is not found")
5567 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingBufferSize)(
5568 device, bufferSize)
5571cdef nvmlReturn_t _nvmlDeviceGetRetiredPages(nvmlDevice_t device, nvmlPageRetirementCause_t cause, unsigned int* pageCount, unsigned long long* addresses) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5572 global __nvmlDeviceGetRetiredPages
5573 _check_or_init_nvml() 2B pb
5574 if __nvmlDeviceGetRetiredPages == NULL: 2B pb
5575 with gil:
5576 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages is not found")
5577 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages)( 2B pb
5578 device, cause, pageCount, addresses)
5581cdef nvmlReturn_t _nvmlDeviceGetRetiredPages_v2(nvmlDevice_t device, nvmlPageRetirementCause_t cause, unsigned int* pageCount, unsigned long long* addresses, unsigned long long* timestamps) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5582 global __nvmlDeviceGetRetiredPages_v2
5583 _check_or_init_nvml()
5584 if __nvmlDeviceGetRetiredPages_v2 == NULL:
5585 with gil:
5586 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages_v2 is not found")
5587 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages_v2)(
5588 device, cause, pageCount, addresses, timestamps)
5591cdef nvmlReturn_t _nvmlDeviceGetRetiredPagesPendingStatus(nvmlDevice_t device, nvmlEnableState_t* isPending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5592 global __nvmlDeviceGetRetiredPagesPendingStatus
5593 _check_or_init_nvml() 1B
5594 if __nvmlDeviceGetRetiredPagesPendingStatus == NULL: 1B
5595 with gil:
5596 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPagesPendingStatus is not found")
5597 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetRetiredPagesPendingStatus)( 1B
5598 device, isPending)
5601cdef nvmlReturn_t _nvmlDeviceGetRemappedRows(nvmlDevice_t device, unsigned int* corrRows, unsigned int* uncRows, unsigned int* isPending, unsigned int* failureOccurred) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5602 global __nvmlDeviceGetRemappedRows
5603 _check_or_init_nvml()
5604 if __nvmlDeviceGetRemappedRows == NULL:
5605 with gil:
5606 raise FunctionNotFoundError("function nvmlDeviceGetRemappedRows is not found")
5607 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetRemappedRows)(
5608 device, corrRows, uncRows, isPending, failureOccurred)
5611cdef nvmlReturn_t _nvmlDeviceGetRowRemapperHistogram(nvmlDevice_t device, nvmlRowRemapperHistogramValues_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5612 global __nvmlDeviceGetRowRemapperHistogram
5613 _check_or_init_nvml()
5614 if __nvmlDeviceGetRowRemapperHistogram == NULL:
5615 with gil:
5616 raise FunctionNotFoundError("function nvmlDeviceGetRowRemapperHistogram is not found")
5617 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRowRemapperHistogramValues_t*) noexcept nogil>__nvmlDeviceGetRowRemapperHistogram)(
5618 device, values)
5621cdef nvmlReturn_t _nvmlDeviceGetArchitecture(nvmlDevice_t device, nvmlDeviceArchitecture_t* arch) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5622 global __nvmlDeviceGetArchitecture
5623 _check_or_init_nvml() 2# obMbw x y Ib~ Z 9 z 0 1 g nbycb m n pcqcrcscOb3 4 5 6 7 8 JbKbPbLb% U o p V c q vbr ' ( ) d * AbX Cbe s , t u v . j :
5624 if __nvmlDeviceGetArchitecture == NULL: 2# obMbw x y Ib~ Z 9 z 0 1 g nbycb m n pcqcrcscOb3 4 5 6 7 8 JbKbPbLb% U o p V c q vbr ' ( ) d * AbX Cbe s , t u v . j :
5625 with gil:
5626 raise FunctionNotFoundError("function nvmlDeviceGetArchitecture is not found")
5627 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceArchitecture_t*) noexcept nogil>__nvmlDeviceGetArchitecture)( 2# obMbw x y Ib~ Z 9 z 0 1 g nbycb m n pcqcrcscOb3 4 5 6 7 8 JbKbPbLb% U o p V c q vbr ' ( ) d * AbX Cbe s , t u v . j :
5628 device, arch)
5631cdef nvmlReturn_t _nvmlDeviceGetClkMonStatus(nvmlDevice_t device, nvmlClkMonStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5632 global __nvmlDeviceGetClkMonStatus
5633 _check_or_init_nvml()
5634 if __nvmlDeviceGetClkMonStatus == NULL:
5635 with gil:
5636 raise FunctionNotFoundError("function nvmlDeviceGetClkMonStatus is not found")
5637 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClkMonStatus_t*) noexcept nogil>__nvmlDeviceGetClkMonStatus)(
5638 device, status)
5641cdef nvmlReturn_t _nvmlDeviceGetProcessUtilization(nvmlDevice_t device, nvmlProcessUtilizationSample_t* utilization, unsigned int* processSamplesCount, unsigned long long lastSeenTimeStamp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5642 global __nvmlDeviceGetProcessUtilization
5643 _check_or_init_nvml()
5644 if __nvmlDeviceGetProcessUtilization == NULL:
5645 with gil:
5646 raise FunctionNotFoundError("function nvmlDeviceGetProcessUtilization is not found")
5647 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessUtilizationSample_t*, unsigned int*, unsigned long long) noexcept nogil>__nvmlDeviceGetProcessUtilization)(
5648 device, utilization, processSamplesCount, lastSeenTimeStamp)
5651cdef nvmlReturn_t _nvmlDeviceGetProcessesUtilizationInfo(nvmlDevice_t device, nvmlProcessesUtilizationInfo_t* procesesUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5652 global __nvmlDeviceGetProcessesUtilizationInfo
5653 _check_or_init_nvml()
5654 if __nvmlDeviceGetProcessesUtilizationInfo == NULL:
5655 with gil:
5656 raise FunctionNotFoundError("function nvmlDeviceGetProcessesUtilizationInfo is not found")
5657 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetProcessesUtilizationInfo)(
5658 device, procesesUtilInfo)
5661cdef nvmlReturn_t _nvmlDeviceGetPlatformInfo(nvmlDevice_t device, nvmlPlatformInfo_t* platformInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5662 global __nvmlDeviceGetPlatformInfo
5663 _check_or_init_nvml() 2nb
5664 if __nvmlDeviceGetPlatformInfo == NULL: 2nb
5665 with gil:
5666 raise FunctionNotFoundError("function nvmlDeviceGetPlatformInfo is not found")
5667 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPlatformInfo_t*) noexcept nogil>__nvmlDeviceGetPlatformInfo)( 2nb
5668 device, platformInfo)
5671cdef nvmlReturn_t _nvmlUnitSetLedState(nvmlUnit_t unit, nvmlLedColor_t color) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5672 global __nvmlUnitSetLedState
5673 _check_or_init_nvml()
5674 if __nvmlUnitSetLedState == NULL:
5675 with gil:
5676 raise FunctionNotFoundError("function nvmlUnitSetLedState is not found")
5677 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlLedColor_t) noexcept nogil>__nvmlUnitSetLedState)(
5678 unit, color)
5681cdef nvmlReturn_t _nvmlDeviceSetPersistenceMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5682 global __nvmlDeviceSetPersistenceMode
5683 _check_or_init_nvml() 1-
5684 if __nvmlDeviceSetPersistenceMode == NULL: 1-
5685 with gil:
5686 raise FunctionNotFoundError("function nvmlDeviceSetPersistenceMode is not found")
5687 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetPersistenceMode)( 1-
5688 device, mode)
5691cdef nvmlReturn_t _nvmlDeviceSetComputeMode(nvmlDevice_t device, nvmlComputeMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5692 global __nvmlDeviceSetComputeMode
5693 _check_or_init_nvml() 1#
5694 if __nvmlDeviceSetComputeMode == NULL: 1#
5695 with gil:
5696 raise FunctionNotFoundError("function nvmlDeviceSetComputeMode is not found")
5697 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t) noexcept nogil>__nvmlDeviceSetComputeMode)( 1#
5698 device, mode)
5701cdef nvmlReturn_t _nvmlDeviceSetEccMode(nvmlDevice_t device, nvmlEnableState_t ecc) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5702 global __nvmlDeviceSetEccMode
5703 _check_or_init_nvml()
5704 if __nvmlDeviceSetEccMode == NULL:
5705 with gil:
5706 raise FunctionNotFoundError("function nvmlDeviceSetEccMode is not found")
5707 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetEccMode)(
5708 device, ecc)
5711cdef nvmlReturn_t _nvmlDeviceClearEccErrorCounts(nvmlDevice_t device, nvmlEccCounterType_t counterType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5712 global __nvmlDeviceClearEccErrorCounts
5713 _check_or_init_nvml()
5714 if __nvmlDeviceClearEccErrorCounts == NULL:
5715 with gil:
5716 raise FunctionNotFoundError("function nvmlDeviceClearEccErrorCounts is not found")
5717 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccCounterType_t) noexcept nogil>__nvmlDeviceClearEccErrorCounts)(
5718 device, counterType)
5721cdef nvmlReturn_t _nvmlDeviceSetDriverModel(nvmlDevice_t device, nvmlDriverModel_t driverModel, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5722 global __nvmlDeviceSetDriverModel
5723 _check_or_init_nvml()
5724 if __nvmlDeviceSetDriverModel == NULL:
5725 with gil:
5726 raise FunctionNotFoundError("function nvmlDeviceSetDriverModel is not found")
5727 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDriverModel_t, unsigned int) noexcept nogil>__nvmlDeviceSetDriverModel)(
5728 device, driverModel, flags)
5731cdef nvmlReturn_t _nvmlDeviceSetGpuLockedClocks(nvmlDevice_t device, unsigned int minGpuClockMHz, unsigned int maxGpuClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5732 global __nvmlDeviceSetGpuLockedClocks
5733 _check_or_init_nvml()
5734 if __nvmlDeviceSetGpuLockedClocks == NULL:
5735 with gil:
5736 raise FunctionNotFoundError("function nvmlDeviceSetGpuLockedClocks is not found")
5737 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetGpuLockedClocks)(
5738 device, minGpuClockMHz, maxGpuClockMHz)
5741cdef nvmlReturn_t _nvmlDeviceResetGpuLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5742 global __nvmlDeviceResetGpuLockedClocks
5743 _check_or_init_nvml()
5744 if __nvmlDeviceResetGpuLockedClocks == NULL:
5745 with gil:
5746 raise FunctionNotFoundError("function nvmlDeviceResetGpuLockedClocks is not found")
5747 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetGpuLockedClocks)(
5748 device)
5751cdef nvmlReturn_t _nvmlDeviceSetMemoryLockedClocks(nvmlDevice_t device, unsigned int minMemClockMHz, unsigned int maxMemClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5752 global __nvmlDeviceSetMemoryLockedClocks
5753 _check_or_init_nvml()
5754 if __nvmlDeviceSetMemoryLockedClocks == NULL:
5755 with gil:
5756 raise FunctionNotFoundError("function nvmlDeviceSetMemoryLockedClocks is not found")
5757 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetMemoryLockedClocks)(
5758 device, minMemClockMHz, maxMemClockMHz)
5761cdef nvmlReturn_t _nvmlDeviceResetMemoryLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5762 global __nvmlDeviceResetMemoryLockedClocks
5763 _check_or_init_nvml()
5764 if __nvmlDeviceResetMemoryLockedClocks == NULL:
5765 with gil:
5766 raise FunctionNotFoundError("function nvmlDeviceResetMemoryLockedClocks is not found")
5767 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetMemoryLockedClocks)(
5768 device)
5771cdef nvmlReturn_t _nvmlDeviceSetAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5772 global __nvmlDeviceSetAutoBoostedClocksEnabled
5773 _check_or_init_nvml()
5774 if __nvmlDeviceSetAutoBoostedClocksEnabled == NULL:
5775 with gil:
5776 raise FunctionNotFoundError("function nvmlDeviceSetAutoBoostedClocksEnabled is not found")
5777 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAutoBoostedClocksEnabled)(
5778 device, enabled)
5781cdef nvmlReturn_t _nvmlDeviceSetDefaultAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5782 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled
5783 _check_or_init_nvml()
5784 if __nvmlDeviceSetDefaultAutoBoostedClocksEnabled == NULL:
5785 with gil:
5786 raise FunctionNotFoundError("function nvmlDeviceSetDefaultAutoBoostedClocksEnabled is not found")
5787 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultAutoBoostedClocksEnabled)(
5788 device, enabled, flags)
5791cdef nvmlReturn_t _nvmlDeviceSetDefaultFanSpeed_v2(nvmlDevice_t device, unsigned int fan) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5792 global __nvmlDeviceSetDefaultFanSpeed_v2
5793 _check_or_init_nvml()
5794 if __nvmlDeviceSetDefaultFanSpeed_v2 == NULL:
5795 with gil:
5796 raise FunctionNotFoundError("function nvmlDeviceSetDefaultFanSpeed_v2 is not found")
5797 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultFanSpeed_v2)(
5798 device, fan)
5801cdef nvmlReturn_t _nvmlDeviceSetFanControlPolicy(nvmlDevice_t device, unsigned int fan, nvmlFanControlPolicy_t policy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5802 global __nvmlDeviceSetFanControlPolicy
5803 _check_or_init_nvml()
5804 if __nvmlDeviceSetFanControlPolicy == NULL:
5805 with gil:
5806 raise FunctionNotFoundError("function nvmlDeviceSetFanControlPolicy is not found")
5807 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlFanControlPolicy_t) noexcept nogil>__nvmlDeviceSetFanControlPolicy)(
5808 device, fan, policy)
5811cdef nvmlReturn_t _nvmlDeviceSetTemperatureThreshold(nvmlDevice_t device, nvmlTemperatureThresholds_t thresholdType, int* temp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5812 global __nvmlDeviceSetTemperatureThreshold
5813 _check_or_init_nvml()
5814 if __nvmlDeviceSetTemperatureThreshold == NULL:
5815 with gil:
5816 raise FunctionNotFoundError("function nvmlDeviceSetTemperatureThreshold is not found")
5817 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperatureThresholds_t, int*) noexcept nogil>__nvmlDeviceSetTemperatureThreshold)(
5818 device, thresholdType, temp)
5821cdef nvmlReturn_t _nvmlDeviceSetGpuOperationMode(nvmlDevice_t device, nvmlGpuOperationMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5822 global __nvmlDeviceSetGpuOperationMode
5823 _check_or_init_nvml()
5824 if __nvmlDeviceSetGpuOperationMode == NULL:
5825 with gil:
5826 raise FunctionNotFoundError("function nvmlDeviceSetGpuOperationMode is not found")
5827 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuOperationMode_t) noexcept nogil>__nvmlDeviceSetGpuOperationMode)(
5828 device, mode)
5831cdef nvmlReturn_t _nvmlDeviceSetAPIRestriction(nvmlDevice_t device, nvmlRestrictedAPI_t apiType, nvmlEnableState_t isRestricted) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5832 global __nvmlDeviceSetAPIRestriction
5833 _check_or_init_nvml()
5834 if __nvmlDeviceSetAPIRestriction == NULL:
5835 with gil:
5836 raise FunctionNotFoundError("function nvmlDeviceSetAPIRestriction is not found")
5837 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAPIRestriction)(
5838 device, apiType, isRestricted)
5841cdef nvmlReturn_t _nvmlDeviceSetFanSpeed_v2(nvmlDevice_t device, unsigned int fan, unsigned int speed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5842 global __nvmlDeviceSetFanSpeed_v2
5843 _check_or_init_nvml()
5844 if __nvmlDeviceSetFanSpeed_v2 == NULL:
5845 with gil:
5846 raise FunctionNotFoundError("function nvmlDeviceSetFanSpeed_v2 is not found")
5847 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetFanSpeed_v2)(
5848 device, fan, speed)
5851cdef nvmlReturn_t _nvmlDeviceSetAccountingMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5852 global __nvmlDeviceSetAccountingMode
5853 _check_or_init_nvml()
5854 if __nvmlDeviceSetAccountingMode == NULL:
5855 with gil:
5856 raise FunctionNotFoundError("function nvmlDeviceSetAccountingMode is not found")
5857 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAccountingMode)(
5858 device, mode)
5861cdef nvmlReturn_t _nvmlDeviceClearAccountingPids(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5862 global __nvmlDeviceClearAccountingPids
5863 _check_or_init_nvml()
5864 if __nvmlDeviceClearAccountingPids == NULL:
5865 with gil:
5866 raise FunctionNotFoundError("function nvmlDeviceClearAccountingPids is not found")
5867 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceClearAccountingPids)(
5868 device)
5871cdef nvmlReturn_t _nvmlDeviceSetPowerManagementLimit_v2(nvmlDevice_t device, nvmlPowerValue_v2_t* powerValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5872 global __nvmlDeviceSetPowerManagementLimit_v2
5873 _check_or_init_nvml() 19
5874 if __nvmlDeviceSetPowerManagementLimit_v2 == NULL: 19
5875 with gil:
5876 raise FunctionNotFoundError("function nvmlDeviceSetPowerManagementLimit_v2 is not found")
5877 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerValue_v2_t*) noexcept nogil>__nvmlDeviceSetPowerManagementLimit_v2)( 19
5878 device, powerValue)
5881cdef nvmlReturn_t _nvmlDeviceGetNvLinkState(nvmlDevice_t device, unsigned int link, nvmlEnableState_t* isActive) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5882 global __nvmlDeviceGetNvLinkState
5883 _check_or_init_nvml()
5884 if __nvmlDeviceGetNvLinkState == NULL:
5885 with gil:
5886 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkState is not found")
5887 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetNvLinkState)(
5888 device, link, isActive)
5891cdef nvmlReturn_t _nvmlDeviceGetNvLinkVersion(nvmlDevice_t device, unsigned int link, unsigned int* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5892 global __nvmlDeviceGetNvLinkVersion
5893 _check_or_init_nvml()
5894 if __nvmlDeviceGetNvLinkVersion == NULL:
5895 with gil:
5896 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkVersion is not found")
5897 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkVersion)(
5898 device, link, version)
5901cdef nvmlReturn_t _nvmlDeviceGetNvLinkCapability(nvmlDevice_t device, unsigned int link, nvmlNvLinkCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5902 global __nvmlDeviceGetNvLinkCapability
5903 _check_or_init_nvml() 1345678
5904 if __nvmlDeviceGetNvLinkCapability == NULL: 1345678
5905 with gil:
5906 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkCapability is not found")
5907 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkCapability)( 1345678
5908 device, link, capability, capResult)
5911cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemotePciInfo_v2(nvmlDevice_t device, unsigned int link, nvmlPciInfo_t* pci) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5912 global __nvmlDeviceGetNvLinkRemotePciInfo_v2
5913 _check_or_init_nvml()
5914 if __nvmlDeviceGetNvLinkRemotePciInfo_v2 == NULL:
5915 with gil:
5916 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemotePciInfo_v2 is not found")
5917 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemotePciInfo_v2)(
5918 device, link, pci)
5921cdef nvmlReturn_t _nvmlDeviceGetNvLinkErrorCounter(nvmlDevice_t device, unsigned int link, nvmlNvLinkErrorCounter_t counter, unsigned long long* counterValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5922 global __nvmlDeviceGetNvLinkErrorCounter
5923 _check_or_init_nvml()
5924 if __nvmlDeviceGetNvLinkErrorCounter == NULL:
5925 with gil:
5926 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkErrorCounter is not found")
5927 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkErrorCounter_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetNvLinkErrorCounter)(
5928 device, link, counter, counterValue)
5931cdef nvmlReturn_t _nvmlDeviceResetNvLinkErrorCounters(nvmlDevice_t device, unsigned int link) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5932 global __nvmlDeviceResetNvLinkErrorCounters
5933 _check_or_init_nvml()
5934 if __nvmlDeviceResetNvLinkErrorCounters == NULL:
5935 with gil:
5936 raise FunctionNotFoundError("function nvmlDeviceResetNvLinkErrorCounters is not found")
5937 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceResetNvLinkErrorCounters)(
5938 device, link)
5941cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemoteDeviceType(nvmlDevice_t device, unsigned int link, nvmlIntNvLinkDeviceType_t* pNvLinkDeviceType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5942 global __nvmlDeviceGetNvLinkRemoteDeviceType
5943 _check_or_init_nvml()
5944 if __nvmlDeviceGetNvLinkRemoteDeviceType == NULL:
5945 with gil:
5946 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemoteDeviceType is not found")
5947 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlIntNvLinkDeviceType_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemoteDeviceType)(
5948 device, link, pNvLinkDeviceType)
5951cdef nvmlReturn_t _nvmlDeviceSetNvLinkDeviceLowPowerThreshold(nvmlDevice_t device, nvmlNvLinkPowerThres_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5952 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold
5953 _check_or_init_nvml()
5954 if __nvmlDeviceSetNvLinkDeviceLowPowerThreshold == NULL:
5955 with gil:
5956 raise FunctionNotFoundError("function nvmlDeviceSetNvLinkDeviceLowPowerThreshold is not found")
5957 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkPowerThres_t*) noexcept nogil>__nvmlDeviceSetNvLinkDeviceLowPowerThreshold)(
5958 device, info)
5961cdef nvmlReturn_t _nvmlSystemSetNvlinkBwMode(unsigned int nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5962 global __nvmlSystemSetNvlinkBwMode
5963 _check_or_init_nvml()
5964 if __nvmlSystemSetNvlinkBwMode == NULL:
5965 with gil:
5966 raise FunctionNotFoundError("function nvmlSystemSetNvlinkBwMode is not found")
5967 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetNvlinkBwMode)(
5968 nvlinkBwMode)
5971cdef nvmlReturn_t _nvmlSystemGetNvlinkBwMode(unsigned int* nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5972 global __nvmlSystemGetNvlinkBwMode
5973 _check_or_init_nvml()
5974 if __nvmlSystemGetNvlinkBwMode == NULL:
5975 with gil:
5976 raise FunctionNotFoundError("function nvmlSystemGetNvlinkBwMode is not found")
5977 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetNvlinkBwMode)(
5978 nvlinkBwMode)
5981cdef nvmlReturn_t _nvmlDeviceGetNvlinkSupportedBwModes(nvmlDevice_t device, nvmlNvlinkSupportedBwModes_t* supportedBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5982 global __nvmlDeviceGetNvlinkSupportedBwModes
5983 _check_or_init_nvml() 1y
5984 if __nvmlDeviceGetNvlinkSupportedBwModes == NULL: 1y
5985 with gil:
5986 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkSupportedBwModes is not found")
5987 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSupportedBwModes_t*) noexcept nogil>__nvmlDeviceGetNvlinkSupportedBwModes)( 1y
5988 device, supportedBwMode)
5991cdef nvmlReturn_t _nvmlDeviceGetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkGetBwMode_t* getBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
5992 global __nvmlDeviceGetNvlinkBwMode
5993 _check_or_init_nvml()
5994 if __nvmlDeviceGetNvlinkBwMode == NULL:
5995 with gil:
5996 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkBwMode is not found")
5997 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkGetBwMode_t*) noexcept nogil>__nvmlDeviceGetNvlinkBwMode)(
5998 device, getBwMode)
6001cdef nvmlReturn_t _nvmlDeviceSetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkSetBwMode_t* setBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6002 global __nvmlDeviceSetNvlinkBwMode
6003 _check_or_init_nvml()
6004 if __nvmlDeviceSetNvlinkBwMode == NULL:
6005 with gil:
6006 raise FunctionNotFoundError("function nvmlDeviceSetNvlinkBwMode is not found")
6007 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSetBwMode_t*) noexcept nogil>__nvmlDeviceSetNvlinkBwMode)(
6008 device, setBwMode)
6011cdef nvmlReturn_t _nvmlEventSetCreate(nvmlEventSet_t* set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6012 global __nvmlEventSetCreate
6013 _check_or_init_nvml() 1h
6014 if __nvmlEventSetCreate == NULL: 1h
6015 with gil:
6016 raise FunctionNotFoundError("function nvmlEventSetCreate is not found")
6017 return (<nvmlReturn_t (*)(nvmlEventSet_t*) noexcept nogil>__nvmlEventSetCreate)( 1h
6018 set)
6021cdef nvmlReturn_t _nvmlDeviceRegisterEvents(nvmlDevice_t device, unsigned long long eventTypes, nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6022 global __nvmlDeviceRegisterEvents
6023 _check_or_init_nvml() 1h
6024 if __nvmlDeviceRegisterEvents == NULL: 1h
6025 with gil:
6026 raise FunctionNotFoundError("function nvmlDeviceRegisterEvents is not found")
6027 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlEventSet_t) noexcept nogil>__nvmlDeviceRegisterEvents)( 1h
6028 device, eventTypes, set)
6031cdef nvmlReturn_t _nvmlDeviceGetSupportedEventTypes(nvmlDevice_t device, unsigned long long* eventTypes) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6032 global __nvmlDeviceGetSupportedEventTypes
6033 _check_or_init_nvml() 1h
6034 if __nvmlDeviceGetSupportedEventTypes == NULL: 1h
6035 with gil:
6036 raise FunctionNotFoundError("function nvmlDeviceGetSupportedEventTypes is not found")
6037 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedEventTypes)( 1h
6038 device, eventTypes)
6041cdef nvmlReturn_t _nvmlEventSetWait_v2(nvmlEventSet_t set, nvmlEventData_t* data, unsigned int timeoutms) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6042 global __nvmlEventSetWait_v2
6043 _check_or_init_nvml() 1h
6044 if __nvmlEventSetWait_v2 == NULL: 1h
6045 with gil:
6046 raise FunctionNotFoundError("function nvmlEventSetWait_v2 is not found")
6047 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventData_t*, unsigned int) noexcept nogil>__nvmlEventSetWait_v2)( 1h
6048 set, data, timeoutms)
6051cdef nvmlReturn_t _nvmlEventSetFree(nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6052 global __nvmlEventSetFree
6053 _check_or_init_nvml() 1h
6054 if __nvmlEventSetFree == NULL: 1h
6055 with gil:
6056 raise FunctionNotFoundError("function nvmlEventSetFree is not found")
6057 return (<nvmlReturn_t (*)(nvmlEventSet_t) noexcept nogil>__nvmlEventSetFree)( 1h
6058 set)
6061cdef nvmlReturn_t _nvmlSystemEventSetCreate(nvmlSystemEventSetCreateRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6062 global __nvmlSystemEventSetCreate
6063 _check_or_init_nvml() 1Y
6064 if __nvmlSystemEventSetCreate == NULL: 1Y
6065 with gil:
6066 raise FunctionNotFoundError("function nvmlSystemEventSetCreate is not found")
6067 return (<nvmlReturn_t (*)(nvmlSystemEventSetCreateRequest_t*) noexcept nogil>__nvmlSystemEventSetCreate)( 1Y
6068 request)
6071cdef nvmlReturn_t _nvmlSystemEventSetFree(nvmlSystemEventSetFreeRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6072 global __nvmlSystemEventSetFree
6073 _check_or_init_nvml() 1Y
6074 if __nvmlSystemEventSetFree == NULL: 1Y
6075 with gil:
6076 raise FunctionNotFoundError("function nvmlSystemEventSetFree is not found")
6077 return (<nvmlReturn_t (*)(nvmlSystemEventSetFreeRequest_t*) noexcept nogil>__nvmlSystemEventSetFree)( 1Y
6078 request)
6081cdef nvmlReturn_t _nvmlSystemRegisterEvents(nvmlSystemRegisterEventRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6082 global __nvmlSystemRegisterEvents
6083 _check_or_init_nvml() 1Y
6084 if __nvmlSystemRegisterEvents == NULL: 1Y
6085 with gil:
6086 raise FunctionNotFoundError("function nvmlSystemRegisterEvents is not found")
6087 return (<nvmlReturn_t (*)(nvmlSystemRegisterEventRequest_t*) noexcept nogil>__nvmlSystemRegisterEvents)( 1Y
6088 request)
6091cdef nvmlReturn_t _nvmlSystemEventSetWait(nvmlSystemEventSetWaitRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6092 global __nvmlSystemEventSetWait
6093 _check_or_init_nvml() 1Y
6094 if __nvmlSystemEventSetWait == NULL: 1Y
6095 with gil:
6096 raise FunctionNotFoundError("function nvmlSystemEventSetWait is not found")
6097 return (<nvmlReturn_t (*)(nvmlSystemEventSetWaitRequest_t*) noexcept nogil>__nvmlSystemEventSetWait)( 1Y
6098 request)
6101cdef nvmlReturn_t _nvmlDeviceModifyDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t newState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6102 global __nvmlDeviceModifyDrainState
6103 _check_or_init_nvml()
6104 if __nvmlDeviceModifyDrainState == NULL:
6105 with gil:
6106 raise FunctionNotFoundError("function nvmlDeviceModifyDrainState is not found")
6107 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t) noexcept nogil>__nvmlDeviceModifyDrainState)(
6108 pciInfo, newState)
6111cdef nvmlReturn_t _nvmlDeviceQueryDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t* currentState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6112 global __nvmlDeviceQueryDrainState
6113 _check_or_init_nvml()
6114 if __nvmlDeviceQueryDrainState == NULL:
6115 with gil:
6116 raise FunctionNotFoundError("function nvmlDeviceQueryDrainState is not found")
6117 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceQueryDrainState)(
6118 pciInfo, currentState)
6121cdef nvmlReturn_t _nvmlDeviceRemoveGpu_v2(nvmlPciInfo_t* pciInfo, nvmlDetachGpuState_t gpuState, nvmlPcieLinkState_t linkState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6122 global __nvmlDeviceRemoveGpu_v2
6123 _check_or_init_nvml()
6124 if __nvmlDeviceRemoveGpu_v2 == NULL:
6125 with gil:
6126 raise FunctionNotFoundError("function nvmlDeviceRemoveGpu_v2 is not found")
6127 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlDetachGpuState_t, nvmlPcieLinkState_t) noexcept nogil>__nvmlDeviceRemoveGpu_v2)(
6128 pciInfo, gpuState, linkState)
6131cdef nvmlReturn_t _nvmlDeviceDiscoverGpus(nvmlPciInfo_t* pciInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6132 global __nvmlDeviceDiscoverGpus
6133 _check_or_init_nvml() 1n
6134 if __nvmlDeviceDiscoverGpus == NULL: 1n
6135 with gil:
6136 raise FunctionNotFoundError("function nvmlDeviceDiscoverGpus is not found")
6137 return (<nvmlReturn_t (*)(nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceDiscoverGpus)( 1n
6138 pciInfo)
6141cdef nvmlReturn_t _nvmlDeviceGetFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6142 global __nvmlDeviceGetFieldValues
6143 _check_or_init_nvml() 2zcX u
6144 if __nvmlDeviceGetFieldValues == NULL: 2zcX u
6145 with gil:
6146 raise FunctionNotFoundError("function nvmlDeviceGetFieldValues is not found")
6147 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceGetFieldValues)( 2zcX u
6148 device, valuesCount, values)
6151cdef nvmlReturn_t _nvmlDeviceClearFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6152 global __nvmlDeviceClearFieldValues
6153 _check_or_init_nvml() 1X
6154 if __nvmlDeviceClearFieldValues == NULL: 1X
6155 with gil:
6156 raise FunctionNotFoundError("function nvmlDeviceClearFieldValues is not found")
6157 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceClearFieldValues)( 1X
6158 device, valuesCount, values)
6161cdef nvmlReturn_t _nvmlDeviceGetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t* pVirtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6162 global __nvmlDeviceGetVirtualizationMode
6163 _check_or_init_nvml() 2g nb
6164 if __nvmlDeviceGetVirtualizationMode == NULL: 2g nb
6165 with gil:
6166 raise FunctionNotFoundError("function nvmlDeviceGetVirtualizationMode is not found")
6167 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t*) noexcept nogil>__nvmlDeviceGetVirtualizationMode)( 2g nb
6168 device, pVirtualMode)
6171cdef nvmlReturn_t _nvmlDeviceGetHostVgpuMode(nvmlDevice_t device, nvmlHostVgpuMode_t* pHostVgpuMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6172 global __nvmlDeviceGetHostVgpuMode
6173 _check_or_init_nvml()
6174 if __nvmlDeviceGetHostVgpuMode == NULL:
6175 with gil:
6176 raise FunctionNotFoundError("function nvmlDeviceGetHostVgpuMode is not found")
6177 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostVgpuMode_t*) noexcept nogil>__nvmlDeviceGetHostVgpuMode)(
6178 device, pHostVgpuMode)
6181cdef nvmlReturn_t _nvmlDeviceSetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t virtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6182 global __nvmlDeviceSetVirtualizationMode
6183 _check_or_init_nvml()
6184 if __nvmlDeviceSetVirtualizationMode == NULL:
6185 with gil:
6186 raise FunctionNotFoundError("function nvmlDeviceSetVirtualizationMode is not found")
6187 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t) noexcept nogil>__nvmlDeviceSetVirtualizationMode)(
6188 device, virtualMode)
6191cdef nvmlReturn_t _nvmlDeviceGetVgpuHeterogeneousMode(nvmlDevice_t device, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6192 global __nvmlDeviceGetVgpuHeterogeneousMode
6193 _check_or_init_nvml() 1x
6194 if __nvmlDeviceGetVgpuHeterogeneousMode == NULL: 1x
6195 with gil:
6196 raise FunctionNotFoundError("function nvmlDeviceGetVgpuHeterogeneousMode is not found")
6197 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceGetVgpuHeterogeneousMode)( 1x
6198 device, pHeterogeneousMode)
6201cdef nvmlReturn_t _nvmlDeviceSetVgpuHeterogeneousMode(nvmlDevice_t device, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6202 global __nvmlDeviceSetVgpuHeterogeneousMode
6203 _check_or_init_nvml()
6204 if __nvmlDeviceSetVgpuHeterogeneousMode == NULL:
6205 with gil:
6206 raise FunctionNotFoundError("function nvmlDeviceSetVgpuHeterogeneousMode is not found")
6207 return (<nvmlReturn_t (*)(nvmlDevice_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceSetVgpuHeterogeneousMode)(
6208 device, pHeterogeneousMode)
6211cdef nvmlReturn_t _nvmlVgpuInstanceGetPlacementId(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuPlacementId_t* pPlacement) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6212 global __nvmlVgpuInstanceGetPlacementId
6213 _check_or_init_nvml()
6214 if __nvmlVgpuInstanceGetPlacementId == NULL:
6215 with gil:
6216 raise FunctionNotFoundError("function nvmlVgpuInstanceGetPlacementId is not found")
6217 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuPlacementId_t*) noexcept nogil>__nvmlVgpuInstanceGetPlacementId)(
6218 vgpuInstance, pPlacement)
6221cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeSupportedPlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6222 global __nvmlDeviceGetVgpuTypeSupportedPlacements
6223 _check_or_init_nvml()
6224 if __nvmlDeviceGetVgpuTypeSupportedPlacements == NULL:
6225 with gil:
6226 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeSupportedPlacements is not found")
6227 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeSupportedPlacements)(
6228 device, vgpuTypeId, pPlacementList)
6231cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeCreatablePlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6232 global __nvmlDeviceGetVgpuTypeCreatablePlacements
6233 _check_or_init_nvml()
6234 if __nvmlDeviceGetVgpuTypeCreatablePlacements == NULL:
6235 with gil:
6236 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeCreatablePlacements is not found")
6237 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeCreatablePlacements)(
6238 device, vgpuTypeId, pPlacementList)
6241cdef nvmlReturn_t _nvmlVgpuTypeGetGspHeapSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* gspHeapSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6242 global __nvmlVgpuTypeGetGspHeapSize
6243 _check_or_init_nvml()
6244 if __nvmlVgpuTypeGetGspHeapSize == NULL:
6245 with gil:
6246 raise FunctionNotFoundError("function nvmlVgpuTypeGetGspHeapSize is not found")
6247 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetGspHeapSize)(
6248 vgpuTypeId, gspHeapSize)
6251cdef nvmlReturn_t _nvmlVgpuTypeGetFbReservation(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbReservation) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6252 global __nvmlVgpuTypeGetFbReservation
6253 _check_or_init_nvml()
6254 if __nvmlVgpuTypeGetFbReservation == NULL:
6255 with gil:
6256 raise FunctionNotFoundError("function nvmlVgpuTypeGetFbReservation is not found")
6257 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFbReservation)(
6258 vgpuTypeId, fbReservation)
6261cdef nvmlReturn_t _nvmlVgpuInstanceGetRuntimeStateSize(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuRuntimeState_t* pState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6262 global __nvmlVgpuInstanceGetRuntimeStateSize
6263 _check_or_init_nvml()
6264 if __nvmlVgpuInstanceGetRuntimeStateSize == NULL:
6265 with gil:
6266 raise FunctionNotFoundError("function nvmlVgpuInstanceGetRuntimeStateSize is not found")
6267 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuRuntimeState_t*) noexcept nogil>__nvmlVgpuInstanceGetRuntimeStateSize)(
6268 vgpuInstance, pState)
6271cdef nvmlReturn_t _nvmlDeviceSetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, nvmlEnableState_t state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6272 global __nvmlDeviceSetVgpuCapabilities
6273 _check_or_init_nvml()
6274 if __nvmlDeviceSetVgpuCapabilities == NULL:
6275 with gil:
6276 raise FunctionNotFoundError("function nvmlDeviceSetVgpuCapabilities is not found")
6277 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetVgpuCapabilities)(
6278 device, capability, state)
6281cdef nvmlReturn_t _nvmlDeviceGetGridLicensableFeatures_v4(nvmlDevice_t device, nvmlGridLicensableFeatures_t* pGridLicensableFeatures) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6282 global __nvmlDeviceGetGridLicensableFeatures_v4
6283 _check_or_init_nvml() 2xc
6284 if __nvmlDeviceGetGridLicensableFeatures_v4 == NULL: 2xc
6285 with gil:
6286 raise FunctionNotFoundError("function nvmlDeviceGetGridLicensableFeatures_v4 is not found")
6287 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGridLicensableFeatures_t*) noexcept nogil>__nvmlDeviceGetGridLicensableFeatures_v4)( 2xc
6288 device, pGridLicensableFeatures)
6291cdef nvmlReturn_t _nvmlGetVgpuDriverCapabilities(nvmlVgpuDriverCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6292 global __nvmlGetVgpuDriverCapabilities
6293 _check_or_init_nvml()
6294 if __nvmlGetVgpuDriverCapabilities == NULL:
6295 with gil:
6296 raise FunctionNotFoundError("function nvmlGetVgpuDriverCapabilities is not found")
6297 return (<nvmlReturn_t (*)(nvmlVgpuDriverCapability_t, unsigned int*) noexcept nogil>__nvmlGetVgpuDriverCapabilities)(
6298 capability, capResult)
6301cdef nvmlReturn_t _nvmlDeviceGetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6302 global __nvmlDeviceGetVgpuCapabilities
6303 _check_or_init_nvml()
6304 if __nvmlDeviceGetVgpuCapabilities == NULL:
6305 with gil:
6306 raise FunctionNotFoundError("function nvmlDeviceGetVgpuCapabilities is not found")
6307 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuCapabilities)(
6308 device, capability, capResult)
6311cdef nvmlReturn_t _nvmlDeviceGetSupportedVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6312 global __nvmlDeviceGetSupportedVgpus
6313 _check_or_init_nvml()
6314 if __nvmlDeviceGetSupportedVgpus == NULL:
6315 with gil:
6316 raise FunctionNotFoundError("function nvmlDeviceGetSupportedVgpus is not found")
6317 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetSupportedVgpus)(
6318 device, vgpuCount, vgpuTypeIds)
6321cdef nvmlReturn_t _nvmlDeviceGetCreatableVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6322 global __nvmlDeviceGetCreatableVgpus
6323 _check_or_init_nvml()
6324 if __nvmlDeviceGetCreatableVgpus == NULL:
6325 with gil:
6326 raise FunctionNotFoundError("function nvmlDeviceGetCreatableVgpus is not found")
6327 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetCreatableVgpus)(
6328 device, vgpuCount, vgpuTypeIds)
6331cdef nvmlReturn_t _nvmlVgpuTypeGetClass(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeClass, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6332 global __nvmlVgpuTypeGetClass
6333 _check_or_init_nvml()
6334 if __nvmlVgpuTypeGetClass == NULL:
6335 with gil:
6336 raise FunctionNotFoundError("function nvmlVgpuTypeGetClass is not found")
6337 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetClass)(
6338 vgpuTypeId, vgpuTypeClass, size)
6341cdef nvmlReturn_t _nvmlVgpuTypeGetName(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeName, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6342 global __nvmlVgpuTypeGetName
6343 _check_or_init_nvml()
6344 if __nvmlVgpuTypeGetName == NULL:
6345 with gil:
6346 raise FunctionNotFoundError("function nvmlVgpuTypeGetName is not found")
6347 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetName)(
6348 vgpuTypeId, vgpuTypeName, size)
6351cdef nvmlReturn_t _nvmlVgpuTypeGetGpuInstanceProfileId(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* gpuInstanceProfileId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6352 global __nvmlVgpuTypeGetGpuInstanceProfileId
6353 _check_or_init_nvml()
6354 if __nvmlVgpuTypeGetGpuInstanceProfileId == NULL:
6355 with gil:
6356 raise FunctionNotFoundError("function nvmlVgpuTypeGetGpuInstanceProfileId is not found")
6357 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetGpuInstanceProfileId)(
6358 vgpuTypeId, gpuInstanceProfileId)
6361cdef nvmlReturn_t _nvmlVgpuTypeGetDeviceID(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* deviceID, unsigned long long* subsystemID) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6362 global __nvmlVgpuTypeGetDeviceID
6363 _check_or_init_nvml()
6364 if __nvmlVgpuTypeGetDeviceID == NULL:
6365 with gil:
6366 raise FunctionNotFoundError("function nvmlVgpuTypeGetDeviceID is not found")
6367 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetDeviceID)(
6368 vgpuTypeId, deviceID, subsystemID)
6371cdef nvmlReturn_t _nvmlVgpuTypeGetFramebufferSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6372 global __nvmlVgpuTypeGetFramebufferSize
6373 _check_or_init_nvml()
6374 if __nvmlVgpuTypeGetFramebufferSize == NULL:
6375 with gil:
6376 raise FunctionNotFoundError("function nvmlVgpuTypeGetFramebufferSize is not found")
6377 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFramebufferSize)(
6378 vgpuTypeId, fbSize)
6381cdef nvmlReturn_t _nvmlVgpuTypeGetNumDisplayHeads(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* numDisplayHeads) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6382 global __nvmlVgpuTypeGetNumDisplayHeads
6383 _check_or_init_nvml()
6384 if __nvmlVgpuTypeGetNumDisplayHeads == NULL:
6385 with gil:
6386 raise FunctionNotFoundError("function nvmlVgpuTypeGetNumDisplayHeads is not found")
6387 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetNumDisplayHeads)(
6388 vgpuTypeId, numDisplayHeads)
6391cdef nvmlReturn_t _nvmlVgpuTypeGetResolution(nvmlVgpuTypeId_t vgpuTypeId, unsigned int displayIndex, unsigned int* xdim, unsigned int* ydim) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6392 global __nvmlVgpuTypeGetResolution
6393 _check_or_init_nvml()
6394 if __nvmlVgpuTypeGetResolution == NULL:
6395 with gil:
6396 raise FunctionNotFoundError("function nvmlVgpuTypeGetResolution is not found")
6397 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetResolution)(
6398 vgpuTypeId, displayIndex, xdim, ydim)
6401cdef nvmlReturn_t _nvmlVgpuTypeGetLicense(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeLicenseString, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6402 global __nvmlVgpuTypeGetLicense
6403 _check_or_init_nvml()
6404 if __nvmlVgpuTypeGetLicense == NULL:
6405 with gil:
6406 raise FunctionNotFoundError("function nvmlVgpuTypeGetLicense is not found")
6407 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int) noexcept nogil>__nvmlVgpuTypeGetLicense)(
6408 vgpuTypeId, vgpuTypeLicenseString, size)
6411cdef nvmlReturn_t _nvmlVgpuTypeGetFrameRateLimit(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6412 global __nvmlVgpuTypeGetFrameRateLimit
6413 _check_or_init_nvml()
6414 if __nvmlVgpuTypeGetFrameRateLimit == NULL:
6415 with gil:
6416 raise FunctionNotFoundError("function nvmlVgpuTypeGetFrameRateLimit is not found")
6417 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetFrameRateLimit)(
6418 vgpuTypeId, frameRateLimit)
6421cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstances(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6422 global __nvmlVgpuTypeGetMaxInstances
6423 _check_or_init_nvml()
6424 if __nvmlVgpuTypeGetMaxInstances == NULL:
6425 with gil:
6426 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstances is not found")
6427 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstances)(
6428 device, vgpuTypeId, vgpuInstanceCount)
6431cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerVm(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCountPerVm) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6432 global __nvmlVgpuTypeGetMaxInstancesPerVm
6433 _check_or_init_nvml()
6434 if __nvmlVgpuTypeGetMaxInstancesPerVm == NULL:
6435 with gil:
6436 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerVm is not found")
6437 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerVm)(
6438 vgpuTypeId, vgpuInstanceCountPerVm)
6441cdef nvmlReturn_t _nvmlVgpuTypeGetBAR1Info(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuTypeBar1Info_t* bar1Info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6442 global __nvmlVgpuTypeGetBAR1Info
6443 _check_or_init_nvml()
6444 if __nvmlVgpuTypeGetBAR1Info == NULL:
6445 with gil:
6446 raise FunctionNotFoundError("function nvmlVgpuTypeGetBAR1Info is not found")
6447 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuTypeBar1Info_t*) noexcept nogil>__nvmlVgpuTypeGetBAR1Info)(
6448 vgpuTypeId, bar1Info)
6451cdef nvmlReturn_t _nvmlDeviceGetActiveVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuInstance_t* vgpuInstances) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6452 global __nvmlDeviceGetActiveVgpus
6453 _check_or_init_nvml()
6454 if __nvmlDeviceGetActiveVgpus == NULL:
6455 with gil:
6456 raise FunctionNotFoundError("function nvmlDeviceGetActiveVgpus is not found")
6457 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuInstance_t*) noexcept nogil>__nvmlDeviceGetActiveVgpus)(
6458 device, vgpuCount, vgpuInstances)
6461cdef nvmlReturn_t _nvmlVgpuInstanceGetVmID(nvmlVgpuInstance_t vgpuInstance, char* vmId, unsigned int size, nvmlVgpuVmIdType_t* vmIdType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6462 global __nvmlVgpuInstanceGetVmID
6463 _check_or_init_nvml()
6464 if __nvmlVgpuInstanceGetVmID == NULL:
6465 with gil:
6466 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmID is not found")
6467 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int, nvmlVgpuVmIdType_t*) noexcept nogil>__nvmlVgpuInstanceGetVmID)(
6468 vgpuInstance, vmId, size, vmIdType)
6471cdef nvmlReturn_t _nvmlVgpuInstanceGetUUID(nvmlVgpuInstance_t vgpuInstance, char* uuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6472 global __nvmlVgpuInstanceGetUUID
6473 _check_or_init_nvml()
6474 if __nvmlVgpuInstanceGetUUID == NULL:
6475 with gil:
6476 raise FunctionNotFoundError("function nvmlVgpuInstanceGetUUID is not found")
6477 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetUUID)(
6478 vgpuInstance, uuid, size)
6481cdef nvmlReturn_t _nvmlVgpuInstanceGetVmDriverVersion(nvmlVgpuInstance_t vgpuInstance, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6482 global __nvmlVgpuInstanceGetVmDriverVersion
6483 _check_or_init_nvml()
6484 if __nvmlVgpuInstanceGetVmDriverVersion == NULL:
6485 with gil:
6486 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmDriverVersion is not found")
6487 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetVmDriverVersion)(
6488 vgpuInstance, version, length)
6491cdef nvmlReturn_t _nvmlVgpuInstanceGetFbUsage(nvmlVgpuInstance_t vgpuInstance, unsigned long long* fbUsage) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6492 global __nvmlVgpuInstanceGetFbUsage
6493 _check_or_init_nvml()
6494 if __nvmlVgpuInstanceGetFbUsage == NULL:
6495 with gil:
6496 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFbUsage is not found")
6497 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned long long*) noexcept nogil>__nvmlVgpuInstanceGetFbUsage)(
6498 vgpuInstance, fbUsage)
6501cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseStatus(nvmlVgpuInstance_t vgpuInstance, unsigned int* licensed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6502 global __nvmlVgpuInstanceGetLicenseStatus
6503 _check_or_init_nvml()
6504 if __nvmlVgpuInstanceGetLicenseStatus == NULL:
6505 with gil:
6506 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseStatus is not found")
6507 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetLicenseStatus)(
6508 vgpuInstance, licensed)
6511cdef nvmlReturn_t _nvmlVgpuInstanceGetType(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuTypeId_t* vgpuTypeId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6512 global __nvmlVgpuInstanceGetType
6513 _check_or_init_nvml()
6514 if __nvmlVgpuInstanceGetType == NULL:
6515 with gil:
6516 raise FunctionNotFoundError("function nvmlVgpuInstanceGetType is not found")
6517 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlVgpuInstanceGetType)(
6518 vgpuInstance, vgpuTypeId)
6521cdef nvmlReturn_t _nvmlVgpuInstanceGetFrameRateLimit(nvmlVgpuInstance_t vgpuInstance, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6522 global __nvmlVgpuInstanceGetFrameRateLimit
6523 _check_or_init_nvml()
6524 if __nvmlVgpuInstanceGetFrameRateLimit == NULL:
6525 with gil:
6526 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFrameRateLimit is not found")
6527 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetFrameRateLimit)(
6528 vgpuInstance, frameRateLimit)
6531cdef nvmlReturn_t _nvmlVgpuInstanceGetEccMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* eccMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6532 global __nvmlVgpuInstanceGetEccMode
6533 _check_or_init_nvml()
6534 if __nvmlVgpuInstanceGetEccMode == NULL:
6535 with gil:
6536 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEccMode is not found")
6537 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetEccMode)(
6538 vgpuInstance, eccMode)
6541cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int* encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6542 global __nvmlVgpuInstanceGetEncoderCapacity
6543 _check_or_init_nvml()
6544 if __nvmlVgpuInstanceGetEncoderCapacity == NULL:
6545 with gil:
6546 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderCapacity is not found")
6547 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderCapacity)(
6548 vgpuInstance, encoderCapacity)
6551cdef nvmlReturn_t _nvmlVgpuInstanceSetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6552 global __nvmlVgpuInstanceSetEncoderCapacity
6553 _check_or_init_nvml()
6554 if __nvmlVgpuInstanceSetEncoderCapacity == NULL:
6555 with gil:
6556 raise FunctionNotFoundError("function nvmlVgpuInstanceSetEncoderCapacity is not found")
6557 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int) noexcept nogil>__nvmlVgpuInstanceSetEncoderCapacity)(
6558 vgpuInstance, encoderCapacity)
6561cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderStats(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, unsigned int* averageFps, unsigned int* averageLatency) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6562 global __nvmlVgpuInstanceGetEncoderStats
6563 _check_or_init_nvml()
6564 if __nvmlVgpuInstanceGetEncoderStats == NULL:
6565 with gil:
6566 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderStats is not found")
6567 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderStats)(
6568 vgpuInstance, sessionCount, averageFps, averageLatency)
6571cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlEncoderSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6572 global __nvmlVgpuInstanceGetEncoderSessions
6573 _check_or_init_nvml()
6574 if __nvmlVgpuInstanceGetEncoderSessions == NULL:
6575 with gil:
6576 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderSessions is not found")
6577 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlEncoderSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetEncoderSessions)(
6578 vgpuInstance, sessionCount, sessionInfo)
6581cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCStats(nvmlVgpuInstance_t vgpuInstance, nvmlFBCStats_t* fbcStats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6582 global __nvmlVgpuInstanceGetFBCStats
6583 _check_or_init_nvml()
6584 if __nvmlVgpuInstanceGetFBCStats == NULL:
6585 with gil:
6586 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCStats is not found")
6587 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlFBCStats_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCStats)(
6588 vgpuInstance, fbcStats)
6591cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlFBCSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6592 global __nvmlVgpuInstanceGetFBCSessions
6593 _check_or_init_nvml()
6594 if __nvmlVgpuInstanceGetFBCSessions == NULL:
6595 with gil:
6596 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCSessions is not found")
6597 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlFBCSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCSessions)(
6598 vgpuInstance, sessionCount, sessionInfo)
6601cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuInstanceId(nvmlVgpuInstance_t vgpuInstance, unsigned int* gpuInstanceId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6602 global __nvmlVgpuInstanceGetGpuInstanceId
6603 _check_or_init_nvml()
6604 if __nvmlVgpuInstanceGetGpuInstanceId == NULL:
6605 with gil:
6606 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuInstanceId is not found")
6607 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuInstanceId)(
6608 vgpuInstance, gpuInstanceId)
6611cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuPciId(nvmlVgpuInstance_t vgpuInstance, char* vgpuPciId, unsigned int* length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6612 global __nvmlVgpuInstanceGetGpuPciId
6613 _check_or_init_nvml()
6614 if __nvmlVgpuInstanceGetGpuPciId == NULL:
6615 with gil:
6616 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuPciId is not found")
6617 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuPciId)(
6618 vgpuInstance, vgpuPciId, length)
6621cdef nvmlReturn_t _nvmlVgpuTypeGetCapabilities(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6622 global __nvmlVgpuTypeGetCapabilities
6623 _check_or_init_nvml()
6624 if __nvmlVgpuTypeGetCapabilities == NULL:
6625 with gil:
6626 raise FunctionNotFoundError("function nvmlVgpuTypeGetCapabilities is not found")
6627 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetCapabilities)(
6628 vgpuTypeId, capability, capResult)
6631cdef nvmlReturn_t _nvmlVgpuInstanceGetMdevUUID(nvmlVgpuInstance_t vgpuInstance, char* mdevUuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6632 global __nvmlVgpuInstanceGetMdevUUID
6633 _check_or_init_nvml()
6634 if __nvmlVgpuInstanceGetMdevUUID == NULL:
6635 with gil:
6636 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMdevUUID is not found")
6637 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetMdevUUID)(
6638 vgpuInstance, mdevUuid, size)
6641cdef nvmlReturn_t _nvmlGpuInstanceGetCreatableVgpus(nvmlGpuInstance_t gpuInstance, nvmlVgpuTypeIdInfo_t* pVgpus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6642 global __nvmlGpuInstanceGetCreatableVgpus
6643 _check_or_init_nvml()
6644 if __nvmlGpuInstanceGetCreatableVgpus == NULL:
6645 with gil:
6646 raise FunctionNotFoundError("function nvmlGpuInstanceGetCreatableVgpus is not found")
6647 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuTypeIdInfo_t*) noexcept nogil>__nvmlGpuInstanceGetCreatableVgpus)(
6648 gpuInstance, pVgpus)
6651cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerGpuInstance(nvmlVgpuTypeMaxInstance_t* pMaxInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6652 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance
6653 _check_or_init_nvml()
6654 if __nvmlVgpuTypeGetMaxInstancesPerGpuInstance == NULL:
6655 with gil:
6656 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerGpuInstance is not found")
6657 return (<nvmlReturn_t (*)(nvmlVgpuTypeMaxInstance_t*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerGpuInstance)(
6658 pMaxInstance)
6661cdef nvmlReturn_t _nvmlGpuInstanceGetActiveVgpus(nvmlGpuInstance_t gpuInstance, nvmlActiveVgpuInstanceInfo_t* pVgpuInstanceInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6662 global __nvmlGpuInstanceGetActiveVgpus
6663 _check_or_init_nvml()
6664 if __nvmlGpuInstanceGetActiveVgpus == NULL:
6665 with gil:
6666 raise FunctionNotFoundError("function nvmlGpuInstanceGetActiveVgpus is not found")
6667 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlActiveVgpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetActiveVgpus)(
6668 gpuInstance, pVgpuInstanceInfo)
6671cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_t* pScheduler) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6672 global __nvmlGpuInstanceSetVgpuSchedulerState
6673 _check_or_init_nvml()
6674 if __nvmlGpuInstanceSetVgpuSchedulerState == NULL:
6675 with gil:
6676 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState is not found")
6677 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerState_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuSchedulerState)(
6678 gpuInstance, pScheduler)
6681cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerStateInfo_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6682 global __nvmlGpuInstanceGetVgpuSchedulerState
6683 _check_or_init_nvml()
6684 if __nvmlGpuInstanceGetVgpuSchedulerState == NULL:
6685 with gil:
6686 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerState is not found")
6687 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerStateInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerState)(
6688 gpuInstance, pSchedulerStateInfo)
6691cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6692 global __nvmlGpuInstanceGetVgpuSchedulerLog
6693 _check_or_init_nvml()
6694 if __nvmlGpuInstanceGetVgpuSchedulerLog == NULL:
6695 with gil:
6696 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerLog is not found")
6697 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerLogInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerLog)(
6698 gpuInstance, pSchedulerLogInfo)
6701cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuTypeCreatablePlacements(nvmlGpuInstance_t gpuInstance, nvmlVgpuCreatablePlacementInfo_t* pCreatablePlacementInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6702 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements
6703 _check_or_init_nvml()
6704 if __nvmlGpuInstanceGetVgpuTypeCreatablePlacements == NULL:
6705 with gil:
6706 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuTypeCreatablePlacements is not found")
6707 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuCreatablePlacementInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuTypeCreatablePlacements)(
6708 gpuInstance, pCreatablePlacementInfo)
6711cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6712 global __nvmlGpuInstanceGetVgpuHeterogeneousMode
6713 _check_or_init_nvml()
6714 if __nvmlGpuInstanceGetVgpuHeterogeneousMode == NULL:
6715 with gil:
6716 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuHeterogeneousMode is not found")
6717 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuHeterogeneousMode)(
6718 gpuInstance, pHeterogeneousMode)
6721cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6722 global __nvmlGpuInstanceSetVgpuHeterogeneousMode
6723 _check_or_init_nvml()
6724 if __nvmlGpuInstanceSetVgpuHeterogeneousMode == NULL:
6725 with gil:
6726 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuHeterogeneousMode is not found")
6727 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuHeterogeneousMode)(
6728 gpuInstance, pHeterogeneousMode)
6731cdef nvmlReturn_t _nvmlVgpuInstanceGetMetadata(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuMetadata_t* vgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6732 global __nvmlVgpuInstanceGetMetadata
6733 _check_or_init_nvml()
6734 if __nvmlVgpuInstanceGetMetadata == NULL:
6735 with gil:
6736 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMetadata is not found")
6737 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetMetadata)(
6738 vgpuInstance, vgpuMetadata, bufferSize)
6741cdef nvmlReturn_t _nvmlDeviceGetVgpuMetadata(nvmlDevice_t device, nvmlVgpuPgpuMetadata_t* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6742 global __nvmlDeviceGetVgpuMetadata
6743 _check_or_init_nvml()
6744 if __nvmlDeviceGetVgpuMetadata == NULL:
6745 with gil:
6746 raise FunctionNotFoundError("function nvmlDeviceGetVgpuMetadata is not found")
6747 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuPgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuMetadata)(
6748 device, pgpuMetadata, bufferSize)
6751cdef nvmlReturn_t _nvmlGetVgpuCompatibility(nvmlVgpuMetadata_t* vgpuMetadata, nvmlVgpuPgpuMetadata_t* pgpuMetadata, nvmlVgpuPgpuCompatibility_t* compatibilityInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6752 global __nvmlGetVgpuCompatibility
6753 _check_or_init_nvml()
6754 if __nvmlGetVgpuCompatibility == NULL:
6755 with gil:
6756 raise FunctionNotFoundError("function nvmlGetVgpuCompatibility is not found")
6757 return (<nvmlReturn_t (*)(nvmlVgpuMetadata_t*, nvmlVgpuPgpuMetadata_t*, nvmlVgpuPgpuCompatibility_t*) noexcept nogil>__nvmlGetVgpuCompatibility)(
6758 vgpuMetadata, pgpuMetadata, compatibilityInfo)
6761cdef nvmlReturn_t _nvmlDeviceGetPgpuMetadataString(nvmlDevice_t device, char* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6762 global __nvmlDeviceGetPgpuMetadataString
6763 _check_or_init_nvml()
6764 if __nvmlDeviceGetPgpuMetadataString == NULL:
6765 with gil:
6766 raise FunctionNotFoundError("function nvmlDeviceGetPgpuMetadataString is not found")
6767 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int*) noexcept nogil>__nvmlDeviceGetPgpuMetadataString)(
6768 device, pgpuMetadata, bufferSize)
6771cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog(nvmlDevice_t device, nvmlVgpuSchedulerLog_t* pSchedulerLog) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6772 global __nvmlDeviceGetVgpuSchedulerLog
6773 _check_or_init_nvml()
6774 if __nvmlDeviceGetVgpuSchedulerLog == NULL:
6775 with gil:
6776 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerLog is not found")
6777 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerLog_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerLog)(
6778 device, pSchedulerLog)
6781cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerGetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6782 global __nvmlDeviceGetVgpuSchedulerState
6783 _check_or_init_nvml()
6784 if __nvmlDeviceGetVgpuSchedulerState == NULL:
6785 with gil:
6786 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerState is not found")
6787 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerGetState_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerState)(
6788 device, pSchedulerState)
6791cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerCapabilities(nvmlDevice_t device, nvmlVgpuSchedulerCapabilities_t* pCapabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6792 global __nvmlDeviceGetVgpuSchedulerCapabilities
6793 _check_or_init_nvml()
6794 if __nvmlDeviceGetVgpuSchedulerCapabilities == NULL:
6795 with gil:
6796 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerCapabilities is not found")
6797 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerCapabilities_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerCapabilities)(
6798 device, pCapabilities)
6801cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerSetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6802 global __nvmlDeviceSetVgpuSchedulerState
6803 _check_or_init_nvml()
6804 if __nvmlDeviceSetVgpuSchedulerState == NULL:
6805 with gil:
6806 raise FunctionNotFoundError("function nvmlDeviceSetVgpuSchedulerState is not found")
6807 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerSetState_t*) noexcept nogil>__nvmlDeviceSetVgpuSchedulerState)(
6808 device, pSchedulerState)
6811cdef nvmlReturn_t _nvmlGetVgpuVersion(nvmlVgpuVersion_t* supported, nvmlVgpuVersion_t* current) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6812 global __nvmlGetVgpuVersion
6813 _check_or_init_nvml()
6814 if __nvmlGetVgpuVersion == NULL:
6815 with gil:
6816 raise FunctionNotFoundError("function nvmlGetVgpuVersion is not found")
6817 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*, nvmlVgpuVersion_t*) noexcept nogil>__nvmlGetVgpuVersion)(
6818 supported, current)
6821cdef nvmlReturn_t _nvmlSetVgpuVersion(nvmlVgpuVersion_t* vgpuVersion) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6822 global __nvmlSetVgpuVersion
6823 _check_or_init_nvml()
6824 if __nvmlSetVgpuVersion == NULL:
6825 with gil:
6826 raise FunctionNotFoundError("function nvmlSetVgpuVersion is not found")
6827 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*) noexcept nogil>__nvmlSetVgpuVersion)(
6828 vgpuVersion)
6831cdef nvmlReturn_t _nvmlDeviceGetVgpuUtilization(nvmlDevice_t device, unsigned long long lastSeenTimeStamp, nvmlValueType_t* sampleValType, unsigned int* vgpuInstanceSamplesCount, nvmlVgpuInstanceUtilizationSample_t* utilizationSamples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6832 global __nvmlDeviceGetVgpuUtilization
6833 _check_or_init_nvml()
6834 if __nvmlDeviceGetVgpuUtilization == NULL:
6835 with gil:
6836 raise FunctionNotFoundError("function nvmlDeviceGetVgpuUtilization is not found")
6837 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlVgpuInstanceUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuUtilization)(
6838 device, lastSeenTimeStamp, sampleValType, vgpuInstanceSamplesCount, utilizationSamples)
6841cdef nvmlReturn_t _nvmlDeviceGetVgpuInstancesUtilizationInfo(nvmlDevice_t device, nvmlVgpuInstancesUtilizationInfo_t* vgpuUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6842 global __nvmlDeviceGetVgpuInstancesUtilizationInfo
6843 _check_or_init_nvml()
6844 if __nvmlDeviceGetVgpuInstancesUtilizationInfo == NULL:
6845 with gil:
6846 raise FunctionNotFoundError("function nvmlDeviceGetVgpuInstancesUtilizationInfo is not found")
6847 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuInstancesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuInstancesUtilizationInfo)(
6848 device, vgpuUtilInfo)
6851cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessUtilization(nvmlDevice_t device, unsigned long long lastSeenTimeStamp, unsigned int* vgpuProcessSamplesCount, nvmlVgpuProcessUtilizationSample_t* utilizationSamples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6852 global __nvmlDeviceGetVgpuProcessUtilization
6853 _check_or_init_nvml()
6854 if __nvmlDeviceGetVgpuProcessUtilization == NULL:
6855 with gil:
6856 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessUtilization is not found")
6857 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, unsigned int*, nvmlVgpuProcessUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessUtilization)(
6858 device, lastSeenTimeStamp, vgpuProcessSamplesCount, utilizationSamples)
6861cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessesUtilizationInfo(nvmlDevice_t device, nvmlVgpuProcessesUtilizationInfo_t* vgpuProcUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6862 global __nvmlDeviceGetVgpuProcessesUtilizationInfo
6863 _check_or_init_nvml()
6864 if __nvmlDeviceGetVgpuProcessesUtilizationInfo == NULL:
6865 with gil:
6866 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessesUtilizationInfo is not found")
6867 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessesUtilizationInfo)(
6868 device, vgpuProcUtilInfo)
6871cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6872 global __nvmlVgpuInstanceGetAccountingMode
6873 _check_or_init_nvml()
6874 if __nvmlVgpuInstanceGetAccountingMode == NULL:
6875 with gil:
6876 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingMode is not found")
6877 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingMode)(
6878 vgpuInstance, mode)
6881cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingPids(nvmlVgpuInstance_t vgpuInstance, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6882 global __nvmlVgpuInstanceGetAccountingPids
6883 _check_or_init_nvml()
6884 if __nvmlVgpuInstanceGetAccountingPids == NULL:
6885 with gil:
6886 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingPids is not found")
6887 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetAccountingPids)(
6888 vgpuInstance, count, pids)
6891cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingStats(nvmlVgpuInstance_t vgpuInstance, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6892 global __nvmlVgpuInstanceGetAccountingStats
6893 _check_or_init_nvml()
6894 if __nvmlVgpuInstanceGetAccountingStats == NULL:
6895 with gil:
6896 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingStats is not found")
6897 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingStats)(
6898 vgpuInstance, pid, stats)
6901cdef nvmlReturn_t _nvmlVgpuInstanceClearAccountingPids(nvmlVgpuInstance_t vgpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6902 global __nvmlVgpuInstanceClearAccountingPids
6903 _check_or_init_nvml()
6904 if __nvmlVgpuInstanceClearAccountingPids == NULL:
6905 with gil:
6906 raise FunctionNotFoundError("function nvmlVgpuInstanceClearAccountingPids is not found")
6907 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t) noexcept nogil>__nvmlVgpuInstanceClearAccountingPids)(
6908 vgpuInstance)
6911cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseInfo_v2(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuLicenseInfo_t* licenseInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6912 global __nvmlVgpuInstanceGetLicenseInfo_v2
6913 _check_or_init_nvml()
6914 if __nvmlVgpuInstanceGetLicenseInfo_v2 == NULL:
6915 with gil:
6916 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseInfo_v2 is not found")
6917 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuLicenseInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetLicenseInfo_v2)(
6918 vgpuInstance, licenseInfo)
6921cdef nvmlReturn_t _nvmlGetExcludedDeviceCount(unsigned int* deviceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6922 global __nvmlGetExcludedDeviceCount
6923 _check_or_init_nvml()
6924 if __nvmlGetExcludedDeviceCount == NULL:
6925 with gil:
6926 raise FunctionNotFoundError("function nvmlGetExcludedDeviceCount is not found")
6927 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlGetExcludedDeviceCount)(
6928 deviceCount)
6931cdef nvmlReturn_t _nvmlGetExcludedDeviceInfoByIndex(unsigned int index, nvmlExcludedDeviceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6932 global __nvmlGetExcludedDeviceInfoByIndex
6933 _check_or_init_nvml()
6934 if __nvmlGetExcludedDeviceInfoByIndex == NULL:
6935 with gil:
6936 raise FunctionNotFoundError("function nvmlGetExcludedDeviceInfoByIndex is not found")
6937 return (<nvmlReturn_t (*)(unsigned int, nvmlExcludedDeviceInfo_t*) noexcept nogil>__nvmlGetExcludedDeviceInfoByIndex)(
6938 index, info)
6941cdef nvmlReturn_t _nvmlDeviceSetMigMode(nvmlDevice_t device, unsigned int mode, nvmlReturn_t* activationStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6942 global __nvmlDeviceSetMigMode
6943 _check_or_init_nvml()
6944 if __nvmlDeviceSetMigMode == NULL:
6945 with gil:
6946 raise FunctionNotFoundError("function nvmlDeviceSetMigMode is not found")
6947 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlReturn_t*) noexcept nogil>__nvmlDeviceSetMigMode)(
6948 device, mode, activationStatus)
6951cdef nvmlReturn_t _nvmlDeviceGetMigMode(nvmlDevice_t device, unsigned int* currentMode, unsigned int* pendingMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6952 global __nvmlDeviceGetMigMode
6953 _check_or_init_nvml() 1s
6954 if __nvmlDeviceGetMigMode == NULL: 1s
6955 with gil:
6956 raise FunctionNotFoundError("function nvmlDeviceGetMigMode is not found")
6957 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetMigMode)( 1s
6958 device, currentMode, pendingMode)
6961cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoV(nvmlDevice_t device, unsigned int profile, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6962 global __nvmlDeviceGetGpuInstanceProfileInfoV
6963 _check_or_init_nvml()
6964 if __nvmlDeviceGetGpuInstanceProfileInfoV == NULL:
6965 with gil:
6966 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoV is not found")
6967 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoV)(
6968 device, profile, info)
6971cdef nvmlReturn_t _nvmlDeviceGetGpuInstancePossiblePlacements_v2(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6972 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2
6973 _check_or_init_nvml()
6974 if __nvmlDeviceGetGpuInstancePossiblePlacements_v2 == NULL:
6975 with gil:
6976 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstancePossiblePlacements_v2 is not found")
6977 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstancePossiblePlacements_v2)(
6978 device, profileId, placements, count)
6981cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceRemainingCapacity(nvmlDevice_t device, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6982 global __nvmlDeviceGetGpuInstanceRemainingCapacity
6983 _check_or_init_nvml()
6984 if __nvmlDeviceGetGpuInstanceRemainingCapacity == NULL:
6985 with gil:
6986 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceRemainingCapacity is not found")
6987 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceRemainingCapacity)(
6988 device, profileId, count)
6991cdef nvmlReturn_t _nvmlDeviceCreateGpuInstance(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
6992 global __nvmlDeviceCreateGpuInstance
6993 _check_or_init_nvml()
6994 if __nvmlDeviceCreateGpuInstance == NULL:
6995 with gil:
6996 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstance is not found")
6997 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstance)(
6998 device, profileId, gpuInstance)
7001cdef nvmlReturn_t _nvmlDeviceCreateGpuInstanceWithPlacement(nvmlDevice_t device, unsigned int profileId, const nvmlGpuInstancePlacement_t* placement, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7002 global __nvmlDeviceCreateGpuInstanceWithPlacement
7003 _check_or_init_nvml()
7004 if __nvmlDeviceCreateGpuInstanceWithPlacement == NULL:
7005 with gil:
7006 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstanceWithPlacement is not found")
7007 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, const nvmlGpuInstancePlacement_t*, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstanceWithPlacement)(
7008 device, profileId, placement, gpuInstance)
7011cdef nvmlReturn_t _nvmlGpuInstanceDestroy(nvmlGpuInstance_t gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7012 global __nvmlGpuInstanceDestroy
7013 _check_or_init_nvml()
7014 if __nvmlGpuInstanceDestroy == NULL:
7015 with gil:
7016 raise FunctionNotFoundError("function nvmlGpuInstanceDestroy is not found")
7017 return (<nvmlReturn_t (*)(nvmlGpuInstance_t) noexcept nogil>__nvmlGpuInstanceDestroy)(
7018 gpuInstance)
7021cdef nvmlReturn_t _nvmlDeviceGetGpuInstances(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7022 global __nvmlDeviceGetGpuInstances
7023 _check_or_init_nvml()
7024 if __nvmlDeviceGetGpuInstances == NULL:
7025 with gil:
7026 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstances is not found")
7027 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstances)(
7028 device, profileId, gpuInstances, count)
7031cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceById(nvmlDevice_t device, unsigned int id, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7032 global __nvmlDeviceGetGpuInstanceById
7033 _check_or_init_nvml()
7034 if __nvmlDeviceGetGpuInstanceById == NULL:
7035 with gil:
7036 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceById is not found")
7037 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceById)(
7038 device, id, gpuInstance)
7041cdef nvmlReturn_t _nvmlGpuInstanceGetInfo(nvmlGpuInstance_t gpuInstance, nvmlGpuInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7042 global __nvmlGpuInstanceGetInfo
7043 _check_or_init_nvml()
7044 if __nvmlGpuInstanceGetInfo == NULL:
7045 with gil:
7046 raise FunctionNotFoundError("function nvmlGpuInstanceGetInfo is not found")
7047 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlGpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetInfo)(
7048 gpuInstance, info)
7051cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceProfileInfoV(nvmlGpuInstance_t gpuInstance, unsigned int profile, unsigned int engProfile, nvmlComputeInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7052 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV
7053 _check_or_init_nvml()
7054 if __nvmlGpuInstanceGetComputeInstanceProfileInfoV == NULL:
7055 with gil:
7056 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceProfileInfoV is not found")
7057 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int, nvmlComputeInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceProfileInfoV)(
7058 gpuInstance, profile, engProfile, info)
7061cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceRemainingCapacity(nvmlGpuInstance_t gpuInstance, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7062 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity
7063 _check_or_init_nvml()
7064 if __nvmlGpuInstanceGetComputeInstanceRemainingCapacity == NULL:
7065 with gil:
7066 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceRemainingCapacity is not found")
7067 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceRemainingCapacity)(
7068 gpuInstance, profileId, count)
7071cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstancePossiblePlacements(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7072 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements
7073 _check_or_init_nvml()
7074 if __nvmlGpuInstanceGetComputeInstancePossiblePlacements == NULL:
7075 with gil:
7076 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstancePossiblePlacements is not found")
7077 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstancePossiblePlacements)(
7078 gpuInstance, profileId, placements, count)
7081cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstance(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7082 global __nvmlGpuInstanceCreateComputeInstance
7083 _check_or_init_nvml()
7084 if __nvmlGpuInstanceCreateComputeInstance == NULL:
7085 with gil:
7086 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstance is not found")
7087 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstance)(
7088 gpuInstance, profileId, computeInstance)
7091cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstanceWithPlacement(nvmlGpuInstance_t gpuInstance, unsigned int profileId, const nvmlComputeInstancePlacement_t* placement, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7092 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement
7093 _check_or_init_nvml()
7094 if __nvmlGpuInstanceCreateComputeInstanceWithPlacement == NULL:
7095 with gil:
7096 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstanceWithPlacement is not found")
7097 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, const nvmlComputeInstancePlacement_t*, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstanceWithPlacement)(
7098 gpuInstance, profileId, placement, computeInstance)
7101cdef nvmlReturn_t _nvmlComputeInstanceDestroy(nvmlComputeInstance_t computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7102 global __nvmlComputeInstanceDestroy
7103 _check_or_init_nvml()
7104 if __nvmlComputeInstanceDestroy == NULL:
7105 with gil:
7106 raise FunctionNotFoundError("function nvmlComputeInstanceDestroy is not found")
7107 return (<nvmlReturn_t (*)(nvmlComputeInstance_t) noexcept nogil>__nvmlComputeInstanceDestroy)(
7108 computeInstance)
7111cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstances(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7112 global __nvmlGpuInstanceGetComputeInstances
7113 _check_or_init_nvml()
7114 if __nvmlGpuInstanceGetComputeInstances == NULL:
7115 with gil:
7116 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstances is not found")
7117 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstances)(
7118 gpuInstance, profileId, computeInstances, count)
7121cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceById(nvmlGpuInstance_t gpuInstance, unsigned int id, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7122 global __nvmlGpuInstanceGetComputeInstanceById
7123 _check_or_init_nvml()
7124 if __nvmlGpuInstanceGetComputeInstanceById == NULL:
7125 with gil:
7126 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceById is not found")
7127 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceById)(
7128 gpuInstance, id, computeInstance)
7131cdef nvmlReturn_t _nvmlComputeInstanceGetInfo_v2(nvmlComputeInstance_t computeInstance, nvmlComputeInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7132 global __nvmlComputeInstanceGetInfo_v2
7133 _check_or_init_nvml()
7134 if __nvmlComputeInstanceGetInfo_v2 == NULL:
7135 with gil:
7136 raise FunctionNotFoundError("function nvmlComputeInstanceGetInfo_v2 is not found")
7137 return (<nvmlReturn_t (*)(nvmlComputeInstance_t, nvmlComputeInstanceInfo_t*) noexcept nogil>__nvmlComputeInstanceGetInfo_v2)(
7138 computeInstance, info)
7141cdef nvmlReturn_t _nvmlDeviceIsMigDeviceHandle(nvmlDevice_t device, unsigned int* isMigDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7142 global __nvmlDeviceIsMigDeviceHandle
7143 _check_or_init_nvml() 1qs
7144 if __nvmlDeviceIsMigDeviceHandle == NULL: 1qs
7145 with gil:
7146 raise FunctionNotFoundError("function nvmlDeviceIsMigDeviceHandle is not found")
7147 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceIsMigDeviceHandle)( 1qs
7148 device, isMigDevice)
7151cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7152 global __nvmlDeviceGetGpuInstanceId
7153 _check_or_init_nvml()
7154 if __nvmlDeviceGetGpuInstanceId == NULL:
7155 with gil:
7156 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceId is not found")
7157 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceId)(
7158 device, id)
7161cdef nvmlReturn_t _nvmlDeviceGetComputeInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7162 global __nvmlDeviceGetComputeInstanceId
7163 _check_or_init_nvml()
7164 if __nvmlDeviceGetComputeInstanceId == NULL:
7165 with gil:
7166 raise FunctionNotFoundError("function nvmlDeviceGetComputeInstanceId is not found")
7167 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetComputeInstanceId)(
7168 device, id)
7171cdef nvmlReturn_t _nvmlDeviceGetMaxMigDeviceCount(nvmlDevice_t device, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7172 global __nvmlDeviceGetMaxMigDeviceCount
7173 _check_or_init_nvml() 1is
7174 if __nvmlDeviceGetMaxMigDeviceCount == NULL: 1is
7175 with gil:
7176 raise FunctionNotFoundError("function nvmlDeviceGetMaxMigDeviceCount is not found")
7177 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxMigDeviceCount)( 1is
7178 device, count)
7181cdef nvmlReturn_t _nvmlDeviceGetMigDeviceHandleByIndex(nvmlDevice_t device, unsigned int index, nvmlDevice_t* migDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7182 global __nvmlDeviceGetMigDeviceHandleByIndex
7183 _check_or_init_nvml()
7184 if __nvmlDeviceGetMigDeviceHandleByIndex == NULL:
7185 with gil:
7186 raise FunctionNotFoundError("function nvmlDeviceGetMigDeviceHandleByIndex is not found")
7187 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetMigDeviceHandleByIndex)(
7188 device, index, migDevice)
7191cdef nvmlReturn_t _nvmlDeviceGetDeviceHandleFromMigDeviceHandle(nvmlDevice_t migDevice, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7192 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle
7193 _check_or_init_nvml()
7194 if __nvmlDeviceGetDeviceHandleFromMigDeviceHandle == NULL:
7195 with gil:
7196 raise FunctionNotFoundError("function nvmlDeviceGetDeviceHandleFromMigDeviceHandle is not found")
7197 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetDeviceHandleFromMigDeviceHandle)(
7198 migDevice, device)
7201cdef nvmlReturn_t _nvmlDeviceGetCapabilities(nvmlDevice_t device, nvmlDeviceCapabilities_t* caps) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7202 global __nvmlDeviceGetCapabilities
7203 _check_or_init_nvml() 2vc
7204 if __nvmlDeviceGetCapabilities == NULL: 2vc
7205 with gil:
7206 raise FunctionNotFoundError("function nvmlDeviceGetCapabilities is not found")
7207 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCapabilities_t*) noexcept nogil>__nvmlDeviceGetCapabilities)( 2vc
7208 device, caps)
7211cdef nvmlReturn_t _nvmlDevicePowerSmoothingActivatePresetProfile(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7212 global __nvmlDevicePowerSmoothingActivatePresetProfile
7213 _check_or_init_nvml()
7214 if __nvmlDevicePowerSmoothingActivatePresetProfile == NULL:
7215 with gil:
7216 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingActivatePresetProfile is not found")
7217 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingActivatePresetProfile)(
7218 device, profile)
7221cdef nvmlReturn_t _nvmlDevicePowerSmoothingUpdatePresetProfileParam(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7222 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam
7223 _check_or_init_nvml()
7224 if __nvmlDevicePowerSmoothingUpdatePresetProfileParam == NULL:
7225 with gil:
7226 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingUpdatePresetProfileParam is not found")
7227 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingUpdatePresetProfileParam)(
7228 device, profile)
7231cdef nvmlReturn_t _nvmlDevicePowerSmoothingSetState(nvmlDevice_t device, nvmlPowerSmoothingState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7232 global __nvmlDevicePowerSmoothingSetState
7233 _check_or_init_nvml()
7234 if __nvmlDevicePowerSmoothingSetState == NULL:
7235 with gil:
7236 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingSetState is not found")
7237 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingState_t*) noexcept nogil>__nvmlDevicePowerSmoothingSetState)(
7238 device, state)
7241cdef nvmlReturn_t _nvmlDeviceGetAddressingMode(nvmlDevice_t device, nvmlDeviceAddressingMode_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7242 global __nvmlDeviceGetAddressingMode
7243 _check_or_init_nvml() 1%
7244 if __nvmlDeviceGetAddressingMode == NULL: 1%
7245 with gil:
7246 raise FunctionNotFoundError("function nvmlDeviceGetAddressingMode is not found")
7247 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceAddressingMode_t*) noexcept nogil>__nvmlDeviceGetAddressingMode)( 1%
7248 device, mode)
7251cdef nvmlReturn_t _nvmlDeviceGetRepairStatus(nvmlDevice_t device, nvmlRepairStatus_t* repairStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7252 global __nvmlDeviceGetRepairStatus
7253 _check_or_init_nvml() 1.
7254 if __nvmlDeviceGetRepairStatus == NULL: 1.
7255 with gil:
7256 raise FunctionNotFoundError("function nvmlDeviceGetRepairStatus is not found")
7257 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRepairStatus_t*) noexcept nogil>__nvmlDeviceGetRepairStatus)( 1.
7258 device, repairStatus)
7261cdef nvmlReturn_t _nvmlDeviceGetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7262 global __nvmlDeviceGetPowerMizerMode_v1
7263 _check_or_init_nvml()
7264 if __nvmlDeviceGetPowerMizerMode_v1 == NULL:
7265 with gil:
7266 raise FunctionNotFoundError("function nvmlDeviceGetPowerMizerMode_v1 is not found")
7267 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceGetPowerMizerMode_v1)(
7268 device, powerMizerMode)
7271cdef nvmlReturn_t _nvmlDeviceSetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7272 global __nvmlDeviceSetPowerMizerMode_v1
7273 _check_or_init_nvml()
7274 if __nvmlDeviceSetPowerMizerMode_v1 == NULL:
7275 with gil:
7276 raise FunctionNotFoundError("function nvmlDeviceSetPowerMizerMode_v1 is not found")
7277 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceSetPowerMizerMode_v1)(
7278 device, powerMizerMode)
7281cdef nvmlReturn_t _nvmlDeviceGetPdi(nvmlDevice_t device, nvmlPdi_t* pdi) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7282 global __nvmlDeviceGetPdi
7283 _check_or_init_nvml() 2wc
7284 if __nvmlDeviceGetPdi == NULL: 2wc
7285 with gil:
7286 raise FunctionNotFoundError("function nvmlDeviceGetPdi is not found")
7287 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPdi_t*) noexcept nogil>__nvmlDeviceGetPdi)( 2wc
7288 device, pdi)
7291cdef nvmlReturn_t _nvmlDeviceSetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7292 global __nvmlDeviceSetHostname_v1
7293 _check_or_init_nvml()
7294 if __nvmlDeviceSetHostname_v1 == NULL:
7295 with gil:
7296 raise FunctionNotFoundError("function nvmlDeviceSetHostname_v1 is not found")
7297 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceSetHostname_v1)(
7298 device, hostname)
7301cdef nvmlReturn_t _nvmlDeviceGetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7302 global __nvmlDeviceGetHostname_v1
7303 _check_or_init_nvml()
7304 if __nvmlDeviceGetHostname_v1 == NULL:
7305 with gil:
7306 raise FunctionNotFoundError("function nvmlDeviceGetHostname_v1 is not found")
7307 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceGetHostname_v1)(
7308 device, hostname)
7311cdef nvmlReturn_t _nvmlDeviceGetNvLinkInfo(nvmlDevice_t device, nvmlNvLinkInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7312 global __nvmlDeviceGetNvLinkInfo
7313 _check_or_init_nvml()
7314 if __nvmlDeviceGetNvLinkInfo == NULL:
7315 with gil:
7316 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkInfo is not found")
7317 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkInfo)(
7318 device, info)
7321cdef nvmlReturn_t _nvmlDeviceReadWritePRM_v1(nvmlDevice_t device, nvmlPRMTLV_v1_t* buffer) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7322 global __nvmlDeviceReadWritePRM_v1
7323 _check_or_init_nvml() 1Z
7324 if __nvmlDeviceReadWritePRM_v1 == NULL: 1Z
7325 with gil:
7326 raise FunctionNotFoundError("function nvmlDeviceReadWritePRM_v1 is not found")
7327 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMTLV_v1_t*) noexcept nogil>__nvmlDeviceReadWritePRM_v1)( 1Z
7328 device, buffer)
7331cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoByIdV(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7332 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV
7333 _check_or_init_nvml()
7334 if __nvmlDeviceGetGpuInstanceProfileInfoByIdV == NULL:
7335 with gil:
7336 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoByIdV is not found")
7337 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoByIdV)(
7338 device, profileId, info)
7341cdef nvmlReturn_t _nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts(nvmlDevice_t device, nvmlEccSramUniqueUncorrectedErrorCounts_t* errorCounts) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7342 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts
7343 _check_or_init_nvml()
7344 if __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts == NULL:
7345 with gil:
7346 raise FunctionNotFoundError("function nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts is not found")
7347 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramUniqueUncorrectedErrorCounts_t*) noexcept nogil>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts)(
7348 device, errorCounts)
7351cdef nvmlReturn_t _nvmlDeviceGetUnrepairableMemoryFlag_v1(nvmlDevice_t device, nvmlUnrepairableMemoryStatus_v1_t* unrepairableMemoryStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7352 global __nvmlDeviceGetUnrepairableMemoryFlag_v1
7353 _check_or_init_nvml() 1w
7354 if __nvmlDeviceGetUnrepairableMemoryFlag_v1 == NULL: 1w
7355 with gil:
7356 raise FunctionNotFoundError("function nvmlDeviceGetUnrepairableMemoryFlag_v1 is not found")
7357 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUnrepairableMemoryStatus_v1_t*) noexcept nogil>__nvmlDeviceGetUnrepairableMemoryFlag_v1)( 1w
7358 device, unrepairableMemoryStatus)
7361cdef nvmlReturn_t _nvmlDeviceReadPRMCounters_v1(nvmlDevice_t device, nvmlPRMCounterList_v1_t* counterList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7362 global __nvmlDeviceReadPRMCounters_v1
7363 _check_or_init_nvml() 1~
7364 if __nvmlDeviceReadPRMCounters_v1 == NULL: 1~
7365 with gil:
7366 raise FunctionNotFoundError("function nvmlDeviceReadPRMCounters_v1 is not found")
7367 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMCounterList_v1_t*) noexcept nogil>__nvmlDeviceReadPRMCounters_v1)( 1~
7368 device, counterList)
7371cdef nvmlReturn_t _nvmlDeviceSetRusdSettings_v1(nvmlDevice_t device, nvmlRusdSettings_v1_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7372 global __nvmlDeviceSetRusdSettings_v1
7373 _check_or_init_nvml()
7374 if __nvmlDeviceSetRusdSettings_v1 == NULL:
7375 with gil:
7376 raise FunctionNotFoundError("function nvmlDeviceSetRusdSettings_v1 is not found")
7377 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRusdSettings_v1_t*) noexcept nogil>__nvmlDeviceSetRusdSettings_v1)(
7378 device, settings)
7381cdef nvmlReturn_t _nvmlDeviceVgpuForceGspUnload(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7382 global __nvmlDeviceVgpuForceGspUnload
7383 _check_or_init_nvml()
7384 if __nvmlDeviceVgpuForceGspUnload == NULL:
7385 with gil:
7386 raise FunctionNotFoundError("function nvmlDeviceVgpuForceGspUnload is not found")
7387 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceVgpuForceGspUnload)(
7388 device)
7391cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerStateInfo_v2_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7392 global __nvmlDeviceGetVgpuSchedulerState_v2
7393 _check_or_init_nvml()
7394 if __nvmlDeviceGetVgpuSchedulerState_v2 == NULL:
7395 with gil:
7396 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerState_v2 is not found")
7397 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerStateInfo_v2_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerState_v2)(
7398 device, pSchedulerStateInfo)
7401cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerStateInfo_v2_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7402 global __nvmlGpuInstanceGetVgpuSchedulerState_v2
7403 _check_or_init_nvml()
7404 if __nvmlGpuInstanceGetVgpuSchedulerState_v2 == NULL:
7405 with gil:
7406 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerState_v2 is not found")
7407 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerStateInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerState_v2)(
7408 gpuInstance, pSchedulerStateInfo)
7411cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog_v2(nvmlDevice_t device, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7412 global __nvmlDeviceGetVgpuSchedulerLog_v2
7413 _check_or_init_nvml()
7414 if __nvmlDeviceGetVgpuSchedulerLog_v2 == NULL:
7415 with gil:
7416 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerLog_v2 is not found")
7417 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerLogInfo_v2_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerLog_v2)(
7418 device, pSchedulerLogInfo)
7421cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7422 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2
7423 _check_or_init_nvml()
7424 if __nvmlGpuInstanceGetVgpuSchedulerLog_v2 == NULL:
7425 with gil:
7426 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerLog_v2 is not found")
7427 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerLogInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerLog_v2)(
7428 gpuInstance, pSchedulerLogInfo)
7431cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7432 global __nvmlDeviceSetVgpuSchedulerState_v2
7433 _check_or_init_nvml()
7434 if __nvmlDeviceSetVgpuSchedulerState_v2 == NULL:
7435 with gil:
7436 raise FunctionNotFoundError("function nvmlDeviceSetVgpuSchedulerState_v2 is not found")
7437 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerState_v2_t*) noexcept nogil>__nvmlDeviceSetVgpuSchedulerState_v2)(
7438 device, pSchedulerState)
7441cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil:
7442 global __nvmlGpuInstanceSetVgpuSchedulerState_v2
7443 _check_or_init_nvml()
7444 if __nvmlGpuInstanceSetVgpuSchedulerState_v2 == NULL:
7445 with gil:
7446 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState_v2 is not found")
7447 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerState_v2_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuSchedulerState_v2)(
7448 gpuInstance, pSchedulerState)