Coverage for cuda/bindings/_internal/nvml.pyx: 48.54%

4841 statements  

« prev     ^ index     » next       coverage.py v7.16.2, created at 2026-10-16 01:23 +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.4.1. Do not modify it directly. 

6# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=77c516adfddaab32e14f7d0bf80b78c33d928198af0be5ea18ec7b880c9c09c9 

7  

8  

9# <<<< PREAMBLE CONTENT >>>> 

10  

11cdef extern from * nogil: 

12 """ 

13 #if defined(_MSC_VER) && !defined(__clang__) 

14 #include <intrin.h> 

15 static __forceinline int atomic_int_load(int *p) { 

16 int v = *(int volatile *)p; _ReadBarrier(); return v; 

17 } 

18 static __forceinline void atomic_int_store(int *p, int v) { 

19 _WriteBarrier(); *(int volatile *)p = v; 

20 } 

21 #elif defined(__cplusplus) 

22 /* GCC/Clang __atomic builtins work in any C++ standard without headers */ 

23 static inline int atomic_int_load(int *p) { 

24 return __atomic_load_n(p, __ATOMIC_ACQUIRE); 

25 } 

26 static inline void atomic_int_store(int *p, int v) { 

27 __atomic_store_n(p, v, __ATOMIC_RELEASE); 

28 } 

29 #else 

30 #include <stdatomic.h> 

31 static inline int atomic_int_load(int *p) { 

32 return (int)atomic_load_explicit((atomic_int *)p, memory_order_acquire); 

33 } 

34 static inline void atomic_int_store(int *p, int v) { 

35 atomic_store_explicit((atomic_int *)p, v, memory_order_release); 

36 } 

37 #endif 

38  

39 """ 

40 cdef int _cyb_atomic_int_load "atomic_int_load"(int *p) nogil 

41 cdef void _cyb_atomic_int_store "atomic_int_store"(int *p, int v) nogil 

42  

43cdef extern from "<dlfcn.h>": 

44 void* _cyb_dlsym "dlsym"(void*, const char*) nogil 

45 const void * _cyb_RTLD_DEFAULT "RTLD_DEFAULT" 

46  

47from libc.stdint cimport intptr_t 

48  

49import threading as _cyb_threading 

50  

51cdef int _cyb___py_nvml_init = 0 

52cdef dict _cyb_func_ptrs = None 

53cdef object _cyb_symbol_lock = _cyb_threading.Lock() 

54  

55# <<<< END OF PREAMBLE CONTENT >>>> 

56  

57from libc.stdint cimport uintptr_t 

58  

59from .utils import FunctionNotFoundError, NotSupportedError 

60from cuda.pathfinder import load_nvidia_dynamic_lib 

61  

62  

63############################################################################### 

64# Wrapper init 

65############################################################################### 

66  

67cdef void* __nvmlInit_v2 = NULL 

68cdef void* __nvmlInitWithFlags = NULL 

69cdef void* __nvmlShutdown = NULL 

70cdef void* __nvmlErrorString = NULL 

71cdef void* __nvmlSystemGetDriverVersion = NULL 

72cdef void* __nvmlSystemGetNVMLVersion = NULL 

73cdef void* __nvmlSystemGetCudaDriverVersion = NULL 

74cdef void* __nvmlSystemGetCudaDriverVersion_v2 = NULL 

75cdef void* __nvmlSystemGetProcessName = NULL 

76cdef void* __nvmlSystemGetHicVersion = NULL 

77cdef void* __nvmlSystemGetTopologyGpuSet = NULL 

78cdef void* __nvmlSystemGetDriverBranch = NULL 

79cdef void* __nvmlUnitGetCount = NULL 

80cdef void* __nvmlUnitGetHandleByIndex = NULL 

81cdef void* __nvmlUnitGetUnitInfo = NULL 

82cdef void* __nvmlUnitGetLedState = NULL 

83cdef void* __nvmlUnitGetPsuInfo = NULL 

84cdef void* __nvmlUnitGetTemperature = NULL 

85cdef void* __nvmlUnitGetFanSpeedInfo = NULL 

86cdef void* __nvmlUnitGetDevices = NULL 

87cdef void* __nvmlDeviceGetCount_v2 = NULL 

88cdef void* __nvmlDeviceGetAttributes_v2 = NULL 

89cdef void* __nvmlDeviceGetHandleByIndex_v2 = NULL 

90cdef void* __nvmlDeviceGetHandleBySerial = NULL 

91cdef void* __nvmlDeviceGetHandleByUUID = NULL 

92cdef void* __nvmlDeviceGetHandleByUUIDV = NULL 

93cdef void* __nvmlDeviceGetHandleByPciBusId_v2 = NULL 

94cdef void* __nvmlDeviceGetName = NULL 

95cdef void* __nvmlDeviceGetBrand = NULL 

96cdef void* __nvmlDeviceGetIndex = NULL 

97cdef void* __nvmlDeviceGetSerial = NULL 

98cdef void* __nvmlDeviceGetModuleId = NULL 

99cdef void* __nvmlDeviceGetC2cModeInfoV = NULL 

100cdef void* __nvmlDeviceGetMemoryAffinity = NULL 

101cdef void* __nvmlDeviceGetCpuAffinityWithinScope = NULL 

102cdef void* __nvmlDeviceGetCpuAffinity = NULL 

103cdef void* __nvmlDeviceSetCpuAffinity = NULL 

104cdef void* __nvmlDeviceClearCpuAffinity = NULL 

105cdef void* __nvmlDeviceGetNumaNodeId = NULL 

106cdef void* __nvmlDeviceGetTopologyCommonAncestor = NULL 

107cdef void* __nvmlDeviceGetTopologyNearestGpus = NULL 

108cdef void* __nvmlDeviceGetP2PStatus = NULL 

109cdef void* __nvmlDeviceGetUUID = NULL 

110cdef void* __nvmlDeviceGetMinorNumber = NULL 

111cdef void* __nvmlDeviceGetBoardPartNumber = NULL 

112cdef void* __nvmlDeviceGetInforomVersion = NULL 

113cdef void* __nvmlDeviceGetInforomImageVersion = NULL 

114cdef void* __nvmlDeviceGetInforomConfigurationChecksum = NULL 

115cdef void* __nvmlDeviceValidateInforom = NULL 

116cdef void* __nvmlDeviceGetLastBBXFlushTime = NULL 

117cdef void* __nvmlDeviceGetDisplayMode = NULL 

118cdef void* __nvmlDeviceGetDisplayActive = NULL 

119cdef void* __nvmlDeviceGetPersistenceMode = NULL 

120cdef void* __nvmlDeviceGetPciInfoExt = NULL 

121cdef void* __nvmlDeviceGetPciInfo_v3 = NULL 

122cdef void* __nvmlDeviceGetMaxPcieLinkGeneration = NULL 

123cdef void* __nvmlDeviceGetGpuMaxPcieLinkGeneration = NULL 

124cdef void* __nvmlDeviceGetMaxPcieLinkWidth = NULL 

125cdef void* __nvmlDeviceGetCurrPcieLinkGeneration = NULL 

126cdef void* __nvmlDeviceGetCurrPcieLinkWidth = NULL 

127cdef void* __nvmlDeviceGetPcieThroughput = NULL 

128cdef void* __nvmlDeviceGetPcieReplayCounter = NULL 

129cdef void* __nvmlDeviceGetClockInfo = NULL 

130cdef void* __nvmlDeviceGetMaxClockInfo = NULL 

131cdef void* __nvmlDeviceGetGpcClkVfOffset = NULL 

132cdef void* __nvmlDeviceGetClock = NULL 

133cdef void* __nvmlDeviceGetMaxCustomerBoostClock = NULL 

134cdef void* __nvmlDeviceGetSupportedMemoryClocks = NULL 

135cdef void* __nvmlDeviceGetSupportedGraphicsClocks = NULL 

136cdef void* __nvmlDeviceGetAutoBoostedClocksEnabled = NULL 

137cdef void* __nvmlDeviceGetFanSpeed = NULL 

138cdef void* __nvmlDeviceGetFanSpeed_v2 = NULL 

139cdef void* __nvmlDeviceGetFanSpeedRPM = NULL 

140cdef void* __nvmlDeviceGetTargetFanSpeed = NULL 

141cdef void* __nvmlDeviceGetMinMaxFanSpeed = NULL 

142cdef void* __nvmlDeviceGetFanControlPolicy_v2 = NULL 

143cdef void* __nvmlDeviceGetNumFans = NULL 

144cdef void* __nvmlDeviceGetCoolerInfo = NULL 

145cdef void* __nvmlDeviceGetTemperatureV = NULL 

146cdef void* __nvmlDeviceGetTemperatureThreshold = NULL 

147cdef void* __nvmlDeviceGetMarginTemperature = NULL 

148cdef void* __nvmlDeviceGetThermalSettings = NULL 

149cdef void* __nvmlDeviceGetPerformanceState = NULL 

150cdef void* __nvmlDeviceGetCurrentClocksEventReasons = NULL 

151cdef void* __nvmlDeviceGetSupportedClocksEventReasons = NULL 

152cdef void* __nvmlDeviceGetPowerState = NULL 

153cdef void* __nvmlDeviceGetDynamicPstatesInfo = NULL 

154cdef void* __nvmlDeviceGetMemClkVfOffset = NULL 

155cdef void* __nvmlDeviceGetMinMaxClockOfPState = NULL 

156cdef void* __nvmlDeviceGetSupportedPerformanceStates = NULL 

157cdef void* __nvmlDeviceGetGpcClkMinMaxVfOffset = NULL 

158cdef void* __nvmlDeviceGetMemClkMinMaxVfOffset = NULL 

159cdef void* __nvmlDeviceGetClockOffsets = NULL 

160cdef void* __nvmlDeviceSetClockOffsets = NULL 

161cdef void* __nvmlDeviceGetPerformanceModes = NULL 

162cdef void* __nvmlDeviceGetCurrentClockFreqs = NULL 

163cdef void* __nvmlDeviceGetPowerManagementLimit = NULL 

164cdef void* __nvmlDeviceGetPowerManagementLimitConstraints = NULL 

165cdef void* __nvmlDeviceGetPowerManagementDefaultLimit = NULL 

166cdef void* __nvmlDeviceGetPowerUsage = NULL 

167cdef void* __nvmlDeviceGetTotalEnergyConsumption = NULL 

168cdef void* __nvmlDeviceGetEnforcedPowerLimit = NULL 

169cdef void* __nvmlDeviceGetGpuOperationMode = NULL 

170cdef void* __nvmlDeviceGetMemoryInfo_v2 = NULL 

171cdef void* __nvmlDeviceGetComputeMode = NULL 

172cdef void* __nvmlDeviceGetCudaComputeCapability = NULL 

173cdef void* __nvmlDeviceGetDramEncryptionMode = NULL 

174cdef void* __nvmlDeviceSetDramEncryptionMode = NULL 

175cdef void* __nvmlDeviceGetEccMode = NULL 

176cdef void* __nvmlDeviceGetDefaultEccMode = NULL 

177cdef void* __nvmlDeviceGetBoardId = NULL 

178cdef void* __nvmlDeviceGetMultiGpuBoard = NULL 

179cdef void* __nvmlDeviceGetTotalEccErrors = NULL 

180cdef void* __nvmlDeviceGetMemoryErrorCounter = NULL 

181cdef void* __nvmlDeviceGetUtilizationRates = NULL 

182cdef void* __nvmlDeviceGetEncoderUtilization = NULL 

183cdef void* __nvmlDeviceGetEncoderCapacity = NULL 

184cdef void* __nvmlDeviceGetEncoderStats = NULL 

185cdef void* __nvmlDeviceGetEncoderSessions = NULL 

186cdef void* __nvmlDeviceGetDecoderUtilization = NULL 

187cdef void* __nvmlDeviceGetJpgUtilization = NULL 

188cdef void* __nvmlDeviceGetOfaUtilization = NULL 

189cdef void* __nvmlDeviceGetFBCStats = NULL 

190cdef void* __nvmlDeviceGetFBCSessions = NULL 

191cdef void* __nvmlDeviceGetDriverModel_v2 = NULL 

192cdef void* __nvmlDeviceGetVbiosVersion = NULL 

193cdef void* __nvmlDeviceGetBridgeChipInfo = NULL 

194cdef void* __nvmlDeviceGetComputeRunningProcesses_v3 = NULL 

195cdef void* __nvmlDeviceGetGraphicsRunningProcesses_v3 = NULL 

196cdef void* __nvmlDeviceGetMPSComputeRunningProcesses_v3 = NULL 

197cdef void* __nvmlDeviceGetRunningProcessDetailList = NULL 

198cdef void* __nvmlDeviceOnSameBoard = NULL 

199cdef void* __nvmlDeviceGetAPIRestriction = NULL 

200cdef void* __nvmlDeviceGetSamples = NULL 

201cdef void* __nvmlDeviceGetBAR1MemoryInfo = NULL 

202cdef void* __nvmlDeviceGetIrqNum = NULL 

203cdef void* __nvmlDeviceGetNumGpuCores = NULL 

204cdef void* __nvmlDeviceGetPowerSource = NULL 

205cdef void* __nvmlDeviceGetMemoryBusWidth = NULL 

206cdef void* __nvmlDeviceGetPcieLinkMaxSpeed = NULL 

207cdef void* __nvmlDeviceGetPcieSpeed = NULL 

208cdef void* __nvmlDeviceGetAdaptiveClockInfoStatus = NULL 

209cdef void* __nvmlDeviceGetBusType = NULL 

210cdef void* __nvmlDeviceGetGpuFabricInfoV = NULL 

211cdef void* __nvmlSystemGetConfComputeCapabilities = NULL 

212cdef void* __nvmlSystemGetConfComputeState = NULL 

213cdef void* __nvmlDeviceGetConfComputeMemSizeInfo = NULL 

214cdef void* __nvmlSystemGetConfComputeGpusReadyState = NULL 

215cdef void* __nvmlDeviceGetConfComputeProtectedMemoryUsage = NULL 

216cdef void* __nvmlDeviceGetConfComputeGpuCertificate = NULL 

217cdef void* __nvmlDeviceGetConfComputeGpuAttestationReport = NULL 

218cdef void* __nvmlSystemGetConfComputeKeyRotationThresholdInfo = NULL 

219cdef void* __nvmlDeviceSetConfComputeUnprotectedMemSize = NULL 

220cdef void* __nvmlSystemSetConfComputeGpusReadyState = NULL 

221cdef void* __nvmlSystemSetConfComputeKeyRotationThresholdInfo = NULL 

222cdef void* __nvmlSystemGetConfComputeSettings = NULL 

223cdef void* __nvmlDeviceGetGspFirmwareVersion = NULL 

224cdef void* __nvmlDeviceGetGspFirmwareMode = NULL 

225cdef void* __nvmlDeviceGetSramEccErrorStatus = NULL 

226cdef void* __nvmlDeviceGetAccountingMode = NULL 

227cdef void* __nvmlDeviceGetAccountingStats = NULL 

228cdef void* __nvmlDeviceGetAccountingPids = NULL 

229cdef void* __nvmlDeviceGetAccountingBufferSize = NULL 

230cdef void* __nvmlDeviceGetRetiredPages = NULL 

231cdef void* __nvmlDeviceGetRetiredPages_v2 = NULL 

232cdef void* __nvmlDeviceGetRetiredPagesPendingStatus = NULL 

233cdef void* __nvmlDeviceGetRemappedRows = NULL 

234cdef void* __nvmlDeviceGetRowRemapperHistogram = NULL 

235cdef void* __nvmlDeviceGetArchitecture = NULL 

236cdef void* __nvmlDeviceGetClkMonStatus = NULL 

237cdef void* __nvmlDeviceGetProcessUtilization = NULL 

238cdef void* __nvmlDeviceGetProcessesUtilizationInfo = NULL 

239cdef void* __nvmlDeviceGetPlatformInfo = NULL 

240cdef void* __nvmlUnitSetLedState = NULL 

241cdef void* __nvmlDeviceSetPersistenceMode = NULL 

242cdef void* __nvmlDeviceSetComputeMode = NULL 

243cdef void* __nvmlDeviceSetEccMode = NULL 

244cdef void* __nvmlDeviceClearEccErrorCounts = NULL 

245cdef void* __nvmlDeviceSetDriverModel = NULL 

246cdef void* __nvmlDeviceSetGpuLockedClocks = NULL 

247cdef void* __nvmlDeviceResetGpuLockedClocks = NULL 

248cdef void* __nvmlDeviceSetMemoryLockedClocks = NULL 

249cdef void* __nvmlDeviceResetMemoryLockedClocks = NULL 

250cdef void* __nvmlDeviceSetAutoBoostedClocksEnabled = NULL 

251cdef void* __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = NULL 

252cdef void* __nvmlDeviceSetDefaultFanSpeed_v2 = NULL 

253cdef void* __nvmlDeviceSetFanControlPolicy = NULL 

254cdef void* __nvmlDeviceSetTemperatureThreshold = NULL 

255cdef void* __nvmlDeviceSetGpuOperationMode = NULL 

256cdef void* __nvmlDeviceSetAPIRestriction = NULL 

257cdef void* __nvmlDeviceSetFanSpeed_v2 = NULL 

258cdef void* __nvmlDeviceSetAccountingMode = NULL 

259cdef void* __nvmlDeviceClearAccountingPids = NULL 

260cdef void* __nvmlDeviceSetPowerManagementLimit_v2 = NULL 

261cdef void* __nvmlDeviceGetNvLinkState = NULL 

262cdef void* __nvmlDeviceGetNvLinkVersion = NULL 

263cdef void* __nvmlDeviceGetNvLinkCapability = NULL 

264cdef void* __nvmlDeviceGetNvLinkRemotePciInfo_v2 = NULL 

265cdef void* __nvmlDeviceGetNvLinkErrorCounter = NULL 

266cdef void* __nvmlDeviceResetNvLinkErrorCounters = NULL 

267cdef void* __nvmlDeviceGetNvLinkRemoteDeviceType = NULL 

268cdef void* __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = NULL 

269cdef void* __nvmlSystemSetNvlinkBwMode = NULL 

270cdef void* __nvmlSystemGetNvlinkBwMode = NULL 

271cdef void* __nvmlDeviceGetNvlinkSupportedBwModes = NULL 

272cdef void* __nvmlDeviceGetNvlinkBwMode = NULL 

273cdef void* __nvmlDeviceSetNvlinkBwMode = NULL 

274cdef void* __nvmlEventSetCreate = NULL 

275cdef void* __nvmlDeviceRegisterEvents = NULL 

276cdef void* __nvmlDeviceGetSupportedEventTypes = NULL 

277cdef void* __nvmlEventSetWait_v2 = NULL 

278cdef void* __nvmlEventSetFree = NULL 

279cdef void* __nvmlSystemEventSetCreate = NULL 

280cdef void* __nvmlSystemEventSetFree = NULL 

281cdef void* __nvmlSystemRegisterEvents = NULL 

282cdef void* __nvmlSystemEventSetWait = NULL 

283cdef void* __nvmlDeviceModifyDrainState = NULL 

284cdef void* __nvmlDeviceQueryDrainState = NULL 

285cdef void* __nvmlDeviceRemoveGpu_v2 = NULL 

286cdef void* __nvmlDeviceDiscoverGpus = NULL 

287cdef void* __nvmlDeviceGetFieldValues = NULL 

288cdef void* __nvmlDeviceClearFieldValues = NULL 

289cdef void* __nvmlDeviceGetVirtualizationMode = NULL 

290cdef void* __nvmlDeviceGetHostVgpuMode = NULL 

291cdef void* __nvmlDeviceSetVirtualizationMode = NULL 

292cdef void* __nvmlDeviceGetVgpuHeterogeneousMode = NULL 

293cdef void* __nvmlDeviceSetVgpuHeterogeneousMode = NULL 

294cdef void* __nvmlVgpuInstanceGetPlacementId = NULL 

295cdef void* __nvmlDeviceGetVgpuTypeSupportedPlacements = NULL 

296cdef void* __nvmlDeviceGetVgpuTypeCreatablePlacements = NULL 

297cdef void* __nvmlVgpuTypeGetGspHeapSize = NULL 

298cdef void* __nvmlVgpuTypeGetFbReservation = NULL 

299cdef void* __nvmlVgpuInstanceGetRuntimeStateSize = NULL 

300cdef void* __nvmlDeviceSetVgpuCapabilities = NULL 

301cdef void* __nvmlDeviceGetGridLicensableFeatures_v4 = NULL 

302cdef void* __nvmlGetVgpuDriverCapabilities = NULL 

303cdef void* __nvmlDeviceGetVgpuCapabilities = NULL 

304cdef void* __nvmlDeviceGetSupportedVgpus = NULL 

305cdef void* __nvmlDeviceGetCreatableVgpus = NULL 

306cdef void* __nvmlVgpuTypeGetClass = NULL 

307cdef void* __nvmlVgpuTypeGetName = NULL 

308cdef void* __nvmlVgpuTypeGetGpuInstanceProfileId = NULL 

309cdef void* __nvmlVgpuTypeGetDeviceID = NULL 

310cdef void* __nvmlVgpuTypeGetFramebufferSize = NULL 

311cdef void* __nvmlVgpuTypeGetNumDisplayHeads = NULL 

312cdef void* __nvmlVgpuTypeGetResolution = NULL 

313cdef void* __nvmlVgpuTypeGetLicense = NULL 

314cdef void* __nvmlVgpuTypeGetFrameRateLimit = NULL 

315cdef void* __nvmlVgpuTypeGetMaxInstances = NULL 

316cdef void* __nvmlVgpuTypeGetMaxInstancesPerVm = NULL 

317cdef void* __nvmlVgpuTypeGetBAR1Info = NULL 

318cdef void* __nvmlDeviceGetActiveVgpus = NULL 

319cdef void* __nvmlVgpuInstanceGetVmID = NULL 

320cdef void* __nvmlVgpuInstanceGetUUID = NULL 

321cdef void* __nvmlVgpuInstanceGetVmDriverVersion = NULL 

322cdef void* __nvmlVgpuInstanceGetFbUsage = NULL 

323cdef void* __nvmlVgpuInstanceGetLicenseStatus = NULL 

324cdef void* __nvmlVgpuInstanceGetType = NULL 

325cdef void* __nvmlVgpuInstanceGetFrameRateLimit = NULL 

326cdef void* __nvmlVgpuInstanceGetEccMode = NULL 

327cdef void* __nvmlVgpuInstanceGetEncoderCapacity = NULL 

328cdef void* __nvmlVgpuInstanceSetEncoderCapacity = NULL 

329cdef void* __nvmlVgpuInstanceGetEncoderStats = NULL 

330cdef void* __nvmlVgpuInstanceGetEncoderSessions = NULL 

331cdef void* __nvmlVgpuInstanceGetFBCStats = NULL 

332cdef void* __nvmlVgpuInstanceGetFBCSessions = NULL 

333cdef void* __nvmlVgpuInstanceGetGpuInstanceId = NULL 

334cdef void* __nvmlVgpuInstanceGetGpuPciId = NULL 

335cdef void* __nvmlVgpuTypeGetCapabilities = NULL 

336cdef void* __nvmlVgpuInstanceGetMdevUUID = NULL 

337cdef void* __nvmlGpuInstanceGetCreatableVgpus = NULL 

338cdef void* __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = NULL 

339cdef void* __nvmlGpuInstanceGetActiveVgpus = NULL 

340cdef void* __nvmlGpuInstanceSetVgpuSchedulerState = NULL 

341cdef void* __nvmlGpuInstanceGetVgpuSchedulerState = NULL 

342cdef void* __nvmlGpuInstanceGetVgpuSchedulerLog = NULL 

343cdef void* __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = NULL 

344cdef void* __nvmlGpuInstanceGetVgpuHeterogeneousMode = NULL 

345cdef void* __nvmlGpuInstanceSetVgpuHeterogeneousMode = NULL 

346cdef void* __nvmlVgpuInstanceGetMetadata = NULL 

347cdef void* __nvmlDeviceGetVgpuMetadata = NULL 

348cdef void* __nvmlGetVgpuCompatibility = NULL 

349cdef void* __nvmlDeviceGetPgpuMetadataString = NULL 

350cdef void* __nvmlDeviceGetVgpuSchedulerLog = NULL 

351cdef void* __nvmlDeviceGetVgpuSchedulerState = NULL 

352cdef void* __nvmlDeviceGetVgpuSchedulerCapabilities = NULL 

353cdef void* __nvmlDeviceSetVgpuSchedulerState = NULL 

354cdef void* __nvmlGetVgpuVersion = NULL 

355cdef void* __nvmlSetVgpuVersion = NULL 

356cdef void* __nvmlDeviceGetVgpuUtilization = NULL 

357cdef void* __nvmlDeviceGetVgpuInstancesUtilizationInfo = NULL 

358cdef void* __nvmlDeviceGetVgpuProcessUtilization = NULL 

359cdef void* __nvmlDeviceGetVgpuProcessesUtilizationInfo = NULL 

360cdef void* __nvmlVgpuInstanceGetAccountingMode = NULL 

361cdef void* __nvmlVgpuInstanceGetAccountingPids = NULL 

362cdef void* __nvmlVgpuInstanceGetAccountingStats = NULL 

363cdef void* __nvmlVgpuInstanceClearAccountingPids = NULL 

364cdef void* __nvmlVgpuInstanceGetLicenseInfo_v2 = NULL 

365cdef void* __nvmlGetExcludedDeviceCount = NULL 

366cdef void* __nvmlGetExcludedDeviceInfoByIndex = NULL 

367cdef void* __nvmlDeviceSetMigMode = NULL 

368cdef void* __nvmlDeviceGetMigMode = NULL 

369cdef void* __nvmlDeviceGetGpuInstanceProfileInfoV = NULL 

370cdef void* __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = NULL 

371cdef void* __nvmlDeviceGetGpuInstanceRemainingCapacity = NULL 

372cdef void* __nvmlDeviceCreateGpuInstance = NULL 

373cdef void* __nvmlDeviceCreateGpuInstanceWithPlacement = NULL 

374cdef void* __nvmlGpuInstanceDestroy = NULL 

375cdef void* __nvmlDeviceGetGpuInstances = NULL 

376cdef void* __nvmlDeviceGetGpuInstanceById = NULL 

377cdef void* __nvmlGpuInstanceGetInfo = NULL 

378cdef void* __nvmlGpuInstanceGetComputeInstanceProfileInfoV = NULL 

379cdef void* __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = NULL 

380cdef void* __nvmlGpuInstanceGetComputeInstancePossiblePlacements = NULL 

381cdef void* __nvmlGpuInstanceCreateComputeInstance = NULL 

382cdef void* __nvmlGpuInstanceCreateComputeInstanceWithPlacement = NULL 

383cdef void* __nvmlComputeInstanceDestroy = NULL 

384cdef void* __nvmlGpuInstanceGetComputeInstances = NULL 

385cdef void* __nvmlGpuInstanceGetComputeInstanceById = NULL 

386cdef void* __nvmlComputeInstanceGetInfo_v2 = NULL 

387cdef void* __nvmlDeviceIsMigDeviceHandle = NULL 

388cdef void* __nvmlDeviceGetGpuInstanceId = NULL 

389cdef void* __nvmlDeviceGetComputeInstanceId = NULL 

390cdef void* __nvmlDeviceGetMaxMigDeviceCount = NULL 

391cdef void* __nvmlDeviceGetMigDeviceHandleByIndex = NULL 

392cdef void* __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = NULL 

393cdef void* __nvmlDeviceGetCapabilities = NULL 

394cdef void* __nvmlDevicePowerSmoothingActivatePresetProfile = NULL 

395cdef void* __nvmlDevicePowerSmoothingUpdatePresetProfileParam = NULL 

396cdef void* __nvmlDevicePowerSmoothingSetState = NULL 

397cdef void* __nvmlDeviceGetAddressingMode = NULL 

398cdef void* __nvmlDeviceGetRepairStatus = NULL 

399cdef void* __nvmlDeviceGetPowerMizerMode_v1 = NULL 

400cdef void* __nvmlDeviceSetPowerMizerMode_v1 = NULL 

401cdef void* __nvmlDeviceGetPdi = NULL 

402cdef void* __nvmlDeviceSetHostname_v1 = NULL 

403cdef void* __nvmlDeviceGetHostname_v1 = NULL 

404cdef void* __nvmlDeviceGetNvLinkInfo = NULL 

405cdef void* __nvmlDeviceReadWritePRM_v1 = NULL 

406cdef void* __nvmlDeviceGetGpuInstanceProfileInfoByIdV = NULL 

407cdef void* __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = NULL 

408cdef void* __nvmlDeviceGetUnrepairableMemoryFlag_v1 = NULL 

409cdef void* __nvmlDeviceReadPRMCounters_v1 = NULL 

410cdef void* __nvmlDeviceSetRusdSettings_v1 = NULL 

411cdef void* __nvmlDeviceVgpuForceGspUnload = NULL 

412cdef void* __nvmlDeviceGetVgpuSchedulerState_v2 = NULL 

413cdef void* __nvmlGpuInstanceGetVgpuSchedulerState_v2 = NULL 

414cdef void* __nvmlDeviceGetVgpuSchedulerLog_v2 = NULL 

415cdef void* __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = NULL 

416cdef void* __nvmlDeviceSetVgpuSchedulerState_v2 = NULL 

417cdef void* __nvmlGpuInstanceSetVgpuSchedulerState_v2 = NULL 

418cdef void* __nvmlSystemGetCPER_v1 = NULL 

419cdef void* __nvmlDeviceGetBBXTimeData_v1 = NULL 

420cdef void* __nvmlDeviceGetAccountingStats_v2 = NULL 

421cdef void* __nvmlDeviceGetRemappedRows_v2 = NULL 

422cdef void* __nvmlDeviceSetAdaptiveTgpMode_v1 = NULL 

423cdef void* __nvmlDeviceGetAdaptiveTgpModeInfo_v1 = NULL 

424cdef void* __nvmlDeviceSetMemoryLimits_v1 = NULL 

425cdef void* __nvmlDeviceGetMemoryLimits_v1 = NULL 

426cdef void* __nvmlDeviceGetGpuFabricInfo_v4 = NULL 

427cdef void* __nvmlDevicePerfMetricsGetSamples_v1 = NULL 

428cdef void* __nvmlDeviceSetNvlinkBwModeAsync_v1 = NULL 

429cdef void* __nvmlDeviceGetNvLinkTelemetrySamples_v1 = NULL 

430cdef void* __nvmlEventSetRegisterGpuOperationalEvents_v1 = NULL 

431cdef void* __nvmlEventSetWait_v3 = NULL 

432cdef void* __nvmlEventSetGetContextCount_v1 = NULL 

433cdef void* __nvmlEventSetGetContextInfo_v1 = NULL 

434cdef void* __nvmlEventSetGetContextData_v1 = NULL 

435cdef void* __nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 = NULL 

436cdef void* __nvmlDeviceGetBankRemapperStatus_v1 = NULL 

437  

438cdef int _init_nvml() except -1 nogil: 

439 global _cyb___py_nvml_init 

440 cdef void* handle = NULL 

441 with gil, _cyb_symbol_lock: 

442 if _cyb___py_nvml_init: return 0 

443  

444 global __nvmlInit_v2 

445 __nvmlInit_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlInit_v2') 

446 if __nvmlInit_v2 == NULL: 

447 if handle == NULL: 

448 handle = load_library() 

449 __nvmlInit_v2 = _cyb_dlsym(handle, 'nvmlInit_v2') 

450  

451 global __nvmlInitWithFlags 

452 __nvmlInitWithFlags = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlInitWithFlags') 

453 if __nvmlInitWithFlags == NULL: 

454 if handle == NULL: 

455 handle = load_library() 

456 __nvmlInitWithFlags = _cyb_dlsym(handle, 'nvmlInitWithFlags') 

457  

458 global __nvmlShutdown 

459 __nvmlShutdown = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlShutdown') 

460 if __nvmlShutdown == NULL: 

461 if handle == NULL: 

462 handle = load_library() 

463 __nvmlShutdown = _cyb_dlsym(handle, 'nvmlShutdown') 

464  

465 global __nvmlErrorString 

466 __nvmlErrorString = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlErrorString') 

467 if __nvmlErrorString == NULL: 

468 if handle == NULL: 

469 handle = load_library() 

470 __nvmlErrorString = _cyb_dlsym(handle, 'nvmlErrorString') 

471  

472 global __nvmlSystemGetDriverVersion 

473 __nvmlSystemGetDriverVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetDriverVersion') 

474 if __nvmlSystemGetDriverVersion == NULL: 

475 if handle == NULL: 

476 handle = load_library() 

477 __nvmlSystemGetDriverVersion = _cyb_dlsym(handle, 'nvmlSystemGetDriverVersion') 

478  

479 global __nvmlSystemGetNVMLVersion 

480 __nvmlSystemGetNVMLVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetNVMLVersion') 

481 if __nvmlSystemGetNVMLVersion == NULL: 

482 if handle == NULL: 

483 handle = load_library() 

484 __nvmlSystemGetNVMLVersion = _cyb_dlsym(handle, 'nvmlSystemGetNVMLVersion') 

485  

486 global __nvmlSystemGetCudaDriverVersion 

487 __nvmlSystemGetCudaDriverVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetCudaDriverVersion') 

488 if __nvmlSystemGetCudaDriverVersion == NULL: 

489 if handle == NULL: 

490 handle = load_library() 

491 __nvmlSystemGetCudaDriverVersion = _cyb_dlsym(handle, 'nvmlSystemGetCudaDriverVersion') 

492  

493 global __nvmlSystemGetCudaDriverVersion_v2 

494 __nvmlSystemGetCudaDriverVersion_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetCudaDriverVersion_v2') 

495 if __nvmlSystemGetCudaDriverVersion_v2 == NULL: 

496 if handle == NULL: 

497 handle = load_library() 

498 __nvmlSystemGetCudaDriverVersion_v2 = _cyb_dlsym(handle, 'nvmlSystemGetCudaDriverVersion_v2') 

499  

500 global __nvmlSystemGetProcessName 

501 __nvmlSystemGetProcessName = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetProcessName') 

502 if __nvmlSystemGetProcessName == NULL: 

503 if handle == NULL: 

504 handle = load_library() 

505 __nvmlSystemGetProcessName = _cyb_dlsym(handle, 'nvmlSystemGetProcessName') 

506  

507 global __nvmlSystemGetHicVersion 

508 __nvmlSystemGetHicVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetHicVersion') 

509 if __nvmlSystemGetHicVersion == NULL: 

510 if handle == NULL: 

511 handle = load_library() 

512 __nvmlSystemGetHicVersion = _cyb_dlsym(handle, 'nvmlSystemGetHicVersion') 

513  

514 global __nvmlSystemGetTopologyGpuSet 

515 __nvmlSystemGetTopologyGpuSet = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetTopologyGpuSet') 

516 if __nvmlSystemGetTopologyGpuSet == NULL: 

517 if handle == NULL: 

518 handle = load_library() 

519 __nvmlSystemGetTopologyGpuSet = _cyb_dlsym(handle, 'nvmlSystemGetTopologyGpuSet') 

520  

521 global __nvmlSystemGetDriverBranch 

522 __nvmlSystemGetDriverBranch = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetDriverBranch') 

523 if __nvmlSystemGetDriverBranch == NULL: 

524 if handle == NULL: 

525 handle = load_library() 

526 __nvmlSystemGetDriverBranch = _cyb_dlsym(handle, 'nvmlSystemGetDriverBranch') 

527  

528 global __nvmlUnitGetCount 

529 __nvmlUnitGetCount = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetCount') 

530 if __nvmlUnitGetCount == NULL: 

531 if handle == NULL: 

532 handle = load_library() 

533 __nvmlUnitGetCount = _cyb_dlsym(handle, 'nvmlUnitGetCount') 

534  

535 global __nvmlUnitGetHandleByIndex 

536 __nvmlUnitGetHandleByIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetHandleByIndex') 

537 if __nvmlUnitGetHandleByIndex == NULL: 

538 if handle == NULL: 

539 handle = load_library() 

540 __nvmlUnitGetHandleByIndex = _cyb_dlsym(handle, 'nvmlUnitGetHandleByIndex') 

541  

542 global __nvmlUnitGetUnitInfo 

543 __nvmlUnitGetUnitInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetUnitInfo') 

544 if __nvmlUnitGetUnitInfo == NULL: 

545 if handle == NULL: 

546 handle = load_library() 

547 __nvmlUnitGetUnitInfo = _cyb_dlsym(handle, 'nvmlUnitGetUnitInfo') 

548  

549 global __nvmlUnitGetLedState 

550 __nvmlUnitGetLedState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetLedState') 

551 if __nvmlUnitGetLedState == NULL: 

552 if handle == NULL: 

553 handle = load_library() 

554 __nvmlUnitGetLedState = _cyb_dlsym(handle, 'nvmlUnitGetLedState') 

555  

556 global __nvmlUnitGetPsuInfo 

557 __nvmlUnitGetPsuInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetPsuInfo') 

558 if __nvmlUnitGetPsuInfo == NULL: 

559 if handle == NULL: 

560 handle = load_library() 

561 __nvmlUnitGetPsuInfo = _cyb_dlsym(handle, 'nvmlUnitGetPsuInfo') 

562  

563 global __nvmlUnitGetTemperature 

564 __nvmlUnitGetTemperature = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetTemperature') 

565 if __nvmlUnitGetTemperature == NULL: 

566 if handle == NULL: 

567 handle = load_library() 

568 __nvmlUnitGetTemperature = _cyb_dlsym(handle, 'nvmlUnitGetTemperature') 

569  

570 global __nvmlUnitGetFanSpeedInfo 

571 __nvmlUnitGetFanSpeedInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetFanSpeedInfo') 

572 if __nvmlUnitGetFanSpeedInfo == NULL: 

573 if handle == NULL: 

574 handle = load_library() 

575 __nvmlUnitGetFanSpeedInfo = _cyb_dlsym(handle, 'nvmlUnitGetFanSpeedInfo') 

576  

577 global __nvmlUnitGetDevices 

578 __nvmlUnitGetDevices = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetDevices') 

579 if __nvmlUnitGetDevices == NULL: 

580 if handle == NULL: 

581 handle = load_library() 

582 __nvmlUnitGetDevices = _cyb_dlsym(handle, 'nvmlUnitGetDevices') 

583  

584 global __nvmlDeviceGetCount_v2 

585 __nvmlDeviceGetCount_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCount_v2') 

586 if __nvmlDeviceGetCount_v2 == NULL: 

587 if handle == NULL: 

588 handle = load_library() 

589 __nvmlDeviceGetCount_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetCount_v2') 

590  

591 global __nvmlDeviceGetAttributes_v2 

592 __nvmlDeviceGetAttributes_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAttributes_v2') 

593 if __nvmlDeviceGetAttributes_v2 == NULL: 

594 if handle == NULL: 

595 handle = load_library() 

596 __nvmlDeviceGetAttributes_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetAttributes_v2') 

597  

598 global __nvmlDeviceGetHandleByIndex_v2 

599 __nvmlDeviceGetHandleByIndex_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByIndex_v2') 

600 if __nvmlDeviceGetHandleByIndex_v2 == NULL: 

601 if handle == NULL: 

602 handle = load_library() 

603 __nvmlDeviceGetHandleByIndex_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByIndex_v2') 

604  

605 global __nvmlDeviceGetHandleBySerial 

606 __nvmlDeviceGetHandleBySerial = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleBySerial') 

607 if __nvmlDeviceGetHandleBySerial == NULL: 

608 if handle == NULL: 

609 handle = load_library() 

610 __nvmlDeviceGetHandleBySerial = _cyb_dlsym(handle, 'nvmlDeviceGetHandleBySerial') 

611  

612 global __nvmlDeviceGetHandleByUUID 

613 __nvmlDeviceGetHandleByUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByUUID') 

614 if __nvmlDeviceGetHandleByUUID == NULL: 

615 if handle == NULL: 

616 handle = load_library() 

617 __nvmlDeviceGetHandleByUUID = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByUUID') 

618  

619 global __nvmlDeviceGetHandleByUUIDV 

620 __nvmlDeviceGetHandleByUUIDV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByUUIDV') 

621 if __nvmlDeviceGetHandleByUUIDV == NULL: 

622 if handle == NULL: 

623 handle = load_library() 

624 __nvmlDeviceGetHandleByUUIDV = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByUUIDV') 

625  

626 global __nvmlDeviceGetHandleByPciBusId_v2 

627 __nvmlDeviceGetHandleByPciBusId_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByPciBusId_v2') 

628 if __nvmlDeviceGetHandleByPciBusId_v2 == NULL: 

629 if handle == NULL: 

630 handle = load_library() 

631 __nvmlDeviceGetHandleByPciBusId_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByPciBusId_v2') 

632  

633 global __nvmlDeviceGetName 

634 __nvmlDeviceGetName = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetName') 

635 if __nvmlDeviceGetName == NULL: 

636 if handle == NULL: 

637 handle = load_library() 

638 __nvmlDeviceGetName = _cyb_dlsym(handle, 'nvmlDeviceGetName') 

639  

640 global __nvmlDeviceGetBrand 

641 __nvmlDeviceGetBrand = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBrand') 

642 if __nvmlDeviceGetBrand == NULL: 

643 if handle == NULL: 

644 handle = load_library() 

645 __nvmlDeviceGetBrand = _cyb_dlsym(handle, 'nvmlDeviceGetBrand') 

646  

647 global __nvmlDeviceGetIndex 

648 __nvmlDeviceGetIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetIndex') 

649 if __nvmlDeviceGetIndex == NULL: 

650 if handle == NULL: 

651 handle = load_library() 

652 __nvmlDeviceGetIndex = _cyb_dlsym(handle, 'nvmlDeviceGetIndex') 

653  

654 global __nvmlDeviceGetSerial 

655 __nvmlDeviceGetSerial = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSerial') 

656 if __nvmlDeviceGetSerial == NULL: 

657 if handle == NULL: 

658 handle = load_library() 

659 __nvmlDeviceGetSerial = _cyb_dlsym(handle, 'nvmlDeviceGetSerial') 

660  

661 global __nvmlDeviceGetModuleId 

662 __nvmlDeviceGetModuleId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetModuleId') 

663 if __nvmlDeviceGetModuleId == NULL: 

664 if handle == NULL: 

665 handle = load_library() 

666 __nvmlDeviceGetModuleId = _cyb_dlsym(handle, 'nvmlDeviceGetModuleId') 

667  

668 global __nvmlDeviceGetC2cModeInfoV 

669 __nvmlDeviceGetC2cModeInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetC2cModeInfoV') 

670 if __nvmlDeviceGetC2cModeInfoV == NULL: 

671 if handle == NULL: 

672 handle = load_library() 

673 __nvmlDeviceGetC2cModeInfoV = _cyb_dlsym(handle, 'nvmlDeviceGetC2cModeInfoV') 

674  

675 global __nvmlDeviceGetMemoryAffinity 

676 __nvmlDeviceGetMemoryAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryAffinity') 

677 if __nvmlDeviceGetMemoryAffinity == NULL: 

678 if handle == NULL: 

679 handle = load_library() 

680 __nvmlDeviceGetMemoryAffinity = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryAffinity') 

681  

682 global __nvmlDeviceGetCpuAffinityWithinScope 

683 __nvmlDeviceGetCpuAffinityWithinScope = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCpuAffinityWithinScope') 

684 if __nvmlDeviceGetCpuAffinityWithinScope == NULL: 

685 if handle == NULL: 

686 handle = load_library() 

687 __nvmlDeviceGetCpuAffinityWithinScope = _cyb_dlsym(handle, 'nvmlDeviceGetCpuAffinityWithinScope') 

688  

689 global __nvmlDeviceGetCpuAffinity 

690 __nvmlDeviceGetCpuAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCpuAffinity') 

691 if __nvmlDeviceGetCpuAffinity == NULL: 

692 if handle == NULL: 

693 handle = load_library() 

694 __nvmlDeviceGetCpuAffinity = _cyb_dlsym(handle, 'nvmlDeviceGetCpuAffinity') 

695  

696 global __nvmlDeviceSetCpuAffinity 

697 __nvmlDeviceSetCpuAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetCpuAffinity') 

698 if __nvmlDeviceSetCpuAffinity == NULL: 

699 if handle == NULL: 

700 handle = load_library() 

701 __nvmlDeviceSetCpuAffinity = _cyb_dlsym(handle, 'nvmlDeviceSetCpuAffinity') 

702  

703 global __nvmlDeviceClearCpuAffinity 

704 __nvmlDeviceClearCpuAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearCpuAffinity') 

705 if __nvmlDeviceClearCpuAffinity == NULL: 

706 if handle == NULL: 

707 handle = load_library() 

708 __nvmlDeviceClearCpuAffinity = _cyb_dlsym(handle, 'nvmlDeviceClearCpuAffinity') 

709  

710 global __nvmlDeviceGetNumaNodeId 

711 __nvmlDeviceGetNumaNodeId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNumaNodeId') 

712 if __nvmlDeviceGetNumaNodeId == NULL: 

713 if handle == NULL: 

714 handle = load_library() 

715 __nvmlDeviceGetNumaNodeId = _cyb_dlsym(handle, 'nvmlDeviceGetNumaNodeId') 

716  

717 global __nvmlDeviceGetTopologyCommonAncestor 

718 __nvmlDeviceGetTopologyCommonAncestor = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTopologyCommonAncestor') 

719 if __nvmlDeviceGetTopologyCommonAncestor == NULL: 

720 if handle == NULL: 

721 handle = load_library() 

722 __nvmlDeviceGetTopologyCommonAncestor = _cyb_dlsym(handle, 'nvmlDeviceGetTopologyCommonAncestor') 

723  

724 global __nvmlDeviceGetTopologyNearestGpus 

725 __nvmlDeviceGetTopologyNearestGpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTopologyNearestGpus') 

726 if __nvmlDeviceGetTopologyNearestGpus == NULL: 

727 if handle == NULL: 

728 handle = load_library() 

729 __nvmlDeviceGetTopologyNearestGpus = _cyb_dlsym(handle, 'nvmlDeviceGetTopologyNearestGpus') 

730  

731 global __nvmlDeviceGetP2PStatus 

732 __nvmlDeviceGetP2PStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetP2PStatus') 

733 if __nvmlDeviceGetP2PStatus == NULL: 

734 if handle == NULL: 

735 handle = load_library() 

736 __nvmlDeviceGetP2PStatus = _cyb_dlsym(handle, 'nvmlDeviceGetP2PStatus') 

737  

738 global __nvmlDeviceGetUUID 

739 __nvmlDeviceGetUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetUUID') 

740 if __nvmlDeviceGetUUID == NULL: 

741 if handle == NULL: 

742 handle = load_library() 

743 __nvmlDeviceGetUUID = _cyb_dlsym(handle, 'nvmlDeviceGetUUID') 

744  

745 global __nvmlDeviceGetMinorNumber 

746 __nvmlDeviceGetMinorNumber = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMinorNumber') 

747 if __nvmlDeviceGetMinorNumber == NULL: 

748 if handle == NULL: 

749 handle = load_library() 

750 __nvmlDeviceGetMinorNumber = _cyb_dlsym(handle, 'nvmlDeviceGetMinorNumber') 

751  

752 global __nvmlDeviceGetBoardPartNumber 

753 __nvmlDeviceGetBoardPartNumber = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBoardPartNumber') 

754 if __nvmlDeviceGetBoardPartNumber == NULL: 

755 if handle == NULL: 

756 handle = load_library() 

757 __nvmlDeviceGetBoardPartNumber = _cyb_dlsym(handle, 'nvmlDeviceGetBoardPartNumber') 

758  

759 global __nvmlDeviceGetInforomVersion 

760 __nvmlDeviceGetInforomVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetInforomVersion') 

761 if __nvmlDeviceGetInforomVersion == NULL: 

762 if handle == NULL: 

763 handle = load_library() 

764 __nvmlDeviceGetInforomVersion = _cyb_dlsym(handle, 'nvmlDeviceGetInforomVersion') 

765  

766 global __nvmlDeviceGetInforomImageVersion 

767 __nvmlDeviceGetInforomImageVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetInforomImageVersion') 

768 if __nvmlDeviceGetInforomImageVersion == NULL: 

769 if handle == NULL: 

770 handle = load_library() 

771 __nvmlDeviceGetInforomImageVersion = _cyb_dlsym(handle, 'nvmlDeviceGetInforomImageVersion') 

772  

773 global __nvmlDeviceGetInforomConfigurationChecksum 

774 __nvmlDeviceGetInforomConfigurationChecksum = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetInforomConfigurationChecksum') 

775 if __nvmlDeviceGetInforomConfigurationChecksum == NULL: 

776 if handle == NULL: 

777 handle = load_library() 

778 __nvmlDeviceGetInforomConfigurationChecksum = _cyb_dlsym(handle, 'nvmlDeviceGetInforomConfigurationChecksum') 

779  

780 global __nvmlDeviceValidateInforom 

781 __nvmlDeviceValidateInforom = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceValidateInforom') 

782 if __nvmlDeviceValidateInforom == NULL: 

783 if handle == NULL: 

784 handle = load_library() 

785 __nvmlDeviceValidateInforom = _cyb_dlsym(handle, 'nvmlDeviceValidateInforom') 

786  

787 global __nvmlDeviceGetLastBBXFlushTime 

788 __nvmlDeviceGetLastBBXFlushTime = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetLastBBXFlushTime') 

789 if __nvmlDeviceGetLastBBXFlushTime == NULL: 

790 if handle == NULL: 

791 handle = load_library() 

792 __nvmlDeviceGetLastBBXFlushTime = _cyb_dlsym(handle, 'nvmlDeviceGetLastBBXFlushTime') 

793  

794 global __nvmlDeviceGetDisplayMode 

795 __nvmlDeviceGetDisplayMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDisplayMode') 

796 if __nvmlDeviceGetDisplayMode == NULL: 

797 if handle == NULL: 

798 handle = load_library() 

799 __nvmlDeviceGetDisplayMode = _cyb_dlsym(handle, 'nvmlDeviceGetDisplayMode') 

800  

801 global __nvmlDeviceGetDisplayActive 

802 __nvmlDeviceGetDisplayActive = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDisplayActive') 

803 if __nvmlDeviceGetDisplayActive == NULL: 

804 if handle == NULL: 

805 handle = load_library() 

806 __nvmlDeviceGetDisplayActive = _cyb_dlsym(handle, 'nvmlDeviceGetDisplayActive') 

807  

808 global __nvmlDeviceGetPersistenceMode 

809 __nvmlDeviceGetPersistenceMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPersistenceMode') 

810 if __nvmlDeviceGetPersistenceMode == NULL: 

811 if handle == NULL: 

812 handle = load_library() 

813 __nvmlDeviceGetPersistenceMode = _cyb_dlsym(handle, 'nvmlDeviceGetPersistenceMode') 

814  

815 global __nvmlDeviceGetPciInfoExt 

816 __nvmlDeviceGetPciInfoExt = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPciInfoExt') 

817 if __nvmlDeviceGetPciInfoExt == NULL: 

818 if handle == NULL: 

819 handle = load_library() 

820 __nvmlDeviceGetPciInfoExt = _cyb_dlsym(handle, 'nvmlDeviceGetPciInfoExt') 

821  

822 global __nvmlDeviceGetPciInfo_v3 

823 __nvmlDeviceGetPciInfo_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPciInfo_v3') 

824 if __nvmlDeviceGetPciInfo_v3 == NULL: 

825 if handle == NULL: 

826 handle = load_library() 

827 __nvmlDeviceGetPciInfo_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetPciInfo_v3') 

828  

829 global __nvmlDeviceGetMaxPcieLinkGeneration 

830 __nvmlDeviceGetMaxPcieLinkGeneration = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxPcieLinkGeneration') 

831 if __nvmlDeviceGetMaxPcieLinkGeneration == NULL: 

832 if handle == NULL: 

833 handle = load_library() 

834 __nvmlDeviceGetMaxPcieLinkGeneration = _cyb_dlsym(handle, 'nvmlDeviceGetMaxPcieLinkGeneration') 

835  

836 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

837 __nvmlDeviceGetGpuMaxPcieLinkGeneration = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuMaxPcieLinkGeneration') 

838 if __nvmlDeviceGetGpuMaxPcieLinkGeneration == NULL: 

839 if handle == NULL: 

840 handle = load_library() 

841 __nvmlDeviceGetGpuMaxPcieLinkGeneration = _cyb_dlsym(handle, 'nvmlDeviceGetGpuMaxPcieLinkGeneration') 

842  

843 global __nvmlDeviceGetMaxPcieLinkWidth 

844 __nvmlDeviceGetMaxPcieLinkWidth = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxPcieLinkWidth') 

845 if __nvmlDeviceGetMaxPcieLinkWidth == NULL: 

846 if handle == NULL: 

847 handle = load_library() 

848 __nvmlDeviceGetMaxPcieLinkWidth = _cyb_dlsym(handle, 'nvmlDeviceGetMaxPcieLinkWidth') 

849  

850 global __nvmlDeviceGetCurrPcieLinkGeneration 

851 __nvmlDeviceGetCurrPcieLinkGeneration = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrPcieLinkGeneration') 

852 if __nvmlDeviceGetCurrPcieLinkGeneration == NULL: 

853 if handle == NULL: 

854 handle = load_library() 

855 __nvmlDeviceGetCurrPcieLinkGeneration = _cyb_dlsym(handle, 'nvmlDeviceGetCurrPcieLinkGeneration') 

856  

857 global __nvmlDeviceGetCurrPcieLinkWidth 

858 __nvmlDeviceGetCurrPcieLinkWidth = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrPcieLinkWidth') 

859 if __nvmlDeviceGetCurrPcieLinkWidth == NULL: 

860 if handle == NULL: 

861 handle = load_library() 

862 __nvmlDeviceGetCurrPcieLinkWidth = _cyb_dlsym(handle, 'nvmlDeviceGetCurrPcieLinkWidth') 

863  

864 global __nvmlDeviceGetPcieThroughput 

865 __nvmlDeviceGetPcieThroughput = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieThroughput') 

866 if __nvmlDeviceGetPcieThroughput == NULL: 

867 if handle == NULL: 

868 handle = load_library() 

869 __nvmlDeviceGetPcieThroughput = _cyb_dlsym(handle, 'nvmlDeviceGetPcieThroughput') 

870  

871 global __nvmlDeviceGetPcieReplayCounter 

872 __nvmlDeviceGetPcieReplayCounter = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieReplayCounter') 

873 if __nvmlDeviceGetPcieReplayCounter == NULL: 

874 if handle == NULL: 

875 handle = load_library() 

876 __nvmlDeviceGetPcieReplayCounter = _cyb_dlsym(handle, 'nvmlDeviceGetPcieReplayCounter') 

877  

878 global __nvmlDeviceGetClockInfo 

879 __nvmlDeviceGetClockInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClockInfo') 

880 if __nvmlDeviceGetClockInfo == NULL: 

881 if handle == NULL: 

882 handle = load_library() 

883 __nvmlDeviceGetClockInfo = _cyb_dlsym(handle, 'nvmlDeviceGetClockInfo') 

884  

885 global __nvmlDeviceGetMaxClockInfo 

886 __nvmlDeviceGetMaxClockInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxClockInfo') 

887 if __nvmlDeviceGetMaxClockInfo == NULL: 

888 if handle == NULL: 

889 handle = load_library() 

890 __nvmlDeviceGetMaxClockInfo = _cyb_dlsym(handle, 'nvmlDeviceGetMaxClockInfo') 

891  

892 global __nvmlDeviceGetGpcClkVfOffset 

893 __nvmlDeviceGetGpcClkVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpcClkVfOffset') 

894 if __nvmlDeviceGetGpcClkVfOffset == NULL: 

895 if handle == NULL: 

896 handle = load_library() 

897 __nvmlDeviceGetGpcClkVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetGpcClkVfOffset') 

898  

899 global __nvmlDeviceGetClock 

900 __nvmlDeviceGetClock = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClock') 

901 if __nvmlDeviceGetClock == NULL: 

902 if handle == NULL: 

903 handle = load_library() 

904 __nvmlDeviceGetClock = _cyb_dlsym(handle, 'nvmlDeviceGetClock') 

905  

906 global __nvmlDeviceGetMaxCustomerBoostClock 

907 __nvmlDeviceGetMaxCustomerBoostClock = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxCustomerBoostClock') 

908 if __nvmlDeviceGetMaxCustomerBoostClock == NULL: 

909 if handle == NULL: 

910 handle = load_library() 

911 __nvmlDeviceGetMaxCustomerBoostClock = _cyb_dlsym(handle, 'nvmlDeviceGetMaxCustomerBoostClock') 

912  

913 global __nvmlDeviceGetSupportedMemoryClocks 

914 __nvmlDeviceGetSupportedMemoryClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedMemoryClocks') 

915 if __nvmlDeviceGetSupportedMemoryClocks == NULL: 

916 if handle == NULL: 

917 handle = load_library() 

918 __nvmlDeviceGetSupportedMemoryClocks = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedMemoryClocks') 

919  

920 global __nvmlDeviceGetSupportedGraphicsClocks 

921 __nvmlDeviceGetSupportedGraphicsClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedGraphicsClocks') 

922 if __nvmlDeviceGetSupportedGraphicsClocks == NULL: 

923 if handle == NULL: 

924 handle = load_library() 

925 __nvmlDeviceGetSupportedGraphicsClocks = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedGraphicsClocks') 

926  

927 global __nvmlDeviceGetAutoBoostedClocksEnabled 

928 __nvmlDeviceGetAutoBoostedClocksEnabled = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAutoBoostedClocksEnabled') 

929 if __nvmlDeviceGetAutoBoostedClocksEnabled == NULL: 

930 if handle == NULL: 

931 handle = load_library() 

932 __nvmlDeviceGetAutoBoostedClocksEnabled = _cyb_dlsym(handle, 'nvmlDeviceGetAutoBoostedClocksEnabled') 

933  

934 global __nvmlDeviceGetFanSpeed 

935 __nvmlDeviceGetFanSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanSpeed') 

936 if __nvmlDeviceGetFanSpeed == NULL: 

937 if handle == NULL: 

938 handle = load_library() 

939 __nvmlDeviceGetFanSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetFanSpeed') 

940  

941 global __nvmlDeviceGetFanSpeed_v2 

942 __nvmlDeviceGetFanSpeed_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanSpeed_v2') 

943 if __nvmlDeviceGetFanSpeed_v2 == NULL: 

944 if handle == NULL: 

945 handle = load_library() 

946 __nvmlDeviceGetFanSpeed_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetFanSpeed_v2') 

947  

948 global __nvmlDeviceGetFanSpeedRPM 

949 __nvmlDeviceGetFanSpeedRPM = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanSpeedRPM') 

950 if __nvmlDeviceGetFanSpeedRPM == NULL: 

951 if handle == NULL: 

952 handle = load_library() 

953 __nvmlDeviceGetFanSpeedRPM = _cyb_dlsym(handle, 'nvmlDeviceGetFanSpeedRPM') 

954  

955 global __nvmlDeviceGetTargetFanSpeed 

956 __nvmlDeviceGetTargetFanSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTargetFanSpeed') 

957 if __nvmlDeviceGetTargetFanSpeed == NULL: 

958 if handle == NULL: 

959 handle = load_library() 

960 __nvmlDeviceGetTargetFanSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetTargetFanSpeed') 

961  

962 global __nvmlDeviceGetMinMaxFanSpeed 

963 __nvmlDeviceGetMinMaxFanSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMinMaxFanSpeed') 

964 if __nvmlDeviceGetMinMaxFanSpeed == NULL: 

965 if handle == NULL: 

966 handle = load_library() 

967 __nvmlDeviceGetMinMaxFanSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetMinMaxFanSpeed') 

968  

969 global __nvmlDeviceGetFanControlPolicy_v2 

970 __nvmlDeviceGetFanControlPolicy_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanControlPolicy_v2') 

971 if __nvmlDeviceGetFanControlPolicy_v2 == NULL: 

972 if handle == NULL: 

973 handle = load_library() 

974 __nvmlDeviceGetFanControlPolicy_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetFanControlPolicy_v2') 

975  

976 global __nvmlDeviceGetNumFans 

977 __nvmlDeviceGetNumFans = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNumFans') 

978 if __nvmlDeviceGetNumFans == NULL: 

979 if handle == NULL: 

980 handle = load_library() 

981 __nvmlDeviceGetNumFans = _cyb_dlsym(handle, 'nvmlDeviceGetNumFans') 

982  

983 global __nvmlDeviceGetCoolerInfo 

984 __nvmlDeviceGetCoolerInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCoolerInfo') 

985 if __nvmlDeviceGetCoolerInfo == NULL: 

986 if handle == NULL: 

987 handle = load_library() 

988 __nvmlDeviceGetCoolerInfo = _cyb_dlsym(handle, 'nvmlDeviceGetCoolerInfo') 

989  

990 global __nvmlDeviceGetTemperatureV 

991 __nvmlDeviceGetTemperatureV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTemperatureV') 

992 if __nvmlDeviceGetTemperatureV == NULL: 

993 if handle == NULL: 

994 handle = load_library() 

995 __nvmlDeviceGetTemperatureV = _cyb_dlsym(handle, 'nvmlDeviceGetTemperatureV') 

996  

997 global __nvmlDeviceGetTemperatureThreshold 

998 __nvmlDeviceGetTemperatureThreshold = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTemperatureThreshold') 

999 if __nvmlDeviceGetTemperatureThreshold == NULL: 

1000 if handle == NULL: 

1001 handle = load_library() 

1002 __nvmlDeviceGetTemperatureThreshold = _cyb_dlsym(handle, 'nvmlDeviceGetTemperatureThreshold') 

1003  

1004 global __nvmlDeviceGetMarginTemperature 

1005 __nvmlDeviceGetMarginTemperature = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMarginTemperature') 

1006 if __nvmlDeviceGetMarginTemperature == NULL: 

1007 if handle == NULL: 

1008 handle = load_library() 

1009 __nvmlDeviceGetMarginTemperature = _cyb_dlsym(handle, 'nvmlDeviceGetMarginTemperature') 

1010  

1011 global __nvmlDeviceGetThermalSettings 

1012 __nvmlDeviceGetThermalSettings = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetThermalSettings') 

1013 if __nvmlDeviceGetThermalSettings == NULL: 

1014 if handle == NULL: 

1015 handle = load_library() 

1016 __nvmlDeviceGetThermalSettings = _cyb_dlsym(handle, 'nvmlDeviceGetThermalSettings') 

1017  

1018 global __nvmlDeviceGetPerformanceState 

1019 __nvmlDeviceGetPerformanceState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPerformanceState') 

1020 if __nvmlDeviceGetPerformanceState == NULL: 

1021 if handle == NULL: 

1022 handle = load_library() 

1023 __nvmlDeviceGetPerformanceState = _cyb_dlsym(handle, 'nvmlDeviceGetPerformanceState') 

1024  

1025 global __nvmlDeviceGetCurrentClocksEventReasons 

1026 __nvmlDeviceGetCurrentClocksEventReasons = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrentClocksEventReasons') 

1027 if __nvmlDeviceGetCurrentClocksEventReasons == NULL: 

1028 if handle == NULL: 

1029 handle = load_library() 

1030 __nvmlDeviceGetCurrentClocksEventReasons = _cyb_dlsym(handle, 'nvmlDeviceGetCurrentClocksEventReasons') 

1031  

1032 global __nvmlDeviceGetSupportedClocksEventReasons 

1033 __nvmlDeviceGetSupportedClocksEventReasons = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedClocksEventReasons') 

1034 if __nvmlDeviceGetSupportedClocksEventReasons == NULL: 

1035 if handle == NULL: 

1036 handle = load_library() 

1037 __nvmlDeviceGetSupportedClocksEventReasons = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedClocksEventReasons') 

1038  

1039 global __nvmlDeviceGetPowerState 

1040 __nvmlDeviceGetPowerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerState') 

1041 if __nvmlDeviceGetPowerState == NULL: 

1042 if handle == NULL: 

1043 handle = load_library() 

1044 __nvmlDeviceGetPowerState = _cyb_dlsym(handle, 'nvmlDeviceGetPowerState') 

1045  

1046 global __nvmlDeviceGetDynamicPstatesInfo 

1047 __nvmlDeviceGetDynamicPstatesInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDynamicPstatesInfo') 

1048 if __nvmlDeviceGetDynamicPstatesInfo == NULL: 

1049 if handle == NULL: 

1050 handle = load_library() 

1051 __nvmlDeviceGetDynamicPstatesInfo = _cyb_dlsym(handle, 'nvmlDeviceGetDynamicPstatesInfo') 

1052  

1053 global __nvmlDeviceGetMemClkVfOffset 

1054 __nvmlDeviceGetMemClkVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemClkVfOffset') 

1055 if __nvmlDeviceGetMemClkVfOffset == NULL: 

1056 if handle == NULL: 

1057 handle = load_library() 

1058 __nvmlDeviceGetMemClkVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetMemClkVfOffset') 

1059  

1060 global __nvmlDeviceGetMinMaxClockOfPState 

1061 __nvmlDeviceGetMinMaxClockOfPState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMinMaxClockOfPState') 

1062 if __nvmlDeviceGetMinMaxClockOfPState == NULL: 

1063 if handle == NULL: 

1064 handle = load_library() 

1065 __nvmlDeviceGetMinMaxClockOfPState = _cyb_dlsym(handle, 'nvmlDeviceGetMinMaxClockOfPState') 

1066  

1067 global __nvmlDeviceGetSupportedPerformanceStates 

1068 __nvmlDeviceGetSupportedPerformanceStates = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedPerformanceStates') 

1069 if __nvmlDeviceGetSupportedPerformanceStates == NULL: 

1070 if handle == NULL: 

1071 handle = load_library() 

1072 __nvmlDeviceGetSupportedPerformanceStates = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedPerformanceStates') 

1073  

1074 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

1075 __nvmlDeviceGetGpcClkMinMaxVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpcClkMinMaxVfOffset') 

1076 if __nvmlDeviceGetGpcClkMinMaxVfOffset == NULL: 

1077 if handle == NULL: 

1078 handle = load_library() 

1079 __nvmlDeviceGetGpcClkMinMaxVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetGpcClkMinMaxVfOffset') 

1080  

1081 global __nvmlDeviceGetMemClkMinMaxVfOffset 

1082 __nvmlDeviceGetMemClkMinMaxVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemClkMinMaxVfOffset') 

1083 if __nvmlDeviceGetMemClkMinMaxVfOffset == NULL: 

1084 if handle == NULL: 

1085 handle = load_library() 

1086 __nvmlDeviceGetMemClkMinMaxVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetMemClkMinMaxVfOffset') 

1087  

1088 global __nvmlDeviceGetClockOffsets 

1089 __nvmlDeviceGetClockOffsets = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClockOffsets') 

1090 if __nvmlDeviceGetClockOffsets == NULL: 

1091 if handle == NULL: 

1092 handle = load_library() 

1093 __nvmlDeviceGetClockOffsets = _cyb_dlsym(handle, 'nvmlDeviceGetClockOffsets') 

1094  

1095 global __nvmlDeviceSetClockOffsets 

1096 __nvmlDeviceSetClockOffsets = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetClockOffsets') 

1097 if __nvmlDeviceSetClockOffsets == NULL: 

1098 if handle == NULL: 

1099 handle = load_library() 

1100 __nvmlDeviceSetClockOffsets = _cyb_dlsym(handle, 'nvmlDeviceSetClockOffsets') 

1101  

1102 global __nvmlDeviceGetPerformanceModes 

1103 __nvmlDeviceGetPerformanceModes = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPerformanceModes') 

1104 if __nvmlDeviceGetPerformanceModes == NULL: 

1105 if handle == NULL: 

1106 handle = load_library() 

1107 __nvmlDeviceGetPerformanceModes = _cyb_dlsym(handle, 'nvmlDeviceGetPerformanceModes') 

1108  

1109 global __nvmlDeviceGetCurrentClockFreqs 

1110 __nvmlDeviceGetCurrentClockFreqs = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrentClockFreqs') 

1111 if __nvmlDeviceGetCurrentClockFreqs == NULL: 

1112 if handle == NULL: 

1113 handle = load_library() 

1114 __nvmlDeviceGetCurrentClockFreqs = _cyb_dlsym(handle, 'nvmlDeviceGetCurrentClockFreqs') 

1115  

1116 global __nvmlDeviceGetPowerManagementLimit 

1117 __nvmlDeviceGetPowerManagementLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementLimit') 

1118 if __nvmlDeviceGetPowerManagementLimit == NULL: 

1119 if handle == NULL: 

1120 handle = load_library() 

1121 __nvmlDeviceGetPowerManagementLimit = _cyb_dlsym(handle, 'nvmlDeviceGetPowerManagementLimit') 

1122  

1123 global __nvmlDeviceGetPowerManagementLimitConstraints 

1124 __nvmlDeviceGetPowerManagementLimitConstraints = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementLimitConstraints') 

1125 if __nvmlDeviceGetPowerManagementLimitConstraints == NULL: 

1126 if handle == NULL: 

1127 handle = load_library() 

1128 __nvmlDeviceGetPowerManagementLimitConstraints = _cyb_dlsym(handle, 'nvmlDeviceGetPowerManagementLimitConstraints') 

1129  

1130 global __nvmlDeviceGetPowerManagementDefaultLimit 

1131 __nvmlDeviceGetPowerManagementDefaultLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementDefaultLimit') 

1132 if __nvmlDeviceGetPowerManagementDefaultLimit == NULL: 

1133 if handle == NULL: 

1134 handle = load_library() 

1135 __nvmlDeviceGetPowerManagementDefaultLimit = _cyb_dlsym(handle, 'nvmlDeviceGetPowerManagementDefaultLimit') 

1136  

1137 global __nvmlDeviceGetPowerUsage 

1138 __nvmlDeviceGetPowerUsage = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerUsage') 

1139 if __nvmlDeviceGetPowerUsage == NULL: 

1140 if handle == NULL: 

1141 handle = load_library() 

1142 __nvmlDeviceGetPowerUsage = _cyb_dlsym(handle, 'nvmlDeviceGetPowerUsage') 

1143  

1144 global __nvmlDeviceGetTotalEnergyConsumption 

1145 __nvmlDeviceGetTotalEnergyConsumption = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTotalEnergyConsumption') 

1146 if __nvmlDeviceGetTotalEnergyConsumption == NULL: 

1147 if handle == NULL: 

1148 handle = load_library() 

1149 __nvmlDeviceGetTotalEnergyConsumption = _cyb_dlsym(handle, 'nvmlDeviceGetTotalEnergyConsumption') 

1150  

1151 global __nvmlDeviceGetEnforcedPowerLimit 

1152 __nvmlDeviceGetEnforcedPowerLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEnforcedPowerLimit') 

1153 if __nvmlDeviceGetEnforcedPowerLimit == NULL: 

1154 if handle == NULL: 

1155 handle = load_library() 

1156 __nvmlDeviceGetEnforcedPowerLimit = _cyb_dlsym(handle, 'nvmlDeviceGetEnforcedPowerLimit') 

1157  

1158 global __nvmlDeviceGetGpuOperationMode 

1159 __nvmlDeviceGetGpuOperationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuOperationMode') 

1160 if __nvmlDeviceGetGpuOperationMode == NULL: 

1161 if handle == NULL: 

1162 handle = load_library() 

1163 __nvmlDeviceGetGpuOperationMode = _cyb_dlsym(handle, 'nvmlDeviceGetGpuOperationMode') 

1164  

1165 global __nvmlDeviceGetMemoryInfo_v2 

1166 __nvmlDeviceGetMemoryInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryInfo_v2') 

1167 if __nvmlDeviceGetMemoryInfo_v2 == NULL: 

1168 if handle == NULL: 

1169 handle = load_library() 

1170 __nvmlDeviceGetMemoryInfo_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryInfo_v2') 

1171  

1172 global __nvmlDeviceGetComputeMode 

1173 __nvmlDeviceGetComputeMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetComputeMode') 

1174 if __nvmlDeviceGetComputeMode == NULL: 

1175 if handle == NULL: 

1176 handle = load_library() 

1177 __nvmlDeviceGetComputeMode = _cyb_dlsym(handle, 'nvmlDeviceGetComputeMode') 

1178  

1179 global __nvmlDeviceGetCudaComputeCapability 

1180 __nvmlDeviceGetCudaComputeCapability = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCudaComputeCapability') 

1181 if __nvmlDeviceGetCudaComputeCapability == NULL: 

1182 if handle == NULL: 

1183 handle = load_library() 

1184 __nvmlDeviceGetCudaComputeCapability = _cyb_dlsym(handle, 'nvmlDeviceGetCudaComputeCapability') 

1185  

1186 global __nvmlDeviceGetDramEncryptionMode 

1187 __nvmlDeviceGetDramEncryptionMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDramEncryptionMode') 

1188 if __nvmlDeviceGetDramEncryptionMode == NULL: 

1189 if handle == NULL: 

1190 handle = load_library() 

1191 __nvmlDeviceGetDramEncryptionMode = _cyb_dlsym(handle, 'nvmlDeviceGetDramEncryptionMode') 

1192  

1193 global __nvmlDeviceSetDramEncryptionMode 

1194 __nvmlDeviceSetDramEncryptionMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDramEncryptionMode') 

1195 if __nvmlDeviceSetDramEncryptionMode == NULL: 

1196 if handle == NULL: 

1197 handle = load_library() 

1198 __nvmlDeviceSetDramEncryptionMode = _cyb_dlsym(handle, 'nvmlDeviceSetDramEncryptionMode') 

1199  

1200 global __nvmlDeviceGetEccMode 

1201 __nvmlDeviceGetEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEccMode') 

1202 if __nvmlDeviceGetEccMode == NULL: 

1203 if handle == NULL: 

1204 handle = load_library() 

1205 __nvmlDeviceGetEccMode = _cyb_dlsym(handle, 'nvmlDeviceGetEccMode') 

1206  

1207 global __nvmlDeviceGetDefaultEccMode 

1208 __nvmlDeviceGetDefaultEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDefaultEccMode') 

1209 if __nvmlDeviceGetDefaultEccMode == NULL: 

1210 if handle == NULL: 

1211 handle = load_library() 

1212 __nvmlDeviceGetDefaultEccMode = _cyb_dlsym(handle, 'nvmlDeviceGetDefaultEccMode') 

1213  

1214 global __nvmlDeviceGetBoardId 

1215 __nvmlDeviceGetBoardId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBoardId') 

1216 if __nvmlDeviceGetBoardId == NULL: 

1217 if handle == NULL: 

1218 handle = load_library() 

1219 __nvmlDeviceGetBoardId = _cyb_dlsym(handle, 'nvmlDeviceGetBoardId') 

1220  

1221 global __nvmlDeviceGetMultiGpuBoard 

1222 __nvmlDeviceGetMultiGpuBoard = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMultiGpuBoard') 

1223 if __nvmlDeviceGetMultiGpuBoard == NULL: 

1224 if handle == NULL: 

1225 handle = load_library() 

1226 __nvmlDeviceGetMultiGpuBoard = _cyb_dlsym(handle, 'nvmlDeviceGetMultiGpuBoard') 

1227  

1228 global __nvmlDeviceGetTotalEccErrors 

1229 __nvmlDeviceGetTotalEccErrors = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTotalEccErrors') 

1230 if __nvmlDeviceGetTotalEccErrors == NULL: 

1231 if handle == NULL: 

1232 handle = load_library() 

1233 __nvmlDeviceGetTotalEccErrors = _cyb_dlsym(handle, 'nvmlDeviceGetTotalEccErrors') 

1234  

1235 global __nvmlDeviceGetMemoryErrorCounter 

1236 __nvmlDeviceGetMemoryErrorCounter = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryErrorCounter') 

1237 if __nvmlDeviceGetMemoryErrorCounter == NULL: 

1238 if handle == NULL: 

1239 handle = load_library() 

1240 __nvmlDeviceGetMemoryErrorCounter = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryErrorCounter') 

1241  

1242 global __nvmlDeviceGetUtilizationRates 

1243 __nvmlDeviceGetUtilizationRates = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetUtilizationRates') 

1244 if __nvmlDeviceGetUtilizationRates == NULL: 

1245 if handle == NULL: 

1246 handle = load_library() 

1247 __nvmlDeviceGetUtilizationRates = _cyb_dlsym(handle, 'nvmlDeviceGetUtilizationRates') 

1248  

1249 global __nvmlDeviceGetEncoderUtilization 

1250 __nvmlDeviceGetEncoderUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderUtilization') 

1251 if __nvmlDeviceGetEncoderUtilization == NULL: 

1252 if handle == NULL: 

1253 handle = load_library() 

1254 __nvmlDeviceGetEncoderUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderUtilization') 

1255  

1256 global __nvmlDeviceGetEncoderCapacity 

1257 __nvmlDeviceGetEncoderCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderCapacity') 

1258 if __nvmlDeviceGetEncoderCapacity == NULL: 

1259 if handle == NULL: 

1260 handle = load_library() 

1261 __nvmlDeviceGetEncoderCapacity = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderCapacity') 

1262  

1263 global __nvmlDeviceGetEncoderStats 

1264 __nvmlDeviceGetEncoderStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderStats') 

1265 if __nvmlDeviceGetEncoderStats == NULL: 

1266 if handle == NULL: 

1267 handle = load_library() 

1268 __nvmlDeviceGetEncoderStats = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderStats') 

1269  

1270 global __nvmlDeviceGetEncoderSessions 

1271 __nvmlDeviceGetEncoderSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderSessions') 

1272 if __nvmlDeviceGetEncoderSessions == NULL: 

1273 if handle == NULL: 

1274 handle = load_library() 

1275 __nvmlDeviceGetEncoderSessions = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderSessions') 

1276  

1277 global __nvmlDeviceGetDecoderUtilization 

1278 __nvmlDeviceGetDecoderUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDecoderUtilization') 

1279 if __nvmlDeviceGetDecoderUtilization == NULL: 

1280 if handle == NULL: 

1281 handle = load_library() 

1282 __nvmlDeviceGetDecoderUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetDecoderUtilization') 

1283  

1284 global __nvmlDeviceGetJpgUtilization 

1285 __nvmlDeviceGetJpgUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetJpgUtilization') 

1286 if __nvmlDeviceGetJpgUtilization == NULL: 

1287 if handle == NULL: 

1288 handle = load_library() 

1289 __nvmlDeviceGetJpgUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetJpgUtilization') 

1290  

1291 global __nvmlDeviceGetOfaUtilization 

1292 __nvmlDeviceGetOfaUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetOfaUtilization') 

1293 if __nvmlDeviceGetOfaUtilization == NULL: 

1294 if handle == NULL: 

1295 handle = load_library() 

1296 __nvmlDeviceGetOfaUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetOfaUtilization') 

1297  

1298 global __nvmlDeviceGetFBCStats 

1299 __nvmlDeviceGetFBCStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFBCStats') 

1300 if __nvmlDeviceGetFBCStats == NULL: 

1301 if handle == NULL: 

1302 handle = load_library() 

1303 __nvmlDeviceGetFBCStats = _cyb_dlsym(handle, 'nvmlDeviceGetFBCStats') 

1304  

1305 global __nvmlDeviceGetFBCSessions 

1306 __nvmlDeviceGetFBCSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFBCSessions') 

1307 if __nvmlDeviceGetFBCSessions == NULL: 

1308 if handle == NULL: 

1309 handle = load_library() 

1310 __nvmlDeviceGetFBCSessions = _cyb_dlsym(handle, 'nvmlDeviceGetFBCSessions') 

1311  

1312 global __nvmlDeviceGetDriverModel_v2 

1313 __nvmlDeviceGetDriverModel_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDriverModel_v2') 

1314 if __nvmlDeviceGetDriverModel_v2 == NULL: 

1315 if handle == NULL: 

1316 handle = load_library() 

1317 __nvmlDeviceGetDriverModel_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetDriverModel_v2') 

1318  

1319 global __nvmlDeviceGetVbiosVersion 

1320 __nvmlDeviceGetVbiosVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVbiosVersion') 

1321 if __nvmlDeviceGetVbiosVersion == NULL: 

1322 if handle == NULL: 

1323 handle = load_library() 

1324 __nvmlDeviceGetVbiosVersion = _cyb_dlsym(handle, 'nvmlDeviceGetVbiosVersion') 

1325  

1326 global __nvmlDeviceGetBridgeChipInfo 

1327 __nvmlDeviceGetBridgeChipInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBridgeChipInfo') 

1328 if __nvmlDeviceGetBridgeChipInfo == NULL: 

1329 if handle == NULL: 

1330 handle = load_library() 

1331 __nvmlDeviceGetBridgeChipInfo = _cyb_dlsym(handle, 'nvmlDeviceGetBridgeChipInfo') 

1332  

1333 global __nvmlDeviceGetComputeRunningProcesses_v3 

1334 __nvmlDeviceGetComputeRunningProcesses_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetComputeRunningProcesses_v3') 

1335 if __nvmlDeviceGetComputeRunningProcesses_v3 == NULL: 

1336 if handle == NULL: 

1337 handle = load_library() 

1338 __nvmlDeviceGetComputeRunningProcesses_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetComputeRunningProcesses_v3') 

1339  

1340 global __nvmlDeviceGetGraphicsRunningProcesses_v3 

1341 __nvmlDeviceGetGraphicsRunningProcesses_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGraphicsRunningProcesses_v3') 

1342 if __nvmlDeviceGetGraphicsRunningProcesses_v3 == NULL: 

1343 if handle == NULL: 

1344 handle = load_library() 

1345 __nvmlDeviceGetGraphicsRunningProcesses_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetGraphicsRunningProcesses_v3') 

1346  

1347 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

1348 __nvmlDeviceGetMPSComputeRunningProcesses_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMPSComputeRunningProcesses_v3') 

1349 if __nvmlDeviceGetMPSComputeRunningProcesses_v3 == NULL: 

1350 if handle == NULL: 

1351 handle = load_library() 

1352 __nvmlDeviceGetMPSComputeRunningProcesses_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetMPSComputeRunningProcesses_v3') 

1353  

1354 global __nvmlDeviceGetRunningProcessDetailList 

1355 __nvmlDeviceGetRunningProcessDetailList = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRunningProcessDetailList') 

1356 if __nvmlDeviceGetRunningProcessDetailList == NULL: 

1357 if handle == NULL: 

1358 handle = load_library() 

1359 __nvmlDeviceGetRunningProcessDetailList = _cyb_dlsym(handle, 'nvmlDeviceGetRunningProcessDetailList') 

1360  

1361 global __nvmlDeviceOnSameBoard 

1362 __nvmlDeviceOnSameBoard = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceOnSameBoard') 

1363 if __nvmlDeviceOnSameBoard == NULL: 

1364 if handle == NULL: 

1365 handle = load_library() 

1366 __nvmlDeviceOnSameBoard = _cyb_dlsym(handle, 'nvmlDeviceOnSameBoard') 

1367  

1368 global __nvmlDeviceGetAPIRestriction 

1369 __nvmlDeviceGetAPIRestriction = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAPIRestriction') 

1370 if __nvmlDeviceGetAPIRestriction == NULL: 

1371 if handle == NULL: 

1372 handle = load_library() 

1373 __nvmlDeviceGetAPIRestriction = _cyb_dlsym(handle, 'nvmlDeviceGetAPIRestriction') 

1374  

1375 global __nvmlDeviceGetSamples 

1376 __nvmlDeviceGetSamples = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSamples') 

1377 if __nvmlDeviceGetSamples == NULL: 

1378 if handle == NULL: 

1379 handle = load_library() 

1380 __nvmlDeviceGetSamples = _cyb_dlsym(handle, 'nvmlDeviceGetSamples') 

1381  

1382 global __nvmlDeviceGetBAR1MemoryInfo 

1383 __nvmlDeviceGetBAR1MemoryInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBAR1MemoryInfo') 

1384 if __nvmlDeviceGetBAR1MemoryInfo == NULL: 

1385 if handle == NULL: 

1386 handle = load_library() 

1387 __nvmlDeviceGetBAR1MemoryInfo = _cyb_dlsym(handle, 'nvmlDeviceGetBAR1MemoryInfo') 

1388  

1389 global __nvmlDeviceGetIrqNum 

1390 __nvmlDeviceGetIrqNum = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetIrqNum') 

1391 if __nvmlDeviceGetIrqNum == NULL: 

1392 if handle == NULL: 

1393 handle = load_library() 

1394 __nvmlDeviceGetIrqNum = _cyb_dlsym(handle, 'nvmlDeviceGetIrqNum') 

1395  

1396 global __nvmlDeviceGetNumGpuCores 

1397 __nvmlDeviceGetNumGpuCores = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNumGpuCores') 

1398 if __nvmlDeviceGetNumGpuCores == NULL: 

1399 if handle == NULL: 

1400 handle = load_library() 

1401 __nvmlDeviceGetNumGpuCores = _cyb_dlsym(handle, 'nvmlDeviceGetNumGpuCores') 

1402  

1403 global __nvmlDeviceGetPowerSource 

1404 __nvmlDeviceGetPowerSource = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerSource') 

1405 if __nvmlDeviceGetPowerSource == NULL: 

1406 if handle == NULL: 

1407 handle = load_library() 

1408 __nvmlDeviceGetPowerSource = _cyb_dlsym(handle, 'nvmlDeviceGetPowerSource') 

1409  

1410 global __nvmlDeviceGetMemoryBusWidth 

1411 __nvmlDeviceGetMemoryBusWidth = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryBusWidth') 

1412 if __nvmlDeviceGetMemoryBusWidth == NULL: 

1413 if handle == NULL: 

1414 handle = load_library() 

1415 __nvmlDeviceGetMemoryBusWidth = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryBusWidth') 

1416  

1417 global __nvmlDeviceGetPcieLinkMaxSpeed 

1418 __nvmlDeviceGetPcieLinkMaxSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieLinkMaxSpeed') 

1419 if __nvmlDeviceGetPcieLinkMaxSpeed == NULL: 

1420 if handle == NULL: 

1421 handle = load_library() 

1422 __nvmlDeviceGetPcieLinkMaxSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetPcieLinkMaxSpeed') 

1423  

1424 global __nvmlDeviceGetPcieSpeed 

1425 __nvmlDeviceGetPcieSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieSpeed') 

1426 if __nvmlDeviceGetPcieSpeed == NULL: 

1427 if handle == NULL: 

1428 handle = load_library() 

1429 __nvmlDeviceGetPcieSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetPcieSpeed') 

1430  

1431 global __nvmlDeviceGetAdaptiveClockInfoStatus 

1432 __nvmlDeviceGetAdaptiveClockInfoStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAdaptiveClockInfoStatus') 

1433 if __nvmlDeviceGetAdaptiveClockInfoStatus == NULL: 

1434 if handle == NULL: 

1435 handle = load_library() 

1436 __nvmlDeviceGetAdaptiveClockInfoStatus = _cyb_dlsym(handle, 'nvmlDeviceGetAdaptiveClockInfoStatus') 

1437  

1438 global __nvmlDeviceGetBusType 

1439 __nvmlDeviceGetBusType = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBusType') 

1440 if __nvmlDeviceGetBusType == NULL: 

1441 if handle == NULL: 

1442 handle = load_library() 

1443 __nvmlDeviceGetBusType = _cyb_dlsym(handle, 'nvmlDeviceGetBusType') 

1444  

1445 global __nvmlDeviceGetGpuFabricInfoV 

1446 __nvmlDeviceGetGpuFabricInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuFabricInfoV') 

1447 if __nvmlDeviceGetGpuFabricInfoV == NULL: 

1448 if handle == NULL: 

1449 handle = load_library() 

1450 __nvmlDeviceGetGpuFabricInfoV = _cyb_dlsym(handle, 'nvmlDeviceGetGpuFabricInfoV') 

1451  

1452 global __nvmlSystemGetConfComputeCapabilities 

1453 __nvmlSystemGetConfComputeCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeCapabilities') 

1454 if __nvmlSystemGetConfComputeCapabilities == NULL: 

1455 if handle == NULL: 

1456 handle = load_library() 

1457 __nvmlSystemGetConfComputeCapabilities = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeCapabilities') 

1458  

1459 global __nvmlSystemGetConfComputeState 

1460 __nvmlSystemGetConfComputeState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeState') 

1461 if __nvmlSystemGetConfComputeState == NULL: 

1462 if handle == NULL: 

1463 handle = load_library() 

1464 __nvmlSystemGetConfComputeState = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeState') 

1465  

1466 global __nvmlDeviceGetConfComputeMemSizeInfo 

1467 __nvmlDeviceGetConfComputeMemSizeInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeMemSizeInfo') 

1468 if __nvmlDeviceGetConfComputeMemSizeInfo == NULL: 

1469 if handle == NULL: 

1470 handle = load_library() 

1471 __nvmlDeviceGetConfComputeMemSizeInfo = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeMemSizeInfo') 

1472  

1473 global __nvmlSystemGetConfComputeGpusReadyState 

1474 __nvmlSystemGetConfComputeGpusReadyState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeGpusReadyState') 

1475 if __nvmlSystemGetConfComputeGpusReadyState == NULL: 

1476 if handle == NULL: 

1477 handle = load_library() 

1478 __nvmlSystemGetConfComputeGpusReadyState = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeGpusReadyState') 

1479  

1480 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

1481 __nvmlDeviceGetConfComputeProtectedMemoryUsage = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeProtectedMemoryUsage') 

1482 if __nvmlDeviceGetConfComputeProtectedMemoryUsage == NULL: 

1483 if handle == NULL: 

1484 handle = load_library() 

1485 __nvmlDeviceGetConfComputeProtectedMemoryUsage = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeProtectedMemoryUsage') 

1486  

1487 global __nvmlDeviceGetConfComputeGpuCertificate 

1488 __nvmlDeviceGetConfComputeGpuCertificate = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeGpuCertificate') 

1489 if __nvmlDeviceGetConfComputeGpuCertificate == NULL: 

1490 if handle == NULL: 

1491 handle = load_library() 

1492 __nvmlDeviceGetConfComputeGpuCertificate = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeGpuCertificate') 

1493  

1494 global __nvmlDeviceGetConfComputeGpuAttestationReport 

1495 __nvmlDeviceGetConfComputeGpuAttestationReport = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeGpuAttestationReport') 

1496 if __nvmlDeviceGetConfComputeGpuAttestationReport == NULL: 

1497 if handle == NULL: 

1498 handle = load_library() 

1499 __nvmlDeviceGetConfComputeGpuAttestationReport = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeGpuAttestationReport') 

1500  

1501 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

1502 __nvmlSystemGetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeKeyRotationThresholdInfo') 

1503 if __nvmlSystemGetConfComputeKeyRotationThresholdInfo == NULL: 

1504 if handle == NULL: 

1505 handle = load_library() 

1506 __nvmlSystemGetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeKeyRotationThresholdInfo') 

1507  

1508 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

1509 __nvmlDeviceSetConfComputeUnprotectedMemSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetConfComputeUnprotectedMemSize') 

1510 if __nvmlDeviceSetConfComputeUnprotectedMemSize == NULL: 

1511 if handle == NULL: 

1512 handle = load_library() 

1513 __nvmlDeviceSetConfComputeUnprotectedMemSize = _cyb_dlsym(handle, 'nvmlDeviceSetConfComputeUnprotectedMemSize') 

1514  

1515 global __nvmlSystemSetConfComputeGpusReadyState 

1516 __nvmlSystemSetConfComputeGpusReadyState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemSetConfComputeGpusReadyState') 

1517 if __nvmlSystemSetConfComputeGpusReadyState == NULL: 

1518 if handle == NULL: 

1519 handle = load_library() 

1520 __nvmlSystemSetConfComputeGpusReadyState = _cyb_dlsym(handle, 'nvmlSystemSetConfComputeGpusReadyState') 

1521  

1522 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

1523 __nvmlSystemSetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemSetConfComputeKeyRotationThresholdInfo') 

1524 if __nvmlSystemSetConfComputeKeyRotationThresholdInfo == NULL: 

1525 if handle == NULL: 

1526 handle = load_library() 

1527 __nvmlSystemSetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(handle, 'nvmlSystemSetConfComputeKeyRotationThresholdInfo') 

1528  

1529 global __nvmlSystemGetConfComputeSettings 

1530 __nvmlSystemGetConfComputeSettings = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeSettings') 

1531 if __nvmlSystemGetConfComputeSettings == NULL: 

1532 if handle == NULL: 

1533 handle = load_library() 

1534 __nvmlSystemGetConfComputeSettings = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeSettings') 

1535  

1536 global __nvmlDeviceGetGspFirmwareVersion 

1537 __nvmlDeviceGetGspFirmwareVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGspFirmwareVersion') 

1538 if __nvmlDeviceGetGspFirmwareVersion == NULL: 

1539 if handle == NULL: 

1540 handle = load_library() 

1541 __nvmlDeviceGetGspFirmwareVersion = _cyb_dlsym(handle, 'nvmlDeviceGetGspFirmwareVersion') 

1542  

1543 global __nvmlDeviceGetGspFirmwareMode 

1544 __nvmlDeviceGetGspFirmwareMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGspFirmwareMode') 

1545 if __nvmlDeviceGetGspFirmwareMode == NULL: 

1546 if handle == NULL: 

1547 handle = load_library() 

1548 __nvmlDeviceGetGspFirmwareMode = _cyb_dlsym(handle, 'nvmlDeviceGetGspFirmwareMode') 

1549  

1550 global __nvmlDeviceGetSramEccErrorStatus 

1551 __nvmlDeviceGetSramEccErrorStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSramEccErrorStatus') 

1552 if __nvmlDeviceGetSramEccErrorStatus == NULL: 

1553 if handle == NULL: 

1554 handle = load_library() 

1555 __nvmlDeviceGetSramEccErrorStatus = _cyb_dlsym(handle, 'nvmlDeviceGetSramEccErrorStatus') 

1556  

1557 global __nvmlDeviceGetAccountingMode 

1558 __nvmlDeviceGetAccountingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingMode') 

1559 if __nvmlDeviceGetAccountingMode == NULL: 

1560 if handle == NULL: 

1561 handle = load_library() 2a j vb1 8bDb2 9bx 3 !by 4 #bkb5 $bEb6 %bub7 'bR 8 (bz 9 )bA ! *blb# +bmb$ ,bB % -bF ' .bC ( /bnb) :bob* ;bFb+ =bS , ?bI - @bN . [bG / ]b: ^bJ ; _bK = `bm Yb{bO ? |b}b@ ~b[ Zbacbc] ccT ^ dcGb_ ecD ` fcr { gcs hcP BbicHbL jcOb| kc} lc~ mcabncbboccbpcdbqcebrcIbfbscJbgbtcKbhbuc0b1bvcwc2bxcKc3byczc4bAcCbBcn f g o b p U pb5bH ibCcLbE qbW e t rbX V k c Zcjbu h i l v 6b7bd q w sbY DcEcFcGcPbLcQ McHcIcJcQbwb

1562 __nvmlDeviceGetAccountingMode = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingMode') 2a j vb1 8bDb2 9bx 3 !by 4 #bkb5 $bEb6 %bub7 'bR 8 (bz 9 )bA ! *blb# +bmb$ ,bB % -bF ' .bC ( /bnb) :bob* ;bFb+ =bS , ?bI - @bN . [bG / ]b: ^bJ ; _bK = `bm Yb{bO ? |b}b@ ~b[ Zbacbc] ccT ^ dcGb_ ecD ` fcr { gcs hcP BbicHbL jcOb| kc} lc~ mcabncbboccbpcdbqcebrcIbfbscJbgbtcKbhbuc0b1bvcwc2bxcKc3byczc4bAcCbBcn f g o b p U pb5bH ibCcLbE qbW e t rbX V k c Zcjbu h i l v 6b7bd q w sbY DcEcFcGcPbLcQ McHcIcJcQbwb

1563  

1564 global __nvmlDeviceGetAccountingStats 

1565 __nvmlDeviceGetAccountingStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingStats') 

1566 if __nvmlDeviceGetAccountingStats == NULL: 

1567 if handle == NULL: 

1568 handle = load_library() 

1569 __nvmlDeviceGetAccountingStats = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingStats') 

1570  

1571 global __nvmlDeviceGetAccountingPids 

1572 __nvmlDeviceGetAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingPids') 

1573 if __nvmlDeviceGetAccountingPids == NULL: 

1574 if handle == NULL: 

1575 handle = load_library() 

1576 __nvmlDeviceGetAccountingPids = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingPids') 

1577  

1578 global __nvmlDeviceGetAccountingBufferSize 

1579 __nvmlDeviceGetAccountingBufferSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingBufferSize') 

1580 if __nvmlDeviceGetAccountingBufferSize == NULL: 

1581 if handle == NULL: 

1582 handle = load_library() 

1583 __nvmlDeviceGetAccountingBufferSize = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingBufferSize') 

1584  

1585 global __nvmlDeviceGetRetiredPages 

1586 __nvmlDeviceGetRetiredPages = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRetiredPages') 

1587 if __nvmlDeviceGetRetiredPages == NULL: 

1588 if handle == NULL: 

1589 handle = load_library() 

1590 __nvmlDeviceGetRetiredPages = _cyb_dlsym(handle, 'nvmlDeviceGetRetiredPages') 

1591  

1592 global __nvmlDeviceGetRetiredPages_v2 

1593 __nvmlDeviceGetRetiredPages_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRetiredPages_v2') 

1594 if __nvmlDeviceGetRetiredPages_v2 == NULL: 

1595 if handle == NULL: 

1596 handle = load_library() 

1597 __nvmlDeviceGetRetiredPages_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetRetiredPages_v2') 

1598  

1599 global __nvmlDeviceGetRetiredPagesPendingStatus 

1600 __nvmlDeviceGetRetiredPagesPendingStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRetiredPagesPendingStatus') 

1601 if __nvmlDeviceGetRetiredPagesPendingStatus == NULL: 

1602 if handle == NULL: 

1603 handle = load_library() 

1604 __nvmlDeviceGetRetiredPagesPendingStatus = _cyb_dlsym(handle, 'nvmlDeviceGetRetiredPagesPendingStatus') 

1605  

1606 global __nvmlDeviceGetRemappedRows 

1607 __nvmlDeviceGetRemappedRows = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRemappedRows') 

1608 if __nvmlDeviceGetRemappedRows == NULL: 

1609 if handle == NULL: 

1610 handle = load_library() 

1611 __nvmlDeviceGetRemappedRows = _cyb_dlsym(handle, 'nvmlDeviceGetRemappedRows') 

1612  

1613 global __nvmlDeviceGetRowRemapperHistogram 

1614 __nvmlDeviceGetRowRemapperHistogram = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRowRemapperHistogram') 

1615 if __nvmlDeviceGetRowRemapperHistogram == NULL: 

1616 if handle == NULL: 

1617 handle = load_library() 

1618 __nvmlDeviceGetRowRemapperHistogram = _cyb_dlsym(handle, 'nvmlDeviceGetRowRemapperHistogram') 

1619  

1620 global __nvmlDeviceGetArchitecture 

1621 __nvmlDeviceGetArchitecture = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetArchitecture') 

1622 if __nvmlDeviceGetArchitecture == NULL: 

1623 if handle == NULL: 

1624 handle = load_library() 

1625 __nvmlDeviceGetArchitecture = _cyb_dlsym(handle, 'nvmlDeviceGetArchitecture') 

1626  

1627 global __nvmlDeviceGetClkMonStatus 

1628 __nvmlDeviceGetClkMonStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClkMonStatus') 

1629 if __nvmlDeviceGetClkMonStatus == NULL: 

1630 if handle == NULL: 

1631 handle = load_library() 

1632 __nvmlDeviceGetClkMonStatus = _cyb_dlsym(handle, 'nvmlDeviceGetClkMonStatus') 

1633  

1634 global __nvmlDeviceGetProcessUtilization 

1635 __nvmlDeviceGetProcessUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetProcessUtilization') 

1636 if __nvmlDeviceGetProcessUtilization == NULL: 

1637 if handle == NULL: 

1638 handle = load_library() 

1639 __nvmlDeviceGetProcessUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetProcessUtilization') 

1640  

1641 global __nvmlDeviceGetProcessesUtilizationInfo 

1642 __nvmlDeviceGetProcessesUtilizationInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetProcessesUtilizationInfo') 

1643 if __nvmlDeviceGetProcessesUtilizationInfo == NULL: 

1644 if handle == NULL: 

1645 handle = load_library() 

1646 __nvmlDeviceGetProcessesUtilizationInfo = _cyb_dlsym(handle, 'nvmlDeviceGetProcessesUtilizationInfo') 

1647  

1648 global __nvmlDeviceGetPlatformInfo 

1649 __nvmlDeviceGetPlatformInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPlatformInfo') 

1650 if __nvmlDeviceGetPlatformInfo == NULL: 

1651 if handle == NULL: 

1652 handle = load_library() 

1653 __nvmlDeviceGetPlatformInfo = _cyb_dlsym(handle, 'nvmlDeviceGetPlatformInfo') 

1654  

1655 global __nvmlUnitSetLedState 

1656 __nvmlUnitSetLedState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitSetLedState') 

1657 if __nvmlUnitSetLedState == NULL: 

1658 if handle == NULL: 

1659 handle = load_library() 

1660 __nvmlUnitSetLedState = _cyb_dlsym(handle, 'nvmlUnitSetLedState') 

1661  

1662 global __nvmlDeviceSetPersistenceMode 

1663 __nvmlDeviceSetPersistenceMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetPersistenceMode') 

1664 if __nvmlDeviceSetPersistenceMode == NULL: 

1665 if handle == NULL: 

1666 handle = load_library() 

1667 __nvmlDeviceSetPersistenceMode = _cyb_dlsym(handle, 'nvmlDeviceSetPersistenceMode') 

1668  

1669 global __nvmlDeviceSetComputeMode 

1670 __nvmlDeviceSetComputeMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetComputeMode') 

1671 if __nvmlDeviceSetComputeMode == NULL: 

1672 if handle == NULL: 

1673 handle = load_library() 

1674 __nvmlDeviceSetComputeMode = _cyb_dlsym(handle, 'nvmlDeviceSetComputeMode') 

1675  

1676 global __nvmlDeviceSetEccMode 

1677 __nvmlDeviceSetEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetEccMode') 

1678 if __nvmlDeviceSetEccMode == NULL: 

1679 if handle == NULL: 

1680 handle = load_library() 

1681 __nvmlDeviceSetEccMode = _cyb_dlsym(handle, 'nvmlDeviceSetEccMode') 

1682  

1683 global __nvmlDeviceClearEccErrorCounts 

1684 __nvmlDeviceClearEccErrorCounts = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearEccErrorCounts') 

1685 if __nvmlDeviceClearEccErrorCounts == NULL: 

1686 if handle == NULL: 

1687 handle = load_library() 

1688 __nvmlDeviceClearEccErrorCounts = _cyb_dlsym(handle, 'nvmlDeviceClearEccErrorCounts') 

1689  

1690 global __nvmlDeviceSetDriverModel 

1691 __nvmlDeviceSetDriverModel = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDriverModel') 

1692 if __nvmlDeviceSetDriverModel == NULL: 

1693 if handle == NULL: 

1694 handle = load_library() 

1695 __nvmlDeviceSetDriverModel = _cyb_dlsym(handle, 'nvmlDeviceSetDriverModel') 

1696  

1697 global __nvmlDeviceSetGpuLockedClocks 

1698 __nvmlDeviceSetGpuLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetGpuLockedClocks') 

1699 if __nvmlDeviceSetGpuLockedClocks == NULL: 

1700 if handle == NULL: 

1701 handle = load_library() 

1702 __nvmlDeviceSetGpuLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceSetGpuLockedClocks') 

1703  

1704 global __nvmlDeviceResetGpuLockedClocks 

1705 __nvmlDeviceResetGpuLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceResetGpuLockedClocks') 

1706 if __nvmlDeviceResetGpuLockedClocks == NULL: 

1707 if handle == NULL: 

1708 handle = load_library() 

1709 __nvmlDeviceResetGpuLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceResetGpuLockedClocks') 

1710  

1711 global __nvmlDeviceSetMemoryLockedClocks 

1712 __nvmlDeviceSetMemoryLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetMemoryLockedClocks') 

1713 if __nvmlDeviceSetMemoryLockedClocks == NULL: 

1714 if handle == NULL: 

1715 handle = load_library() 

1716 __nvmlDeviceSetMemoryLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceSetMemoryLockedClocks') 

1717  

1718 global __nvmlDeviceResetMemoryLockedClocks 

1719 __nvmlDeviceResetMemoryLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceResetMemoryLockedClocks') 

1720 if __nvmlDeviceResetMemoryLockedClocks == NULL: 

1721 if handle == NULL: 

1722 handle = load_library() 

1723 __nvmlDeviceResetMemoryLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceResetMemoryLockedClocks') 

1724  

1725 global __nvmlDeviceSetAutoBoostedClocksEnabled 

1726 __nvmlDeviceSetAutoBoostedClocksEnabled = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetAutoBoostedClocksEnabled') 

1727 if __nvmlDeviceSetAutoBoostedClocksEnabled == NULL: 

1728 if handle == NULL: 

1729 handle = load_library() 

1730 __nvmlDeviceSetAutoBoostedClocksEnabled = _cyb_dlsym(handle, 'nvmlDeviceSetAutoBoostedClocksEnabled') 

1731  

1732 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

1733 __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDefaultAutoBoostedClocksEnabled') 

1734 if __nvmlDeviceSetDefaultAutoBoostedClocksEnabled == NULL: 

1735 if handle == NULL: 

1736 handle = load_library() 

1737 __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = _cyb_dlsym(handle, 'nvmlDeviceSetDefaultAutoBoostedClocksEnabled') 

1738  

1739 global __nvmlDeviceSetDefaultFanSpeed_v2 

1740 __nvmlDeviceSetDefaultFanSpeed_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDefaultFanSpeed_v2') 

1741 if __nvmlDeviceSetDefaultFanSpeed_v2 == NULL: 

1742 if handle == NULL: 

1743 handle = load_library() 

1744 __nvmlDeviceSetDefaultFanSpeed_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetDefaultFanSpeed_v2') 

1745  

1746 global __nvmlDeviceSetFanControlPolicy 

1747 __nvmlDeviceSetFanControlPolicy = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetFanControlPolicy') 

1748 if __nvmlDeviceSetFanControlPolicy == NULL: 

1749 if handle == NULL: 

1750 handle = load_library() 

1751 __nvmlDeviceSetFanControlPolicy = _cyb_dlsym(handle, 'nvmlDeviceSetFanControlPolicy') 

1752  

1753 global __nvmlDeviceSetTemperatureThreshold 

1754 __nvmlDeviceSetTemperatureThreshold = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetTemperatureThreshold') 

1755 if __nvmlDeviceSetTemperatureThreshold == NULL: 

1756 if handle == NULL: 

1757 handle = load_library() 

1758 __nvmlDeviceSetTemperatureThreshold = _cyb_dlsym(handle, 'nvmlDeviceSetTemperatureThreshold') 

1759  

1760 global __nvmlDeviceSetGpuOperationMode 

1761 __nvmlDeviceSetGpuOperationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetGpuOperationMode') 

1762 if __nvmlDeviceSetGpuOperationMode == NULL: 

1763 if handle == NULL: 

1764 handle = load_library() 

1765 __nvmlDeviceSetGpuOperationMode = _cyb_dlsym(handle, 'nvmlDeviceSetGpuOperationMode') 

1766  

1767 global __nvmlDeviceSetAPIRestriction 

1768 __nvmlDeviceSetAPIRestriction = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetAPIRestriction') 

1769 if __nvmlDeviceSetAPIRestriction == NULL: 

1770 if handle == NULL: 

1771 handle = load_library() 

1772 __nvmlDeviceSetAPIRestriction = _cyb_dlsym(handle, 'nvmlDeviceSetAPIRestriction') 

1773  

1774 global __nvmlDeviceSetFanSpeed_v2 

1775 __nvmlDeviceSetFanSpeed_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetFanSpeed_v2') 

1776 if __nvmlDeviceSetFanSpeed_v2 == NULL: 

1777 if handle == NULL: 

1778 handle = load_library() 

1779 __nvmlDeviceSetFanSpeed_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetFanSpeed_v2') 

1780  

1781 global __nvmlDeviceSetAccountingMode 

1782 __nvmlDeviceSetAccountingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetAccountingMode') 

1783 if __nvmlDeviceSetAccountingMode == NULL: 

1784 if handle == NULL: 

1785 handle = load_library() 

1786 __nvmlDeviceSetAccountingMode = _cyb_dlsym(handle, 'nvmlDeviceSetAccountingMode') 

1787  

1788 global __nvmlDeviceClearAccountingPids 

1789 __nvmlDeviceClearAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearAccountingPids') 

1790 if __nvmlDeviceClearAccountingPids == NULL: 

1791 if handle == NULL: 

1792 handle = load_library() 

1793 __nvmlDeviceClearAccountingPids = _cyb_dlsym(handle, 'nvmlDeviceClearAccountingPids') 

1794  

1795 global __nvmlDeviceSetPowerManagementLimit_v2 

1796 __nvmlDeviceSetPowerManagementLimit_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetPowerManagementLimit_v2') 

1797 if __nvmlDeviceSetPowerManagementLimit_v2 == NULL: 

1798 if handle == NULL: 

1799 handle = load_library() 

1800 __nvmlDeviceSetPowerManagementLimit_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetPowerManagementLimit_v2') 

1801  

1802 global __nvmlDeviceGetNvLinkState 

1803 __nvmlDeviceGetNvLinkState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkState') 

1804 if __nvmlDeviceGetNvLinkState == NULL: 

1805 if handle == NULL: 

1806 handle = load_library() 

1807 __nvmlDeviceGetNvLinkState = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkState') 

1808  

1809 global __nvmlDeviceGetNvLinkVersion 

1810 __nvmlDeviceGetNvLinkVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkVersion') 

1811 if __nvmlDeviceGetNvLinkVersion == NULL: 

1812 if handle == NULL: 

1813 handle = load_library() 

1814 __nvmlDeviceGetNvLinkVersion = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkVersion') 

1815  

1816 global __nvmlDeviceGetNvLinkCapability 

1817 __nvmlDeviceGetNvLinkCapability = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkCapability') 

1818 if __nvmlDeviceGetNvLinkCapability == NULL: 

1819 if handle == NULL: 

1820 handle = load_library() 

1821 __nvmlDeviceGetNvLinkCapability = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkCapability') 

1822  

1823 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

1824 __nvmlDeviceGetNvLinkRemotePciInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkRemotePciInfo_v2') 

1825 if __nvmlDeviceGetNvLinkRemotePciInfo_v2 == NULL: 

1826 if handle == NULL: 

1827 handle = load_library() 

1828 __nvmlDeviceGetNvLinkRemotePciInfo_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkRemotePciInfo_v2') 

1829  

1830 global __nvmlDeviceGetNvLinkErrorCounter 

1831 __nvmlDeviceGetNvLinkErrorCounter = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkErrorCounter') 

1832 if __nvmlDeviceGetNvLinkErrorCounter == NULL: 

1833 if handle == NULL: 

1834 handle = load_library() 

1835 __nvmlDeviceGetNvLinkErrorCounter = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkErrorCounter') 

1836  

1837 global __nvmlDeviceResetNvLinkErrorCounters 

1838 __nvmlDeviceResetNvLinkErrorCounters = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceResetNvLinkErrorCounters') 

1839 if __nvmlDeviceResetNvLinkErrorCounters == NULL: 

1840 if handle == NULL: 

1841 handle = load_library() 

1842 __nvmlDeviceResetNvLinkErrorCounters = _cyb_dlsym(handle, 'nvmlDeviceResetNvLinkErrorCounters') 

1843  

1844 global __nvmlDeviceGetNvLinkRemoteDeviceType 

1845 __nvmlDeviceGetNvLinkRemoteDeviceType = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkRemoteDeviceType') 

1846 if __nvmlDeviceGetNvLinkRemoteDeviceType == NULL: 

1847 if handle == NULL: 

1848 handle = load_library() 

1849 __nvmlDeviceGetNvLinkRemoteDeviceType = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkRemoteDeviceType') 

1850  

1851 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

1852 __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetNvLinkDeviceLowPowerThreshold') 

1853 if __nvmlDeviceSetNvLinkDeviceLowPowerThreshold == NULL: 

1854 if handle == NULL: 

1855 handle = load_library() 

1856 __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = _cyb_dlsym(handle, 'nvmlDeviceSetNvLinkDeviceLowPowerThreshold') 

1857  

1858 global __nvmlSystemSetNvlinkBwMode 

1859 __nvmlSystemSetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemSetNvlinkBwMode') 

1860 if __nvmlSystemSetNvlinkBwMode == NULL: 

1861 if handle == NULL: 

1862 handle = load_library() 

1863 __nvmlSystemSetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlSystemSetNvlinkBwMode') 

1864  

1865 global __nvmlSystemGetNvlinkBwMode 

1866 __nvmlSystemGetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetNvlinkBwMode') 

1867 if __nvmlSystemGetNvlinkBwMode == NULL: 

1868 if handle == NULL: 

1869 handle = load_library() 

1870 __nvmlSystemGetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlSystemGetNvlinkBwMode') 

1871  

1872 global __nvmlDeviceGetNvlinkSupportedBwModes 

1873 __nvmlDeviceGetNvlinkSupportedBwModes = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvlinkSupportedBwModes') 

1874 if __nvmlDeviceGetNvlinkSupportedBwModes == NULL: 

1875 if handle == NULL: 

1876 handle = load_library() 

1877 __nvmlDeviceGetNvlinkSupportedBwModes = _cyb_dlsym(handle, 'nvmlDeviceGetNvlinkSupportedBwModes') 

1878  

1879 global __nvmlDeviceGetNvlinkBwMode 

1880 __nvmlDeviceGetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvlinkBwMode') 

1881 if __nvmlDeviceGetNvlinkBwMode == NULL: 

1882 if handle == NULL: 

1883 handle = load_library() 

1884 __nvmlDeviceGetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlDeviceGetNvlinkBwMode') 

1885  

1886 global __nvmlDeviceSetNvlinkBwMode 

1887 __nvmlDeviceSetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetNvlinkBwMode') 

1888 if __nvmlDeviceSetNvlinkBwMode == NULL: 

1889 if handle == NULL: 

1890 handle = load_library() 

1891 __nvmlDeviceSetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlDeviceSetNvlinkBwMode') 

1892  

1893 global __nvmlEventSetCreate 

1894 __nvmlEventSetCreate = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetCreate') 

1895 if __nvmlEventSetCreate == NULL: 

1896 if handle == NULL: 

1897 handle = load_library() 

1898 __nvmlEventSetCreate = _cyb_dlsym(handle, 'nvmlEventSetCreate') 

1899  

1900 global __nvmlDeviceRegisterEvents 

1901 __nvmlDeviceRegisterEvents = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceRegisterEvents') 

1902 if __nvmlDeviceRegisterEvents == NULL: 

1903 if handle == NULL: 

1904 handle = load_library() 

1905 __nvmlDeviceRegisterEvents = _cyb_dlsym(handle, 'nvmlDeviceRegisterEvents') 

1906  

1907 global __nvmlDeviceGetSupportedEventTypes 

1908 __nvmlDeviceGetSupportedEventTypes = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedEventTypes') 

1909 if __nvmlDeviceGetSupportedEventTypes == NULL: 

1910 if handle == NULL: 

1911 handle = load_library() 

1912 __nvmlDeviceGetSupportedEventTypes = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedEventTypes') 

1913  

1914 global __nvmlEventSetWait_v2 

1915 __nvmlEventSetWait_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetWait_v2') 

1916 if __nvmlEventSetWait_v2 == NULL: 

1917 if handle == NULL: 

1918 handle = load_library() 

1919 __nvmlEventSetWait_v2 = _cyb_dlsym(handle, 'nvmlEventSetWait_v2') 

1920  

1921 global __nvmlEventSetFree 

1922 __nvmlEventSetFree = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetFree') 

1923 if __nvmlEventSetFree == NULL: 

1924 if handle == NULL: 

1925 handle = load_library() 

1926 __nvmlEventSetFree = _cyb_dlsym(handle, 'nvmlEventSetFree') 

1927  

1928 global __nvmlSystemEventSetCreate 

1929 __nvmlSystemEventSetCreate = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemEventSetCreate') 

1930 if __nvmlSystemEventSetCreate == NULL: 

1931 if handle == NULL: 

1932 handle = load_library() 

1933 __nvmlSystemEventSetCreate = _cyb_dlsym(handle, 'nvmlSystemEventSetCreate') 

1934  

1935 global __nvmlSystemEventSetFree 

1936 __nvmlSystemEventSetFree = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemEventSetFree') 

1937 if __nvmlSystemEventSetFree == NULL: 

1938 if handle == NULL: 

1939 handle = load_library() 

1940 __nvmlSystemEventSetFree = _cyb_dlsym(handle, 'nvmlSystemEventSetFree') 

1941  

1942 global __nvmlSystemRegisterEvents 

1943 __nvmlSystemRegisterEvents = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemRegisterEvents') 

1944 if __nvmlSystemRegisterEvents == NULL: 

1945 if handle == NULL: 

1946 handle = load_library() 

1947 __nvmlSystemRegisterEvents = _cyb_dlsym(handle, 'nvmlSystemRegisterEvents') 

1948  

1949 global __nvmlSystemEventSetWait 

1950 __nvmlSystemEventSetWait = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemEventSetWait') 

1951 if __nvmlSystemEventSetWait == NULL: 

1952 if handle == NULL: 

1953 handle = load_library() 

1954 __nvmlSystemEventSetWait = _cyb_dlsym(handle, 'nvmlSystemEventSetWait') 

1955  

1956 global __nvmlDeviceModifyDrainState 

1957 __nvmlDeviceModifyDrainState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceModifyDrainState') 

1958 if __nvmlDeviceModifyDrainState == NULL: 

1959 if handle == NULL: 

1960 handle = load_library() 

1961 __nvmlDeviceModifyDrainState = _cyb_dlsym(handle, 'nvmlDeviceModifyDrainState') 

1962  

1963 global __nvmlDeviceQueryDrainState 

1964 __nvmlDeviceQueryDrainState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceQueryDrainState') 

1965 if __nvmlDeviceQueryDrainState == NULL: 

1966 if handle == NULL: 

1967 handle = load_library() 

1968 __nvmlDeviceQueryDrainState = _cyb_dlsym(handle, 'nvmlDeviceQueryDrainState') 

1969  

1970 global __nvmlDeviceRemoveGpu_v2 

1971 __nvmlDeviceRemoveGpu_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceRemoveGpu_v2') 

1972 if __nvmlDeviceRemoveGpu_v2 == NULL: 

1973 if handle == NULL: 

1974 handle = load_library() 

1975 __nvmlDeviceRemoveGpu_v2 = _cyb_dlsym(handle, 'nvmlDeviceRemoveGpu_v2') 

1976  

1977 global __nvmlDeviceDiscoverGpus 

1978 __nvmlDeviceDiscoverGpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceDiscoverGpus') 

1979 if __nvmlDeviceDiscoverGpus == NULL: 

1980 if handle == NULL: 

1981 handle = load_library() 

1982 __nvmlDeviceDiscoverGpus = _cyb_dlsym(handle, 'nvmlDeviceDiscoverGpus') 

1983  

1984 global __nvmlDeviceGetFieldValues 

1985 __nvmlDeviceGetFieldValues = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFieldValues') 

1986 if __nvmlDeviceGetFieldValues == NULL: 

1987 if handle == NULL: 

1988 handle = load_library() 

1989 __nvmlDeviceGetFieldValues = _cyb_dlsym(handle, 'nvmlDeviceGetFieldValues') 

1990  

1991 global __nvmlDeviceClearFieldValues 

1992 __nvmlDeviceClearFieldValues = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearFieldValues') 

1993 if __nvmlDeviceClearFieldValues == NULL: 

1994 if handle == NULL: 

1995 handle = load_library() 

1996 __nvmlDeviceClearFieldValues = _cyb_dlsym(handle, 'nvmlDeviceClearFieldValues') 

1997  

1998 global __nvmlDeviceGetVirtualizationMode 

1999 __nvmlDeviceGetVirtualizationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVirtualizationMode') 

2000 if __nvmlDeviceGetVirtualizationMode == NULL: 

2001 if handle == NULL: 

2002 handle = load_library() 

2003 __nvmlDeviceGetVirtualizationMode = _cyb_dlsym(handle, 'nvmlDeviceGetVirtualizationMode') 

2004  

2005 global __nvmlDeviceGetHostVgpuMode 

2006 __nvmlDeviceGetHostVgpuMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHostVgpuMode') 

2007 if __nvmlDeviceGetHostVgpuMode == NULL: 

2008 if handle == NULL: 

2009 handle = load_library() 

2010 __nvmlDeviceGetHostVgpuMode = _cyb_dlsym(handle, 'nvmlDeviceGetHostVgpuMode') 

2011  

2012 global __nvmlDeviceSetVirtualizationMode 

2013 __nvmlDeviceSetVirtualizationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVirtualizationMode') 

2014 if __nvmlDeviceSetVirtualizationMode == NULL: 

2015 if handle == NULL: 

2016 handle = load_library() 

2017 __nvmlDeviceSetVirtualizationMode = _cyb_dlsym(handle, 'nvmlDeviceSetVirtualizationMode') 

2018  

2019 global __nvmlDeviceGetVgpuHeterogeneousMode 

2020 __nvmlDeviceGetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuHeterogeneousMode') 

2021 if __nvmlDeviceGetVgpuHeterogeneousMode == NULL: 

2022 if handle == NULL: 

2023 handle = load_library() 

2024 __nvmlDeviceGetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuHeterogeneousMode') 

2025  

2026 global __nvmlDeviceSetVgpuHeterogeneousMode 

2027 __nvmlDeviceSetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuHeterogeneousMode') 

2028 if __nvmlDeviceSetVgpuHeterogeneousMode == NULL: 

2029 if handle == NULL: 

2030 handle = load_library() 

2031 __nvmlDeviceSetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuHeterogeneousMode') 

2032  

2033 global __nvmlVgpuInstanceGetPlacementId 

2034 __nvmlVgpuInstanceGetPlacementId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetPlacementId') 

2035 if __nvmlVgpuInstanceGetPlacementId == NULL: 

2036 if handle == NULL: 

2037 handle = load_library() 

2038 __nvmlVgpuInstanceGetPlacementId = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetPlacementId') 

2039  

2040 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

2041 __nvmlDeviceGetVgpuTypeSupportedPlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuTypeSupportedPlacements') 

2042 if __nvmlDeviceGetVgpuTypeSupportedPlacements == NULL: 

2043 if handle == NULL: 

2044 handle = load_library() 

2045 __nvmlDeviceGetVgpuTypeSupportedPlacements = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuTypeSupportedPlacements') 

2046  

2047 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

2048 __nvmlDeviceGetVgpuTypeCreatablePlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuTypeCreatablePlacements') 

2049 if __nvmlDeviceGetVgpuTypeCreatablePlacements == NULL: 

2050 if handle == NULL: 

2051 handle = load_library() 

2052 __nvmlDeviceGetVgpuTypeCreatablePlacements = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuTypeCreatablePlacements') 

2053  

2054 global __nvmlVgpuTypeGetGspHeapSize 

2055 __nvmlVgpuTypeGetGspHeapSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetGspHeapSize') 

2056 if __nvmlVgpuTypeGetGspHeapSize == NULL: 

2057 if handle == NULL: 

2058 handle = load_library() 

2059 __nvmlVgpuTypeGetGspHeapSize = _cyb_dlsym(handle, 'nvmlVgpuTypeGetGspHeapSize') 

2060  

2061 global __nvmlVgpuTypeGetFbReservation 

2062 __nvmlVgpuTypeGetFbReservation = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetFbReservation') 

2063 if __nvmlVgpuTypeGetFbReservation == NULL: 

2064 if handle == NULL: 

2065 handle = load_library() 

2066 __nvmlVgpuTypeGetFbReservation = _cyb_dlsym(handle, 'nvmlVgpuTypeGetFbReservation') 

2067  

2068 global __nvmlVgpuInstanceGetRuntimeStateSize 

2069 __nvmlVgpuInstanceGetRuntimeStateSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetRuntimeStateSize') 

2070 if __nvmlVgpuInstanceGetRuntimeStateSize == NULL: 

2071 if handle == NULL: 

2072 handle = load_library() 

2073 __nvmlVgpuInstanceGetRuntimeStateSize = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetRuntimeStateSize') 

2074  

2075 global __nvmlDeviceSetVgpuCapabilities 

2076 __nvmlDeviceSetVgpuCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuCapabilities') 

2077 if __nvmlDeviceSetVgpuCapabilities == NULL: 

2078 if handle == NULL: 

2079 handle = load_library() 

2080 __nvmlDeviceSetVgpuCapabilities = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuCapabilities') 

2081  

2082 global __nvmlDeviceGetGridLicensableFeatures_v4 

2083 __nvmlDeviceGetGridLicensableFeatures_v4 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGridLicensableFeatures_v4') 

2084 if __nvmlDeviceGetGridLicensableFeatures_v4 == NULL: 

2085 if handle == NULL: 

2086 handle = load_library() 

2087 __nvmlDeviceGetGridLicensableFeatures_v4 = _cyb_dlsym(handle, 'nvmlDeviceGetGridLicensableFeatures_v4') 

2088  

2089 global __nvmlGetVgpuDriverCapabilities 

2090 __nvmlGetVgpuDriverCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetVgpuDriverCapabilities') 

2091 if __nvmlGetVgpuDriverCapabilities == NULL: 

2092 if handle == NULL: 

2093 handle = load_library() 

2094 __nvmlGetVgpuDriverCapabilities = _cyb_dlsym(handle, 'nvmlGetVgpuDriverCapabilities') 

2095  

2096 global __nvmlDeviceGetVgpuCapabilities 

2097 __nvmlDeviceGetVgpuCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuCapabilities') 

2098 if __nvmlDeviceGetVgpuCapabilities == NULL: 

2099 if handle == NULL: 

2100 handle = load_library() 

2101 __nvmlDeviceGetVgpuCapabilities = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuCapabilities') 

2102  

2103 global __nvmlDeviceGetSupportedVgpus 

2104 __nvmlDeviceGetSupportedVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedVgpus') 

2105 if __nvmlDeviceGetSupportedVgpus == NULL: 

2106 if handle == NULL: 

2107 handle = load_library() 

2108 __nvmlDeviceGetSupportedVgpus = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedVgpus') 

2109  

2110 global __nvmlDeviceGetCreatableVgpus 

2111 __nvmlDeviceGetCreatableVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCreatableVgpus') 

2112 if __nvmlDeviceGetCreatableVgpus == NULL: 

2113 if handle == NULL: 

2114 handle = load_library() 

2115 __nvmlDeviceGetCreatableVgpus = _cyb_dlsym(handle, 'nvmlDeviceGetCreatableVgpus') 

2116  

2117 global __nvmlVgpuTypeGetClass 

2118 __nvmlVgpuTypeGetClass = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetClass') 

2119 if __nvmlVgpuTypeGetClass == NULL: 

2120 if handle == NULL: 

2121 handle = load_library() 

2122 __nvmlVgpuTypeGetClass = _cyb_dlsym(handle, 'nvmlVgpuTypeGetClass') 

2123  

2124 global __nvmlVgpuTypeGetName 

2125 __nvmlVgpuTypeGetName = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetName') 

2126 if __nvmlVgpuTypeGetName == NULL: 

2127 if handle == NULL: 

2128 handle = load_library() 

2129 __nvmlVgpuTypeGetName = _cyb_dlsym(handle, 'nvmlVgpuTypeGetName') 

2130  

2131 global __nvmlVgpuTypeGetGpuInstanceProfileId 

2132 __nvmlVgpuTypeGetGpuInstanceProfileId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetGpuInstanceProfileId') 

2133 if __nvmlVgpuTypeGetGpuInstanceProfileId == NULL: 

2134 if handle == NULL: 

2135 handle = load_library() 

2136 __nvmlVgpuTypeGetGpuInstanceProfileId = _cyb_dlsym(handle, 'nvmlVgpuTypeGetGpuInstanceProfileId') 

2137  

2138 global __nvmlVgpuTypeGetDeviceID 

2139 __nvmlVgpuTypeGetDeviceID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetDeviceID') 

2140 if __nvmlVgpuTypeGetDeviceID == NULL: 

2141 if handle == NULL: 

2142 handle = load_library() 

2143 __nvmlVgpuTypeGetDeviceID = _cyb_dlsym(handle, 'nvmlVgpuTypeGetDeviceID') 

2144  

2145 global __nvmlVgpuTypeGetFramebufferSize 

2146 __nvmlVgpuTypeGetFramebufferSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetFramebufferSize') 

2147 if __nvmlVgpuTypeGetFramebufferSize == NULL: 

2148 if handle == NULL: 

2149 handle = load_library() 

2150 __nvmlVgpuTypeGetFramebufferSize = _cyb_dlsym(handle, 'nvmlVgpuTypeGetFramebufferSize') 

2151  

2152 global __nvmlVgpuTypeGetNumDisplayHeads 

2153 __nvmlVgpuTypeGetNumDisplayHeads = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetNumDisplayHeads') 

2154 if __nvmlVgpuTypeGetNumDisplayHeads == NULL: 

2155 if handle == NULL: 

2156 handle = load_library() 

2157 __nvmlVgpuTypeGetNumDisplayHeads = _cyb_dlsym(handle, 'nvmlVgpuTypeGetNumDisplayHeads') 

2158  

2159 global __nvmlVgpuTypeGetResolution 

2160 __nvmlVgpuTypeGetResolution = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetResolution') 

2161 if __nvmlVgpuTypeGetResolution == NULL: 

2162 if handle == NULL: 

2163 handle = load_library() 

2164 __nvmlVgpuTypeGetResolution = _cyb_dlsym(handle, 'nvmlVgpuTypeGetResolution') 

2165  

2166 global __nvmlVgpuTypeGetLicense 

2167 __nvmlVgpuTypeGetLicense = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetLicense') 

2168 if __nvmlVgpuTypeGetLicense == NULL: 

2169 if handle == NULL: 

2170 handle = load_library() 

2171 __nvmlVgpuTypeGetLicense = _cyb_dlsym(handle, 'nvmlVgpuTypeGetLicense') 

2172  

2173 global __nvmlVgpuTypeGetFrameRateLimit 

2174 __nvmlVgpuTypeGetFrameRateLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetFrameRateLimit') 

2175 if __nvmlVgpuTypeGetFrameRateLimit == NULL: 

2176 if handle == NULL: 

2177 handle = load_library() 

2178 __nvmlVgpuTypeGetFrameRateLimit = _cyb_dlsym(handle, 'nvmlVgpuTypeGetFrameRateLimit') 

2179  

2180 global __nvmlVgpuTypeGetMaxInstances 

2181 __nvmlVgpuTypeGetMaxInstances = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstances') 

2182 if __nvmlVgpuTypeGetMaxInstances == NULL: 

2183 if handle == NULL: 

2184 handle = load_library() 

2185 __nvmlVgpuTypeGetMaxInstances = _cyb_dlsym(handle, 'nvmlVgpuTypeGetMaxInstances') 

2186  

2187 global __nvmlVgpuTypeGetMaxInstancesPerVm 

2188 __nvmlVgpuTypeGetMaxInstancesPerVm = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstancesPerVm') 

2189 if __nvmlVgpuTypeGetMaxInstancesPerVm == NULL: 

2190 if handle == NULL: 

2191 handle = load_library() 

2192 __nvmlVgpuTypeGetMaxInstancesPerVm = _cyb_dlsym(handle, 'nvmlVgpuTypeGetMaxInstancesPerVm') 

2193  

2194 global __nvmlVgpuTypeGetBAR1Info 

2195 __nvmlVgpuTypeGetBAR1Info = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetBAR1Info') 

2196 if __nvmlVgpuTypeGetBAR1Info == NULL: 

2197 if handle == NULL: 

2198 handle = load_library() 

2199 __nvmlVgpuTypeGetBAR1Info = _cyb_dlsym(handle, 'nvmlVgpuTypeGetBAR1Info') 

2200  

2201 global __nvmlDeviceGetActiveVgpus 

2202 __nvmlDeviceGetActiveVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetActiveVgpus') 

2203 if __nvmlDeviceGetActiveVgpus == NULL: 

2204 if handle == NULL: 

2205 handle = load_library() 

2206 __nvmlDeviceGetActiveVgpus = _cyb_dlsym(handle, 'nvmlDeviceGetActiveVgpus') 

2207  

2208 global __nvmlVgpuInstanceGetVmID 

2209 __nvmlVgpuInstanceGetVmID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetVmID') 

2210 if __nvmlVgpuInstanceGetVmID == NULL: 

2211 if handle == NULL: 

2212 handle = load_library() 

2213 __nvmlVgpuInstanceGetVmID = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetVmID') 

2214  

2215 global __nvmlVgpuInstanceGetUUID 

2216 __nvmlVgpuInstanceGetUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetUUID') 

2217 if __nvmlVgpuInstanceGetUUID == NULL: 

2218 if handle == NULL: 

2219 handle = load_library() 

2220 __nvmlVgpuInstanceGetUUID = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetUUID') 

2221  

2222 global __nvmlVgpuInstanceGetVmDriverVersion 

2223 __nvmlVgpuInstanceGetVmDriverVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetVmDriverVersion') 

2224 if __nvmlVgpuInstanceGetVmDriverVersion == NULL: 

2225 if handle == NULL: 

2226 handle = load_library() 

2227 __nvmlVgpuInstanceGetVmDriverVersion = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetVmDriverVersion') 

2228  

2229 global __nvmlVgpuInstanceGetFbUsage 

2230 __nvmlVgpuInstanceGetFbUsage = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFbUsage') 

2231 if __nvmlVgpuInstanceGetFbUsage == NULL: 

2232 if handle == NULL: 

2233 handle = load_library() 

2234 __nvmlVgpuInstanceGetFbUsage = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFbUsage') 

2235  

2236 global __nvmlVgpuInstanceGetLicenseStatus 

2237 __nvmlVgpuInstanceGetLicenseStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetLicenseStatus') 

2238 if __nvmlVgpuInstanceGetLicenseStatus == NULL: 

2239 if handle == NULL: 

2240 handle = load_library() 

2241 __nvmlVgpuInstanceGetLicenseStatus = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetLicenseStatus') 

2242  

2243 global __nvmlVgpuInstanceGetType 

2244 __nvmlVgpuInstanceGetType = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetType') 

2245 if __nvmlVgpuInstanceGetType == NULL: 

2246 if handle == NULL: 

2247 handle = load_library() 

2248 __nvmlVgpuInstanceGetType = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetType') 

2249  

2250 global __nvmlVgpuInstanceGetFrameRateLimit 

2251 __nvmlVgpuInstanceGetFrameRateLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFrameRateLimit') 

2252 if __nvmlVgpuInstanceGetFrameRateLimit == NULL: 

2253 if handle == NULL: 

2254 handle = load_library() 

2255 __nvmlVgpuInstanceGetFrameRateLimit = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFrameRateLimit') 

2256  

2257 global __nvmlVgpuInstanceGetEccMode 

2258 __nvmlVgpuInstanceGetEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEccMode') 

2259 if __nvmlVgpuInstanceGetEccMode == NULL: 

2260 if handle == NULL: 

2261 handle = load_library() 

2262 __nvmlVgpuInstanceGetEccMode = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEccMode') 

2263  

2264 global __nvmlVgpuInstanceGetEncoderCapacity 

2265 __nvmlVgpuInstanceGetEncoderCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderCapacity') 

2266 if __nvmlVgpuInstanceGetEncoderCapacity == NULL: 

2267 if handle == NULL: 

2268 handle = load_library() 

2269 __nvmlVgpuInstanceGetEncoderCapacity = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEncoderCapacity') 

2270  

2271 global __nvmlVgpuInstanceSetEncoderCapacity 

2272 __nvmlVgpuInstanceSetEncoderCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceSetEncoderCapacity') 

2273 if __nvmlVgpuInstanceSetEncoderCapacity == NULL: 

2274 if handle == NULL: 

2275 handle = load_library() 

2276 __nvmlVgpuInstanceSetEncoderCapacity = _cyb_dlsym(handle, 'nvmlVgpuInstanceSetEncoderCapacity') 

2277  

2278 global __nvmlVgpuInstanceGetEncoderStats 

2279 __nvmlVgpuInstanceGetEncoderStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderStats') 

2280 if __nvmlVgpuInstanceGetEncoderStats == NULL: 

2281 if handle == NULL: 

2282 handle = load_library() 

2283 __nvmlVgpuInstanceGetEncoderStats = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEncoderStats') 

2284  

2285 global __nvmlVgpuInstanceGetEncoderSessions 

2286 __nvmlVgpuInstanceGetEncoderSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderSessions') 

2287 if __nvmlVgpuInstanceGetEncoderSessions == NULL: 

2288 if handle == NULL: 

2289 handle = load_library() 

2290 __nvmlVgpuInstanceGetEncoderSessions = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEncoderSessions') 

2291  

2292 global __nvmlVgpuInstanceGetFBCStats 

2293 __nvmlVgpuInstanceGetFBCStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFBCStats') 

2294 if __nvmlVgpuInstanceGetFBCStats == NULL: 

2295 if handle == NULL: 

2296 handle = load_library() 

2297 __nvmlVgpuInstanceGetFBCStats = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFBCStats') 

2298  

2299 global __nvmlVgpuInstanceGetFBCSessions 

2300 __nvmlVgpuInstanceGetFBCSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFBCSessions') 

2301 if __nvmlVgpuInstanceGetFBCSessions == NULL: 

2302 if handle == NULL: 

2303 handle = load_library() 

2304 __nvmlVgpuInstanceGetFBCSessions = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFBCSessions') 

2305  

2306 global __nvmlVgpuInstanceGetGpuInstanceId 

2307 __nvmlVgpuInstanceGetGpuInstanceId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetGpuInstanceId') 

2308 if __nvmlVgpuInstanceGetGpuInstanceId == NULL: 

2309 if handle == NULL: 

2310 handle = load_library() 

2311 __nvmlVgpuInstanceGetGpuInstanceId = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetGpuInstanceId') 

2312  

2313 global __nvmlVgpuInstanceGetGpuPciId 

2314 __nvmlVgpuInstanceGetGpuPciId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetGpuPciId') 

2315 if __nvmlVgpuInstanceGetGpuPciId == NULL: 

2316 if handle == NULL: 

2317 handle = load_library() 

2318 __nvmlVgpuInstanceGetGpuPciId = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetGpuPciId') 

2319  

2320 global __nvmlVgpuTypeGetCapabilities 

2321 __nvmlVgpuTypeGetCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetCapabilities') 

2322 if __nvmlVgpuTypeGetCapabilities == NULL: 

2323 if handle == NULL: 

2324 handle = load_library() 

2325 __nvmlVgpuTypeGetCapabilities = _cyb_dlsym(handle, 'nvmlVgpuTypeGetCapabilities') 

2326  

2327 global __nvmlVgpuInstanceGetMdevUUID 

2328 __nvmlVgpuInstanceGetMdevUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetMdevUUID') 

2329 if __nvmlVgpuInstanceGetMdevUUID == NULL: 

2330 if handle == NULL: 

2331 handle = load_library() 

2332 __nvmlVgpuInstanceGetMdevUUID = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetMdevUUID') 

2333  

2334 global __nvmlGpuInstanceGetCreatableVgpus 

2335 __nvmlGpuInstanceGetCreatableVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetCreatableVgpus') 

2336 if __nvmlGpuInstanceGetCreatableVgpus == NULL: 

2337 if handle == NULL: 

2338 handle = load_library() 

2339 __nvmlGpuInstanceGetCreatableVgpus = _cyb_dlsym(handle, 'nvmlGpuInstanceGetCreatableVgpus') 

2340  

2341 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

2342 __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstancesPerGpuInstance') 

2343 if __nvmlVgpuTypeGetMaxInstancesPerGpuInstance == NULL: 

2344 if handle == NULL: 

2345 handle = load_library() 

2346 __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = _cyb_dlsym(handle, 'nvmlVgpuTypeGetMaxInstancesPerGpuInstance') 

2347  

2348 global __nvmlGpuInstanceGetActiveVgpus 

2349 __nvmlGpuInstanceGetActiveVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetActiveVgpus') 

2350 if __nvmlGpuInstanceGetActiveVgpus == NULL: 

2351 if handle == NULL: 

2352 handle = load_library() 

2353 __nvmlGpuInstanceGetActiveVgpus = _cyb_dlsym(handle, 'nvmlGpuInstanceGetActiveVgpus') 

2354  

2355 global __nvmlGpuInstanceSetVgpuSchedulerState 

2356 __nvmlGpuInstanceSetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuSchedulerState') 

2357 if __nvmlGpuInstanceSetVgpuSchedulerState == NULL: 

2358 if handle == NULL: 

2359 handle = load_library() 

2360 __nvmlGpuInstanceSetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlGpuInstanceSetVgpuSchedulerState') 

2361  

2362 global __nvmlGpuInstanceGetVgpuSchedulerState 

2363 __nvmlGpuInstanceGetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerState') 

2364 if __nvmlGpuInstanceGetVgpuSchedulerState == NULL: 

2365 if handle == NULL: 

2366 handle = load_library() 

2367 __nvmlGpuInstanceGetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerState') 

2368  

2369 global __nvmlGpuInstanceGetVgpuSchedulerLog 

2370 __nvmlGpuInstanceGetVgpuSchedulerLog = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerLog') 

2371 if __nvmlGpuInstanceGetVgpuSchedulerLog == NULL: 

2372 if handle == NULL: 

2373 handle = load_library() 

2374 __nvmlGpuInstanceGetVgpuSchedulerLog = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerLog') 

2375  

2376 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

2377 __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuTypeCreatablePlacements') 

2378 if __nvmlGpuInstanceGetVgpuTypeCreatablePlacements == NULL: 

2379 if handle == NULL: 

2380 handle = load_library() 

2381 __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuTypeCreatablePlacements') 

2382  

2383 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

2384 __nvmlGpuInstanceGetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuHeterogeneousMode') 

2385 if __nvmlGpuInstanceGetVgpuHeterogeneousMode == NULL: 

2386 if handle == NULL: 

2387 handle = load_library() 

2388 __nvmlGpuInstanceGetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuHeterogeneousMode') 

2389  

2390 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

2391 __nvmlGpuInstanceSetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuHeterogeneousMode') 

2392 if __nvmlGpuInstanceSetVgpuHeterogeneousMode == NULL: 

2393 if handle == NULL: 

2394 handle = load_library() 

2395 __nvmlGpuInstanceSetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlGpuInstanceSetVgpuHeterogeneousMode') 

2396  

2397 global __nvmlVgpuInstanceGetMetadata 

2398 __nvmlVgpuInstanceGetMetadata = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetMetadata') 

2399 if __nvmlVgpuInstanceGetMetadata == NULL: 

2400 if handle == NULL: 

2401 handle = load_library() 

2402 __nvmlVgpuInstanceGetMetadata = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetMetadata') 

2403  

2404 global __nvmlDeviceGetVgpuMetadata 

2405 __nvmlDeviceGetVgpuMetadata = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuMetadata') 

2406 if __nvmlDeviceGetVgpuMetadata == NULL: 

2407 if handle == NULL: 

2408 handle = load_library() 

2409 __nvmlDeviceGetVgpuMetadata = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuMetadata') 

2410  

2411 global __nvmlGetVgpuCompatibility 

2412 __nvmlGetVgpuCompatibility = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetVgpuCompatibility') 

2413 if __nvmlGetVgpuCompatibility == NULL: 

2414 if handle == NULL: 

2415 handle = load_library() 

2416 __nvmlGetVgpuCompatibility = _cyb_dlsym(handle, 'nvmlGetVgpuCompatibility') 

2417  

2418 global __nvmlDeviceGetPgpuMetadataString 

2419 __nvmlDeviceGetPgpuMetadataString = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPgpuMetadataString') 

2420 if __nvmlDeviceGetPgpuMetadataString == NULL: 

2421 if handle == NULL: 

2422 handle = load_library() 

2423 __nvmlDeviceGetPgpuMetadataString = _cyb_dlsym(handle, 'nvmlDeviceGetPgpuMetadataString') 

2424  

2425 global __nvmlDeviceGetVgpuSchedulerLog 

2426 __nvmlDeviceGetVgpuSchedulerLog = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerLog') 

2427 if __nvmlDeviceGetVgpuSchedulerLog == NULL: 

2428 if handle == NULL: 

2429 handle = load_library() 

2430 __nvmlDeviceGetVgpuSchedulerLog = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerLog') 

2431  

2432 global __nvmlDeviceGetVgpuSchedulerState 

2433 __nvmlDeviceGetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerState') 

2434 if __nvmlDeviceGetVgpuSchedulerState == NULL: 

2435 if handle == NULL: 

2436 handle = load_library() 

2437 __nvmlDeviceGetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerState') 

2438  

2439 global __nvmlDeviceGetVgpuSchedulerCapabilities 

2440 __nvmlDeviceGetVgpuSchedulerCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerCapabilities') 

2441 if __nvmlDeviceGetVgpuSchedulerCapabilities == NULL: 

2442 if handle == NULL: 

2443 handle = load_library() 

2444 __nvmlDeviceGetVgpuSchedulerCapabilities = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerCapabilities') 

2445  

2446 global __nvmlDeviceSetVgpuSchedulerState 

2447 __nvmlDeviceSetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuSchedulerState') 

2448 if __nvmlDeviceSetVgpuSchedulerState == NULL: 

2449 if handle == NULL: 

2450 handle = load_library() 

2451 __nvmlDeviceSetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuSchedulerState') 

2452  

2453 global __nvmlGetVgpuVersion 

2454 __nvmlGetVgpuVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetVgpuVersion') 

2455 if __nvmlGetVgpuVersion == NULL: 

2456 if handle == NULL: 

2457 handle = load_library() 

2458 __nvmlGetVgpuVersion = _cyb_dlsym(handle, 'nvmlGetVgpuVersion') 

2459  

2460 global __nvmlSetVgpuVersion 

2461 __nvmlSetVgpuVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSetVgpuVersion') 

2462 if __nvmlSetVgpuVersion == NULL: 

2463 if handle == NULL: 

2464 handle = load_library() 

2465 __nvmlSetVgpuVersion = _cyb_dlsym(handle, 'nvmlSetVgpuVersion') 

2466  

2467 global __nvmlDeviceGetVgpuUtilization 

2468 __nvmlDeviceGetVgpuUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuUtilization') 

2469 if __nvmlDeviceGetVgpuUtilization == NULL: 

2470 if handle == NULL: 

2471 handle = load_library() 

2472 __nvmlDeviceGetVgpuUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuUtilization') 

2473  

2474 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

2475 __nvmlDeviceGetVgpuInstancesUtilizationInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuInstancesUtilizationInfo') 

2476 if __nvmlDeviceGetVgpuInstancesUtilizationInfo == NULL: 

2477 if handle == NULL: 

2478 handle = load_library() 

2479 __nvmlDeviceGetVgpuInstancesUtilizationInfo = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuInstancesUtilizationInfo') 

2480  

2481 global __nvmlDeviceGetVgpuProcessUtilization 

2482 __nvmlDeviceGetVgpuProcessUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuProcessUtilization') 

2483 if __nvmlDeviceGetVgpuProcessUtilization == NULL: 

2484 if handle == NULL: 

2485 handle = load_library() 

2486 __nvmlDeviceGetVgpuProcessUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuProcessUtilization') 

2487  

2488 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

2489 __nvmlDeviceGetVgpuProcessesUtilizationInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuProcessesUtilizationInfo') 

2490 if __nvmlDeviceGetVgpuProcessesUtilizationInfo == NULL: 

2491 if handle == NULL: 

2492 handle = load_library() 

2493 __nvmlDeviceGetVgpuProcessesUtilizationInfo = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuProcessesUtilizationInfo') 

2494  

2495 global __nvmlVgpuInstanceGetAccountingMode 

2496 __nvmlVgpuInstanceGetAccountingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingMode') 

2497 if __nvmlVgpuInstanceGetAccountingMode == NULL: 

2498 if handle == NULL: 

2499 handle = load_library() 

2500 __nvmlVgpuInstanceGetAccountingMode = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetAccountingMode') 

2501  

2502 global __nvmlVgpuInstanceGetAccountingPids 

2503 __nvmlVgpuInstanceGetAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingPids') 

2504 if __nvmlVgpuInstanceGetAccountingPids == NULL: 

2505 if handle == NULL: 

2506 handle = load_library() 

2507 __nvmlVgpuInstanceGetAccountingPids = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetAccountingPids') 

2508  

2509 global __nvmlVgpuInstanceGetAccountingStats 

2510 __nvmlVgpuInstanceGetAccountingStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingStats') 

2511 if __nvmlVgpuInstanceGetAccountingStats == NULL: 

2512 if handle == NULL: 

2513 handle = load_library() 

2514 __nvmlVgpuInstanceGetAccountingStats = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetAccountingStats') 

2515  

2516 global __nvmlVgpuInstanceClearAccountingPids 

2517 __nvmlVgpuInstanceClearAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceClearAccountingPids') 

2518 if __nvmlVgpuInstanceClearAccountingPids == NULL: 

2519 if handle == NULL: 

2520 handle = load_library() 

2521 __nvmlVgpuInstanceClearAccountingPids = _cyb_dlsym(handle, 'nvmlVgpuInstanceClearAccountingPids') 

2522  

2523 global __nvmlVgpuInstanceGetLicenseInfo_v2 

2524 __nvmlVgpuInstanceGetLicenseInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetLicenseInfo_v2') 

2525 if __nvmlVgpuInstanceGetLicenseInfo_v2 == NULL: 

2526 if handle == NULL: 

2527 handle = load_library() 

2528 __nvmlVgpuInstanceGetLicenseInfo_v2 = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetLicenseInfo_v2') 

2529  

2530 global __nvmlGetExcludedDeviceCount 

2531 __nvmlGetExcludedDeviceCount = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetExcludedDeviceCount') 

2532 if __nvmlGetExcludedDeviceCount == NULL: 

2533 if handle == NULL: 

2534 handle = load_library() 

2535 __nvmlGetExcludedDeviceCount = _cyb_dlsym(handle, 'nvmlGetExcludedDeviceCount') 

2536  

2537 global __nvmlGetExcludedDeviceInfoByIndex 

2538 __nvmlGetExcludedDeviceInfoByIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetExcludedDeviceInfoByIndex') 

2539 if __nvmlGetExcludedDeviceInfoByIndex == NULL: 

2540 if handle == NULL: 

2541 handle = load_library() 

2542 __nvmlGetExcludedDeviceInfoByIndex = _cyb_dlsym(handle, 'nvmlGetExcludedDeviceInfoByIndex') 

2543  

2544 global __nvmlDeviceSetMigMode 

2545 __nvmlDeviceSetMigMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetMigMode') 

2546 if __nvmlDeviceSetMigMode == NULL: 

2547 if handle == NULL: 

2548 handle = load_library() 

2549 __nvmlDeviceSetMigMode = _cyb_dlsym(handle, 'nvmlDeviceSetMigMode') 

2550  

2551 global __nvmlDeviceGetMigMode 

2552 __nvmlDeviceGetMigMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMigMode') 

2553 if __nvmlDeviceGetMigMode == NULL: 

2554 if handle == NULL: 

2555 handle = load_library() 

2556 __nvmlDeviceGetMigMode = _cyb_dlsym(handle, 'nvmlDeviceGetMigMode') 

2557  

2558 global __nvmlDeviceGetGpuInstanceProfileInfoV 

2559 __nvmlDeviceGetGpuInstanceProfileInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceProfileInfoV') 

2560 if __nvmlDeviceGetGpuInstanceProfileInfoV == NULL: 

2561 if handle == NULL: 

2562 handle = load_library() 

2563 __nvmlDeviceGetGpuInstanceProfileInfoV = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceProfileInfoV') 

2564  

2565 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

2566 __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstancePossiblePlacements_v2') 

2567 if __nvmlDeviceGetGpuInstancePossiblePlacements_v2 == NULL: 

2568 if handle == NULL: 

2569 handle = load_library() 

2570 __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstancePossiblePlacements_v2') 

2571  

2572 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

2573 __nvmlDeviceGetGpuInstanceRemainingCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceRemainingCapacity') 

2574 if __nvmlDeviceGetGpuInstanceRemainingCapacity == NULL: 

2575 if handle == NULL: 

2576 handle = load_library() 

2577 __nvmlDeviceGetGpuInstanceRemainingCapacity = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceRemainingCapacity') 

2578  

2579 global __nvmlDeviceCreateGpuInstance 

2580 __nvmlDeviceCreateGpuInstance = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceCreateGpuInstance') 

2581 if __nvmlDeviceCreateGpuInstance == NULL: 

2582 if handle == NULL: 

2583 handle = load_library() 

2584 __nvmlDeviceCreateGpuInstance = _cyb_dlsym(handle, 'nvmlDeviceCreateGpuInstance') 

2585  

2586 global __nvmlDeviceCreateGpuInstanceWithPlacement 

2587 __nvmlDeviceCreateGpuInstanceWithPlacement = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceCreateGpuInstanceWithPlacement') 

2588 if __nvmlDeviceCreateGpuInstanceWithPlacement == NULL: 

2589 if handle == NULL: 

2590 handle = load_library() 

2591 __nvmlDeviceCreateGpuInstanceWithPlacement = _cyb_dlsym(handle, 'nvmlDeviceCreateGpuInstanceWithPlacement') 

2592  

2593 global __nvmlGpuInstanceDestroy 

2594 __nvmlGpuInstanceDestroy = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceDestroy') 

2595 if __nvmlGpuInstanceDestroy == NULL: 

2596 if handle == NULL: 

2597 handle = load_library() 

2598 __nvmlGpuInstanceDestroy = _cyb_dlsym(handle, 'nvmlGpuInstanceDestroy') 

2599  

2600 global __nvmlDeviceGetGpuInstances 

2601 __nvmlDeviceGetGpuInstances = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstances') 

2602 if __nvmlDeviceGetGpuInstances == NULL: 

2603 if handle == NULL: 

2604 handle = load_library() 

2605 __nvmlDeviceGetGpuInstances = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstances') 

2606  

2607 global __nvmlDeviceGetGpuInstanceById 

2608 __nvmlDeviceGetGpuInstanceById = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceById') 

2609 if __nvmlDeviceGetGpuInstanceById == NULL: 

2610 if handle == NULL: 

2611 handle = load_library() 

2612 __nvmlDeviceGetGpuInstanceById = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceById') 

2613  

2614 global __nvmlGpuInstanceGetInfo 

2615 __nvmlGpuInstanceGetInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetInfo') 

2616 if __nvmlGpuInstanceGetInfo == NULL: 

2617 if handle == NULL: 

2618 handle = load_library() 

2619 __nvmlGpuInstanceGetInfo = _cyb_dlsym(handle, 'nvmlGpuInstanceGetInfo') 

2620  

2621 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

2622 __nvmlGpuInstanceGetComputeInstanceProfileInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceProfileInfoV') 

2623 if __nvmlGpuInstanceGetComputeInstanceProfileInfoV == NULL: 

2624 if handle == NULL: 

2625 handle = load_library() 

2626 __nvmlGpuInstanceGetComputeInstanceProfileInfoV = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceProfileInfoV') 

2627  

2628 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

2629 __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceRemainingCapacity') 

2630 if __nvmlGpuInstanceGetComputeInstanceRemainingCapacity == NULL: 

2631 if handle == NULL: 

2632 handle = load_library() 

2633 __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceRemainingCapacity') 

2634  

2635 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

2636 __nvmlGpuInstanceGetComputeInstancePossiblePlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstancePossiblePlacements') 

2637 if __nvmlGpuInstanceGetComputeInstancePossiblePlacements == NULL: 

2638 if handle == NULL: 

2639 handle = load_library() 

2640 __nvmlGpuInstanceGetComputeInstancePossiblePlacements = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstancePossiblePlacements') 

2641  

2642 global __nvmlGpuInstanceCreateComputeInstance 

2643 __nvmlGpuInstanceCreateComputeInstance = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceCreateComputeInstance') 

2644 if __nvmlGpuInstanceCreateComputeInstance == NULL: 

2645 if handle == NULL: 

2646 handle = load_library() 

2647 __nvmlGpuInstanceCreateComputeInstance = _cyb_dlsym(handle, 'nvmlGpuInstanceCreateComputeInstance') 

2648  

2649 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

2650 __nvmlGpuInstanceCreateComputeInstanceWithPlacement = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceCreateComputeInstanceWithPlacement') 

2651 if __nvmlGpuInstanceCreateComputeInstanceWithPlacement == NULL: 

2652 if handle == NULL: 

2653 handle = load_library() 

2654 __nvmlGpuInstanceCreateComputeInstanceWithPlacement = _cyb_dlsym(handle, 'nvmlGpuInstanceCreateComputeInstanceWithPlacement') 

2655  

2656 global __nvmlComputeInstanceDestroy 

2657 __nvmlComputeInstanceDestroy = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlComputeInstanceDestroy') 

2658 if __nvmlComputeInstanceDestroy == NULL: 

2659 if handle == NULL: 

2660 handle = load_library() 

2661 __nvmlComputeInstanceDestroy = _cyb_dlsym(handle, 'nvmlComputeInstanceDestroy') 

2662  

2663 global __nvmlGpuInstanceGetComputeInstances 

2664 __nvmlGpuInstanceGetComputeInstances = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstances') 

2665 if __nvmlGpuInstanceGetComputeInstances == NULL: 

2666 if handle == NULL: 

2667 handle = load_library() 

2668 __nvmlGpuInstanceGetComputeInstances = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstances') 

2669  

2670 global __nvmlGpuInstanceGetComputeInstanceById 

2671 __nvmlGpuInstanceGetComputeInstanceById = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceById') 

2672 if __nvmlGpuInstanceGetComputeInstanceById == NULL: 

2673 if handle == NULL: 

2674 handle = load_library() 

2675 __nvmlGpuInstanceGetComputeInstanceById = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceById') 

2676  

2677 global __nvmlComputeInstanceGetInfo_v2 

2678 __nvmlComputeInstanceGetInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlComputeInstanceGetInfo_v2') 

2679 if __nvmlComputeInstanceGetInfo_v2 == NULL: 

2680 if handle == NULL: 

2681 handle = load_library() 

2682 __nvmlComputeInstanceGetInfo_v2 = _cyb_dlsym(handle, 'nvmlComputeInstanceGetInfo_v2') 

2683  

2684 global __nvmlDeviceIsMigDeviceHandle 

2685 __nvmlDeviceIsMigDeviceHandle = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceIsMigDeviceHandle') 

2686 if __nvmlDeviceIsMigDeviceHandle == NULL: 

2687 if handle == NULL: 

2688 handle = load_library() 

2689 __nvmlDeviceIsMigDeviceHandle = _cyb_dlsym(handle, 'nvmlDeviceIsMigDeviceHandle') 

2690  

2691 global __nvmlDeviceGetGpuInstanceId 

2692 __nvmlDeviceGetGpuInstanceId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceId') 

2693 if __nvmlDeviceGetGpuInstanceId == NULL: 

2694 if handle == NULL: 

2695 handle = load_library() 

2696 __nvmlDeviceGetGpuInstanceId = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceId') 

2697  

2698 global __nvmlDeviceGetComputeInstanceId 

2699 __nvmlDeviceGetComputeInstanceId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetComputeInstanceId') 

2700 if __nvmlDeviceGetComputeInstanceId == NULL: 

2701 if handle == NULL: 

2702 handle = load_library() 

2703 __nvmlDeviceGetComputeInstanceId = _cyb_dlsym(handle, 'nvmlDeviceGetComputeInstanceId') 

2704  

2705 global __nvmlDeviceGetMaxMigDeviceCount 

2706 __nvmlDeviceGetMaxMigDeviceCount = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxMigDeviceCount') 2a j 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = Yb? @ Zb] ^ _ ` { s BbL | } ~ abbbcbdbebfbgbhb1b2b3b4bCbPb

2707 if __nvmlDeviceGetMaxMigDeviceCount == NULL: 2a j 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = Yb? @ Zb] ^ _ ` { s BbL | } ~ abbbcbdbebfbgbhb1b2b3b4bCbPb

2708 if handle == NULL: 

2709 handle = load_library() 

2710 __nvmlDeviceGetMaxMigDeviceCount = _cyb_dlsym(handle, 'nvmlDeviceGetMaxMigDeviceCount') 2a j 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = Yb? @ Zb] ^ _ ` { s BbL | } ~ abbbcbdbebfbgbhb1b2b3b4bCbPb

2711  

2712 global __nvmlDeviceGetMigDeviceHandleByIndex 

2713 __nvmlDeviceGetMigDeviceHandleByIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMigDeviceHandleByIndex') 

2714 if __nvmlDeviceGetMigDeviceHandleByIndex == NULL: 

2715 if handle == NULL: 

2716 handle = load_library() 

2717 __nvmlDeviceGetMigDeviceHandleByIndex = _cyb_dlsym(handle, 'nvmlDeviceGetMigDeviceHandleByIndex') 

2718  

2719 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

2720 __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDeviceHandleFromMigDeviceHandle') 

2721 if __nvmlDeviceGetDeviceHandleFromMigDeviceHandle == NULL: 

2722 if handle == NULL: 

2723 handle = load_library() 

2724 __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = _cyb_dlsym(handle, 'nvmlDeviceGetDeviceHandleFromMigDeviceHandle') 

2725  

2726 global __nvmlDeviceGetCapabilities 

2727 __nvmlDeviceGetCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCapabilities') 2a j 8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{b|b~bacccdcecfcgcs hcicjckclcmcncocpcqcrcsctcucvcxcycAcBc

2728 if __nvmlDeviceGetCapabilities == NULL: 

2729 if handle == NULL: 

2730 handle = load_library() 2a j 8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{b|b~bacccdcecfcgcs hcicjckclcmcncocpcqcrcsctcucvcxcycAcBc

2731 __nvmlDeviceGetCapabilities = _cyb_dlsym(handle, 'nvmlDeviceGetCapabilities') 

2732  

2733 global __nvmlDevicePowerSmoothingActivatePresetProfile 

2734 __nvmlDevicePowerSmoothingActivatePresetProfile = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDevicePowerSmoothingActivatePresetProfile') 

2735 if __nvmlDevicePowerSmoothingActivatePresetProfile == NULL: 

2736 if handle == NULL: 2x y R z A lbmbB C S I N G J K T GbD r n f g b p c h d DcEcFcGcJcQb

2737 handle = load_library() 2x y R z A lbmbB C S I N G J K T GbD r n f g b p c h d DcEcFcGcJcQb

2738 __nvmlDevicePowerSmoothingActivatePresetProfile = _cyb_dlsym(handle, 'nvmlDevicePowerSmoothingActivatePresetProfile') 

2739  

2740 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

2741 __nvmlDevicePowerSmoothingUpdatePresetProfileParam = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDevicePowerSmoothingUpdatePresetProfileParam') 

2742 if __nvmlDevicePowerSmoothingUpdatePresetProfileParam == NULL: 

2743 if handle == NULL: 

2744 handle = load_library() 

2745 __nvmlDevicePowerSmoothingUpdatePresetProfileParam = _cyb_dlsym(handle, 'nvmlDevicePowerSmoothingUpdatePresetProfileParam') 

2746  

2747 global __nvmlDevicePowerSmoothingSetState 

2748 __nvmlDevicePowerSmoothingSetState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDevicePowerSmoothingSetState') 

2749 if __nvmlDevicePowerSmoothingSetState == NULL: 

2750 if handle == NULL: 2KcMc

2751 handle = load_library() 

2752 __nvmlDevicePowerSmoothingSetState = _cyb_dlsym(handle, 'nvmlDevicePowerSmoothingSetState') 

2753  

2754 global __nvmlDeviceGetAddressingMode 

2755 __nvmlDeviceGetAddressingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAddressingMode') 

2756 if __nvmlDeviceGetAddressingMode == NULL: 2a zcHc

2757 if handle == NULL: 2zcHc

2758 handle = load_library() 

2759 __nvmlDeviceGetAddressingMode = _cyb_dlsym(handle, 'nvmlDeviceGetAddressingMode') 

2760  

2761 global __nvmlDeviceGetRepairStatus 

2762 __nvmlDeviceGetRepairStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRepairStatus') 

2763 if __nvmlDeviceGetRepairStatus == NULL: 

2764 if handle == NULL: 

2765 handle = load_library() 

2766 __nvmlDeviceGetRepairStatus = _cyb_dlsym(handle, 'nvmlDeviceGetRepairStatus') 2a wcIc

2767  

2768 global __nvmlDeviceGetPowerMizerMode_v1 

2769 __nvmlDeviceGetPowerMizerMode_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerMizerMode_v1') 

2770 if __nvmlDeviceGetPowerMizerMode_v1 == NULL: 2a wcIc

2771 if handle == NULL: 

2772 handle = load_library() 

2773 __nvmlDeviceGetPowerMizerMode_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetPowerMizerMode_v1') 

2774  

2775 global __nvmlDeviceSetPowerMizerMode_v1 

2776 __nvmlDeviceSetPowerMizerMode_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetPowerMizerMode_v1') 

2777 if __nvmlDeviceSetPowerMizerMode_v1 == NULL: 

2778 if handle == NULL: 

2779 handle = load_library() 

2780 __nvmlDeviceSetPowerMizerMode_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetPowerMizerMode_v1') 

2781  

2782 global __nvmlDeviceGetPdi 

2783 __nvmlDeviceGetPdi = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPdi') 

2784 if __nvmlDeviceGetPdi == NULL: 

2785 if handle == NULL: 

2786 handle = load_library() 20bQ

2787 __nvmlDeviceGetPdi = _cyb_dlsym(handle, 'nvmlDeviceGetPdi') 20bQ

2788  

2789 global __nvmlDeviceSetHostname_v1 

2790 __nvmlDeviceSetHostname_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetHostname_v1') 2a 0bQ

2791 if __nvmlDeviceSetHostname_v1 == NULL: 

2792 if handle == NULL: 

2793 handle = load_library() 

2794 __nvmlDeviceSetHostname_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetHostname_v1') 

2795  

2796 global __nvmlDeviceGetHostname_v1 

2797 __nvmlDeviceGetHostname_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHostname_v1') 

2798 if __nvmlDeviceGetHostname_v1 == NULL: 

2799 if handle == NULL: 

2800 handle = load_library() 

2801 __nvmlDeviceGetHostname_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetHostname_v1') 

2802  

2803 global __nvmlDeviceGetNvLinkInfo 

2804 __nvmlDeviceGetNvLinkInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkInfo') 

2805 if __nvmlDeviceGetNvLinkInfo == NULL: 

2806 if handle == NULL: 

2807 handle = load_library() 

2808 __nvmlDeviceGetNvLinkInfo = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkInfo') 

2809  

2810 global __nvmlDeviceReadWritePRM_v1 

2811 __nvmlDeviceReadWritePRM_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceReadWritePRM_v1') 

2812 if __nvmlDeviceReadWritePRM_v1 == NULL: 

2813 if handle == NULL: 

2814 handle = load_library() 

2815 __nvmlDeviceReadWritePRM_v1 = _cyb_dlsym(handle, 'nvmlDeviceReadWritePRM_v1') 

2816  

2817 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

2818 __nvmlDeviceGetGpuInstanceProfileInfoByIdV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceProfileInfoByIdV') 

2819 if __nvmlDeviceGetGpuInstanceProfileInfoByIdV == NULL: 

2820 if handle == NULL: 2a Lc

2821 handle = load_library() 

2822 __nvmlDeviceGetGpuInstanceProfileInfoByIdV = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceProfileInfoByIdV') 

2823  

2824 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

2825 __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts') 

2826 if __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts == NULL: 2a Cb

2827 if handle == NULL: 2Cb

2828 handle = load_library() 

2829 __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = _cyb_dlsym(handle, 'nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts') 

2830  

2831 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

2832 __nvmlDeviceGetUnrepairableMemoryFlag_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetUnrepairableMemoryFlag_v1') 

2833 if __nvmlDeviceGetUnrepairableMemoryFlag_v1 == NULL: 

2834 if handle == NULL: 

2835 handle = load_library() 

2836 __nvmlDeviceGetUnrepairableMemoryFlag_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetUnrepairableMemoryFlag_v1') 

2837  

2838 global __nvmlDeviceReadPRMCounters_v1 

2839 __nvmlDeviceReadPRMCounters_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceReadPRMCounters_v1') 

2840 if __nvmlDeviceReadPRMCounters_v1 == NULL: 

2841 if handle == NULL: 

2842 handle = load_library() 

2843 __nvmlDeviceReadPRMCounters_v1 = _cyb_dlsym(handle, 'nvmlDeviceReadPRMCounters_v1') 

2844  

2845 global __nvmlDeviceSetRusdSettings_v1 

2846 __nvmlDeviceSetRusdSettings_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetRusdSettings_v1') 

2847 if __nvmlDeviceSetRusdSettings_v1 == NULL: 

2848 if handle == NULL: 

2849 handle = load_library() 

2850 __nvmlDeviceSetRusdSettings_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetRusdSettings_v1') 

2851  

2852 global __nvmlDeviceVgpuForceGspUnload 

2853 __nvmlDeviceVgpuForceGspUnload = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceVgpuForceGspUnload') 

2854 if __nvmlDeviceVgpuForceGspUnload == NULL: 

2855 if handle == NULL: 

2856 handle = load_library() 

2857 __nvmlDeviceVgpuForceGspUnload = _cyb_dlsym(handle, 'nvmlDeviceVgpuForceGspUnload') 

2858  

2859 global __nvmlDeviceGetVgpuSchedulerState_v2 

2860 __nvmlDeviceGetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerState_v2') 

2861 if __nvmlDeviceGetVgpuSchedulerState_v2 == NULL: 

2862 if handle == NULL: 

2863 handle = load_library() 

2864 __nvmlDeviceGetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerState_v2') 

2865  

2866 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 

2867 __nvmlGpuInstanceGetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerState_v2') 

2868 if __nvmlGpuInstanceGetVgpuSchedulerState_v2 == NULL: 

2869 if handle == NULL: 

2870 handle = load_library() 

2871 __nvmlGpuInstanceGetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerState_v2') 

2872  

2873 global __nvmlDeviceGetVgpuSchedulerLog_v2 

2874 __nvmlDeviceGetVgpuSchedulerLog_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerLog_v2') 

2875 if __nvmlDeviceGetVgpuSchedulerLog_v2 == NULL: 

2876 if handle == NULL: 

2877 handle = load_library() 

2878 __nvmlDeviceGetVgpuSchedulerLog_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerLog_v2') 

2879  

2880 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 

2881 __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerLog_v2') 

2882 if __nvmlGpuInstanceGetVgpuSchedulerLog_v2 == NULL: 

2883 if handle == NULL: 

2884 handle = load_library() 

2885 __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerLog_v2') 

2886  

2887 global __nvmlDeviceSetVgpuSchedulerState_v2 

2888 __nvmlDeviceSetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuSchedulerState_v2') 

2889 if __nvmlDeviceSetVgpuSchedulerState_v2 == NULL: 

2890 if handle == NULL: 

2891 handle = load_library() 

2892 __nvmlDeviceSetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuSchedulerState_v2') 

2893  

2894 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 

2895 __nvmlGpuInstanceSetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuSchedulerState_v2') 

2896 if __nvmlGpuInstanceSetVgpuSchedulerState_v2 == NULL: 

2897 if handle == NULL: 

2898 handle = load_library() 

2899 __nvmlGpuInstanceSetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlGpuInstanceSetVgpuSchedulerState_v2') 

2900  

2901 global __nvmlSystemGetCPER_v1 

2902 __nvmlSystemGetCPER_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetCPER_v1') 

2903 if __nvmlSystemGetCPER_v1 == NULL: 

2904 if handle == NULL: 

2905 handle = load_library() 

2906 __nvmlSystemGetCPER_v1 = _cyb_dlsym(handle, 'nvmlSystemGetCPER_v1') 2a j 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = m ? @ [ ] ^ _ ` { s BbL | } ~ abbbcbdbebfbgbhbn f g o b pbH ibCcE qbt rbX k c Zcjbu h i l v d q w sbPbQ

2907  

2908 global __nvmlDeviceGetBBXTimeData_v1 

2909 __nvmlDeviceGetBBXTimeData_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBBXTimeData_v1') 

2910 if __nvmlDeviceGetBBXTimeData_v1 == NULL: 2a j 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = m ? @ [ ] ^ _ ` { s BbL | } ~ abbbcbdbebfbgbhbn f g o b pbH ibCcE qbt rbX k c Zcjbu h i l v d q w sbPbQ

2911 if handle == NULL: 

2912 handle = load_library() 

2913 __nvmlDeviceGetBBXTimeData_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetBBXTimeData_v1') 

2914  

2915 global __nvmlDeviceGetAccountingStats_v2 

2916 __nvmlDeviceGetAccountingStats_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingStats_v2') 

2917 if __nvmlDeviceGetAccountingStats_v2 == NULL: 

2918 if handle == NULL: 

2919 handle = load_library() 

2920 __nvmlDeviceGetAccountingStats_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingStats_v2') 

2921  

2922 global __nvmlDeviceGetRemappedRows_v2 

2923 __nvmlDeviceGetRemappedRows_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRemappedRows_v2') 

2924 if __nvmlDeviceGetRemappedRows_v2 == NULL: 

2925 if handle == NULL: 

2926 handle = load_library() 2a j 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = m ? @ [ ] ^ _ ` { s P L | } ~ abbbcbdbebfbgbhbn f g o b pb5bH ibE qbt rbX k c jbu h i l v 6b7bd q w sbQ

2927 __nvmlDeviceGetRemappedRows_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetRemappedRows_v2') 2a j 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = m ? @ [ ] ^ _ ` { s P L | } ~ abbbcbdbebfbgbhbn f g o b pb5bH ibE qbt rbX k c jbu h i l v 6b7bd q w sbQ

2928  

2929 global __nvmlDeviceSetAdaptiveTgpMode_v1 

2930 __nvmlDeviceSetAdaptiveTgpMode_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetAdaptiveTgpMode_v1') 2a j 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = m ? @ [ ] ^ _ ` { s P L | } ~ abbbcbdbebfbgbhbn f g o b pb5bH ibE qbt rbX k c jbu h i l v 6b7bd q w sbQ

2931 if __nvmlDeviceSetAdaptiveTgpMode_v1 == NULL: 

2932 if handle == NULL: 

2933 handle = load_library() 

2934 __nvmlDeviceSetAdaptiveTgpMode_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetAdaptiveTgpMode_v1') 

2935  

2936 global __nvmlDeviceGetAdaptiveTgpModeInfo_v1 

2937 __nvmlDeviceGetAdaptiveTgpModeInfo_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAdaptiveTgpModeInfo_v1') 

2938 if __nvmlDeviceGetAdaptiveTgpModeInfo_v1 == NULL: 

2939 if handle == NULL: 

2940 handle = load_library() 

2941 __nvmlDeviceGetAdaptiveTgpModeInfo_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetAdaptiveTgpModeInfo_v1') 

2942  

2943 global __nvmlDeviceSetMemoryLimits_v1 

2944 __nvmlDeviceSetMemoryLimits_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetMemoryLimits_v1') 

2945 if __nvmlDeviceSetMemoryLimits_v1 == NULL: 

2946 if handle == NULL: 2a Hbp U LbW e V Y wb

2947 handle = load_library() 2a Hbp U LbW e V Y wb

2948 __nvmlDeviceSetMemoryLimits_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetMemoryLimits_v1') 

2949  

2950 global __nvmlDeviceGetMemoryLimits_v1 

2951 __nvmlDeviceGetMemoryLimits_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryLimits_v1') 

2952 if __nvmlDeviceGetMemoryLimits_v1 == NULL: 

2953 if handle == NULL: 

2954 handle = load_library() 

2955 __nvmlDeviceGetMemoryLimits_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryLimits_v1') 

2956  

2957 global __nvmlDeviceGetGpuFabricInfo_v4 

2958 __nvmlDeviceGetGpuFabricInfo_v4 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuFabricInfo_v4') 

2959 if __nvmlDeviceGetGpuFabricInfo_v4 == NULL: 

2960 if handle == NULL: 1aF

2961 handle = load_library() 

2962 __nvmlDeviceGetGpuFabricInfo_v4 = _cyb_dlsym(handle, 'nvmlDeviceGetGpuFabricInfo_v4') 

2963  

2964 global __nvmlDevicePerfMetricsGetSamples_v1 

2965 __nvmlDevicePerfMetricsGetSamples_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDevicePerfMetricsGetSamples_v1') 

2966 if __nvmlDevicePerfMetricsGetSamples_v1 == NULL: 1aPWY

2967 if handle == NULL: 1aPWY

2968 handle = load_library() 

2969 __nvmlDevicePerfMetricsGetSamples_v1 = _cyb_dlsym(handle, 'nvmlDevicePerfMetricsGetSamples_v1') 

2970  

2971 global __nvmlDeviceSetNvlinkBwModeAsync_v1 

2972 __nvmlDeviceSetNvlinkBwModeAsync_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetNvlinkBwModeAsync_v1') 

2973 if __nvmlDeviceSetNvlinkBwModeAsync_v1 == NULL: 

2974 if handle == NULL: 

2975 handle = load_library() 

2976 __nvmlDeviceSetNvlinkBwModeAsync_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetNvlinkBwModeAsync_v1') 2a j x y z A B F C S I G J K D r Hbn f g b qbh d

2977  

2978 global __nvmlDeviceGetNvLinkTelemetrySamples_v1 

2979 __nvmlDeviceGetNvLinkTelemetrySamples_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkTelemetrySamples_v1') 

2980 if __nvmlDeviceGetNvLinkTelemetrySamples_v1 == NULL: 2a j x y z A B F C S I G J K D r Hbn f g b qbh d

2981 if handle == NULL: 

2982 handle = load_library() 

2983 __nvmlDeviceGetNvLinkTelemetrySamples_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkTelemetrySamples_v1') 

2984  

2985 global __nvmlEventSetRegisterGpuOperationalEvents_v1 

2986 __nvmlEventSetRegisterGpuOperationalEvents_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetRegisterGpuOperationalEvents_v1') 2a ib

2987 if __nvmlEventSetRegisterGpuOperationalEvents_v1 == NULL: 2a ib

2988 if handle == NULL: 

2989 handle = load_library() 

2990 __nvmlEventSetRegisterGpuOperationalEvents_v1 = _cyb_dlsym(handle, 'nvmlEventSetRegisterGpuOperationalEvents_v1') 2a ib

2991  

2992 global __nvmlEventSetWait_v3 

2993 __nvmlEventSetWait_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetWait_v3') 

2994 if __nvmlEventSetWait_v3 == NULL: 

2995 if handle == NULL: 

2996 handle = load_library() 2vbx y kbubR z A lbmbB F C nbobS I N G J K O [ D r n f g o b p U H E W e t V k c jbu h i l v d q w Y

2997 __nvmlEventSetWait_v3 = _cyb_dlsym(handle, 'nvmlEventSetWait_v3') 2a vbx y kbubR z A lbmbB F C nbobS I N G J K O [ D r n f g o b p U H E W e t V k c jbu h i l v d q w Y

2998  

2999 global __nvmlEventSetGetContextCount_v1 

3000 __nvmlEventSetGetContextCount_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetGetContextCount_v1') 2a vbx y kbubR z A lbmbB F C nbobS I N G J K O [ D r n f g o b p U H E W e t V k c jbu h i l v d q w Y

3001 if __nvmlEventSetGetContextCount_v1 == NULL: 

3002 if handle == NULL: 

3003 handle = load_library() 

3004 __nvmlEventSetGetContextCount_v1 = _cyb_dlsym(handle, 'nvmlEventSetGetContextCount_v1') 

3005  

3006 global __nvmlEventSetGetContextInfo_v1 

3007 __nvmlEventSetGetContextInfo_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetGetContextInfo_v1') 1at

3008 if __nvmlEventSetGetContextInfo_v1 == NULL: 

3009 if handle == NULL: 

3010 handle = load_library() 1t

3011 __nvmlEventSetGetContextInfo_v1 = _cyb_dlsym(handle, 'nvmlEventSetGetContextInfo_v1') 

3012  

3013 global __nvmlEventSetGetContextData_v1 

3014 __nvmlEventSetGetContextData_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetGetContextData_v1') 

3015 if __nvmlEventSetGetContextData_v1 == NULL: 

3016 if handle == NULL: 1amu

3017 handle = load_library() 1mu

3018 __nvmlEventSetGetContextData_v1 = _cyb_dlsym(handle, 'nvmlEventSetGetContextData_v1') 

3019  

3020 global __nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 

3021 __nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1') 

3022 if __nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 == NULL: 

3023 if handle == NULL: 

3024 handle = load_library() 

3025 __nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 = _cyb_dlsym(handle, 'nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1') 

3026  

3027 global __nvmlDeviceGetBankRemapperStatus_v1 

3028 __nvmlDeviceGetBankRemapperStatus_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBankRemapperStatus_v1') 

3029 if __nvmlDeviceGetBankRemapperStatus_v1 == NULL: 

3030 if handle == NULL: 1ag

3031 handle = load_library() 

3032 __nvmlDeviceGetBankRemapperStatus_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetBankRemapperStatus_v1') 

3033  

3034 _cyb_atomic_int_store(<int *>&_cyb___py_nvml_init, 1) 

3035 return 0 

3036  

3037cdef inline int _check_or_init_nvml() except -1 nogil: 

3038 if _cyb_atomic_int_load(<int *>&_cyb___py_nvml_init): 2a xbRbRcj vb1 8bDb2 9bx 3 !by 4 #bkb5 $bEb6 %bub7 'bR 8 (bz 9 )bA ! *blb# +bmb$ ,bB % -bF ' .bC ( /bnb) :bob* ;bFb+ =bS , ?bI - @bN . [bG / ]b: ^bJ ; _bK = `bm Yb{bO ? |b}b@ ~b[ ZbacMbbc] ccT ^ dcGb_ ecD ` fcr { gcs hcNcSbScOcTbTcP BbicHbL jcPcUbUcQcVbVcOb| kc} lc~ mcabncbboccbpcdbqcebrcIbfbscJbgbtcKbhbuc0b1bvcwc2bxcKc3byczc4bAcCbBcn tbf g o b p U pb5bZ H ibCcybLbE qbW e t rbX V k Nbc WbXbWcXcjb0 u h i zbl M v 6b7bd q Ycw sbAbY DcEcFcGcPbLcQ McHcIcJcQbwb

3039 return 0 2a xbRbRcj vb1 8bDb2 9bx 3 !by 4 #bkb5 $bEb6 %bub7 'bR 8 (bz 9 )bA ! *blb# +bmb$ ,bB % -bF ' .bC ( /bnb) :bob* ;bFb+ =bS , ?bI - @bN . [bG / ]b: ^bJ ; _bK = `bm Yb{bO ? |b}b@ ~b[ ZbacMbbc] ccT ^ dcGb_ ecD ` fcr { gcs hcNcSbScOcTbTcP BbicHbL jcPcUbUcQcVbVcOb| kc} lc~ mcabncbboccbpcdbqcebrcIbfbscJbgbtcKbhbuc0b1bvcwc2bxcKc3byczc4bAcCbBcn tbf g o b p U pb5bZ H ibCcybLbE qbW e t rbX V k Nbc WbXbWcXcjb0 u h i zbl M v 6b7bd q Ycw sbAbY DcEcFcGcPbLcQ McHcIcJcQbwb

3040  

3041 return _init_nvml() 

3042  

3043  

3044cpdef dict _inspect_function_pointers(): 

3045 global _cyb_func_ptrs 

3046 if _cyb_func_ptrs is not None: 

3047 return _cyb_func_ptrs 

3048  

3049 _check_or_init_nvml() 

3050 cdef dict data = {} 

3051 global __nvmlInit_v2 

3052 data["__nvmlInit_v2"] = <intptr_t>__nvmlInit_v2 

3053  

3054 global __nvmlInitWithFlags 

3055 data["__nvmlInitWithFlags"] = <intptr_t>__nvmlInitWithFlags 

3056  

3057 global __nvmlShutdown 

3058 data["__nvmlShutdown"] = <intptr_t>__nvmlShutdown 

3059  

3060 global __nvmlErrorString 

3061 data["__nvmlErrorString"] = <intptr_t>__nvmlErrorString 

3062  

3063 global __nvmlSystemGetDriverVersion 

3064 data["__nvmlSystemGetDriverVersion"] = <intptr_t>__nvmlSystemGetDriverVersion 

3065  

3066 global __nvmlSystemGetNVMLVersion 

3067 data["__nvmlSystemGetNVMLVersion"] = <intptr_t>__nvmlSystemGetNVMLVersion 

3068  

3069 global __nvmlSystemGetCudaDriverVersion 

3070 data["__nvmlSystemGetCudaDriverVersion"] = <intptr_t>__nvmlSystemGetCudaDriverVersion 

3071  

3072 global __nvmlSystemGetCudaDriverVersion_v2 

3073 data["__nvmlSystemGetCudaDriverVersion_v2"] = <intptr_t>__nvmlSystemGetCudaDriverVersion_v2 

3074  

3075 global __nvmlSystemGetProcessName 

3076 data["__nvmlSystemGetProcessName"] = <intptr_t>__nvmlSystemGetProcessName 

3077  

3078 global __nvmlSystemGetHicVersion 

3079 data["__nvmlSystemGetHicVersion"] = <intptr_t>__nvmlSystemGetHicVersion 

3080  

3081 global __nvmlSystemGetTopologyGpuSet 

3082 data["__nvmlSystemGetTopologyGpuSet"] = <intptr_t>__nvmlSystemGetTopologyGpuSet 

3083  

3084 global __nvmlSystemGetDriverBranch 

3085 data["__nvmlSystemGetDriverBranch"] = <intptr_t>__nvmlSystemGetDriverBranch 

3086  

3087 global __nvmlUnitGetCount 

3088 data["__nvmlUnitGetCount"] = <intptr_t>__nvmlUnitGetCount 

3089  

3090 global __nvmlUnitGetHandleByIndex 

3091 data["__nvmlUnitGetHandleByIndex"] = <intptr_t>__nvmlUnitGetHandleByIndex 

3092  

3093 global __nvmlUnitGetUnitInfo 

3094 data["__nvmlUnitGetUnitInfo"] = <intptr_t>__nvmlUnitGetUnitInfo 

3095  

3096 global __nvmlUnitGetLedState 

3097 data["__nvmlUnitGetLedState"] = <intptr_t>__nvmlUnitGetLedState 

3098  

3099 global __nvmlUnitGetPsuInfo 

3100 data["__nvmlUnitGetPsuInfo"] = <intptr_t>__nvmlUnitGetPsuInfo 

3101  

3102 global __nvmlUnitGetTemperature 

3103 data["__nvmlUnitGetTemperature"] = <intptr_t>__nvmlUnitGetTemperature 

3104  

3105 global __nvmlUnitGetFanSpeedInfo 

3106 data["__nvmlUnitGetFanSpeedInfo"] = <intptr_t>__nvmlUnitGetFanSpeedInfo 

3107  

3108 global __nvmlUnitGetDevices 

3109 data["__nvmlUnitGetDevices"] = <intptr_t>__nvmlUnitGetDevices 

3110  

3111 global __nvmlDeviceGetCount_v2 

3112 data["__nvmlDeviceGetCount_v2"] = <intptr_t>__nvmlDeviceGetCount_v2 

3113  

3114 global __nvmlDeviceGetAttributes_v2 

3115 data["__nvmlDeviceGetAttributes_v2"] = <intptr_t>__nvmlDeviceGetAttributes_v2 

3116  

3117 global __nvmlDeviceGetHandleByIndex_v2 

3118 data["__nvmlDeviceGetHandleByIndex_v2"] = <intptr_t>__nvmlDeviceGetHandleByIndex_v2 

3119  

3120 global __nvmlDeviceGetHandleBySerial 

3121 data["__nvmlDeviceGetHandleBySerial"] = <intptr_t>__nvmlDeviceGetHandleBySerial 

3122  

3123 global __nvmlDeviceGetHandleByUUID 

3124 data["__nvmlDeviceGetHandleByUUID"] = <intptr_t>__nvmlDeviceGetHandleByUUID 

3125  

3126 global __nvmlDeviceGetHandleByUUIDV 

3127 data["__nvmlDeviceGetHandleByUUIDV"] = <intptr_t>__nvmlDeviceGetHandleByUUIDV 2a F m L rbq sbwb

3128  

3129 global __nvmlDeviceGetHandleByPciBusId_v2 

3130 data["__nvmlDeviceGetHandleByPciBusId_v2"] = <intptr_t>__nvmlDeviceGetHandleByPciBusId_v2 2a F m L rbq sbwb

3131  

3132 global __nvmlDeviceGetName 

3133 data["__nvmlDeviceGetName"] = <intptr_t>__nvmlDeviceGetName 

3134  

3135 global __nvmlDeviceGetBrand 

3136 data["__nvmlDeviceGetBrand"] = <intptr_t>__nvmlDeviceGetBrand 

3137  

3138 global __nvmlDeviceGetIndex 

3139 data["__nvmlDeviceGetIndex"] = <intptr_t>__nvmlDeviceGetIndex 

3140  

3141 global __nvmlDeviceGetSerial 

3142 data["__nvmlDeviceGetSerial"] = <intptr_t>__nvmlDeviceGetSerial 

3143  

3144 global __nvmlDeviceGetModuleId 

3145 data["__nvmlDeviceGetModuleId"] = <intptr_t>__nvmlDeviceGetModuleId 

3146  

3147 global __nvmlDeviceGetC2cModeInfoV 

3148 data["__nvmlDeviceGetC2cModeInfoV"] = <intptr_t>__nvmlDeviceGetC2cModeInfoV 

3149  

3150 global __nvmlDeviceGetMemoryAffinity 

3151 data["__nvmlDeviceGetMemoryAffinity"] = <intptr_t>__nvmlDeviceGetMemoryAffinity 

3152  

3153 global __nvmlDeviceGetCpuAffinityWithinScope 

3154 data["__nvmlDeviceGetCpuAffinityWithinScope"] = <intptr_t>__nvmlDeviceGetCpuAffinityWithinScope 

3155  

3156 global __nvmlDeviceGetCpuAffinity 

3157 data["__nvmlDeviceGetCpuAffinity"] = <intptr_t>__nvmlDeviceGetCpuAffinity 1c

3158  

3159 global __nvmlDeviceSetCpuAffinity 

3160 data["__nvmlDeviceSetCpuAffinity"] = <intptr_t>__nvmlDeviceSetCpuAffinity 1c

3161  

3162 global __nvmlDeviceClearCpuAffinity 

3163 data["__nvmlDeviceClearCpuAffinity"] = <intptr_t>__nvmlDeviceClearCpuAffinity 

3164  

3165 global __nvmlDeviceGetNumaNodeId 

3166 data["__nvmlDeviceGetNumaNodeId"] = <intptr_t>__nvmlDeviceGetNumaNodeId 1c

3167  

3168 global __nvmlDeviceGetTopologyCommonAncestor 

3169 data["__nvmlDeviceGetTopologyCommonAncestor"] = <intptr_t>__nvmlDeviceGetTopologyCommonAncestor 

3170  

3171 global __nvmlDeviceGetTopologyNearestGpus 

3172 data["__nvmlDeviceGetTopologyNearestGpus"] = <intptr_t>__nvmlDeviceGetTopologyNearestGpus 

3173  

3174 global __nvmlDeviceGetP2PStatus 

3175 data["__nvmlDeviceGetP2PStatus"] = <intptr_t>__nvmlDeviceGetP2PStatus 

3176  

3177 global __nvmlDeviceGetUUID 

3178 data["__nvmlDeviceGetUUID"] = <intptr_t>__nvmlDeviceGetUUID 

3179  

3180 global __nvmlDeviceGetMinorNumber 

3181 data["__nvmlDeviceGetMinorNumber"] = <intptr_t>__nvmlDeviceGetMinorNumber 

3182  

3183 global __nvmlDeviceGetBoardPartNumber 

3184 data["__nvmlDeviceGetBoardPartNumber"] = <intptr_t>__nvmlDeviceGetBoardPartNumber 

3185  

3186 global __nvmlDeviceGetInforomVersion 

3187 data["__nvmlDeviceGetInforomVersion"] = <intptr_t>__nvmlDeviceGetInforomVersion 1c

3188  

3189 global __nvmlDeviceGetInforomImageVersion 

3190 data["__nvmlDeviceGetInforomImageVersion"] = <intptr_t>__nvmlDeviceGetInforomImageVersion 1c

3191  

3192 global __nvmlDeviceGetInforomConfigurationChecksum 

3193 data["__nvmlDeviceGetInforomConfigurationChecksum"] = <intptr_t>__nvmlDeviceGetInforomConfigurationChecksum 

3194  

3195 global __nvmlDeviceValidateInforom 

3196 data["__nvmlDeviceValidateInforom"] = <intptr_t>__nvmlDeviceValidateInforom 1c

3197  

3198 global __nvmlDeviceGetLastBBXFlushTime 

3199 data["__nvmlDeviceGetLastBBXFlushTime"] = <intptr_t>__nvmlDeviceGetLastBBXFlushTime 

3200  

3201 global __nvmlDeviceGetDisplayMode 

3202 data["__nvmlDeviceGetDisplayMode"] = <intptr_t>__nvmlDeviceGetDisplayMode 

3203  

3204 global __nvmlDeviceGetDisplayActive 

3205 data["__nvmlDeviceGetDisplayActive"] = <intptr_t>__nvmlDeviceGetDisplayActive 

3206  

3207 global __nvmlDeviceGetPersistenceMode 

3208 data["__nvmlDeviceGetPersistenceMode"] = <intptr_t>__nvmlDeviceGetPersistenceMode 

3209  

3210 global __nvmlDeviceGetPciInfoExt 

3211 data["__nvmlDeviceGetPciInfoExt"] = <intptr_t>__nvmlDeviceGetPciInfoExt 

3212  

3213 global __nvmlDeviceGetPciInfo_v3 

3214 data["__nvmlDeviceGetPciInfo_v3"] = <intptr_t>__nvmlDeviceGetPciInfo_v3 

3215  

3216 global __nvmlDeviceGetMaxPcieLinkGeneration 

3217 data["__nvmlDeviceGetMaxPcieLinkGeneration"] = <intptr_t>__nvmlDeviceGetMaxPcieLinkGeneration 1X

3218  

3219 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

3220 data["__nvmlDeviceGetGpuMaxPcieLinkGeneration"] = <intptr_t>__nvmlDeviceGetGpuMaxPcieLinkGeneration 1X

3221  

3222 global __nvmlDeviceGetMaxPcieLinkWidth 

3223 data["__nvmlDeviceGetMaxPcieLinkWidth"] = <intptr_t>__nvmlDeviceGetMaxPcieLinkWidth 

3224  

3225 global __nvmlDeviceGetCurrPcieLinkGeneration 

3226 data["__nvmlDeviceGetCurrPcieLinkGeneration"] = <intptr_t>__nvmlDeviceGetCurrPcieLinkGeneration 

3227  

3228 global __nvmlDeviceGetCurrPcieLinkWidth 

3229 data["__nvmlDeviceGetCurrPcieLinkWidth"] = <intptr_t>__nvmlDeviceGetCurrPcieLinkWidth 

3230  

3231 global __nvmlDeviceGetPcieThroughput 

3232 data["__nvmlDeviceGetPcieThroughput"] = <intptr_t>__nvmlDeviceGetPcieThroughput 

3233  

3234 global __nvmlDeviceGetPcieReplayCounter 

3235 data["__nvmlDeviceGetPcieReplayCounter"] = <intptr_t>__nvmlDeviceGetPcieReplayCounter 

3236  

3237 global __nvmlDeviceGetClockInfo 

3238 data["__nvmlDeviceGetClockInfo"] = <intptr_t>__nvmlDeviceGetClockInfo 

3239  

3240 global __nvmlDeviceGetMaxClockInfo 

3241 data["__nvmlDeviceGetMaxClockInfo"] = <intptr_t>__nvmlDeviceGetMaxClockInfo 

3242  

3243 global __nvmlDeviceGetGpcClkVfOffset 

3244 data["__nvmlDeviceGetGpcClkVfOffset"] = <intptr_t>__nvmlDeviceGetGpcClkVfOffset 

3245  

3246 global __nvmlDeviceGetClock 

3247 data["__nvmlDeviceGetClock"] = <intptr_t>__nvmlDeviceGetClock 1jrP

3248  

3249 global __nvmlDeviceGetMaxCustomerBoostClock 

3250 data["__nvmlDeviceGetMaxCustomerBoostClock"] = <intptr_t>__nvmlDeviceGetMaxCustomerBoostClock 1jrP

3251  

3252 global __nvmlDeviceGetSupportedMemoryClocks 

3253 data["__nvmlDeviceGetSupportedMemoryClocks"] = <intptr_t>__nvmlDeviceGetSupportedMemoryClocks 

3254  

3255 global __nvmlDeviceGetSupportedGraphicsClocks 

3256 data["__nvmlDeviceGetSupportedGraphicsClocks"] = <intptr_t>__nvmlDeviceGetSupportedGraphicsClocks 1e

3257  

3258 global __nvmlDeviceGetAutoBoostedClocksEnabled 

3259 data["__nvmlDeviceGetAutoBoostedClocksEnabled"] = <intptr_t>__nvmlDeviceGetAutoBoostedClocksEnabled 

3260  

3261 global __nvmlDeviceGetFanSpeed 

3262 data["__nvmlDeviceGetFanSpeed"] = <intptr_t>__nvmlDeviceGetFanSpeed 

3263  

3264 global __nvmlDeviceGetFanSpeed_v2 

3265 data["__nvmlDeviceGetFanSpeed_v2"] = <intptr_t>__nvmlDeviceGetFanSpeed_v2 

3266  

3267 global __nvmlDeviceGetFanSpeedRPM 

3268 data["__nvmlDeviceGetFanSpeedRPM"] = <intptr_t>__nvmlDeviceGetFanSpeedRPM 

3269  

3270 global __nvmlDeviceGetTargetFanSpeed 

3271 data["__nvmlDeviceGetTargetFanSpeed"] = <intptr_t>__nvmlDeviceGetTargetFanSpeed 

3272  

3273 global __nvmlDeviceGetMinMaxFanSpeed 

3274 data["__nvmlDeviceGetMinMaxFanSpeed"] = <intptr_t>__nvmlDeviceGetMinMaxFanSpeed 

3275  

3276 global __nvmlDeviceGetFanControlPolicy_v2 

3277 data["__nvmlDeviceGetFanControlPolicy_v2"] = <intptr_t>__nvmlDeviceGetFanControlPolicy_v2 1e

3278  

3279 global __nvmlDeviceGetNumFans 

3280 data["__nvmlDeviceGetNumFans"] = <intptr_t>__nvmlDeviceGetNumFans 1e

3281  

3282 global __nvmlDeviceGetCoolerInfo 

3283 data["__nvmlDeviceGetCoolerInfo"] = <intptr_t>__nvmlDeviceGetCoolerInfo 

3284  

3285 global __nvmlDeviceGetTemperatureV 

3286 data["__nvmlDeviceGetTemperatureV"] = <intptr_t>__nvmlDeviceGetTemperatureV 1e

3287  

3288 global __nvmlDeviceGetTemperatureThreshold 

3289 data["__nvmlDeviceGetTemperatureThreshold"] = <intptr_t>__nvmlDeviceGetTemperatureThreshold 

3290  

3291 global __nvmlDeviceGetMarginTemperature 

3292 data["__nvmlDeviceGetMarginTemperature"] = <intptr_t>__nvmlDeviceGetMarginTemperature 

3293  

3294 global __nvmlDeviceGetThermalSettings 

3295 data["__nvmlDeviceGetThermalSettings"] = <intptr_t>__nvmlDeviceGetThermalSettings 

3296  

3297 global __nvmlDeviceGetPerformanceState 

3298 data["__nvmlDeviceGetPerformanceState"] = <intptr_t>__nvmlDeviceGetPerformanceState 

3299  

3300 global __nvmlDeviceGetCurrentClocksEventReasons 

3301 data["__nvmlDeviceGetCurrentClocksEventReasons"] = <intptr_t>__nvmlDeviceGetCurrentClocksEventReasons 

3302  

3303 global __nvmlDeviceGetSupportedClocksEventReasons 

3304 data["__nvmlDeviceGetSupportedClocksEventReasons"] = <intptr_t>__nvmlDeviceGetSupportedClocksEventReasons 

3305  

3306 global __nvmlDeviceGetPowerState 

3307 data["__nvmlDeviceGetPowerState"] = <intptr_t>__nvmlDeviceGetPowerState 2Ibe

3308  

3309 global __nvmlDeviceGetDynamicPstatesInfo 

3310 data["__nvmlDeviceGetDynamicPstatesInfo"] = <intptr_t>__nvmlDeviceGetDynamicPstatesInfo 2Ibe

3311  

3312 global __nvmlDeviceGetMemClkVfOffset 

3313 data["__nvmlDeviceGetMemClkVfOffset"] = <intptr_t>__nvmlDeviceGetMemClkVfOffset 

3314  

3315 global __nvmlDeviceGetMinMaxClockOfPState 

3316 data["__nvmlDeviceGetMinMaxClockOfPState"] = <intptr_t>__nvmlDeviceGetMinMaxClockOfPState 1e

3317  

3318 global __nvmlDeviceGetSupportedPerformanceStates 

3319 data["__nvmlDeviceGetSupportedPerformanceStates"] = <intptr_t>__nvmlDeviceGetSupportedPerformanceStates 

3320  

3321 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

3322 data["__nvmlDeviceGetGpcClkMinMaxVfOffset"] = <intptr_t>__nvmlDeviceGetGpcClkMinMaxVfOffset 

3323  

3324 global __nvmlDeviceGetMemClkMinMaxVfOffset 

3325 data["__nvmlDeviceGetMemClkMinMaxVfOffset"] = <intptr_t>__nvmlDeviceGetMemClkMinMaxVfOffset 

3326  

3327 global __nvmlDeviceGetClockOffsets 

3328 data["__nvmlDeviceGetClockOffsets"] = <intptr_t>__nvmlDeviceGetClockOffsets 

3329  

3330 global __nvmlDeviceSetClockOffsets 

3331 data["__nvmlDeviceSetClockOffsets"] = <intptr_t>__nvmlDeviceSetClockOffsets 

3332  

3333 global __nvmlDeviceGetPerformanceModes 

3334 data["__nvmlDeviceGetPerformanceModes"] = <intptr_t>__nvmlDeviceGetPerformanceModes 

3335  

3336 global __nvmlDeviceGetCurrentClockFreqs 

3337 data["__nvmlDeviceGetCurrentClockFreqs"] = <intptr_t>__nvmlDeviceGetCurrentClockFreqs 1b

3338  

3339 global __nvmlDeviceGetPowerManagementLimit 

3340 data["__nvmlDeviceGetPowerManagementLimit"] = <intptr_t>__nvmlDeviceGetPowerManagementLimit 1b

3341  

3342 global __nvmlDeviceGetPowerManagementLimitConstraints 

3343 data["__nvmlDeviceGetPowerManagementLimitConstraints"] = <intptr_t>__nvmlDeviceGetPowerManagementLimitConstraints 

3344  

3345 global __nvmlDeviceGetPowerManagementDefaultLimit 

3346 data["__nvmlDeviceGetPowerManagementDefaultLimit"] = <intptr_t>__nvmlDeviceGetPowerManagementDefaultLimit 

3347  

3348 global __nvmlDeviceGetPowerUsage 

3349 data["__nvmlDeviceGetPowerUsage"] = <intptr_t>__nvmlDeviceGetPowerUsage 

3350  

3351 global __nvmlDeviceGetTotalEnergyConsumption 

3352 data["__nvmlDeviceGetTotalEnergyConsumption"] = <intptr_t>__nvmlDeviceGetTotalEnergyConsumption 

3353  

3354 global __nvmlDeviceGetEnforcedPowerLimit 

3355 data["__nvmlDeviceGetEnforcedPowerLimit"] = <intptr_t>__nvmlDeviceGetEnforcedPowerLimit 

3356  

3357 global __nvmlDeviceGetGpuOperationMode 

3358 data["__nvmlDeviceGetGpuOperationMode"] = <intptr_t>__nvmlDeviceGetGpuOperationMode 

3359  

3360 global __nvmlDeviceGetMemoryInfo_v2 

3361 data["__nvmlDeviceGetMemoryInfo_v2"] = <intptr_t>__nvmlDeviceGetMemoryInfo_v2 

3362  

3363 global __nvmlDeviceGetComputeMode 

3364 data["__nvmlDeviceGetComputeMode"] = <intptr_t>__nvmlDeviceGetComputeMode 

3365  

3366 global __nvmlDeviceGetCudaComputeCapability 

3367 data["__nvmlDeviceGetCudaComputeCapability"] = <intptr_t>__nvmlDeviceGetCudaComputeCapability 1b

3368  

3369 global __nvmlDeviceGetDramEncryptionMode 

3370 data["__nvmlDeviceGetDramEncryptionMode"] = <intptr_t>__nvmlDeviceGetDramEncryptionMode 1b

3371  

3372 global __nvmlDeviceSetDramEncryptionMode 

3373 data["__nvmlDeviceSetDramEncryptionMode"] = <intptr_t>__nvmlDeviceSetDramEncryptionMode 

3374  

3375 global __nvmlDeviceGetEccMode 

3376 data["__nvmlDeviceGetEccMode"] = <intptr_t>__nvmlDeviceGetEccMode 

3377  

3378 global __nvmlDeviceGetDefaultEccMode 

3379 data["__nvmlDeviceGetDefaultEccMode"] = <intptr_t>__nvmlDeviceGetDefaultEccMode 

3380  

3381 global __nvmlDeviceGetBoardId 

3382 data["__nvmlDeviceGetBoardId"] = <intptr_t>__nvmlDeviceGetBoardId 

3383  

3384 global __nvmlDeviceGetMultiGpuBoard 

3385 data["__nvmlDeviceGetMultiGpuBoard"] = <intptr_t>__nvmlDeviceGetMultiGpuBoard 

3386  

3387 global __nvmlDeviceGetTotalEccErrors 

3388 data["__nvmlDeviceGetTotalEccErrors"] = <intptr_t>__nvmlDeviceGetTotalEccErrors 

3389  

3390 global __nvmlDeviceGetMemoryErrorCounter 

3391 data["__nvmlDeviceGetMemoryErrorCounter"] = <intptr_t>__nvmlDeviceGetMemoryErrorCounter 

3392  

3393 global __nvmlDeviceGetUtilizationRates 

3394 data["__nvmlDeviceGetUtilizationRates"] = <intptr_t>__nvmlDeviceGetUtilizationRates 

3395  

3396 global __nvmlDeviceGetEncoderUtilization 

3397 data["__nvmlDeviceGetEncoderUtilization"] = <intptr_t>__nvmlDeviceGetEncoderUtilization 1f

3398  

3399 global __nvmlDeviceGetEncoderCapacity 

3400 data["__nvmlDeviceGetEncoderCapacity"] = <intptr_t>__nvmlDeviceGetEncoderCapacity 1f

3401  

3402 global __nvmlDeviceGetEncoderStats 

3403 data["__nvmlDeviceGetEncoderStats"] = <intptr_t>__nvmlDeviceGetEncoderStats 

3404  

3405 global __nvmlDeviceGetEncoderSessions 

3406 data["__nvmlDeviceGetEncoderSessions"] = <intptr_t>__nvmlDeviceGetEncoderSessions 

3407  

3408 global __nvmlDeviceGetDecoderUtilization 

3409 data["__nvmlDeviceGetDecoderUtilization"] = <intptr_t>__nvmlDeviceGetDecoderUtilization 

3410  

3411 global __nvmlDeviceGetJpgUtilization 

3412 data["__nvmlDeviceGetJpgUtilization"] = <intptr_t>__nvmlDeviceGetJpgUtilization 

3413  

3414 global __nvmlDeviceGetOfaUtilization 

3415 data["__nvmlDeviceGetOfaUtilization"] = <intptr_t>__nvmlDeviceGetOfaUtilization 

3416  

3417 global __nvmlDeviceGetFBCStats 

3418 data["__nvmlDeviceGetFBCStats"] = <intptr_t>__nvmlDeviceGetFBCStats 

3419  

3420 global __nvmlDeviceGetFBCSessions 

3421 data["__nvmlDeviceGetFBCSessions"] = <intptr_t>__nvmlDeviceGetFBCSessions 

3422  

3423 global __nvmlDeviceGetDriverModel_v2 

3424 data["__nvmlDeviceGetDriverModel_v2"] = <intptr_t>__nvmlDeviceGetDriverModel_v2 

3425  

3426 global __nvmlDeviceGetVbiosVersion 

3427 data["__nvmlDeviceGetVbiosVersion"] = <intptr_t>__nvmlDeviceGetVbiosVersion 

3428  

3429 global __nvmlDeviceGetBridgeChipInfo 

3430 data["__nvmlDeviceGetBridgeChipInfo"] = <intptr_t>__nvmlDeviceGetBridgeChipInfo 

3431  

3432 global __nvmlDeviceGetComputeRunningProcesses_v3 

3433 data["__nvmlDeviceGetComputeRunningProcesses_v3"] = <intptr_t>__nvmlDeviceGetComputeRunningProcesses_v3 

3434  

3435 global __nvmlDeviceGetGraphicsRunningProcesses_v3 

3436 data["__nvmlDeviceGetGraphicsRunningProcesses_v3"] = <intptr_t>__nvmlDeviceGetGraphicsRunningProcesses_v3 

3437  

3438 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

3439 data["__nvmlDeviceGetMPSComputeRunningProcesses_v3"] = <intptr_t>__nvmlDeviceGetMPSComputeRunningProcesses_v3 

3440  

3441 global __nvmlDeviceGetRunningProcessDetailList 

3442 data["__nvmlDeviceGetRunningProcessDetailList"] = <intptr_t>__nvmlDeviceGetRunningProcessDetailList 

3443  

3444 global __nvmlDeviceOnSameBoard 

3445 data["__nvmlDeviceOnSameBoard"] = <intptr_t>__nvmlDeviceOnSameBoard 

3446  

3447 global __nvmlDeviceGetAPIRestriction 

3448 data["__nvmlDeviceGetAPIRestriction"] = <intptr_t>__nvmlDeviceGetAPIRestriction 

3449  

3450 global __nvmlDeviceGetSamples 

3451 data["__nvmlDeviceGetSamples"] = <intptr_t>__nvmlDeviceGetSamples 

3452  

3453 global __nvmlDeviceGetBAR1MemoryInfo 

3454 data["__nvmlDeviceGetBAR1MemoryInfo"] = <intptr_t>__nvmlDeviceGetBAR1MemoryInfo 

3455  

3456 global __nvmlDeviceGetIrqNum 

3457 data["__nvmlDeviceGetIrqNum"] = <intptr_t>__nvmlDeviceGetIrqNum 

3458  

3459 global __nvmlDeviceGetNumGpuCores 

3460 data["__nvmlDeviceGetNumGpuCores"] = <intptr_t>__nvmlDeviceGetNumGpuCores 

3461  

3462 global __nvmlDeviceGetPowerSource 

3463 data["__nvmlDeviceGetPowerSource"] = <intptr_t>__nvmlDeviceGetPowerSource 

3464  

3465 global __nvmlDeviceGetMemoryBusWidth 

3466 data["__nvmlDeviceGetMemoryBusWidth"] = <intptr_t>__nvmlDeviceGetMemoryBusWidth 1UV

3467  

3468 global __nvmlDeviceGetPcieLinkMaxSpeed 

3469 data["__nvmlDeviceGetPcieLinkMaxSpeed"] = <intptr_t>__nvmlDeviceGetPcieLinkMaxSpeed 

3470  

3471 global __nvmlDeviceGetPcieSpeed 

3472 data["__nvmlDeviceGetPcieSpeed"] = <intptr_t>__nvmlDeviceGetPcieSpeed 

3473  

3474 global __nvmlDeviceGetAdaptiveClockInfoStatus 

3475 data["__nvmlDeviceGetAdaptiveClockInfoStatus"] = <intptr_t>__nvmlDeviceGetAdaptiveClockInfoStatus 

3476  

3477 global __nvmlDeviceGetBusType 

3478 data["__nvmlDeviceGetBusType"] = <intptr_t>__nvmlDeviceGetBusType 

3479  

3480 global __nvmlDeviceGetGpuFabricInfoV 

3481 data["__nvmlDeviceGetGpuFabricInfoV"] = <intptr_t>__nvmlDeviceGetGpuFabricInfoV 

3482  

3483 global __nvmlSystemGetConfComputeCapabilities 

3484 data["__nvmlSystemGetConfComputeCapabilities"] = <intptr_t>__nvmlSystemGetConfComputeCapabilities 

3485  

3486 global __nvmlSystemGetConfComputeState 

3487 data["__nvmlSystemGetConfComputeState"] = <intptr_t>__nvmlSystemGetConfComputeState 1d

3488  

3489 global __nvmlDeviceGetConfComputeMemSizeInfo 

3490 data["__nvmlDeviceGetConfComputeMemSizeInfo"] = <intptr_t>__nvmlDeviceGetConfComputeMemSizeInfo 1d

3491  

3492 global __nvmlSystemGetConfComputeGpusReadyState 

3493 data["__nvmlSystemGetConfComputeGpusReadyState"] = <intptr_t>__nvmlSystemGetConfComputeGpusReadyState 

3494  

3495 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

3496 data["__nvmlDeviceGetConfComputeProtectedMemoryUsage"] = <intptr_t>__nvmlDeviceGetConfComputeProtectedMemoryUsage 1Gd

3497  

3498 global __nvmlDeviceGetConfComputeGpuCertificate 

3499 data["__nvmlDeviceGetConfComputeGpuCertificate"] = <intptr_t>__nvmlDeviceGetConfComputeGpuCertificate 

3500  

3501 global __nvmlDeviceGetConfComputeGpuAttestationReport 

3502 data["__nvmlDeviceGetConfComputeGpuAttestationReport"] = <intptr_t>__nvmlDeviceGetConfComputeGpuAttestationReport 

3503  

3504 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

3505 data["__nvmlSystemGetConfComputeKeyRotationThresholdInfo"] = <intptr_t>__nvmlSystemGetConfComputeKeyRotationThresholdInfo 

3506  

3507 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

3508 data["__nvmlDeviceSetConfComputeUnprotectedMemSize"] = <intptr_t>__nvmlDeviceSetConfComputeUnprotectedMemSize 

3509  

3510 global __nvmlSystemSetConfComputeGpusReadyState 

3511 data["__nvmlSystemSetConfComputeGpusReadyState"] = <intptr_t>__nvmlSystemSetConfComputeGpusReadyState 

3512  

3513 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

3514 data["__nvmlSystemSetConfComputeKeyRotationThresholdInfo"] = <intptr_t>__nvmlSystemSetConfComputeKeyRotationThresholdInfo 

3515  

3516 global __nvmlSystemGetConfComputeSettings 

3517 data["__nvmlSystemGetConfComputeSettings"] = <intptr_t>__nvmlSystemGetConfComputeSettings 1d

3518  

3519 global __nvmlDeviceGetGspFirmwareVersion 

3520 data["__nvmlDeviceGetGspFirmwareVersion"] = <intptr_t>__nvmlDeviceGetGspFirmwareVersion 1d

3521  

3522 global __nvmlDeviceGetGspFirmwareMode 

3523 data["__nvmlDeviceGetGspFirmwareMode"] = <intptr_t>__nvmlDeviceGetGspFirmwareMode 

3524  

3525 global __nvmlDeviceGetSramEccErrorStatus 

3526 data["__nvmlDeviceGetSramEccErrorStatus"] = <intptr_t>__nvmlDeviceGetSramEccErrorStatus 1bl

3527  

3528 global __nvmlDeviceGetAccountingMode 

3529 data["__nvmlDeviceGetAccountingMode"] = <intptr_t>__nvmlDeviceGetAccountingMode 

3530  

3531 global __nvmlDeviceGetAccountingStats 

3532 data["__nvmlDeviceGetAccountingStats"] = <intptr_t>__nvmlDeviceGetAccountingStats 

3533  

3534 global __nvmlDeviceGetAccountingPids 

3535 data["__nvmlDeviceGetAccountingPids"] = <intptr_t>__nvmlDeviceGetAccountingPids 

3536  

3537 global __nvmlDeviceGetAccountingBufferSize 

3538 data["__nvmlDeviceGetAccountingBufferSize"] = <intptr_t>__nvmlDeviceGetAccountingBufferSize 

3539  

3540 global __nvmlDeviceGetRetiredPages 

3541 data["__nvmlDeviceGetRetiredPages"] = <intptr_t>__nvmlDeviceGetRetiredPages 

3542  

3543 global __nvmlDeviceGetRetiredPages_v2 

3544 data["__nvmlDeviceGetRetiredPages_v2"] = <intptr_t>__nvmlDeviceGetRetiredPages_v2 

3545  

3546 global __nvmlDeviceGetRetiredPagesPendingStatus 

3547 data["__nvmlDeviceGetRetiredPagesPendingStatus"] = <intptr_t>__nvmlDeviceGetRetiredPagesPendingStatus 1o

3548  

3549 global __nvmlDeviceGetRemappedRows 

3550 data["__nvmlDeviceGetRemappedRows"] = <intptr_t>__nvmlDeviceGetRemappedRows 1o

3551  

3552 global __nvmlDeviceGetRowRemapperHistogram 

3553 data["__nvmlDeviceGetRowRemapperHistogram"] = <intptr_t>__nvmlDeviceGetRowRemapperHistogram 

3554  

3555 global __nvmlDeviceGetArchitecture 

3556 data["__nvmlDeviceGetArchitecture"] = <intptr_t>__nvmlDeviceGetArchitecture 

3557  

3558 global __nvmlDeviceGetClkMonStatus 

3559 data["__nvmlDeviceGetClkMonStatus"] = <intptr_t>__nvmlDeviceGetClkMonStatus 

3560  

3561 global __nvmlDeviceGetProcessUtilization 

3562 data["__nvmlDeviceGetProcessUtilization"] = <intptr_t>__nvmlDeviceGetProcessUtilization 

3563  

3564 global __nvmlDeviceGetProcessesUtilizationInfo 

3565 data["__nvmlDeviceGetProcessesUtilizationInfo"] = <intptr_t>__nvmlDeviceGetProcessesUtilizationInfo 

3566  

3567 global __nvmlDeviceGetPlatformInfo 

3568 data["__nvmlDeviceGetPlatformInfo"] = <intptr_t>__nvmlDeviceGetPlatformInfo 

3569  

3570 global __nvmlUnitSetLedState 

3571 data["__nvmlUnitSetLedState"] = <intptr_t>__nvmlUnitSetLedState 

3572  

3573 global __nvmlDeviceSetPersistenceMode 

3574 data["__nvmlDeviceSetPersistenceMode"] = <intptr_t>__nvmlDeviceSetPersistenceMode 

3575  

3576 global __nvmlDeviceSetComputeMode 

3577 data["__nvmlDeviceSetComputeMode"] = <intptr_t>__nvmlDeviceSetComputeMode 

3578  

3579 global __nvmlDeviceSetEccMode 

3580 data["__nvmlDeviceSetEccMode"] = <intptr_t>__nvmlDeviceSetEccMode 

3581  

3582 global __nvmlDeviceClearEccErrorCounts 

3583 data["__nvmlDeviceClearEccErrorCounts"] = <intptr_t>__nvmlDeviceClearEccErrorCounts 

3584  

3585 global __nvmlDeviceSetDriverModel 

3586 data["__nvmlDeviceSetDriverModel"] = <intptr_t>__nvmlDeviceSetDriverModel 1b

3587  

3588 global __nvmlDeviceSetGpuLockedClocks 

3589 data["__nvmlDeviceSetGpuLockedClocks"] = <intptr_t>__nvmlDeviceSetGpuLockedClocks 

3590  

3591 global __nvmlDeviceResetGpuLockedClocks 

3592 data["__nvmlDeviceResetGpuLockedClocks"] = <intptr_t>__nvmlDeviceResetGpuLockedClocks 

3593  

3594 global __nvmlDeviceSetMemoryLockedClocks 

3595 data["__nvmlDeviceSetMemoryLockedClocks"] = <intptr_t>__nvmlDeviceSetMemoryLockedClocks 

3596  

3597 global __nvmlDeviceResetMemoryLockedClocks 

3598 data["__nvmlDeviceResetMemoryLockedClocks"] = <intptr_t>__nvmlDeviceResetMemoryLockedClocks 

3599  

3600 global __nvmlDeviceSetAutoBoostedClocksEnabled 

3601 data["__nvmlDeviceSetAutoBoostedClocksEnabled"] = <intptr_t>__nvmlDeviceSetAutoBoostedClocksEnabled 

3602  

3603 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

3604 data["__nvmlDeviceSetDefaultAutoBoostedClocksEnabled"] = <intptr_t>__nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

3605  

3606 global __nvmlDeviceSetDefaultFanSpeed_v2 

3607 data["__nvmlDeviceSetDefaultFanSpeed_v2"] = <intptr_t>__nvmlDeviceSetDefaultFanSpeed_v2 

3608  

3609 global __nvmlDeviceSetFanControlPolicy 

3610 data["__nvmlDeviceSetFanControlPolicy"] = <intptr_t>__nvmlDeviceSetFanControlPolicy 

3611  

3612 global __nvmlDeviceSetTemperatureThreshold 

3613 data["__nvmlDeviceSetTemperatureThreshold"] = <intptr_t>__nvmlDeviceSetTemperatureThreshold 

3614  

3615 global __nvmlDeviceSetGpuOperationMode 

3616 data["__nvmlDeviceSetGpuOperationMode"] = <intptr_t>__nvmlDeviceSetGpuOperationMode 

3617  

3618 global __nvmlDeviceSetAPIRestriction 

3619 data["__nvmlDeviceSetAPIRestriction"] = <intptr_t>__nvmlDeviceSetAPIRestriction 

3620  

3621 global __nvmlDeviceSetFanSpeed_v2 

3622 data["__nvmlDeviceSetFanSpeed_v2"] = <intptr_t>__nvmlDeviceSetFanSpeed_v2 

3623  

3624 global __nvmlDeviceSetAccountingMode 

3625 data["__nvmlDeviceSetAccountingMode"] = <intptr_t>__nvmlDeviceSetAccountingMode 

3626  

3627 global __nvmlDeviceClearAccountingPids 

3628 data["__nvmlDeviceClearAccountingPids"] = <intptr_t>__nvmlDeviceClearAccountingPids 

3629  

3630 global __nvmlDeviceSetPowerManagementLimit_v2 

3631 data["__nvmlDeviceSetPowerManagementLimit_v2"] = <intptr_t>__nvmlDeviceSetPowerManagementLimit_v2 

3632  

3633 global __nvmlDeviceGetNvLinkState 

3634 data["__nvmlDeviceGetNvLinkState"] = <intptr_t>__nvmlDeviceGetNvLinkState 

3635  

3636 global __nvmlDeviceGetNvLinkVersion 

3637 data["__nvmlDeviceGetNvLinkVersion"] = <intptr_t>__nvmlDeviceGetNvLinkVersion 

3638  

3639 global __nvmlDeviceGetNvLinkCapability 

3640 data["__nvmlDeviceGetNvLinkCapability"] = <intptr_t>__nvmlDeviceGetNvLinkCapability 

3641  

3642 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

3643 data["__nvmlDeviceGetNvLinkRemotePciInfo_v2"] = <intptr_t>__nvmlDeviceGetNvLinkRemotePciInfo_v2 

3644  

3645 global __nvmlDeviceGetNvLinkErrorCounter 

3646 data["__nvmlDeviceGetNvLinkErrorCounter"] = <intptr_t>__nvmlDeviceGetNvLinkErrorCounter 2ub

3647  

3648 global __nvmlDeviceResetNvLinkErrorCounters 

3649 data["__nvmlDeviceResetNvLinkErrorCounters"] = <intptr_t>__nvmlDeviceResetNvLinkErrorCounters 

3650  

3651 global __nvmlDeviceGetNvLinkRemoteDeviceType 

3652 data["__nvmlDeviceGetNvLinkRemoteDeviceType"] = <intptr_t>__nvmlDeviceGetNvLinkRemoteDeviceType 

3653  

3654 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

3655 data["__nvmlDeviceSetNvLinkDeviceLowPowerThreshold"] = <intptr_t>__nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

3656  

3657 global __nvmlSystemSetNvlinkBwMode 

3658 data["__nvmlSystemSetNvlinkBwMode"] = <intptr_t>__nvmlSystemSetNvlinkBwMode 

3659  

3660 global __nvmlSystemGetNvlinkBwMode 

3661 data["__nvmlSystemGetNvlinkBwMode"] = <intptr_t>__nvmlSystemGetNvlinkBwMode 

3662  

3663 global __nvmlDeviceGetNvlinkSupportedBwModes 

3664 data["__nvmlDeviceGetNvlinkSupportedBwModes"] = <intptr_t>__nvmlDeviceGetNvlinkSupportedBwModes 

3665  

3666 global __nvmlDeviceGetNvlinkBwMode 

3667 data["__nvmlDeviceGetNvlinkBwMode"] = <intptr_t>__nvmlDeviceGetNvlinkBwMode 2nb

3668  

3669 global __nvmlDeviceSetNvlinkBwMode 

3670 data["__nvmlDeviceSetNvlinkBwMode"] = <intptr_t>__nvmlDeviceSetNvlinkBwMode 2nb

3671  

3672 global __nvmlEventSetCreate 

3673 data["__nvmlEventSetCreate"] = <intptr_t>__nvmlEventSetCreate 

3674  

3675 global __nvmlDeviceRegisterEvents 

3676 data["__nvmlDeviceRegisterEvents"] = <intptr_t>__nvmlDeviceRegisterEvents 

3677  

3678 global __nvmlDeviceGetSupportedEventTypes 

3679 data["__nvmlDeviceGetSupportedEventTypes"] = <intptr_t>__nvmlDeviceGetSupportedEventTypes 

3680  

3681 global __nvmlEventSetWait_v2 

3682 data["__nvmlEventSetWait_v2"] = <intptr_t>__nvmlEventSetWait_v2 

3683  

3684 global __nvmlEventSetFree 

3685 data["__nvmlEventSetFree"] = <intptr_t>__nvmlEventSetFree 

3686  

3687 global __nvmlSystemEventSetCreate 

3688 data["__nvmlSystemEventSetCreate"] = <intptr_t>__nvmlSystemEventSetCreate 

3689  

3690 global __nvmlSystemEventSetFree 

3691 data["__nvmlSystemEventSetFree"] = <intptr_t>__nvmlSystemEventSetFree 

3692  

3693 global __nvmlSystemRegisterEvents 

3694 data["__nvmlSystemRegisterEvents"] = <intptr_t>__nvmlSystemRegisterEvents 

3695  

3696 global __nvmlSystemEventSetWait 

3697 data["__nvmlSystemEventSetWait"] = <intptr_t>__nvmlSystemEventSetWait 2Jb

3698  

3699 global __nvmlDeviceModifyDrainState 

3700 data["__nvmlDeviceModifyDrainState"] = <intptr_t>__nvmlDeviceModifyDrainState 2Jb

3701  

3702 global __nvmlDeviceQueryDrainState 

3703 data["__nvmlDeviceQueryDrainState"] = <intptr_t>__nvmlDeviceQueryDrainState 

3704  

3705 global __nvmlDeviceRemoveGpu_v2 

3706 data["__nvmlDeviceRemoveGpu_v2"] = <intptr_t>__nvmlDeviceRemoveGpu_v2 

3707  

3708 global __nvmlDeviceDiscoverGpus 

3709 data["__nvmlDeviceDiscoverGpus"] = <intptr_t>__nvmlDeviceDiscoverGpus 

3710  

3711 global __nvmlDeviceGetFieldValues 

3712 data["__nvmlDeviceGetFieldValues"] = <intptr_t>__nvmlDeviceGetFieldValues 

3713  

3714 global __nvmlDeviceClearFieldValues 

3715 data["__nvmlDeviceClearFieldValues"] = <intptr_t>__nvmlDeviceClearFieldValues 

3716  

3717 global __nvmlDeviceGetVirtualizationMode 

3718 data["__nvmlDeviceGetVirtualizationMode"] = <intptr_t>__nvmlDeviceGetVirtualizationMode 

3719  

3720 global __nvmlDeviceGetHostVgpuMode 

3721 data["__nvmlDeviceGetHostVgpuMode"] = <intptr_t>__nvmlDeviceGetHostVgpuMode 

3722  

3723 global __nvmlDeviceSetVirtualizationMode 

3724 data["__nvmlDeviceSetVirtualizationMode"] = <intptr_t>__nvmlDeviceSetVirtualizationMode 

3725  

3726 global __nvmlDeviceGetVgpuHeterogeneousMode 

3727 data["__nvmlDeviceGetVgpuHeterogeneousMode"] = <intptr_t>__nvmlDeviceGetVgpuHeterogeneousMode 

3728  

3729 global __nvmlDeviceSetVgpuHeterogeneousMode 

3730 data["__nvmlDeviceSetVgpuHeterogeneousMode"] = <intptr_t>__nvmlDeviceSetVgpuHeterogeneousMode 

3731  

3732 global __nvmlVgpuInstanceGetPlacementId 

3733 data["__nvmlVgpuInstanceGetPlacementId"] = <intptr_t>__nvmlVgpuInstanceGetPlacementId 

3734  

3735 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

3736 data["__nvmlDeviceGetVgpuTypeSupportedPlacements"] = <intptr_t>__nvmlDeviceGetVgpuTypeSupportedPlacements 2ObE

3737  

3738 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

3739 data["__nvmlDeviceGetVgpuTypeCreatablePlacements"] = <intptr_t>__nvmlDeviceGetVgpuTypeCreatablePlacements 

3740  

3741 global __nvmlVgpuTypeGetGspHeapSize 

3742 data["__nvmlVgpuTypeGetGspHeapSize"] = <intptr_t>__nvmlVgpuTypeGetGspHeapSize 

3743  

3744 global __nvmlVgpuTypeGetFbReservation 

3745 data["__nvmlVgpuTypeGetFbReservation"] = <intptr_t>__nvmlVgpuTypeGetFbReservation 

3746  

3747 global __nvmlVgpuInstanceGetRuntimeStateSize 

3748 data["__nvmlVgpuInstanceGetRuntimeStateSize"] = <intptr_t>__nvmlVgpuInstanceGetRuntimeStateSize 

3749  

3750 global __nvmlDeviceSetVgpuCapabilities 

3751 data["__nvmlDeviceSetVgpuCapabilities"] = <intptr_t>__nvmlDeviceSetVgpuCapabilities 

3752  

3753 global __nvmlDeviceGetGridLicensableFeatures_v4 

3754 data["__nvmlDeviceGetGridLicensableFeatures_v4"] = <intptr_t>__nvmlDeviceGetGridLicensableFeatures_v4 

3755  

3756 global __nvmlGetVgpuDriverCapabilities 

3757 data["__nvmlGetVgpuDriverCapabilities"] = <intptr_t>__nvmlGetVgpuDriverCapabilities 2Lb

3758  

3759 global __nvmlDeviceGetVgpuCapabilities 

3760 data["__nvmlDeviceGetVgpuCapabilities"] = <intptr_t>__nvmlDeviceGetVgpuCapabilities 2Lb

3761  

3762 global __nvmlDeviceGetSupportedVgpus 

3763 data["__nvmlDeviceGetSupportedVgpus"] = <intptr_t>__nvmlDeviceGetSupportedVgpus 

3764  

3765 global __nvmlDeviceGetCreatableVgpus 

3766 data["__nvmlDeviceGetCreatableVgpus"] = <intptr_t>__nvmlDeviceGetCreatableVgpus 

3767  

3768 global __nvmlVgpuTypeGetClass 

3769 data["__nvmlVgpuTypeGetClass"] = <intptr_t>__nvmlVgpuTypeGetClass 

3770  

3771 global __nvmlVgpuTypeGetName 

3772 data["__nvmlVgpuTypeGetName"] = <intptr_t>__nvmlVgpuTypeGetName 

3773  

3774 global __nvmlVgpuTypeGetGpuInstanceProfileId 

3775 data["__nvmlVgpuTypeGetGpuInstanceProfileId"] = <intptr_t>__nvmlVgpuTypeGetGpuInstanceProfileId 

3776  

3777 global __nvmlVgpuTypeGetDeviceID 

3778 data["__nvmlVgpuTypeGetDeviceID"] = <intptr_t>__nvmlVgpuTypeGetDeviceID 

3779  

3780 global __nvmlVgpuTypeGetFramebufferSize 

3781 data["__nvmlVgpuTypeGetFramebufferSize"] = <intptr_t>__nvmlVgpuTypeGetFramebufferSize 

3782  

3783 global __nvmlVgpuTypeGetNumDisplayHeads 

3784 data["__nvmlVgpuTypeGetNumDisplayHeads"] = <intptr_t>__nvmlVgpuTypeGetNumDisplayHeads 

3785  

3786 global __nvmlVgpuTypeGetResolution 

3787 data["__nvmlVgpuTypeGetResolution"] = <intptr_t>__nvmlVgpuTypeGetResolution 1T

3788  

3789 global __nvmlVgpuTypeGetLicense 

3790 data["__nvmlVgpuTypeGetLicense"] = <intptr_t>__nvmlVgpuTypeGetLicense 1T

3791  

3792 global __nvmlVgpuTypeGetFrameRateLimit 

3793 data["__nvmlVgpuTypeGetFrameRateLimit"] = <intptr_t>__nvmlVgpuTypeGetFrameRateLimit 

3794  

3795 global __nvmlVgpuTypeGetMaxInstances 

3796 data["__nvmlVgpuTypeGetMaxInstances"] = <intptr_t>__nvmlVgpuTypeGetMaxInstances 

3797  

3798 global __nvmlVgpuTypeGetMaxInstancesPerVm 

3799 data["__nvmlVgpuTypeGetMaxInstancesPerVm"] = <intptr_t>__nvmlVgpuTypeGetMaxInstancesPerVm 

3800  

3801 global __nvmlVgpuTypeGetBAR1Info 

3802 data["__nvmlVgpuTypeGetBAR1Info"] = <intptr_t>__nvmlVgpuTypeGetBAR1Info 

3803  

3804 global __nvmlDeviceGetActiveVgpus 

3805 data["__nvmlDeviceGetActiveVgpus"] = <intptr_t>__nvmlDeviceGetActiveVgpus 

3806  

3807 global __nvmlVgpuInstanceGetVmID 

3808 data["__nvmlVgpuInstanceGetVmID"] = <intptr_t>__nvmlVgpuInstanceGetVmID 

3809  

3810 global __nvmlVgpuInstanceGetUUID 

3811 data["__nvmlVgpuInstanceGetUUID"] = <intptr_t>__nvmlVgpuInstanceGetUUID 

3812  

3813 global __nvmlVgpuInstanceGetVmDriverVersion 

3814 data["__nvmlVgpuInstanceGetVmDriverVersion"] = <intptr_t>__nvmlVgpuInstanceGetVmDriverVersion 

3815  

3816 global __nvmlVgpuInstanceGetFbUsage 

3817 data["__nvmlVgpuInstanceGetFbUsage"] = <intptr_t>__nvmlVgpuInstanceGetFbUsage 

3818  

3819 global __nvmlVgpuInstanceGetLicenseStatus 

3820 data["__nvmlVgpuInstanceGetLicenseStatus"] = <intptr_t>__nvmlVgpuInstanceGetLicenseStatus 

3821  

3822 global __nvmlVgpuInstanceGetType 

3823 data["__nvmlVgpuInstanceGetType"] = <intptr_t>__nvmlVgpuInstanceGetType 

3824  

3825 global __nvmlVgpuInstanceGetFrameRateLimit 

3826 data["__nvmlVgpuInstanceGetFrameRateLimit"] = <intptr_t>__nvmlVgpuInstanceGetFrameRateLimit 

3827  

3828 global __nvmlVgpuInstanceGetEccMode 

3829 data["__nvmlVgpuInstanceGetEccMode"] = <intptr_t>__nvmlVgpuInstanceGetEccMode 

3830  

3831 global __nvmlVgpuInstanceGetEncoderCapacity 

3832 data["__nvmlVgpuInstanceGetEncoderCapacity"] = <intptr_t>__nvmlVgpuInstanceGetEncoderCapacity 

3833  

3834 global __nvmlVgpuInstanceSetEncoderCapacity 

3835 data["__nvmlVgpuInstanceSetEncoderCapacity"] = <intptr_t>__nvmlVgpuInstanceSetEncoderCapacity 

3836  

3837 global __nvmlVgpuInstanceGetEncoderStats 

3838 data["__nvmlVgpuInstanceGetEncoderStats"] = <intptr_t>__nvmlVgpuInstanceGetEncoderStats 

3839  

3840 global __nvmlVgpuInstanceGetEncoderSessions 

3841 data["__nvmlVgpuInstanceGetEncoderSessions"] = <intptr_t>__nvmlVgpuInstanceGetEncoderSessions 

3842  

3843 global __nvmlVgpuInstanceGetFBCStats 

3844 data["__nvmlVgpuInstanceGetFBCStats"] = <intptr_t>__nvmlVgpuInstanceGetFBCStats 

3845  

3846 global __nvmlVgpuInstanceGetFBCSessions 

3847 data["__nvmlVgpuInstanceGetFBCSessions"] = <intptr_t>__nvmlVgpuInstanceGetFBCSessions 2Kbw

3848  

3849 global __nvmlVgpuInstanceGetGpuInstanceId 

3850 data["__nvmlVgpuInstanceGetGpuInstanceId"] = <intptr_t>__nvmlVgpuInstanceGetGpuInstanceId 2Kbw

3851  

3852 global __nvmlVgpuInstanceGetGpuPciId 

3853 data["__nvmlVgpuInstanceGetGpuPciId"] = <intptr_t>__nvmlVgpuInstanceGetGpuPciId 

3854  

3855 global __nvmlVgpuTypeGetCapabilities 

3856 data["__nvmlVgpuTypeGetCapabilities"] = <intptr_t>__nvmlVgpuTypeGetCapabilities 

3857  

3858 global __nvmlVgpuInstanceGetMdevUUID 

3859 data["__nvmlVgpuInstanceGetMdevUUID"] = <intptr_t>__nvmlVgpuInstanceGetMdevUUID 

3860  

3861 global __nvmlGpuInstanceGetCreatableVgpus 

3862 data["__nvmlGpuInstanceGetCreatableVgpus"] = <intptr_t>__nvmlGpuInstanceGetCreatableVgpus 

3863  

3864 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

3865 data["__nvmlVgpuTypeGetMaxInstancesPerGpuInstance"] = <intptr_t>__nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

3866  

3867 global __nvmlGpuInstanceGetActiveVgpus 

3868 data["__nvmlGpuInstanceGetActiveVgpus"] = <intptr_t>__nvmlGpuInstanceGetActiveVgpus 

3869  

3870 global __nvmlGpuInstanceSetVgpuSchedulerState 

3871 data["__nvmlGpuInstanceSetVgpuSchedulerState"] = <intptr_t>__nvmlGpuInstanceSetVgpuSchedulerState 

3872  

3873 global __nvmlGpuInstanceGetVgpuSchedulerState 

3874 data["__nvmlGpuInstanceGetVgpuSchedulerState"] = <intptr_t>__nvmlGpuInstanceGetVgpuSchedulerState 

3875  

3876 global __nvmlGpuInstanceGetVgpuSchedulerLog 

3877 data["__nvmlGpuInstanceGetVgpuSchedulerLog"] = <intptr_t>__nvmlGpuInstanceGetVgpuSchedulerLog 

3878  

3879 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

3880 data["__nvmlGpuInstanceGetVgpuTypeCreatablePlacements"] = <intptr_t>__nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

3881  

3882 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

3883 data["__nvmlGpuInstanceGetVgpuHeterogeneousMode"] = <intptr_t>__nvmlGpuInstanceGetVgpuHeterogeneousMode 

3884  

3885 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

3886 data["__nvmlGpuInstanceSetVgpuHeterogeneousMode"] = <intptr_t>__nvmlGpuInstanceSetVgpuHeterogeneousMode 

3887  

3888 global __nvmlVgpuInstanceGetMetadata 

3889 data["__nvmlVgpuInstanceGetMetadata"] = <intptr_t>__nvmlVgpuInstanceGetMetadata 

3890  

3891 global __nvmlDeviceGetVgpuMetadata 

3892 data["__nvmlDeviceGetVgpuMetadata"] = <intptr_t>__nvmlDeviceGetVgpuMetadata 

3893  

3894 global __nvmlGetVgpuCompatibility 

3895 data["__nvmlGetVgpuCompatibility"] = <intptr_t>__nvmlGetVgpuCompatibility 

3896  

3897 global __nvmlDeviceGetPgpuMetadataString 

3898 data["__nvmlDeviceGetPgpuMetadataString"] = <intptr_t>__nvmlDeviceGetPgpuMetadataString 

3899  

3900 global __nvmlDeviceGetVgpuSchedulerLog 

3901 data["__nvmlDeviceGetVgpuSchedulerLog"] = <intptr_t>__nvmlDeviceGetVgpuSchedulerLog 

3902  

3903 global __nvmlDeviceGetVgpuSchedulerState 

3904 data["__nvmlDeviceGetVgpuSchedulerState"] = <intptr_t>__nvmlDeviceGetVgpuSchedulerState 

3905  

3906 global __nvmlDeviceGetVgpuSchedulerCapabilities 

3907 data["__nvmlDeviceGetVgpuSchedulerCapabilities"] = <intptr_t>__nvmlDeviceGetVgpuSchedulerCapabilities 

3908  

3909 global __nvmlDeviceSetVgpuSchedulerState 

3910 data["__nvmlDeviceSetVgpuSchedulerState"] = <intptr_t>__nvmlDeviceSetVgpuSchedulerState 

3911  

3912 global __nvmlGetVgpuVersion 

3913 data["__nvmlGetVgpuVersion"] = <intptr_t>__nvmlGetVgpuVersion 

3914  

3915 global __nvmlSetVgpuVersion 

3916 data["__nvmlSetVgpuVersion"] = <intptr_t>__nvmlSetVgpuVersion 

3917  

3918 global __nvmlDeviceGetVgpuUtilization 

3919 data["__nvmlDeviceGetVgpuUtilization"] = <intptr_t>__nvmlDeviceGetVgpuUtilization 

3920  

3921 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

3922 data["__nvmlDeviceGetVgpuInstancesUtilizationInfo"] = <intptr_t>__nvmlDeviceGetVgpuInstancesUtilizationInfo 

3923  

3924 global __nvmlDeviceGetVgpuProcessUtilization 

3925 data["__nvmlDeviceGetVgpuProcessUtilization"] = <intptr_t>__nvmlDeviceGetVgpuProcessUtilization 

3926  

3927 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

3928 data["__nvmlDeviceGetVgpuProcessesUtilizationInfo"] = <intptr_t>__nvmlDeviceGetVgpuProcessesUtilizationInfo 

3929  

3930 global __nvmlVgpuInstanceGetAccountingMode 

3931 data["__nvmlVgpuInstanceGetAccountingMode"] = <intptr_t>__nvmlVgpuInstanceGetAccountingMode 

3932  

3933 global __nvmlVgpuInstanceGetAccountingPids 

3934 data["__nvmlVgpuInstanceGetAccountingPids"] = <intptr_t>__nvmlVgpuInstanceGetAccountingPids 

3935  

3936 global __nvmlVgpuInstanceGetAccountingStats 

3937 data["__nvmlVgpuInstanceGetAccountingStats"] = <intptr_t>__nvmlVgpuInstanceGetAccountingStats 

3938  

3939 global __nvmlVgpuInstanceClearAccountingPids 

3940 data["__nvmlVgpuInstanceClearAccountingPids"] = <intptr_t>__nvmlVgpuInstanceClearAccountingPids 

3941  

3942 global __nvmlVgpuInstanceGetLicenseInfo_v2 

3943 data["__nvmlVgpuInstanceGetLicenseInfo_v2"] = <intptr_t>__nvmlVgpuInstanceGetLicenseInfo_v2 

3944  

3945 global __nvmlGetExcludedDeviceCount 

3946 data["__nvmlGetExcludedDeviceCount"] = <intptr_t>__nvmlGetExcludedDeviceCount 

3947  

3948 global __nvmlGetExcludedDeviceInfoByIndex 

3949 data["__nvmlGetExcludedDeviceInfoByIndex"] = <intptr_t>__nvmlGetExcludedDeviceInfoByIndex 

3950  

3951 global __nvmlDeviceSetMigMode 

3952 data["__nvmlDeviceSetMigMode"] = <intptr_t>__nvmlDeviceSetMigMode 

3953  

3954 global __nvmlDeviceGetMigMode 

3955 data["__nvmlDeviceGetMigMode"] = <intptr_t>__nvmlDeviceGetMigMode 

3956  

3957 global __nvmlDeviceGetGpuInstanceProfileInfoV 

3958 data["__nvmlDeviceGetGpuInstanceProfileInfoV"] = <intptr_t>__nvmlDeviceGetGpuInstanceProfileInfoV 

3959  

3960 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

3961 data["__nvmlDeviceGetGpuInstancePossiblePlacements_v2"] = <intptr_t>__nvmlDeviceGetGpuInstancePossiblePlacements_v2 

3962  

3963 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

3964 data["__nvmlDeviceGetGpuInstanceRemainingCapacity"] = <intptr_t>__nvmlDeviceGetGpuInstanceRemainingCapacity 

3965  

3966 global __nvmlDeviceCreateGpuInstance 

3967 data["__nvmlDeviceCreateGpuInstance"] = <intptr_t>__nvmlDeviceCreateGpuInstance 1D

3968  

3969 global __nvmlDeviceCreateGpuInstanceWithPlacement 

3970 data["__nvmlDeviceCreateGpuInstanceWithPlacement"] = <intptr_t>__nvmlDeviceCreateGpuInstanceWithPlacement 1D

3971  

3972 global __nvmlGpuInstanceDestroy 

3973 data["__nvmlGpuInstanceDestroy"] = <intptr_t>__nvmlGpuInstanceDestroy 

3974  

3975 global __nvmlDeviceGetGpuInstances 

3976 data["__nvmlDeviceGetGpuInstances"] = <intptr_t>__nvmlDeviceGetGpuInstances 1pQ

3977  

3978 global __nvmlDeviceGetGpuInstanceById 

3979 data["__nvmlDeviceGetGpuInstanceById"] = <intptr_t>__nvmlDeviceGetGpuInstanceById 

3980  

3981 global __nvmlGpuInstanceGetInfo 

3982 data["__nvmlGpuInstanceGetInfo"] = <intptr_t>__nvmlGpuInstanceGetInfo 

3983  

3984 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

3985 data["__nvmlGpuInstanceGetComputeInstanceProfileInfoV"] = <intptr_t>__nvmlGpuInstanceGetComputeInstanceProfileInfoV 

3986  

3987 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

3988 data["__nvmlGpuInstanceGetComputeInstanceRemainingCapacity"] = <intptr_t>__nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

3989  

3990 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

3991 data["__nvmlGpuInstanceGetComputeInstancePossiblePlacements"] = <intptr_t>__nvmlGpuInstanceGetComputeInstancePossiblePlacements 

3992  

3993 global __nvmlGpuInstanceCreateComputeInstance 

3994 data["__nvmlGpuInstanceCreateComputeInstance"] = <intptr_t>__nvmlGpuInstanceCreateComputeInstance 

3995  

3996 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

3997 data["__nvmlGpuInstanceCreateComputeInstanceWithPlacement"] = <intptr_t>__nvmlGpuInstanceCreateComputeInstanceWithPlacement 

3998  

3999 global __nvmlComputeInstanceDestroy 

4000 data["__nvmlComputeInstanceDestroy"] = <intptr_t>__nvmlComputeInstanceDestroy 

4001  

4002 global __nvmlGpuInstanceGetComputeInstances 

4003 data["__nvmlGpuInstanceGetComputeInstances"] = <intptr_t>__nvmlGpuInstanceGetComputeInstances 

4004  

4005 global __nvmlGpuInstanceGetComputeInstanceById 

4006 data["__nvmlGpuInstanceGetComputeInstanceById"] = <intptr_t>__nvmlGpuInstanceGetComputeInstanceById 

4007  

4008 global __nvmlComputeInstanceGetInfo_v2 

4009 data["__nvmlComputeInstanceGetInfo_v2"] = <intptr_t>__nvmlComputeInstanceGetInfo_v2 

4010  

4011 global __nvmlDeviceIsMigDeviceHandle 

4012 data["__nvmlDeviceIsMigDeviceHandle"] = <intptr_t>__nvmlDeviceIsMigDeviceHandle 

4013  

4014 global __nvmlDeviceGetGpuInstanceId 

4015 data["__nvmlDeviceGetGpuInstanceId"] = <intptr_t>__nvmlDeviceGetGpuInstanceId 

4016  

4017 global __nvmlDeviceGetComputeInstanceId 

4018 data["__nvmlDeviceGetComputeInstanceId"] = <intptr_t>__nvmlDeviceGetComputeInstanceId 

4019  

4020 global __nvmlDeviceGetMaxMigDeviceCount 

4021 data["__nvmlDeviceGetMaxMigDeviceCount"] = <intptr_t>__nvmlDeviceGetMaxMigDeviceCount 

4022  

4023 global __nvmlDeviceGetMigDeviceHandleByIndex 

4024 data["__nvmlDeviceGetMigDeviceHandleByIndex"] = <intptr_t>__nvmlDeviceGetMigDeviceHandleByIndex 

4025  

4026 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

4027 data["__nvmlDeviceGetDeviceHandleFromMigDeviceHandle"] = <intptr_t>__nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

4028  

4029 global __nvmlDeviceGetCapabilities 

4030 data["__nvmlDeviceGetCapabilities"] = <intptr_t>__nvmlDeviceGetCapabilities 

4031  

4032 global __nvmlDevicePowerSmoothingActivatePresetProfile 

4033 data["__nvmlDevicePowerSmoothingActivatePresetProfile"] = <intptr_t>__nvmlDevicePowerSmoothingActivatePresetProfile 

4034  

4035 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

4036 data["__nvmlDevicePowerSmoothingUpdatePresetProfileParam"] = <intptr_t>__nvmlDevicePowerSmoothingUpdatePresetProfileParam 1R

4037  

4038 global __nvmlDevicePowerSmoothingSetState 

4039 data["__nvmlDevicePowerSmoothingSetState"] = <intptr_t>__nvmlDevicePowerSmoothingSetState 

4040  

4041 global __nvmlDeviceGetAddressingMode 

4042 data["__nvmlDeviceGetAddressingMode"] = <intptr_t>__nvmlDeviceGetAddressingMode 

4043  

4044 global __nvmlDeviceGetRepairStatus 

4045 data["__nvmlDeviceGetRepairStatus"] = <intptr_t>__nvmlDeviceGetRepairStatus 

4046  

4047 global __nvmlDeviceGetPowerMizerMode_v1 

4048 data["__nvmlDeviceGetPowerMizerMode_v1"] = <intptr_t>__nvmlDeviceGetPowerMizerMode_v1 

4049  

4050 global __nvmlDeviceSetPowerMizerMode_v1 

4051 data["__nvmlDeviceSetPowerMizerMode_v1"] = <intptr_t>__nvmlDeviceSetPowerMizerMode_v1 

4052  

4053 global __nvmlDeviceGetPdi 

4054 data["__nvmlDeviceGetPdi"] = <intptr_t>__nvmlDeviceGetPdi 

4055  

4056 global __nvmlDeviceSetHostname_v1 

4057 data["__nvmlDeviceSetHostname_v1"] = <intptr_t>__nvmlDeviceSetHostname_v1 

4058  

4059 global __nvmlDeviceGetHostname_v1 

4060 data["__nvmlDeviceGetHostname_v1"] = <intptr_t>__nvmlDeviceGetHostname_v1 

4061  

4062 global __nvmlDeviceGetNvLinkInfo 

4063 data["__nvmlDeviceGetNvLinkInfo"] = <intptr_t>__nvmlDeviceGetNvLinkInfo 

4064  

4065 global __nvmlDeviceReadWritePRM_v1 

4066 data["__nvmlDeviceReadWritePRM_v1"] = <intptr_t>__nvmlDeviceReadWritePRM_v1 

4067  

4068 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

4069 data["__nvmlDeviceGetGpuInstanceProfileInfoByIdV"] = <intptr_t>__nvmlDeviceGetGpuInstanceProfileInfoByIdV 

4070  

4071 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

4072 data["__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts"] = <intptr_t>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

4073  

4074 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

4075 data["__nvmlDeviceGetUnrepairableMemoryFlag_v1"] = <intptr_t>__nvmlDeviceGetUnrepairableMemoryFlag_v1 

4076  

4077 global __nvmlDeviceReadPRMCounters_v1 

4078 data["__nvmlDeviceReadPRMCounters_v1"] = <intptr_t>__nvmlDeviceReadPRMCounters_v1 

4079  

4080 global __nvmlDeviceSetRusdSettings_v1 

4081 data["__nvmlDeviceSetRusdSettings_v1"] = <intptr_t>__nvmlDeviceSetRusdSettings_v1 

4082  

4083 global __nvmlDeviceVgpuForceGspUnload 

4084 data["__nvmlDeviceVgpuForceGspUnload"] = <intptr_t>__nvmlDeviceVgpuForceGspUnload 

4085  

4086 global __nvmlDeviceGetVgpuSchedulerState_v2 

4087 data["__nvmlDeviceGetVgpuSchedulerState_v2"] = <intptr_t>__nvmlDeviceGetVgpuSchedulerState_v2 

4088  

4089 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 

4090 data["__nvmlGpuInstanceGetVgpuSchedulerState_v2"] = <intptr_t>__nvmlGpuInstanceGetVgpuSchedulerState_v2 

4091  

4092 global __nvmlDeviceGetVgpuSchedulerLog_v2 

4093 data["__nvmlDeviceGetVgpuSchedulerLog_v2"] = <intptr_t>__nvmlDeviceGetVgpuSchedulerLog_v2 

4094  

4095 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 

4096 data["__nvmlGpuInstanceGetVgpuSchedulerLog_v2"] = <intptr_t>__nvmlGpuInstanceGetVgpuSchedulerLog_v2 

4097  

4098 global __nvmlDeviceSetVgpuSchedulerState_v2 

4099 data["__nvmlDeviceSetVgpuSchedulerState_v2"] = <intptr_t>__nvmlDeviceSetVgpuSchedulerState_v2 

4100  

4101 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 

4102 data["__nvmlGpuInstanceSetVgpuSchedulerState_v2"] = <intptr_t>__nvmlGpuInstanceSetVgpuSchedulerState_v2 

4103  

4104 global __nvmlSystemGetCPER_v1 

4105 data["__nvmlSystemGetCPER_v1"] = <intptr_t>__nvmlSystemGetCPER_v1 

4106  

4107 global __nvmlDeviceGetBBXTimeData_v1 

4108 data["__nvmlDeviceGetBBXTimeData_v1"] = <intptr_t>__nvmlDeviceGetBBXTimeData_v1 

4109  

4110 global __nvmlDeviceGetAccountingStats_v2 

4111 data["__nvmlDeviceGetAccountingStats_v2"] = <intptr_t>__nvmlDeviceGetAccountingStats_v2 

4112  

4113 global __nvmlDeviceGetRemappedRows_v2 

4114 data["__nvmlDeviceGetRemappedRows_v2"] = <intptr_t>__nvmlDeviceGetRemappedRows_v2 

4115  

4116 global __nvmlDeviceSetAdaptiveTgpMode_v1 

4117 data["__nvmlDeviceSetAdaptiveTgpMode_v1"] = <intptr_t>__nvmlDeviceSetAdaptiveTgpMode_v1 

4118  

4119 global __nvmlDeviceGetAdaptiveTgpModeInfo_v1 

4120 data["__nvmlDeviceGetAdaptiveTgpModeInfo_v1"] = <intptr_t>__nvmlDeviceGetAdaptiveTgpModeInfo_v1 

4121  

4122 global __nvmlDeviceSetMemoryLimits_v1 

4123 data["__nvmlDeviceSetMemoryLimits_v1"] = <intptr_t>__nvmlDeviceSetMemoryLimits_v1 

4124  

4125 global __nvmlDeviceGetMemoryLimits_v1 

4126 data["__nvmlDeviceGetMemoryLimits_v1"] = <intptr_t>__nvmlDeviceGetMemoryLimits_v1 

4127  

4128 global __nvmlDeviceGetGpuFabricInfo_v4 

4129 data["__nvmlDeviceGetGpuFabricInfo_v4"] = <intptr_t>__nvmlDeviceGetGpuFabricInfo_v4 

4130  

4131 global __nvmlDevicePerfMetricsGetSamples_v1 

4132 data["__nvmlDevicePerfMetricsGetSamples_v1"] = <intptr_t>__nvmlDevicePerfMetricsGetSamples_v1 

4133  

4134 global __nvmlDeviceSetNvlinkBwModeAsync_v1 

4135 data["__nvmlDeviceSetNvlinkBwModeAsync_v1"] = <intptr_t>__nvmlDeviceSetNvlinkBwModeAsync_v1 

4136  

4137 global __nvmlDeviceGetNvLinkTelemetrySamples_v1 

4138 data["__nvmlDeviceGetNvLinkTelemetrySamples_v1"] = <intptr_t>__nvmlDeviceGetNvLinkTelemetrySamples_v1 

4139  

4140 global __nvmlEventSetRegisterGpuOperationalEvents_v1 

4141 data["__nvmlEventSetRegisterGpuOperationalEvents_v1"] = <intptr_t>__nvmlEventSetRegisterGpuOperationalEvents_v1 

4142  

4143 global __nvmlEventSetWait_v3 

4144 data["__nvmlEventSetWait_v3"] = <intptr_t>__nvmlEventSetWait_v3 

4145  

4146 global __nvmlEventSetGetContextCount_v1 

4147 data["__nvmlEventSetGetContextCount_v1"] = <intptr_t>__nvmlEventSetGetContextCount_v1 

4148  

4149 global __nvmlEventSetGetContextInfo_v1 

4150 data["__nvmlEventSetGetContextInfo_v1"] = <intptr_t>__nvmlEventSetGetContextInfo_v1 

4151  

4152 global __nvmlEventSetGetContextData_v1 

4153 data["__nvmlEventSetGetContextData_v1"] = <intptr_t>__nvmlEventSetGetContextData_v1 

4154  

4155 global __nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 

4156 data["__nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1"] = <intptr_t>__nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 

4157  

4158 global __nvmlDeviceGetBankRemapperStatus_v1 

4159 data["__nvmlDeviceGetBankRemapperStatus_v1"] = <intptr_t>__nvmlDeviceGetBankRemapperStatus_v1 

4160 _cyb_func_ptrs = data 

4161 return data 

4162  

4163  

4164cpdef _inspect_function_pointer(str name): 

4165 global _cyb_func_ptrs 

4166 if _cyb_func_ptrs is None: 

4167 _cyb_func_ptrs = _inspect_function_pointers() 

4168 return _cyb_func_ptrs[name] 

4169  

4170  

4171  

4172  

4173cdef void* load_library() except* with gil: 

4174 cdef uintptr_t handle = load_nvidia_dynamic_lib("nvml")._handle_uint 

4175 return <void*>handle 

4176  

4177  

4178############################################################################### 

4179# Wrapper functions 

4180############################################################################### 

4181  

4182cdef nvmlReturn_t _nvmlInit_v2() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4183 global __nvmlInit_v2 

4184 _check_or_init_nvml() 2a Rbj 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = Yb? @ ZbMb] ^ _ ` { s SbTbBbL UbVb| } ~ abbbcbdbebfbgbhb1b2b3b4bCbQb

4185 if __nvmlInit_v2 == NULL: 2a Rbj 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = Yb? @ ZbMb] ^ _ ` { s SbTbBbL UbVb| } ~ abbbcbdbebfbgbhb1b2b3b4bCbQb

4186 with gil: 

4187 raise FunctionNotFoundError("function nvmlInit_v2 is not found") 

4188 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlInit_v2)( 2a Rbj 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = Yb? @ ZbMb] ^ _ ` { s SbTbBbL UbVb| } ~ abbbcbdbebfbgbhb1b2b3b4bCbQb

4189 ) 

4190  

4191  

4192cdef nvmlReturn_t _nvmlInitWithFlags(unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4193 global __nvmlInitWithFlags 

4194 _check_or_init_nvml() 

4195 if __nvmlInitWithFlags == NULL: 

4196 with gil: 1J

4197 raise FunctionNotFoundError("function nvmlInitWithFlags is not found") 1J

4198 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlInitWithFlags)( 

4199 flags) 

4200  

4201  

4202cdef nvmlReturn_t _nvmlShutdown() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4203 global __nvmlShutdown 

4204 _check_or_init_nvml() 2a Rcj 8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{b|b~bacMbccdcecfcgcs hcScTcicjcUcVckclcmcncocpcqcrcsctcucvcxcycAcBc

4205 if __nvmlShutdown == NULL: 2a Rcj 8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{b|b~bacMbccdcecfcgcs hcScTcicjcUcVckclcmcncocpcqcrcsctcucvcxcycAcBc

4206 with gil: 1K

4207 raise FunctionNotFoundError("function nvmlShutdown is not found") 1K

4208 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlShutdown)( 2a Rcj 8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{b|b~bacMbccdcecfcgcs hcScTcicjcUcVckclcmcncocpcqcrcsctcucvcxcycAcBc

4209 ) 

4210  

4211  

4212cdef const char* _nvmlErrorString(nvmlReturn_t result) except?NULL nogil: 

4213 global __nvmlErrorString 

4214 _check_or_init_nvml() 2a xbx y R z A lbmbB C I N G J K MbT GbD r f g b p Z c h i M d AbDcEcFcGcJcQb

4215 if __nvmlErrorString == NULL: 2xbx y R z A lbmbB C I N G J K MbT GbD r f g b p Z c h i M d AbDcEcFcGcJcQb

4216 with gil: 

4217 raise FunctionNotFoundError("function nvmlErrorString is not found") 

4218 return (<const char* (*)(nvmlReturn_t) noexcept nogil>__nvmlErrorString)( 2xbx y R z A lbmbB C I N G J K MbT GbD r f g b p Z c h i M d AbDcEcFcGcJcQb

4219 result) 

4220  

4221  

4222cdef nvmlReturn_t _nvmlSystemGetDriverVersion(char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4223 global __nvmlSystemGetDriverVersion 

4224 _check_or_init_nvml() 2a KcMc

4225 if __nvmlSystemGetDriverVersion == NULL: 2KcMc

4226 with gil: 

4227 raise FunctionNotFoundError("function nvmlSystemGetDriverVersion is not found") 

4228 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetDriverVersion)( 2KcMc

4229 version, length) 

4230  

4231  

4232cdef nvmlReturn_t _nvmlSystemGetNVMLVersion(char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4233 global __nvmlSystemGetNVMLVersion 

4234 _check_or_init_nvml() 2a zcHc

4235 if __nvmlSystemGetNVMLVersion == NULL: 2zcHc

4236 with gil: 

4237 raise FunctionNotFoundError("function nvmlSystemGetNVMLVersion is not found") 

4238 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetNVMLVersion)( 2zcHc

4239 version, length) 

4240  

4241  

4242cdef nvmlReturn_t _nvmlSystemGetCudaDriverVersion(int* cudaDriverVersion) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4243 global __nvmlSystemGetCudaDriverVersion 

4244 _check_or_init_nvml() 2a wcIc

4245 if __nvmlSystemGetCudaDriverVersion == NULL: 2a wcIc

4246 with gil: 

4247 raise FunctionNotFoundError("function nvmlSystemGetCudaDriverVersion is not found") 

4248 return (<nvmlReturn_t (*)(int*) noexcept nogil>__nvmlSystemGetCudaDriverVersion)( 2a wcIc

4249 cudaDriverVersion) 

4250  

4251  

4252cdef nvmlReturn_t _nvmlSystemGetCudaDriverVersion_v2(int* cudaDriverVersion) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4253 global __nvmlSystemGetCudaDriverVersion_v2 

4254 _check_or_init_nvml() 

4255 if __nvmlSystemGetCudaDriverVersion_v2 == NULL: 

4256 with gil: 

4257 raise FunctionNotFoundError("function nvmlSystemGetCudaDriverVersion_v2 is not found") 

4258 return (<nvmlReturn_t (*)(int*) noexcept nogil>__nvmlSystemGetCudaDriverVersion_v2)( 

4259 cudaDriverVersion) 

4260  

4261  

4262cdef nvmlReturn_t _nvmlSystemGetProcessName(unsigned int pid, char* name, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4263 global __nvmlSystemGetProcessName 

4264 _check_or_init_nvml() 2a 0bQ

4265 if __nvmlSystemGetProcessName == NULL: 20bQ

4266 with gil: 

4267 raise FunctionNotFoundError("function nvmlSystemGetProcessName is not found") 

4268 return (<nvmlReturn_t (*)(unsigned int, char*, unsigned int) noexcept nogil>__nvmlSystemGetProcessName)( 20bQ

4269 pid, name, length) 

4270  

4271  

4272cdef nvmlReturn_t _nvmlSystemGetHicVersion(unsigned int* hwbcCount, nvmlHwbcEntry_t* hwbcEntries) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4273 global __nvmlSystemGetHicVersion 

4274 _check_or_init_nvml() 

4275 if __nvmlSystemGetHicVersion == NULL: 

4276 with gil: 

4277 raise FunctionNotFoundError("function nvmlSystemGetHicVersion is not found") 

4278 return (<nvmlReturn_t (*)(unsigned int*, nvmlHwbcEntry_t*) noexcept nogil>__nvmlSystemGetHicVersion)( 

4279 hwbcCount, hwbcEntries) 

4280  

4281  

4282cdef nvmlReturn_t _nvmlSystemGetTopologyGpuSet(unsigned int cpuNumber, unsigned int* count, nvmlDevice_t* deviceArray) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4283 global __nvmlSystemGetTopologyGpuSet 

4284 _check_or_init_nvml() 2a Nb

4285 if __nvmlSystemGetTopologyGpuSet == NULL: 2Nb

4286 with gil: 

4287 raise FunctionNotFoundError("function nvmlSystemGetTopologyGpuSet is not found") 

4288 return (<nvmlReturn_t (*)(unsigned int, unsigned int*, nvmlDevice_t*) noexcept nogil>__nvmlSystemGetTopologyGpuSet)( 2Nb

4289 cpuNumber, count, deviceArray) 

4290  

4291  

4292cdef nvmlReturn_t _nvmlSystemGetDriverBranch(nvmlSystemDriverBranchInfo_t* branchInfo, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4293 global __nvmlSystemGetDriverBranch 

4294 _check_or_init_nvml() 2a Lc

4295 if __nvmlSystemGetDriverBranch == NULL: 2a Lc

4296 with gil: 

4297 raise FunctionNotFoundError("function nvmlSystemGetDriverBranch is not found") 

4298 return (<nvmlReturn_t (*)(nvmlSystemDriverBranchInfo_t*, unsigned int) noexcept nogil>__nvmlSystemGetDriverBranch)( 2a Lc

4299 branchInfo, length) 

4300  

4301  

4302cdef nvmlReturn_t _nvmlUnitGetCount(unsigned int* unitCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4303 global __nvmlUnitGetCount 

4304 _check_or_init_nvml() 2a Cb

4305 if __nvmlUnitGetCount == NULL: 2Cb

4306 with gil: 

4307 raise FunctionNotFoundError("function nvmlUnitGetCount is not found") 

4308 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlUnitGetCount)( 2Cb

4309 unitCount) 

4310  

4311  

4312cdef nvmlReturn_t _nvmlUnitGetHandleByIndex(unsigned int index, nvmlUnit_t* unit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4313 global __nvmlUnitGetHandleByIndex 

4314 _check_or_init_nvml() 

4315 if __nvmlUnitGetHandleByIndex == NULL: 

4316 with gil: 

4317 raise FunctionNotFoundError("function nvmlUnitGetHandleByIndex is not found") 

4318 return (<nvmlReturn_t (*)(unsigned int, nvmlUnit_t*) noexcept nogil>__nvmlUnitGetHandleByIndex)( 

4319 index, unit) 

4320  

4321  

4322cdef nvmlReturn_t _nvmlUnitGetUnitInfo(nvmlUnit_t unit, nvmlUnitInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4323 global __nvmlUnitGetUnitInfo 

4324 _check_or_init_nvml() 

4325 if __nvmlUnitGetUnitInfo == NULL: 

4326 with gil: 

4327 raise FunctionNotFoundError("function nvmlUnitGetUnitInfo is not found") 

4328 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlUnitInfo_t*) noexcept nogil>__nvmlUnitGetUnitInfo)( 

4329 unit, info) 

4330  

4331  

4332cdef nvmlReturn_t _nvmlUnitGetLedState(nvmlUnit_t unit, nvmlLedState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4333 global __nvmlUnitGetLedState 

4334 _check_or_init_nvml() 

4335 if __nvmlUnitGetLedState == NULL: 

4336 with gil: 2T Gb

4337 raise FunctionNotFoundError("function nvmlUnitGetLedState is not found") 2T Gb

4338 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlLedState_t*) noexcept nogil>__nvmlUnitGetLedState)( 

4339 unit, state) 

4340  

4341  

4342cdef nvmlReturn_t _nvmlUnitGetPsuInfo(nvmlUnit_t unit, nvmlPSUInfo_t* psu) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4343 global __nvmlUnitGetPsuInfo 

4344 _check_or_init_nvml() 

4345 if __nvmlUnitGetPsuInfo == NULL: 

4346 with gil: 

4347 raise FunctionNotFoundError("function nvmlUnitGetPsuInfo is not found") 

4348 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlPSUInfo_t*) noexcept nogil>__nvmlUnitGetPsuInfo)( 

4349 unit, psu) 

4350  

4351  

4352cdef nvmlReturn_t _nvmlUnitGetTemperature(nvmlUnit_t unit, unsigned int type, unsigned int* temp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4353 global __nvmlUnitGetTemperature 

4354 _check_or_init_nvml() 

4355 if __nvmlUnitGetTemperature == NULL: 

4356 with gil: 1T

4357 raise FunctionNotFoundError("function nvmlUnitGetTemperature is not found") 1T

4358 return (<nvmlReturn_t (*)(nvmlUnit_t, unsigned int, unsigned int*) noexcept nogil>__nvmlUnitGetTemperature)( 

4359 unit, type, temp) 

4360  

4361  

4362cdef nvmlReturn_t _nvmlUnitGetFanSpeedInfo(nvmlUnit_t unit, nvmlUnitFanSpeeds_t* fanSpeeds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4363 global __nvmlUnitGetFanSpeedInfo 

4364 _check_or_init_nvml() 

4365 if __nvmlUnitGetFanSpeedInfo == NULL: 

4366 with gil: 

4367 raise FunctionNotFoundError("function nvmlUnitGetFanSpeedInfo is not found") 

4368 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlUnitFanSpeeds_t*) noexcept nogil>__nvmlUnitGetFanSpeedInfo)( 

4369 unit, fanSpeeds) 

4370  

4371  

4372cdef nvmlReturn_t _nvmlUnitGetDevices(nvmlUnit_t unit, unsigned int* deviceCount, nvmlDevice_t* devices) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4373 global __nvmlUnitGetDevices 

4374 _check_or_init_nvml() 

4375 if __nvmlUnitGetDevices == NULL: 

4376 with gil: 

4377 raise FunctionNotFoundError("function nvmlUnitGetDevices is not found") 

4378 return (<nvmlReturn_t (*)(nvmlUnit_t, unsigned int*, nvmlDevice_t*) noexcept nogil>__nvmlUnitGetDevices)( 

4379 unit, deviceCount, devices) 

4380  

4381  

4382cdef nvmlReturn_t _nvmlDeviceGetCount_v2(unsigned int* deviceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4383 global __nvmlDeviceGetCount_v2 

4384 _check_or_init_nvml() 2a Rbj 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = m ? @ [ Mb] ^ _ ` { s SbTbBbL UbVb| } ~ abbbcbdbebfbgbhbn tbf g o b pbZ H ibCcybE qbt rbX k c WbXbWcXcjb0 u h i zbl M v d q Ycw sbPbQ

4385 if __nvmlDeviceGetCount_v2 == NULL: 2a Rbj 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = m ? @ [ Mb] ^ _ ` { s SbTbBbL UbVb| } ~ abbbcbdbebfbgbhbn tbf g o b pbZ H ibCcybE qbt rbX k c WbXbWcXcjb0 u h i zbl M v d q Ycw sbPbQ

4386 with gil: 2vbDbx y EbubR z A B F C nbFbS I N G J K m O }bD r P ObIbJbKbn f g o b p U pbH E e t V k c u h i l v d q w

4387 raise FunctionNotFoundError("function nvmlDeviceGetCount_v2 is not found") 2vbDbx y EbubR z A B F C nbFbS I N G J K m O }bD r P ObIbJbKbn f g o b p U pbH E e t V k c u h i l v d q w

4388 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlDeviceGetCount_v2)( 2a Rbj 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = m ? @ [ Mb] ^ _ ` { s SbTbBbL UbVb| } ~ abbbcbdbebfbgbhbn tbf g o b pbZ H ibCcybE qbt rbX k c WbXbWcXcjb0 u h i zbl M v d q Ycw sbPbQ

4389 deviceCount) 

4390  

4391  

4392cdef nvmlReturn_t _nvmlDeviceGetAttributes_v2(nvmlDevice_t device, nvmlDeviceAttributes_t* attributes) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4393 global __nvmlDeviceGetAttributes_v2 

4394 _check_or_init_nvml() 1aZ

4395 if __nvmlDeviceGetAttributes_v2 == NULL: 1Z

4396 with gil: 

4397 raise FunctionNotFoundError("function nvmlDeviceGetAttributes_v2 is not found") 

4398 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceAttributes_t*) noexcept nogil>__nvmlDeviceGetAttributes_v2)( 1Z

4399 device, attributes) 

4400  

4401  

4402cdef nvmlReturn_t _nvmlDeviceGetHandleByIndex_v2(unsigned int index, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4403 global __nvmlDeviceGetHandleByIndex_v2 

4404 _check_or_init_nvml() 2a Rbj 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = m ? @ [ ] ^ _ ` { s SbTbP L UbVb| } ~ abbbcbdbebfbgbhbn tbf g o b pb5bZ H ibybE qbt rbX k c WbXbjb0 u h i zbl M v 6b7bd q w sbQ

4405 if __nvmlDeviceGetHandleByIndex_v2 == NULL: 2a Rbj 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = m ? @ [ ] ^ _ ` { s SbTbP L UbVb| } ~ abbbcbdbebfbgbhbn tbf g o b pb5bZ H ibybE qbt rbX k c WbXbjb0 u h i zbl M v 6b7bd q w sbQ

4406 with gil: 

4407 raise FunctionNotFoundError("function nvmlDeviceGetHandleByIndex_v2 is not found") 

4408 return (<nvmlReturn_t (*)(unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByIndex_v2)( 2a Rbj 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = m ? @ [ ] ^ _ ` { s SbTbP L UbVb| } ~ abbbcbdbebfbgbhbn tbf g o b pb5bZ H ibybE qbt rbX k c WbXbjb0 u h i zbl M v 6b7bd q w sbQ

4409 index, device) 

4410  

4411  

4412cdef nvmlReturn_t _nvmlDeviceGetHandleBySerial(const char* serial, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4413 global __nvmlDeviceGetHandleBySerial 

4414 _check_or_init_nvml() 

4415 if __nvmlDeviceGetHandleBySerial == NULL: 

4416 with gil: 

4417 raise FunctionNotFoundError("function nvmlDeviceGetHandleBySerial is not found") 

4418 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleBySerial)( 

4419 serial, device) 

4420  

4421  

4422cdef nvmlReturn_t _nvmlDeviceGetHandleByUUID(const char* uuid, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4423 global __nvmlDeviceGetHandleByUUID 

4424 _check_or_init_nvml() 2a Hbp U LbW e V Y wb

4425 if __nvmlDeviceGetHandleByUUID == NULL: 2a Hbp U LbW e V Y wb

4426 with gil: 1O

4427 raise FunctionNotFoundError("function nvmlDeviceGetHandleByUUID is not found") 1O

4428 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUID)( 2a Hbp U LbW e V Y wb

4429 uuid, device) 

4430  

4431  

4432cdef nvmlReturn_t _nvmlDeviceGetHandleByUUIDV(const nvmlUUID_t* uuid, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4433 global __nvmlDeviceGetHandleByUUIDV 

4434 _check_or_init_nvml() 1aF

4435 if __nvmlDeviceGetHandleByUUIDV == NULL: 1F

4436 with gil: 

4437 raise FunctionNotFoundError("function nvmlDeviceGetHandleByUUIDV is not found") 

4438 return (<nvmlReturn_t (*)(const nvmlUUID_t*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUIDV)( 1F

4439 uuid, device) 

4440  

4441  

4442cdef nvmlReturn_t _nvmlDeviceGetHandleByPciBusId_v2(const char* pciBusId, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4443 global __nvmlDeviceGetHandleByPciBusId_v2 

4444 _check_or_init_nvml() 1aPWY

4445 if __nvmlDeviceGetHandleByPciBusId_v2 == NULL: 1PWY

4446 with gil: 

4447 raise FunctionNotFoundError("function nvmlDeviceGetHandleByPciBusId_v2 is not found") 

4448 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByPciBusId_v2)( 1PWY

4449 pciBusId, device) 

4450  

4451  

4452cdef nvmlReturn_t _nvmlDeviceGetName(nvmlDevice_t device, char* name, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4453 global __nvmlDeviceGetName 

4454 _check_or_init_nvml() 2a j x y z A B F C G D Hbf g b Z qbh i d

4455 if __nvmlDeviceGetName == NULL: 2j x y z A B F C G D Hbf g b Z qbh i d

4456 with gil: 

4457 raise FunctionNotFoundError("function nvmlDeviceGetName is not found") 

4458 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetName)( 2j x y z A B F C G D Hbf g b Z qbh i d

4459 device, name, length) 

4460  

4461  

4462cdef nvmlReturn_t _nvmlDeviceGetBrand(nvmlDevice_t device, nvmlBrandType_t* type) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4463 global __nvmlDeviceGetBrand 

4464 _check_or_init_nvml() 2a ib

4465 if __nvmlDeviceGetBrand == NULL: 2ib

4466 with gil: 

4467 raise FunctionNotFoundError("function nvmlDeviceGetBrand is not found") 

4468 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBrandType_t*) noexcept nogil>__nvmlDeviceGetBrand)( 2ib

4469 device, type) 

4470  

4471  

4472cdef nvmlReturn_t _nvmlDeviceGetIndex(nvmlDevice_t device, unsigned int* index) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4473 global __nvmlDeviceGetIndex 

4474 _check_or_init_nvml() 2a xbvbx y kbubR z A lbmbB F C nbobS I N G J K O [ D r n tbf g o b p U Z H ybE W e t V k Nbc jb0 u h i zbl v d q w Y

4475 if __nvmlDeviceGetIndex == NULL: 2xbvbx y kbubR z A lbmbB F C nbobS I N G J K O [ D r n tbf g o b p U Z H ybE W e t V k Nbc jb0 u h i zbl v d q w Y

4476 with gil: 

4477 raise FunctionNotFoundError("function nvmlDeviceGetIndex is not found") 

4478 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIndex)( 2xbvbx y kbubR z A lbmbB F C nbobS I N G J K O [ D r n tbf g o b p U Z H ybE W e t V k Nbc jb0 u h i zbl v d q w Y

4479 device, index) 

4480  

4481  

4482cdef nvmlReturn_t _nvmlDeviceGetSerial(nvmlDevice_t device, char* serial, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4483 global __nvmlDeviceGetSerial 

4484 _check_or_init_nvml() 1at

4485 if __nvmlDeviceGetSerial == NULL: 1t

4486 with gil: 

4487 raise FunctionNotFoundError("function nvmlDeviceGetSerial is not found") 

4488 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetSerial)( 1t

4489 device, serial, length) 

4490  

4491  

4492cdef nvmlReturn_t _nvmlDeviceGetModuleId(nvmlDevice_t device, unsigned int* moduleId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4493 global __nvmlDeviceGetModuleId 

4494 _check_or_init_nvml() 1amu

4495 if __nvmlDeviceGetModuleId == NULL: 1mu

4496 with gil: 

4497 raise FunctionNotFoundError("function nvmlDeviceGetModuleId is not found") 

4498 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetModuleId)( 1mu

4499 device, moduleId) 

4500  

4501  

4502cdef nvmlReturn_t _nvmlDeviceGetC2cModeInfoV(nvmlDevice_t device, nvmlC2cModeInfo_v1_t* c2cModeInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4503 global __nvmlDeviceGetC2cModeInfoV 

4504 _check_or_init_nvml() 1ag

4505 if __nvmlDeviceGetC2cModeInfoV == NULL: 1g

4506 with gil: 

4507 raise FunctionNotFoundError("function nvmlDeviceGetC2cModeInfoV is not found") 

4508 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlC2cModeInfo_v1_t*) noexcept nogil>__nvmlDeviceGetC2cModeInfoV)( 1g

4509 device, c2cModeInfo) 

4510  

4511  

4512cdef nvmlReturn_t _nvmlDeviceGetMemoryAffinity(nvmlDevice_t device, unsigned int nodeSetSize, unsigned long* nodeSet, nvmlAffinityScope_t scope) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4513 global __nvmlDeviceGetMemoryAffinity 

4514 _check_or_init_nvml() 2a PcQctb

4515 if __nvmlDeviceGetMemoryAffinity == NULL: 2PcQctb

4516 with gil: 

4517 raise FunctionNotFoundError("function nvmlDeviceGetMemoryAffinity is not found") 

4518 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*, nvmlAffinityScope_t) noexcept nogil>__nvmlDeviceGetMemoryAffinity)( 2PcQctb

4519 device, nodeSetSize, nodeSet, scope) 

4520  

4521  

4522cdef nvmlReturn_t _nvmlDeviceGetCpuAffinityWithinScope(nvmlDevice_t device, unsigned int cpuSetSize, unsigned long* cpuSet, nvmlAffinityScope_t scope) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4523 global __nvmlDeviceGetCpuAffinityWithinScope 

4524 _check_or_init_nvml() 2a NcOctbybNb

4525 if __nvmlDeviceGetCpuAffinityWithinScope == NULL: 2NcOctbybNb

4526 with gil: 

4527 raise FunctionNotFoundError("function nvmlDeviceGetCpuAffinityWithinScope is not found") 

4528 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*, nvmlAffinityScope_t) noexcept nogil>__nvmlDeviceGetCpuAffinityWithinScope)( 2NcOctbybNb

4529 device, cpuSetSize, cpuSet, scope) 

4530  

4531  

4532cdef nvmlReturn_t _nvmlDeviceGetCpuAffinity(nvmlDevice_t device, unsigned int cpuSetSize, unsigned long* cpuSet) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4533 global __nvmlDeviceGetCpuAffinity 

4534 _check_or_init_nvml() 

4535 if __nvmlDeviceGetCpuAffinity == NULL: 

4536 with gil: 

4537 raise FunctionNotFoundError("function nvmlDeviceGetCpuAffinity is not found") 

4538 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*) noexcept nogil>__nvmlDeviceGetCpuAffinity)( 

4539 device, cpuSetSize, cpuSet) 

4540  

4541  

4542cdef nvmlReturn_t _nvmlDeviceSetCpuAffinity(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4543 global __nvmlDeviceSetCpuAffinity 

4544 _check_or_init_nvml() 

4545 if __nvmlDeviceSetCpuAffinity == NULL: 

4546 with gil: 

4547 raise FunctionNotFoundError("function nvmlDeviceSetCpuAffinity is not found") 

4548 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceSetCpuAffinity)( 

4549 device) 

4550  

4551  

4552cdef nvmlReturn_t _nvmlDeviceClearCpuAffinity(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4553 global __nvmlDeviceClearCpuAffinity 

4554 _check_or_init_nvml() 

4555 if __nvmlDeviceClearCpuAffinity == NULL: 

4556 with gil: 

4557 raise FunctionNotFoundError("function nvmlDeviceClearCpuAffinity is not found") 

4558 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceClearCpuAffinity)( 

4559 device) 

4560  

4561  

4562cdef nvmlReturn_t _nvmlDeviceGetNumaNodeId(nvmlDevice_t device, unsigned int* node) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4563 global __nvmlDeviceGetNumaNodeId 

4564 _check_or_init_nvml() 1ah

4565 if __nvmlDeviceGetNumaNodeId == NULL: 1h

4566 with gil: 

4567 raise FunctionNotFoundError("function nvmlDeviceGetNumaNodeId is not found") 

4568 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumaNodeId)( 1h

4569 device, node) 

4570  

4571  

4572cdef nvmlReturn_t _nvmlDeviceGetTopologyCommonAncestor(nvmlDevice_t device1, nvmlDevice_t device2, nvmlGpuTopologyLevel_t* pathInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4573 global __nvmlDeviceGetTopologyCommonAncestor 

4574 _check_or_init_nvml() 

4575 if __nvmlDeviceGetTopologyCommonAncestor == NULL: 

4576 with gil: 

4577 raise FunctionNotFoundError("function nvmlDeviceGetTopologyCommonAncestor is not found") 

4578 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t, nvmlGpuTopologyLevel_t*) noexcept nogil>__nvmlDeviceGetTopologyCommonAncestor)( 

4579 device1, device2, pathInfo) 

4580  

4581  

4582cdef nvmlReturn_t _nvmlDeviceGetTopologyNearestGpus(nvmlDevice_t device, nvmlGpuTopologyLevel_t level, unsigned int* count, nvmlDevice_t* deviceArray) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4583 global __nvmlDeviceGetTopologyNearestGpus 

4584 _check_or_init_nvml() 2a Xb

4585 if __nvmlDeviceGetTopologyNearestGpus == NULL: 2Xb

4586 with gil: 

4587 raise FunctionNotFoundError("function nvmlDeviceGetTopologyNearestGpus is not found") 

4588 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuTopologyLevel_t, unsigned int*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetTopologyNearestGpus)( 2Xb

4589 device, level, count, deviceArray) 

4590  

4591  

4592cdef nvmlReturn_t _nvmlDeviceGetP2PStatus(nvmlDevice_t device1, nvmlDevice_t device2, nvmlGpuP2PCapsIndex_t p2pIndex, nvmlGpuP2PStatus_t* p2pStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4593 global __nvmlDeviceGetP2PStatus 

4594 _check_or_init_nvml() 

4595 if __nvmlDeviceGetP2PStatus == NULL: 

4596 with gil: 

4597 raise FunctionNotFoundError("function nvmlDeviceGetP2PStatus is not found") 

4598 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t, nvmlGpuP2PCapsIndex_t, nvmlGpuP2PStatus_t*) noexcept nogil>__nvmlDeviceGetP2PStatus)( 

4599 device1, device2, p2pIndex, p2pStatus) 

4600  

4601  

4602cdef nvmlReturn_t _nvmlDeviceGetUUID(nvmlDevice_t device, char* uuid, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4603 global __nvmlDeviceGetUUID 

4604 _check_or_init_nvml() 2a F m L rbq sbwb

4605 if __nvmlDeviceGetUUID == NULL: 2a F m L rbq sbwb

4606 with gil: 

4607 raise FunctionNotFoundError("function nvmlDeviceGetUUID is not found") 

4608 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetUUID)( 2a F m L rbq sbwb

4609 device, uuid, length) 

4610  

4611  

4612cdef nvmlReturn_t _nvmlDeviceGetMinorNumber(nvmlDevice_t device, unsigned int* minorNumber) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4613 global __nvmlDeviceGetMinorNumber 

4614 _check_or_init_nvml() 2a Wb

4615 if __nvmlDeviceGetMinorNumber == NULL: 2Wb

4616 with gil: 

4617 raise FunctionNotFoundError("function nvmlDeviceGetMinorNumber is not found") 

4618 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMinorNumber)( 2Wb

4619 device, minorNumber) 

4620  

4621  

4622cdef nvmlReturn_t _nvmlDeviceGetBoardPartNumber(nvmlDevice_t device, char* partNumber, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4623 global __nvmlDeviceGetBoardPartNumber 

4624 _check_or_init_nvml() 1ac

4625 if __nvmlDeviceGetBoardPartNumber == NULL: 1c

4626 with gil: 

4627 raise FunctionNotFoundError("function nvmlDeviceGetBoardPartNumber is not found") 

4628 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetBoardPartNumber)( 1c

4629 device, partNumber, length) 

4630  

4631  

4632cdef nvmlReturn_t _nvmlDeviceGetInforomVersion(nvmlDevice_t device, nvmlInforomObject_t object, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4633 global __nvmlDeviceGetInforomVersion 

4634 _check_or_init_nvml() 1ac

4635 if __nvmlDeviceGetInforomVersion == NULL: 1c

4636 with gil: 1N

4637 raise FunctionNotFoundError("function nvmlDeviceGetInforomVersion is not found") 1N

4638 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlInforomObject_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetInforomVersion)( 1c

4639 device, object, version, length) 

4640  

4641  

4642cdef nvmlReturn_t _nvmlDeviceGetInforomImageVersion(nvmlDevice_t device, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4643 global __nvmlDeviceGetInforomImageVersion 

4644 _check_or_init_nvml() 1ac

4645 if __nvmlDeviceGetInforomImageVersion == NULL: 1c

4646 with gil: 1i

4647 raise FunctionNotFoundError("function nvmlDeviceGetInforomImageVersion is not found") 1i

4648 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetInforomImageVersion)( 1c

4649 device, version, length) 

4650  

4651  

4652cdef nvmlReturn_t _nvmlDeviceGetInforomConfigurationChecksum(nvmlDevice_t device, unsigned int* checksum) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4653 global __nvmlDeviceGetInforomConfigurationChecksum 

4654 _check_or_init_nvml() 1ac

4655 if __nvmlDeviceGetInforomConfigurationChecksum == NULL: 1c

4656 with gil: 

4657 raise FunctionNotFoundError("function nvmlDeviceGetInforomConfigurationChecksum is not found") 

4658 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetInforomConfigurationChecksum)( 1c

4659 device, checksum) 

4660  

4661  

4662cdef nvmlReturn_t _nvmlDeviceValidateInforom(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4663 global __nvmlDeviceValidateInforom 

4664 _check_or_init_nvml() 1ac

4665 if __nvmlDeviceValidateInforom == NULL: 1c

4666 with gil: 

4667 raise FunctionNotFoundError("function nvmlDeviceValidateInforom is not found") 

4668 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceValidateInforom)( 1c

4669 device) 

4670  

4671  

4672cdef nvmlReturn_t _nvmlDeviceGetLastBBXFlushTime(nvmlDevice_t device, unsigned long long* timestamp, unsigned long* durationUs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4673 global __nvmlDeviceGetLastBBXFlushTime 

4674 _check_or_init_nvml() 1ac

4675 if __nvmlDeviceGetLastBBXFlushTime == NULL: 1c

4676 with gil: 

4677 raise FunctionNotFoundError("function nvmlDeviceGetLastBBXFlushTime is not found") 

4678 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*, unsigned long*) noexcept nogil>__nvmlDeviceGetLastBBXFlushTime)( 1c

4679 device, timestamp, durationUs) 

4680  

4681  

4682cdef nvmlReturn_t _nvmlDeviceGetDisplayMode(nvmlDevice_t device, nvmlEnableState_t* display) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4683 global __nvmlDeviceGetDisplayMode 

4684 _check_or_init_nvml() 1aX

4685 if __nvmlDeviceGetDisplayMode == NULL: 1X

4686 with gil: 

4687 raise FunctionNotFoundError("function nvmlDeviceGetDisplayMode is not found") 

4688 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetDisplayMode)( 1X

4689 device, display) 

4690  

4691  

4692cdef nvmlReturn_t _nvmlDeviceGetDisplayActive(nvmlDevice_t device, nvmlEnableState_t* isActive) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4693 global __nvmlDeviceGetDisplayActive 

4694 _check_or_init_nvml() 1aX

4695 if __nvmlDeviceGetDisplayActive == NULL: 1X

4696 with gil: 

4697 raise FunctionNotFoundError("function nvmlDeviceGetDisplayActive is not found") 

4698 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetDisplayActive)( 1X

4699 device, isActive) 

4700  

4701  

4702cdef nvmlReturn_t _nvmlDeviceGetPersistenceMode(nvmlDevice_t device, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4703 global __nvmlDeviceGetPersistenceMode 

4704 _check_or_init_nvml() 2a zb

4705 if __nvmlDeviceGetPersistenceMode == NULL: 2zb

4706 with gil: 

4707 raise FunctionNotFoundError("function nvmlDeviceGetPersistenceMode is not found") 

4708 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetPersistenceMode)( 2zb

4709 device, mode) 

4710  

4711  

4712cdef nvmlReturn_t _nvmlDeviceGetPciInfoExt(nvmlDevice_t device, nvmlPciInfoExt_t* pci) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4713 global __nvmlDeviceGetPciInfoExt 

4714 _check_or_init_nvml() 2a W e q Y wb

4715 if __nvmlDeviceGetPciInfoExt == NULL: 2W e q Y wb

4716 with gil: 

4717 raise FunctionNotFoundError("function nvmlDeviceGetPciInfoExt is not found") 

4718 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfoExt_t*) noexcept nogil>__nvmlDeviceGetPciInfoExt)( 2W e q Y wb

4719 device, pci) 

4720  

4721  

4722cdef nvmlReturn_t _nvmlDeviceGetPciInfo_v3(nvmlDevice_t device, nvmlPciInfo_t* pci) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4723 global __nvmlDeviceGetPciInfo_v3 

4724 _check_or_init_nvml() 1ajrP

4725 if __nvmlDeviceGetPciInfo_v3 == NULL: 1jrP

4726 with gil: 

4727 raise FunctionNotFoundError("function nvmlDeviceGetPciInfo_v3 is not found") 

4728 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetPciInfo_v3)( 1jrP

4729 device, pci) 

4730  

4731  

4732cdef nvmlReturn_t _nvmlDeviceGetMaxPcieLinkGeneration(nvmlDevice_t device, unsigned int* maxLinkGen) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4733 global __nvmlDeviceGetMaxPcieLinkGeneration 

4734 _check_or_init_nvml() 1ae

4735 if __nvmlDeviceGetMaxPcieLinkGeneration == NULL: 1e

4736 with gil: 

4737 raise FunctionNotFoundError("function nvmlDeviceGetMaxPcieLinkGeneration is not found") 

4738 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxPcieLinkGeneration)( 1e

4739 device, maxLinkGen) 

4740  

4741  

4742cdef nvmlReturn_t _nvmlDeviceGetGpuMaxPcieLinkGeneration(nvmlDevice_t device, unsigned int* maxLinkGenDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4743 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

4744 _check_or_init_nvml() 1ae

4745 if __nvmlDeviceGetGpuMaxPcieLinkGeneration == NULL: 1e

4746 with gil: 1C

4747 raise FunctionNotFoundError("function nvmlDeviceGetGpuMaxPcieLinkGeneration is not found") 1C

4748 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuMaxPcieLinkGeneration)( 1e

4749 device, maxLinkGenDevice) 

4750  

4751  

4752cdef nvmlReturn_t _nvmlDeviceGetMaxPcieLinkWidth(nvmlDevice_t device, unsigned int* maxLinkWidth) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4753 global __nvmlDeviceGetMaxPcieLinkWidth 

4754 _check_or_init_nvml() 1ae

4755 if __nvmlDeviceGetMaxPcieLinkWidth == NULL: 1e

4756 with gil: 

4757 raise FunctionNotFoundError("function nvmlDeviceGetMaxPcieLinkWidth is not found") 

4758 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxPcieLinkWidth)( 1e

4759 device, maxLinkWidth) 

4760  

4761  

4762cdef nvmlReturn_t _nvmlDeviceGetCurrPcieLinkGeneration(nvmlDevice_t device, unsigned int* currLinkGen) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4763 global __nvmlDeviceGetCurrPcieLinkGeneration 

4764 _check_or_init_nvml() 1ae

4765 if __nvmlDeviceGetCurrPcieLinkGeneration == NULL: 1e

4766 with gil: 

4767 raise FunctionNotFoundError("function nvmlDeviceGetCurrPcieLinkGeneration is not found") 

4768 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetCurrPcieLinkGeneration)( 1e

4769 device, currLinkGen) 

4770  

4771  

4772cdef nvmlReturn_t _nvmlDeviceGetCurrPcieLinkWidth(nvmlDevice_t device, unsigned int* currLinkWidth) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4773 global __nvmlDeviceGetCurrPcieLinkWidth 

4774 _check_or_init_nvml() 1ae

4775 if __nvmlDeviceGetCurrPcieLinkWidth == NULL: 1e

4776 with gil: 

4777 raise FunctionNotFoundError("function nvmlDeviceGetCurrPcieLinkWidth is not found") 

4778 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetCurrPcieLinkWidth)( 1e

4779 device, currLinkWidth) 

4780  

4781  

4782cdef nvmlReturn_t _nvmlDeviceGetPcieThroughput(nvmlDevice_t device, nvmlPcieUtilCounter_t counter, unsigned int* value) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4783 global __nvmlDeviceGetPcieThroughput 

4784 _check_or_init_nvml() 2a Ibe

4785 if __nvmlDeviceGetPcieThroughput == NULL: 2Ibe

4786 with gil: 

4787 raise FunctionNotFoundError("function nvmlDeviceGetPcieThroughput is not found") 

4788 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPcieUtilCounter_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieThroughput)( 2Ibe

4789 device, counter, value) 

4790  

4791  

4792cdef nvmlReturn_t _nvmlDeviceGetPcieReplayCounter(nvmlDevice_t device, unsigned int* value) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4793 global __nvmlDeviceGetPcieReplayCounter 

4794 _check_or_init_nvml() 1ae

4795 if __nvmlDeviceGetPcieReplayCounter == NULL: 1e

4796 with gil: 

4797 raise FunctionNotFoundError("function nvmlDeviceGetPcieReplayCounter is not found") 

4798 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieReplayCounter)( 1e

4799 device, value) 

4800  

4801  

4802cdef nvmlReturn_t _nvmlDeviceGetClockInfo(nvmlDevice_t device, nvmlClockType_t type, unsigned int* clock) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4803 global __nvmlDeviceGetClockInfo 

4804 _check_or_init_nvml() 

4805 if __nvmlDeviceGetClockInfo == NULL: 

4806 with gil: 

4807 raise FunctionNotFoundError("function nvmlDeviceGetClockInfo is not found") 

4808 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockType_t, unsigned int*) noexcept nogil>__nvmlDeviceGetClockInfo)( 

4809 device, type, clock) 

4810  

4811  

4812cdef nvmlReturn_t _nvmlDeviceGetMaxClockInfo(nvmlDevice_t device, nvmlClockType_t type, unsigned int* clock) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4813 global __nvmlDeviceGetMaxClockInfo 

4814 _check_or_init_nvml() 1ab

4815 if __nvmlDeviceGetMaxClockInfo == NULL: 1b

4816 with gil: 

4817 raise FunctionNotFoundError("function nvmlDeviceGetMaxClockInfo is not found") 

4818 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockType_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxClockInfo)( 1b

4819 device, type, clock) 

4820  

4821  

4822cdef nvmlReturn_t _nvmlDeviceGetGpcClkVfOffset(nvmlDevice_t device, int* offset) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4823 global __nvmlDeviceGetGpcClkVfOffset 

4824 _check_or_init_nvml() 

4825 if __nvmlDeviceGetGpcClkVfOffset == NULL: 

4826 with gil: 

4827 raise FunctionNotFoundError("function nvmlDeviceGetGpcClkVfOffset is not found") 

4828 return (<nvmlReturn_t (*)(nvmlDevice_t, int*) noexcept nogil>__nvmlDeviceGetGpcClkVfOffset)( 

4829 device, offset) 

4830  

4831  

4832cdef nvmlReturn_t _nvmlDeviceGetClock(nvmlDevice_t device, nvmlClockType_t clockType, nvmlClockId_t clockId, unsigned int* clockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4833 global __nvmlDeviceGetClock 

4834 _check_or_init_nvml() 1ab

4835 if __nvmlDeviceGetClock == NULL: 1b

4836 with gil: 

4837 raise FunctionNotFoundError("function nvmlDeviceGetClock is not found") 

4838 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockType_t, nvmlClockId_t, unsigned int*) noexcept nogil>__nvmlDeviceGetClock)( 1b

4839 device, clockType, clockId, clockMHz) 

4840  

4841  

4842cdef nvmlReturn_t _nvmlDeviceGetMaxCustomerBoostClock(nvmlDevice_t device, nvmlClockType_t clockType, unsigned int* clockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4843 global __nvmlDeviceGetMaxCustomerBoostClock 

4844 _check_or_init_nvml() 1ab

4845 if __nvmlDeviceGetMaxCustomerBoostClock == NULL: 1b

4846 with gil: 

4847 raise FunctionNotFoundError("function nvmlDeviceGetMaxCustomerBoostClock is not found") 

4848 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockType_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxCustomerBoostClock)( 1b

4849 device, clockType, clockMHz) 

4850  

4851  

4852cdef nvmlReturn_t _nvmlDeviceGetSupportedMemoryClocks(nvmlDevice_t device, unsigned int* count, unsigned int* clocksMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4853 global __nvmlDeviceGetSupportedMemoryClocks 

4854 _check_or_init_nvml() 

4855 if __nvmlDeviceGetSupportedMemoryClocks == NULL: 

4856 with gil: 

4857 raise FunctionNotFoundError("function nvmlDeviceGetSupportedMemoryClocks is not found") 

4858 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetSupportedMemoryClocks)( 

4859 device, count, clocksMHz) 

4860  

4861  

4862cdef nvmlReturn_t _nvmlDeviceGetSupportedGraphicsClocks(nvmlDevice_t device, unsigned int memoryClockMHz, unsigned int* count, unsigned int* clocksMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4863 global __nvmlDeviceGetSupportedGraphicsClocks 

4864 _check_or_init_nvml() 

4865 if __nvmlDeviceGetSupportedGraphicsClocks == NULL: 

4866 with gil: 

4867 raise FunctionNotFoundError("function nvmlDeviceGetSupportedGraphicsClocks is not found") 

4868 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetSupportedGraphicsClocks)( 

4869 device, memoryClockMHz, count, clocksMHz) 

4870  

4871  

4872cdef nvmlReturn_t _nvmlDeviceGetAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t* isEnabled, nvmlEnableState_t* defaultIsEnabled) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4873 global __nvmlDeviceGetAutoBoostedClocksEnabled 

4874 _check_or_init_nvml() 1af

4875 if __nvmlDeviceGetAutoBoostedClocksEnabled == NULL: 1f

4876 with gil: 

4877 raise FunctionNotFoundError("function nvmlDeviceGetAutoBoostedClocksEnabled is not found") 

4878 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAutoBoostedClocksEnabled)( 1f

4879 device, isEnabled, defaultIsEnabled) 

4880  

4881  

4882cdef nvmlReturn_t _nvmlDeviceGetFanSpeed(nvmlDevice_t device, unsigned int* speed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4883 global __nvmlDeviceGetFanSpeed 

4884 _check_or_init_nvml() 

4885 if __nvmlDeviceGetFanSpeed == NULL: 

4886 with gil: 

4887 raise FunctionNotFoundError("function nvmlDeviceGetFanSpeed is not found") 

4888 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetFanSpeed)( 

4889 device, speed) 

4890  

4891  

4892cdef nvmlReturn_t _nvmlDeviceGetFanSpeed_v2(nvmlDevice_t device, unsigned int fan, unsigned int* speed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4893 global __nvmlDeviceGetFanSpeed_v2 

4894 _check_or_init_nvml() 

4895 if __nvmlDeviceGetFanSpeed_v2 == NULL: 

4896 with gil: 1r

4897 raise FunctionNotFoundError("function nvmlDeviceGetFanSpeed_v2 is not found") 1r

4898 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetFanSpeed_v2)( 

4899 device, fan, speed) 

4900  

4901  

4902cdef nvmlReturn_t _nvmlDeviceGetFanSpeedRPM(nvmlDevice_t device, nvmlFanSpeedInfo_t* fanSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4903 global __nvmlDeviceGetFanSpeedRPM 

4904 _check_or_init_nvml() 

4905 if __nvmlDeviceGetFanSpeedRPM == NULL: 

4906 with gil: 2bck i

4907 raise FunctionNotFoundError("function nvmlDeviceGetFanSpeedRPM is not found") 2bck i

4908 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlFanSpeedInfo_t*) noexcept nogil>__nvmlDeviceGetFanSpeedRPM)( 

4909 device, fanSpeed) 

4910  

4911  

4912cdef nvmlReturn_t _nvmlDeviceGetTargetFanSpeed(nvmlDevice_t device, unsigned int fan, unsigned int* targetSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4913 global __nvmlDeviceGetTargetFanSpeed 

4914 _check_or_init_nvml() 

4915 if __nvmlDeviceGetTargetFanSpeed == NULL: 

4916 with gil: 1k

4917 raise FunctionNotFoundError("function nvmlDeviceGetTargetFanSpeed is not found") 1k

4918 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetTargetFanSpeed)( 

4919 device, fan, targetSpeed) 

4920  

4921  

4922cdef nvmlReturn_t _nvmlDeviceGetMinMaxFanSpeed(nvmlDevice_t device, unsigned int* minSpeed, unsigned int* maxSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4923 global __nvmlDeviceGetMinMaxFanSpeed 

4924 _check_or_init_nvml() 

4925 if __nvmlDeviceGetMinMaxFanSpeed == NULL: 

4926 with gil: 2kbobm O

4927 raise FunctionNotFoundError("function nvmlDeviceGetMinMaxFanSpeed is not found") 2kbobm O

4928 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetMinMaxFanSpeed)( 

4929 device, minSpeed, maxSpeed) 

4930  

4931  

4932cdef nvmlReturn_t _nvmlDeviceGetFanControlPolicy_v2(nvmlDevice_t device, unsigned int fan, nvmlFanControlPolicy_t* policy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4933 global __nvmlDeviceGetFanControlPolicy_v2 

4934 _check_or_init_nvml() 

4935 if __nvmlDeviceGetFanControlPolicy_v2 == NULL: 

4936 with gil: 

4937 raise FunctionNotFoundError("function nvmlDeviceGetFanControlPolicy_v2 is not found") 

4938 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlFanControlPolicy_t*) noexcept nogil>__nvmlDeviceGetFanControlPolicy_v2)( 

4939 device, fan, policy) 

4940  

4941  

4942cdef nvmlReturn_t _nvmlDeviceGetNumFans(nvmlDevice_t device, unsigned int* numFans) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4943 global __nvmlDeviceGetNumFans 

4944 _check_or_init_nvml() 1aUV

4945 if __nvmlDeviceGetNumFans == NULL: 1UV

4946 with gil: 

4947 raise FunctionNotFoundError("function nvmlDeviceGetNumFans is not found") 

4948 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumFans)( 1UV

4949 device, numFans) 

4950  

4951  

4952cdef nvmlReturn_t _nvmlDeviceGetCoolerInfo(nvmlDevice_t device, nvmlCoolerInfo_t* coolerInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4953 global __nvmlDeviceGetCoolerInfo 

4954 _check_or_init_nvml() 

4955 if __nvmlDeviceGetCoolerInfo == NULL: 

4956 with gil: 1B

4957 raise FunctionNotFoundError("function nvmlDeviceGetCoolerInfo is not found") 1B

4958 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlCoolerInfo_t*) noexcept nogil>__nvmlDeviceGetCoolerInfo)( 

4959 device, coolerInfo) 

4960  

4961  

4962cdef nvmlReturn_t _nvmlDeviceGetTemperatureV(nvmlDevice_t device, nvmlTemperature_t* temperature) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4963 global __nvmlDeviceGetTemperatureV 

4964 _check_or_init_nvml() 1ad

4965 if __nvmlDeviceGetTemperatureV == NULL: 1d

4966 with gil: 

4967 raise FunctionNotFoundError("function nvmlDeviceGetTemperatureV is not found") 

4968 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperature_t*) noexcept nogil>__nvmlDeviceGetTemperatureV)( 1d

4969 device, temperature) 

4970  

4971  

4972cdef nvmlReturn_t _nvmlDeviceGetTemperatureThreshold(nvmlDevice_t device, nvmlTemperatureThresholds_t thresholdType, unsigned int* temp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4973 global __nvmlDeviceGetTemperatureThreshold 

4974 _check_or_init_nvml() 1aGd

4975 if __nvmlDeviceGetTemperatureThreshold == NULL: 1Gd

4976 with gil: 

4977 raise FunctionNotFoundError("function nvmlDeviceGetTemperatureThreshold is not found") 

4978 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperatureThresholds_t, unsigned int*) noexcept nogil>__nvmlDeviceGetTemperatureThreshold)( 1Gd

4979 device, thresholdType, temp) 

4980  

4981  

4982cdef nvmlReturn_t _nvmlDeviceGetMarginTemperature(nvmlDevice_t device, nvmlMarginTemperature_t* marginTempInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4983 global __nvmlDeviceGetMarginTemperature 

4984 _check_or_init_nvml() 1ad

4985 if __nvmlDeviceGetMarginTemperature == NULL: 1d

4986 with gil: 

4987 raise FunctionNotFoundError("function nvmlDeviceGetMarginTemperature is not found") 

4988 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMarginTemperature_t*) noexcept nogil>__nvmlDeviceGetMarginTemperature)( 1d

4989 device, marginTempInfo) 

4990  

4991  

4992cdef nvmlReturn_t _nvmlDeviceGetThermalSettings(nvmlDevice_t device, unsigned int sensorIndex, nvmlGpuThermalSettings_t* pThermalSettings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4993 global __nvmlDeviceGetThermalSettings 

4994 _check_or_init_nvml() 1ad

4995 if __nvmlDeviceGetThermalSettings == NULL: 1d

4996 with gil: 

4997 raise FunctionNotFoundError("function nvmlDeviceGetThermalSettings is not found") 

4998 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuThermalSettings_t*) noexcept nogil>__nvmlDeviceGetThermalSettings)( 1d

4999 device, sensorIndex, pThermalSettings) 

5000  

5001  

5002cdef nvmlReturn_t _nvmlDeviceGetPerformanceState(nvmlDevice_t device, nvmlPstates_t* pState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5003 global __nvmlDeviceGetPerformanceState 

5004 _check_or_init_nvml() 1abl

5005 if __nvmlDeviceGetPerformanceState == NULL: 1bl

5006 with gil: 

5007 raise FunctionNotFoundError("function nvmlDeviceGetPerformanceState is not found") 

5008 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t*) noexcept nogil>__nvmlDeviceGetPerformanceState)( 1bl

5009 device, pState) 

5010  

5011  

5012cdef nvmlReturn_t _nvmlDeviceGetCurrentClocksEventReasons(nvmlDevice_t device, unsigned long long* clocksEventReasons) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5013 global __nvmlDeviceGetCurrentClocksEventReasons 

5014 _check_or_init_nvml() 1ao

5015 if __nvmlDeviceGetCurrentClocksEventReasons == NULL: 1o

5016 with gil: 

5017 raise FunctionNotFoundError("function nvmlDeviceGetCurrentClocksEventReasons is not found") 

5018 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetCurrentClocksEventReasons)( 1o

5019 device, clocksEventReasons) 

5020  

5021  

5022cdef nvmlReturn_t _nvmlDeviceGetSupportedClocksEventReasons(nvmlDevice_t device, unsigned long long* supportedClocksEventReasons) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5023 global __nvmlDeviceGetSupportedClocksEventReasons 

5024 _check_or_init_nvml() 1ao

5025 if __nvmlDeviceGetSupportedClocksEventReasons == NULL: 1o

5026 with gil: 

5027 raise FunctionNotFoundError("function nvmlDeviceGetSupportedClocksEventReasons is not found") 

5028 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedClocksEventReasons)( 1o

5029 device, supportedClocksEventReasons) 

5030  

5031  

5032cdef nvmlReturn_t _nvmlDeviceGetPowerState(nvmlDevice_t device, nvmlPstates_t* pState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5033 global __nvmlDeviceGetPowerState 

5034 _check_or_init_nvml() 

5035 if __nvmlDeviceGetPowerState == NULL: 

5036 with gil: 

5037 raise FunctionNotFoundError("function nvmlDeviceGetPowerState is not found") 

5038 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t*) noexcept nogil>__nvmlDeviceGetPowerState)( 

5039 device, pState) 

5040  

5041  

5042cdef nvmlReturn_t _nvmlDeviceGetDynamicPstatesInfo(nvmlDevice_t device, nvmlGpuDynamicPstatesInfo_t* pDynamicPstatesInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5043 global __nvmlDeviceGetDynamicPstatesInfo 

5044 _check_or_init_nvml() 1al

5045 if __nvmlDeviceGetDynamicPstatesInfo == NULL: 1l

5046 with gil: 2Fb

5047 raise FunctionNotFoundError("function nvmlDeviceGetDynamicPstatesInfo is not found") 2Fb

5048 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuDynamicPstatesInfo_t*) noexcept nogil>__nvmlDeviceGetDynamicPstatesInfo)( 1l

5049 device, pDynamicPstatesInfo) 

5050  

5051  

5052cdef nvmlReturn_t _nvmlDeviceGetMemClkVfOffset(nvmlDevice_t device, int* offset) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5053 global __nvmlDeviceGetMemClkVfOffset 

5054 _check_or_init_nvml() 

5055 if __nvmlDeviceGetMemClkVfOffset == NULL: 

5056 with gil: 

5057 raise FunctionNotFoundError("function nvmlDeviceGetMemClkVfOffset is not found") 

5058 return (<nvmlReturn_t (*)(nvmlDevice_t, int*) noexcept nogil>__nvmlDeviceGetMemClkVfOffset)( 

5059 device, offset) 

5060  

5061  

5062cdef 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: 

5063 global __nvmlDeviceGetMinMaxClockOfPState 

5064 _check_or_init_nvml() 1ab

5065 if __nvmlDeviceGetMinMaxClockOfPState == NULL: 1b

5066 with gil: 

5067 raise FunctionNotFoundError("function nvmlDeviceGetMinMaxClockOfPState is not found") 

5068 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockType_t, nvmlPstates_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetMinMaxClockOfPState)( 1b

5069 device, type, pstate, minClockMHz, maxClockMHz) 

5070  

5071  

5072cdef nvmlReturn_t _nvmlDeviceGetSupportedPerformanceStates(nvmlDevice_t device, nvmlPstates_t* pstates, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5073 global __nvmlDeviceGetSupportedPerformanceStates 

5074 _check_or_init_nvml() 1al

5075 if __nvmlDeviceGetSupportedPerformanceStates == NULL: 1l

5076 with gil: 1z

5077 raise FunctionNotFoundError("function nvmlDeviceGetSupportedPerformanceStates is not found") 1z

5078 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t*, unsigned int) noexcept nogil>__nvmlDeviceGetSupportedPerformanceStates)( 1l

5079 device, pstates, size) 

5080  

5081  

5082cdef nvmlReturn_t _nvmlDeviceGetGpcClkMinMaxVfOffset(nvmlDevice_t device, int* minOffset, int* maxOffset) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5083 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

5084 _check_or_init_nvml() 

5085 if __nvmlDeviceGetGpcClkMinMaxVfOffset == NULL: 

5086 with gil: 1y

5087 raise FunctionNotFoundError("function nvmlDeviceGetGpcClkMinMaxVfOffset is not found") 1y

5088 return (<nvmlReturn_t (*)(nvmlDevice_t, int*, int*) noexcept nogil>__nvmlDeviceGetGpcClkMinMaxVfOffset)( 

5089 device, minOffset, maxOffset) 

5090  

5091  

5092cdef nvmlReturn_t _nvmlDeviceGetMemClkMinMaxVfOffset(nvmlDevice_t device, int* minOffset, int* maxOffset) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5093 global __nvmlDeviceGetMemClkMinMaxVfOffset 

5094 _check_or_init_nvml() 

5095 if __nvmlDeviceGetMemClkMinMaxVfOffset == NULL: 

5096 with gil: 

5097 raise FunctionNotFoundError("function nvmlDeviceGetMemClkMinMaxVfOffset is not found") 

5098 return (<nvmlReturn_t (*)(nvmlDevice_t, int*, int*) noexcept nogil>__nvmlDeviceGetMemClkMinMaxVfOffset)( 

5099 device, minOffset, maxOffset) 

5100  

5101  

5102cdef nvmlReturn_t _nvmlDeviceGetClockOffsets(nvmlDevice_t device, nvmlClockOffset_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5103 global __nvmlDeviceGetClockOffsets 

5104 _check_or_init_nvml() 1ab

5105 if __nvmlDeviceGetClockOffsets == NULL: 1b

5106 with gil: 

5107 raise FunctionNotFoundError("function nvmlDeviceGetClockOffsets is not found") 

5108 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockOffset_t*) noexcept nogil>__nvmlDeviceGetClockOffsets)( 1b

5109 device, info) 

5110  

5111  

5112cdef nvmlReturn_t _nvmlDeviceSetClockOffsets(nvmlDevice_t device, nvmlClockOffset_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5113 global __nvmlDeviceSetClockOffsets 

5114 _check_or_init_nvml() 

5115 if __nvmlDeviceSetClockOffsets == NULL: 

5116 with gil: 

5117 raise FunctionNotFoundError("function nvmlDeviceSetClockOffsets is not found") 

5118 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClockOffset_t*) noexcept nogil>__nvmlDeviceSetClockOffsets)( 

5119 device, info) 

5120  

5121  

5122cdef nvmlReturn_t _nvmlDeviceGetPerformanceModes(nvmlDevice_t device, nvmlDevicePerfModes_t* perfModes) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5123 global __nvmlDeviceGetPerformanceModes 

5124 _check_or_init_nvml() 2a ub

5125 if __nvmlDeviceGetPerformanceModes == NULL: 2ub

5126 with gil: 

5127 raise FunctionNotFoundError("function nvmlDeviceGetPerformanceModes is not found") 

5128 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePerfModes_t*) noexcept nogil>__nvmlDeviceGetPerformanceModes)( 2ub

5129 device, perfModes) 

5130  

5131  

5132cdef nvmlReturn_t _nvmlDeviceGetCurrentClockFreqs(nvmlDevice_t device, nvmlDeviceCurrentClockFreqs_t* currentClockFreqs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5133 global __nvmlDeviceGetCurrentClockFreqs 

5134 _check_or_init_nvml() 2a vb

5135 if __nvmlDeviceGetCurrentClockFreqs == NULL: 2vb

5136 with gil: 

5137 raise FunctionNotFoundError("function nvmlDeviceGetCurrentClockFreqs is not found") 

5138 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCurrentClockFreqs_t*) noexcept nogil>__nvmlDeviceGetCurrentClockFreqs)( 2vb

5139 device, currentClockFreqs) 

5140  

5141  

5142cdef nvmlReturn_t _nvmlDeviceGetPowerManagementLimit(nvmlDevice_t device, unsigned int* limit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5143 global __nvmlDeviceGetPowerManagementLimit 

5144 _check_or_init_nvml() 2a nb

5145 if __nvmlDeviceGetPowerManagementLimit == NULL: 2nb

5146 with gil: 

5147 raise FunctionNotFoundError("function nvmlDeviceGetPowerManagementLimit is not found") 

5148 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerManagementLimit)( 2nb

5149 device, limit) 

5150  

5151  

5152cdef nvmlReturn_t _nvmlDeviceGetPowerManagementLimitConstraints(nvmlDevice_t device, unsigned int* minLimit, unsigned int* maxLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5153 global __nvmlDeviceGetPowerManagementLimitConstraints 

5154 _check_or_init_nvml() 

5155 if __nvmlDeviceGetPowerManagementLimitConstraints == NULL: 

5156 with gil: 

5157 raise FunctionNotFoundError("function nvmlDeviceGetPowerManagementLimitConstraints is not found") 

5158 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerManagementLimitConstraints)( 

5159 device, minLimit, maxLimit) 

5160  

5161  

5162cdef nvmlReturn_t _nvmlDeviceGetPowerManagementDefaultLimit(nvmlDevice_t device, unsigned int* defaultLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5163 global __nvmlDeviceGetPowerManagementDefaultLimit 

5164 _check_or_init_nvml() 

5165 if __nvmlDeviceGetPowerManagementDefaultLimit == NULL: 

5166 with gil: 

5167 raise FunctionNotFoundError("function nvmlDeviceGetPowerManagementDefaultLimit is not found") 

5168 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerManagementDefaultLimit)( 

5169 device, defaultLimit) 

5170  

5171  

5172cdef nvmlReturn_t _nvmlDeviceGetPowerUsage(nvmlDevice_t device, unsigned int* power) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5173 global __nvmlDeviceGetPowerUsage 

5174 _check_or_init_nvml() 2a Jb

5175 if __nvmlDeviceGetPowerUsage == NULL: 2Jb

5176 with gil: 

5177 raise FunctionNotFoundError("function nvmlDeviceGetPowerUsage is not found") 

5178 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerUsage)( 2Jb

5179 device, power) 

5180  

5181  

5182cdef nvmlReturn_t _nvmlDeviceGetTotalEnergyConsumption(nvmlDevice_t device, unsigned long long* energy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5183 global __nvmlDeviceGetTotalEnergyConsumption 

5184 _check_or_init_nvml() 

5185 if __nvmlDeviceGetTotalEnergyConsumption == NULL: 

5186 with gil: 

5187 raise FunctionNotFoundError("function nvmlDeviceGetTotalEnergyConsumption is not found") 

5188 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetTotalEnergyConsumption)( 

5189 device, energy) 

5190  

5191  

5192cdef nvmlReturn_t _nvmlDeviceGetEnforcedPowerLimit(nvmlDevice_t device, unsigned int* limit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5193 global __nvmlDeviceGetEnforcedPowerLimit 

5194 _check_or_init_nvml() 

5195 if __nvmlDeviceGetEnforcedPowerLimit == NULL: 

5196 with gil: 

5197 raise FunctionNotFoundError("function nvmlDeviceGetEnforcedPowerLimit is not found") 

5198 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetEnforcedPowerLimit)( 

5199 device, limit) 

5200  

5201  

5202cdef nvmlReturn_t _nvmlDeviceGetGpuOperationMode(nvmlDevice_t device, nvmlGpuOperationMode_t* current, nvmlGpuOperationMode_t* pending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5203 global __nvmlDeviceGetGpuOperationMode 

5204 _check_or_init_nvml() 

5205 if __nvmlDeviceGetGpuOperationMode == NULL: 

5206 with gil: 

5207 raise FunctionNotFoundError("function nvmlDeviceGetGpuOperationMode is not found") 

5208 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuOperationMode_t*, nvmlGpuOperationMode_t*) noexcept nogil>__nvmlDeviceGetGpuOperationMode)( 

5209 device, current, pending) 

5210  

5211  

5212cdef nvmlReturn_t _nvmlDeviceGetMemoryInfo_v2(nvmlDevice_t device, nvmlMemory_v2_t* memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5213 global __nvmlDeviceGetMemoryInfo_v2 

5214 _check_or_init_nvml() 2a ObE

5215 if __nvmlDeviceGetMemoryInfo_v2 == NULL: 2ObE

5216 with gil: 1x

5217 raise FunctionNotFoundError("function nvmlDeviceGetMemoryInfo_v2 is not found") 1x

5218 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_v2_t*) noexcept nogil>__nvmlDeviceGetMemoryInfo_v2)( 2ObE

5219 device, memory) 

5220  

5221  

5222cdef nvmlReturn_t _nvmlDeviceGetComputeMode(nvmlDevice_t device, nvmlComputeMode_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5223 global __nvmlDeviceGetComputeMode 

5224 _check_or_init_nvml() 2a xb

5225 if __nvmlDeviceGetComputeMode == NULL: 2xb

5226 with gil: 

5227 raise FunctionNotFoundError("function nvmlDeviceGetComputeMode is not found") 

5228 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t*) noexcept nogil>__nvmlDeviceGetComputeMode)( 2xb

5229 device, mode) 

5230  

5231  

5232cdef nvmlReturn_t _nvmlDeviceGetCudaComputeCapability(nvmlDevice_t device, int* major, int* minor) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5233 global __nvmlDeviceGetCudaComputeCapability 

5234 _check_or_init_nvml() 2a Lb

5235 if __nvmlDeviceGetCudaComputeCapability == NULL: 2Lb

5236 with gil: 

5237 raise FunctionNotFoundError("function nvmlDeviceGetCudaComputeCapability is not found") 

5238 return (<nvmlReturn_t (*)(nvmlDevice_t, int*, int*) noexcept nogil>__nvmlDeviceGetCudaComputeCapability)( 2Lb

5239 device, major, minor) 

5240  

5241  

5242cdef nvmlReturn_t _nvmlDeviceGetDramEncryptionMode(nvmlDevice_t device, nvmlDramEncryptionInfo_t* current, nvmlDramEncryptionInfo_t* pending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5243 global __nvmlDeviceGetDramEncryptionMode 

5244 _check_or_init_nvml() 

5245 if __nvmlDeviceGetDramEncryptionMode == NULL: 

5246 with gil: 

5247 raise FunctionNotFoundError("function nvmlDeviceGetDramEncryptionMode is not found") 

5248 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDramEncryptionInfo_t*, nvmlDramEncryptionInfo_t*) noexcept nogil>__nvmlDeviceGetDramEncryptionMode)( 

5249 device, current, pending) 

5250  

5251  

5252cdef nvmlReturn_t _nvmlDeviceSetDramEncryptionMode(nvmlDevice_t device, const nvmlDramEncryptionInfo_t* dramEncryption) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5253 global __nvmlDeviceSetDramEncryptionMode 

5254 _check_or_init_nvml() 

5255 if __nvmlDeviceSetDramEncryptionMode == NULL: 

5256 with gil: 

5257 raise FunctionNotFoundError("function nvmlDeviceSetDramEncryptionMode is not found") 

5258 return (<nvmlReturn_t (*)(nvmlDevice_t, const nvmlDramEncryptionInfo_t*) noexcept nogil>__nvmlDeviceSetDramEncryptionMode)( 

5259 device, dramEncryption) 

5260  

5261  

5262cdef nvmlReturn_t _nvmlDeviceGetEccMode(nvmlDevice_t device, nvmlEnableState_t* current, nvmlEnableState_t* pending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5263 global __nvmlDeviceGetEccMode 

5264 _check_or_init_nvml() 1aT

5265 if __nvmlDeviceGetEccMode == NULL: 1T

5266 with gil: 

5267 raise FunctionNotFoundError("function nvmlDeviceGetEccMode is not found") 

5268 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetEccMode)( 1T

5269 device, current, pending) 

5270  

5271  

5272cdef nvmlReturn_t _nvmlDeviceGetDefaultEccMode(nvmlDevice_t device, nvmlEnableState_t* defaultMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5273 global __nvmlDeviceGetDefaultEccMode 

5274 _check_or_init_nvml() 

5275 if __nvmlDeviceGetDefaultEccMode == NULL: 

5276 with gil: 

5277 raise FunctionNotFoundError("function nvmlDeviceGetDefaultEccMode is not found") 

5278 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetDefaultEccMode)( 

5279 device, defaultMode) 

5280  

5281  

5282cdef nvmlReturn_t _nvmlDeviceGetBoardId(nvmlDevice_t device, unsigned int* boardId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5283 global __nvmlDeviceGetBoardId 

5284 _check_or_init_nvml() 

5285 if __nvmlDeviceGetBoardId == NULL: 

5286 with gil: 

5287 raise FunctionNotFoundError("function nvmlDeviceGetBoardId is not found") 

5288 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetBoardId)( 

5289 device, boardId) 

5290  

5291  

5292cdef nvmlReturn_t _nvmlDeviceGetMultiGpuBoard(nvmlDevice_t device, unsigned int* multiGpuBool) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5293 global __nvmlDeviceGetMultiGpuBoard 

5294 _check_or_init_nvml() 

5295 if __nvmlDeviceGetMultiGpuBoard == NULL: 

5296 with gil: 

5297 raise FunctionNotFoundError("function nvmlDeviceGetMultiGpuBoard is not found") 

5298 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMultiGpuBoard)( 

5299 device, multiGpuBool) 

5300  

5301  

5302cdef nvmlReturn_t _nvmlDeviceGetTotalEccErrors(nvmlDevice_t device, nvmlMemoryErrorType_t errorType, nvmlEccCounterType_t counterType, unsigned long long* eccCounts) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5303 global __nvmlDeviceGetTotalEccErrors 

5304 _check_or_init_nvml() 

5305 if __nvmlDeviceGetTotalEccErrors == NULL: 

5306 with gil: 

5307 raise FunctionNotFoundError("function nvmlDeviceGetTotalEccErrors is not found") 

5308 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemoryErrorType_t, nvmlEccCounterType_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetTotalEccErrors)( 

5309 device, errorType, counterType, eccCounts) 

5310  

5311  

5312cdef 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: 

5313 global __nvmlDeviceGetMemoryErrorCounter 

5314 _check_or_init_nvml() 

5315 if __nvmlDeviceGetMemoryErrorCounter == NULL: 

5316 with gil: 

5317 raise FunctionNotFoundError("function nvmlDeviceGetMemoryErrorCounter is not found") 

5318 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemoryErrorType_t, nvmlEccCounterType_t, nvmlMemoryLocation_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetMemoryErrorCounter)( 

5319 device, errorType, counterType, locationType, count) 

5320  

5321  

5322cdef nvmlReturn_t _nvmlDeviceGetUtilizationRates(nvmlDevice_t device, nvmlUtilization_t* utilization) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5323 global __nvmlDeviceGetUtilizationRates 

5324 _check_or_init_nvml() 2a Kbw

5325 if __nvmlDeviceGetUtilizationRates == NULL: 2Kbw

5326 with gil: 

5327 raise FunctionNotFoundError("function nvmlDeviceGetUtilizationRates is not found") 

5328 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUtilization_t*) noexcept nogil>__nvmlDeviceGetUtilizationRates)( 2Kbw

5329 device, utilization) 

5330  

5331  

5332cdef nvmlReturn_t _nvmlDeviceGetEncoderUtilization(nvmlDevice_t device, unsigned int* utilization, unsigned int* samplingPeriodUs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5333 global __nvmlDeviceGetEncoderUtilization 

5334 _check_or_init_nvml() 

5335 if __nvmlDeviceGetEncoderUtilization == NULL: 

5336 with gil: 

5337 raise FunctionNotFoundError("function nvmlDeviceGetEncoderUtilization is not found") 

5338 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetEncoderUtilization)( 

5339 device, utilization, samplingPeriodUs) 

5340  

5341  

5342cdef nvmlReturn_t _nvmlDeviceGetEncoderCapacity(nvmlDevice_t device, nvmlEncoderType_t encoderQueryType, unsigned int* encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5343 global __nvmlDeviceGetEncoderCapacity 

5344 _check_or_init_nvml() 

5345 if __nvmlDeviceGetEncoderCapacity == NULL: 

5346 with gil: 

5347 raise FunctionNotFoundError("function nvmlDeviceGetEncoderCapacity is not found") 

5348 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEncoderType_t, unsigned int*) noexcept nogil>__nvmlDeviceGetEncoderCapacity)( 

5349 device, encoderQueryType, encoderCapacity) 

5350  

5351  

5352cdef nvmlReturn_t _nvmlDeviceGetEncoderStats(nvmlDevice_t device, unsigned int* sessionCount, unsigned int* averageFps, unsigned int* averageLatency) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5353 global __nvmlDeviceGetEncoderStats 

5354 _check_or_init_nvml() 

5355 if __nvmlDeviceGetEncoderStats == NULL: 

5356 with gil: 

5357 raise FunctionNotFoundError("function nvmlDeviceGetEncoderStats is not found") 

5358 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetEncoderStats)( 

5359 device, sessionCount, averageFps, averageLatency) 

5360  

5361  

5362cdef nvmlReturn_t _nvmlDeviceGetEncoderSessions(nvmlDevice_t device, unsigned int* sessionCount, nvmlEncoderSessionInfo_t* sessionInfos) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5363 global __nvmlDeviceGetEncoderSessions 

5364 _check_or_init_nvml() 

5365 if __nvmlDeviceGetEncoderSessions == NULL: 

5366 with gil: 

5367 raise FunctionNotFoundError("function nvmlDeviceGetEncoderSessions is not found") 

5368 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlEncoderSessionInfo_t*) noexcept nogil>__nvmlDeviceGetEncoderSessions)( 

5369 device, sessionCount, sessionInfos) 

5370  

5371  

5372cdef nvmlReturn_t _nvmlDeviceGetDecoderUtilization(nvmlDevice_t device, unsigned int* utilization, unsigned int* samplingPeriodUs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5373 global __nvmlDeviceGetDecoderUtilization 

5374 _check_or_init_nvml() 

5375 if __nvmlDeviceGetDecoderUtilization == NULL: 

5376 with gil: 

5377 raise FunctionNotFoundError("function nvmlDeviceGetDecoderUtilization is not found") 

5378 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetDecoderUtilization)( 

5379 device, utilization, samplingPeriodUs) 

5380  

5381  

5382cdef nvmlReturn_t _nvmlDeviceGetJpgUtilization(nvmlDevice_t device, unsigned int* utilization, unsigned int* samplingPeriodUs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5383 global __nvmlDeviceGetJpgUtilization 

5384 _check_or_init_nvml() 

5385 if __nvmlDeviceGetJpgUtilization == NULL: 

5386 with gil: 

5387 raise FunctionNotFoundError("function nvmlDeviceGetJpgUtilization is not found") 

5388 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetJpgUtilization)( 

5389 device, utilization, samplingPeriodUs) 

5390  

5391  

5392cdef nvmlReturn_t _nvmlDeviceGetOfaUtilization(nvmlDevice_t device, unsigned int* utilization, unsigned int* samplingPeriodUs) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5393 global __nvmlDeviceGetOfaUtilization 

5394 _check_or_init_nvml() 

5395 if __nvmlDeviceGetOfaUtilization == NULL: 

5396 with gil: 

5397 raise FunctionNotFoundError("function nvmlDeviceGetOfaUtilization is not found") 

5398 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetOfaUtilization)( 

5399 device, utilization, samplingPeriodUs) 

5400  

5401  

5402cdef nvmlReturn_t _nvmlDeviceGetFBCStats(nvmlDevice_t device, nvmlFBCStats_t* fbcStats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5403 global __nvmlDeviceGetFBCStats 

5404 _check_or_init_nvml() 

5405 if __nvmlDeviceGetFBCStats == NULL: 

5406 with gil: 

5407 raise FunctionNotFoundError("function nvmlDeviceGetFBCStats is not found") 

5408 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlFBCStats_t*) noexcept nogil>__nvmlDeviceGetFBCStats)( 

5409 device, fbcStats) 

5410  

5411  

5412cdef nvmlReturn_t _nvmlDeviceGetFBCSessions(nvmlDevice_t device, unsigned int* sessionCount, nvmlFBCSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5413 global __nvmlDeviceGetFBCSessions 

5414 _check_or_init_nvml() 

5415 if __nvmlDeviceGetFBCSessions == NULL: 

5416 with gil: 

5417 raise FunctionNotFoundError("function nvmlDeviceGetFBCSessions is not found") 

5418 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlFBCSessionInfo_t*) noexcept nogil>__nvmlDeviceGetFBCSessions)( 

5419 device, sessionCount, sessionInfo) 

5420  

5421  

5422cdef nvmlReturn_t _nvmlDeviceGetDriverModel_v2(nvmlDevice_t device, nvmlDriverModel_t* current, nvmlDriverModel_t* pending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5423 global __nvmlDeviceGetDriverModel_v2 

5424 _check_or_init_nvml() 

5425 if __nvmlDeviceGetDriverModel_v2 == NULL: 

5426 with gil: 

5427 raise FunctionNotFoundError("function nvmlDeviceGetDriverModel_v2 is not found") 

5428 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDriverModel_t*, nvmlDriverModel_t*) noexcept nogil>__nvmlDeviceGetDriverModel_v2)( 

5429 device, current, pending) 

5430  

5431  

5432cdef nvmlReturn_t _nvmlDeviceGetVbiosVersion(nvmlDevice_t device, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5433 global __nvmlDeviceGetVbiosVersion 

5434 _check_or_init_nvml() 

5435 if __nvmlDeviceGetVbiosVersion == NULL: 

5436 with gil: 

5437 raise FunctionNotFoundError("function nvmlDeviceGetVbiosVersion is not found") 

5438 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetVbiosVersion)( 

5439 device, version, length) 

5440  

5441  

5442cdef nvmlReturn_t _nvmlDeviceGetBridgeChipInfo(nvmlDevice_t device, nvmlBridgeChipHierarchy_t* bridgeHierarchy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5443 global __nvmlDeviceGetBridgeChipInfo 

5444 _check_or_init_nvml() 1aD

5445 if __nvmlDeviceGetBridgeChipInfo == NULL: 1D

5446 with gil: 

5447 raise FunctionNotFoundError("function nvmlDeviceGetBridgeChipInfo is not found") 

5448 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBridgeChipHierarchy_t*) noexcept nogil>__nvmlDeviceGetBridgeChipInfo)( 1D

5449 device, bridgeHierarchy) 

5450  

5451  

5452cdef nvmlReturn_t _nvmlDeviceGetComputeRunningProcesses_v3(nvmlDevice_t device, unsigned int* infoCount, nvmlProcessInfo_t* infos) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5453 global __nvmlDeviceGetComputeRunningProcesses_v3 

5454 _check_or_init_nvml() 1apQ

5455 if __nvmlDeviceGetComputeRunningProcesses_v3 == NULL: 1pQ

5456 with gil: 

5457 raise FunctionNotFoundError("function nvmlDeviceGetComputeRunningProcesses_v3 is not found") 

5458 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetComputeRunningProcesses_v3)( 1pQ

5459 device, infoCount, infos) 

5460  

5461  

5462cdef nvmlReturn_t _nvmlDeviceGetGraphicsRunningProcesses_v3(nvmlDevice_t device, unsigned int* infoCount, nvmlProcessInfo_t* infos) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5463 global __nvmlDeviceGetGraphicsRunningProcesses_v3 

5464 _check_or_init_nvml() 

5465 if __nvmlDeviceGetGraphicsRunningProcesses_v3 == NULL: 

5466 with gil: 

5467 raise FunctionNotFoundError("function nvmlDeviceGetGraphicsRunningProcesses_v3 is not found") 

5468 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetGraphicsRunningProcesses_v3)( 

5469 device, infoCount, infos) 

5470  

5471  

5472cdef nvmlReturn_t _nvmlDeviceGetMPSComputeRunningProcesses_v3(nvmlDevice_t device, unsigned int* infoCount, nvmlProcessInfo_t* infos) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5473 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

5474 _check_or_init_nvml() 

5475 if __nvmlDeviceGetMPSComputeRunningProcesses_v3 == NULL: 

5476 with gil: 

5477 raise FunctionNotFoundError("function nvmlDeviceGetMPSComputeRunningProcesses_v3 is not found") 

5478 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetMPSComputeRunningProcesses_v3)( 

5479 device, infoCount, infos) 

5480  

5481  

5482cdef nvmlReturn_t _nvmlDeviceGetRunningProcessDetailList(nvmlDevice_t device, nvmlProcessDetailList_t* plist) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5483 global __nvmlDeviceGetRunningProcessDetailList 

5484 _check_or_init_nvml() 

5485 if __nvmlDeviceGetRunningProcessDetailList == NULL: 

5486 with gil: 

5487 raise FunctionNotFoundError("function nvmlDeviceGetRunningProcessDetailList is not found") 

5488 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessDetailList_t*) noexcept nogil>__nvmlDeviceGetRunningProcessDetailList)( 

5489 device, plist) 

5490  

5491  

5492cdef nvmlReturn_t _nvmlDeviceOnSameBoard(nvmlDevice_t device1, nvmlDevice_t device2, int* onSameBoard) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5493 global __nvmlDeviceOnSameBoard 

5494 _check_or_init_nvml() 

5495 if __nvmlDeviceOnSameBoard == NULL: 

5496 with gil: 

5497 raise FunctionNotFoundError("function nvmlDeviceOnSameBoard is not found") 

5498 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t, int*) noexcept nogil>__nvmlDeviceOnSameBoard)( 

5499 device1, device2, onSameBoard) 

5500  

5501  

5502cdef nvmlReturn_t _nvmlDeviceGetAPIRestriction(nvmlDevice_t device, nvmlRestrictedAPI_t apiType, nvmlEnableState_t* isRestricted) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5503 global __nvmlDeviceGetAPIRestriction 

5504 _check_or_init_nvml() 

5505 if __nvmlDeviceGetAPIRestriction == NULL: 

5506 with gil: 

5507 raise FunctionNotFoundError("function nvmlDeviceGetAPIRestriction is not found") 

5508 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAPIRestriction)( 

5509 device, apiType, isRestricted) 

5510  

5511  

5512cdef 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: 

5513 global __nvmlDeviceGetSamples 

5514 _check_or_init_nvml() 1aR

5515 if __nvmlDeviceGetSamples == NULL: 1R

5516 with gil: 

5517 raise FunctionNotFoundError("function nvmlDeviceGetSamples is not found") 

5518 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlSamplingType_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlSample_t*) noexcept nogil>__nvmlDeviceGetSamples)( 1R

5519 device, type, lastSeenTimeStamp, sampleValType, sampleCount, samples) 

5520  

5521  

5522cdef nvmlReturn_t _nvmlDeviceGetBAR1MemoryInfo(nvmlDevice_t device, nvmlBAR1Memory_t* bar1Memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5523 global __nvmlDeviceGetBAR1MemoryInfo 

5524 _check_or_init_nvml() 1aH

5525 if __nvmlDeviceGetBAR1MemoryInfo == NULL: 1H

5526 with gil: 

5527 raise FunctionNotFoundError("function nvmlDeviceGetBAR1MemoryInfo is not found") 

5528 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBAR1Memory_t*) noexcept nogil>__nvmlDeviceGetBAR1MemoryInfo)( 1H

5529 device, bar1Memory) 

5530  

5531  

5532cdef nvmlReturn_t _nvmlDeviceGetIrqNum(nvmlDevice_t device, unsigned int* irqNum) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5533 global __nvmlDeviceGetIrqNum 

5534 _check_or_init_nvml() 

5535 if __nvmlDeviceGetIrqNum == NULL: 

5536 with gil: 

5537 raise FunctionNotFoundError("function nvmlDeviceGetIrqNum is not found") 

5538 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIrqNum)( 

5539 device, irqNum) 

5540  

5541  

5542cdef nvmlReturn_t _nvmlDeviceGetNumGpuCores(nvmlDevice_t device, unsigned int* numCores) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5543 global __nvmlDeviceGetNumGpuCores 

5544 _check_or_init_nvml() 

5545 if __nvmlDeviceGetNumGpuCores == NULL: 

5546 with gil: 

5547 raise FunctionNotFoundError("function nvmlDeviceGetNumGpuCores is not found") 

5548 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumGpuCores)( 

5549 device, numCores) 

5550  

5551  

5552cdef nvmlReturn_t _nvmlDeviceGetPowerSource(nvmlDevice_t device, nvmlPowerSource_t* powerSource) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5553 global __nvmlDeviceGetPowerSource 

5554 _check_or_init_nvml() 

5555 if __nvmlDeviceGetPowerSource == NULL: 

5556 with gil: 

5557 raise FunctionNotFoundError("function nvmlDeviceGetPowerSource is not found") 

5558 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSource_t*) noexcept nogil>__nvmlDeviceGetPowerSource)( 

5559 device, powerSource) 

5560  

5561  

5562cdef nvmlReturn_t _nvmlDeviceGetMemoryBusWidth(nvmlDevice_t device, unsigned int* busWidth) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5563 global __nvmlDeviceGetMemoryBusWidth 

5564 _check_or_init_nvml() 

5565 if __nvmlDeviceGetMemoryBusWidth == NULL: 

5566 with gil: 

5567 raise FunctionNotFoundError("function nvmlDeviceGetMemoryBusWidth is not found") 

5568 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMemoryBusWidth)( 

5569 device, busWidth) 

5570  

5571  

5572cdef nvmlReturn_t _nvmlDeviceGetPcieLinkMaxSpeed(nvmlDevice_t device, unsigned int* maxSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5573 global __nvmlDeviceGetPcieLinkMaxSpeed 

5574 _check_or_init_nvml() 

5575 if __nvmlDeviceGetPcieLinkMaxSpeed == NULL: 

5576 with gil: 

5577 raise FunctionNotFoundError("function nvmlDeviceGetPcieLinkMaxSpeed is not found") 

5578 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieLinkMaxSpeed)( 

5579 device, maxSpeed) 

5580  

5581  

5582cdef nvmlReturn_t _nvmlDeviceGetPcieSpeed(nvmlDevice_t device, unsigned int* pcieSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5583 global __nvmlDeviceGetPcieSpeed 

5584 _check_or_init_nvml() 

5585 if __nvmlDeviceGetPcieSpeed == NULL: 

5586 with gil: 

5587 raise FunctionNotFoundError("function nvmlDeviceGetPcieSpeed is not found") 

5588 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieSpeed)( 

5589 device, pcieSpeed) 

5590  

5591  

5592cdef nvmlReturn_t _nvmlDeviceGetAdaptiveClockInfoStatus(nvmlDevice_t device, unsigned int* adaptiveClockStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5593 global __nvmlDeviceGetAdaptiveClockInfoStatus 

5594 _check_or_init_nvml() 

5595 if __nvmlDeviceGetAdaptiveClockInfoStatus == NULL: 

5596 with gil: 2mb

5597 raise FunctionNotFoundError("function nvmlDeviceGetAdaptiveClockInfoStatus is not found") 2mb

5598 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAdaptiveClockInfoStatus)( 

5599 device, adaptiveClockStatus) 

5600  

5601  

5602cdef nvmlReturn_t _nvmlDeviceGetBusType(nvmlDevice_t device, nvmlBusType_t* type) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5603 global __nvmlDeviceGetBusType 

5604 _check_or_init_nvml() 

5605 if __nvmlDeviceGetBusType == NULL: 

5606 with gil: 

5607 raise FunctionNotFoundError("function nvmlDeviceGetBusType is not found") 

5608 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBusType_t*) noexcept nogil>__nvmlDeviceGetBusType)( 

5609 device, type) 

5610  

5611  

5612cdef nvmlReturn_t _nvmlDeviceGetGpuFabricInfoV(nvmlDevice_t device, nvmlGpuFabricInfoV_t* gpuFabricInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5613 global __nvmlDeviceGetGpuFabricInfoV 

5614 _check_or_init_nvml() 

5615 if __nvmlDeviceGetGpuFabricInfoV == NULL: 

5616 with gil: 2lb

5617 raise FunctionNotFoundError("function nvmlDeviceGetGpuFabricInfoV is not found") 2lb

5618 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuFabricInfoV_t*) noexcept nogil>__nvmlDeviceGetGpuFabricInfoV)( 

5619 device, gpuFabricInfo) 

5620  

5621  

5622cdef nvmlReturn_t _nvmlSystemGetConfComputeCapabilities(nvmlConfComputeSystemCaps_t* capabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5623 global __nvmlSystemGetConfComputeCapabilities 

5624 _check_or_init_nvml() 

5625 if __nvmlSystemGetConfComputeCapabilities == NULL: 

5626 with gil: 

5627 raise FunctionNotFoundError("function nvmlSystemGetConfComputeCapabilities is not found") 

5628 return (<nvmlReturn_t (*)(nvmlConfComputeSystemCaps_t*) noexcept nogil>__nvmlSystemGetConfComputeCapabilities)( 

5629 capabilities) 

5630  

5631  

5632cdef nvmlReturn_t _nvmlSystemGetConfComputeState(nvmlConfComputeSystemState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5633 global __nvmlSystemGetConfComputeState 

5634 _check_or_init_nvml() 

5635 if __nvmlSystemGetConfComputeState == NULL: 

5636 with gil: 

5637 raise FunctionNotFoundError("function nvmlSystemGetConfComputeState is not found") 

5638 return (<nvmlReturn_t (*)(nvmlConfComputeSystemState_t*) noexcept nogil>__nvmlSystemGetConfComputeState)( 

5639 state) 

5640  

5641  

5642cdef nvmlReturn_t _nvmlDeviceGetConfComputeMemSizeInfo(nvmlDevice_t device, nvmlConfComputeMemSizeInfo_t* memInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5643 global __nvmlDeviceGetConfComputeMemSizeInfo 

5644 _check_or_init_nvml() 

5645 if __nvmlDeviceGetConfComputeMemSizeInfo == NULL: 

5646 with gil: 

5647 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeMemSizeInfo is not found") 

5648 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeMemSizeInfo_t*) noexcept nogil>__nvmlDeviceGetConfComputeMemSizeInfo)( 

5649 device, memInfo) 

5650  

5651  

5652cdef nvmlReturn_t _nvmlSystemGetConfComputeGpusReadyState(unsigned int* isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5653 global __nvmlSystemGetConfComputeGpusReadyState 

5654 _check_or_init_nvml() 

5655 if __nvmlSystemGetConfComputeGpusReadyState == NULL: 

5656 with gil: 

5657 raise FunctionNotFoundError("function nvmlSystemGetConfComputeGpusReadyState is not found") 

5658 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetConfComputeGpusReadyState)( 

5659 isAcceptingWork) 

5660  

5661  

5662cdef nvmlReturn_t _nvmlDeviceGetConfComputeProtectedMemoryUsage(nvmlDevice_t device, nvmlMemory_t* memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5663 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

5664 _check_or_init_nvml() 

5665 if __nvmlDeviceGetConfComputeProtectedMemoryUsage == NULL: 

5666 with gil: 

5667 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeProtectedMemoryUsage is not found") 

5668 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_t*) noexcept nogil>__nvmlDeviceGetConfComputeProtectedMemoryUsage)( 

5669 device, memory) 

5670  

5671  

5672cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuCertificate(nvmlDevice_t device, nvmlConfComputeGpuCertificate_t* gpuCert) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5673 global __nvmlDeviceGetConfComputeGpuCertificate 

5674 _check_or_init_nvml() 1aJ

5675 if __nvmlDeviceGetConfComputeGpuCertificate == NULL: 1J

5676 with gil: 

5677 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuCertificate is not found") 

5678 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuCertificate_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuCertificate)( 1J

5679 device, gpuCert) 

5680  

5681  

5682cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuAttestationReport(nvmlDevice_t device, nvmlConfComputeGpuAttestationReport_t* gpuAtstReport) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5683 global __nvmlDeviceGetConfComputeGpuAttestationReport 

5684 _check_or_init_nvml() 1aK

5685 if __nvmlDeviceGetConfComputeGpuAttestationReport == NULL: 1K

5686 with gil: 

5687 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuAttestationReport is not found") 

5688 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuAttestationReport_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuAttestationReport)( 1K

5689 device, gpuAtstReport) 

5690  

5691  

5692cdef nvmlReturn_t _nvmlSystemGetConfComputeKeyRotationThresholdInfo(nvmlConfComputeGetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5693 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

5694 _check_or_init_nvml() 

5695 if __nvmlSystemGetConfComputeKeyRotationThresholdInfo == NULL: 

5696 with gil: 

5697 raise FunctionNotFoundError("function nvmlSystemGetConfComputeKeyRotationThresholdInfo is not found") 

5698 return (<nvmlReturn_t (*)(nvmlConfComputeGetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemGetConfComputeKeyRotationThresholdInfo)( 

5699 pKeyRotationThrInfo) 

5700  

5701  

5702cdef nvmlReturn_t _nvmlDeviceSetConfComputeUnprotectedMemSize(nvmlDevice_t device, unsigned long long sizeKiB) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5703 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

5704 _check_or_init_nvml() 

5705 if __nvmlDeviceSetConfComputeUnprotectedMemSize == NULL: 

5706 with gil: 

5707 raise FunctionNotFoundError("function nvmlDeviceSetConfComputeUnprotectedMemSize is not found") 

5708 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long) noexcept nogil>__nvmlDeviceSetConfComputeUnprotectedMemSize)( 

5709 device, sizeKiB) 

5710  

5711  

5712cdef nvmlReturn_t _nvmlSystemSetConfComputeGpusReadyState(unsigned int isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5713 global __nvmlSystemSetConfComputeGpusReadyState 

5714 _check_or_init_nvml() 

5715 if __nvmlSystemSetConfComputeGpusReadyState == NULL: 

5716 with gil: 2kbob

5717 raise FunctionNotFoundError("function nvmlSystemSetConfComputeGpusReadyState is not found") 2kbob

5718 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetConfComputeGpusReadyState)( 

5719 isAcceptingWork) 

5720  

5721  

5722cdef nvmlReturn_t _nvmlSystemSetConfComputeKeyRotationThresholdInfo(nvmlConfComputeSetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5723 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

5724 _check_or_init_nvml() 

5725 if __nvmlSystemSetConfComputeKeyRotationThresholdInfo == NULL: 

5726 with gil: 

5727 raise FunctionNotFoundError("function nvmlSystemSetConfComputeKeyRotationThresholdInfo is not found") 

5728 return (<nvmlReturn_t (*)(nvmlConfComputeSetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemSetConfComputeKeyRotationThresholdInfo)( 

5729 pKeyRotationThrInfo) 

5730  

5731  

5732cdef nvmlReturn_t _nvmlSystemGetConfComputeSettings(nvmlSystemConfComputeSettings_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5733 global __nvmlSystemGetConfComputeSettings 

5734 _check_or_init_nvml() 

5735 if __nvmlSystemGetConfComputeSettings == NULL: 

5736 with gil: 

5737 raise FunctionNotFoundError("function nvmlSystemGetConfComputeSettings is not found") 

5738 return (<nvmlReturn_t (*)(nvmlSystemConfComputeSettings_t*) noexcept nogil>__nvmlSystemGetConfComputeSettings)( 

5739 settings) 

5740  

5741  

5742cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareVersion(nvmlDevice_t device, char* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5743 global __nvmlDeviceGetGspFirmwareVersion 

5744 _check_or_init_nvml() 

5745 if __nvmlDeviceGetGspFirmwareVersion == NULL: 

5746 with gil: 

5747 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareVersion is not found") 

5748 return (<nvmlReturn_t (*)(nvmlDevice_t, char*) noexcept nogil>__nvmlDeviceGetGspFirmwareVersion)( 

5749 device, version) 

5750  

5751  

5752cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareMode(nvmlDevice_t device, unsigned int* isEnabled, unsigned int* defaultMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5753 global __nvmlDeviceGetGspFirmwareMode 

5754 _check_or_init_nvml() 

5755 if __nvmlDeviceGetGspFirmwareMode == NULL: 

5756 with gil: 

5757 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareMode is not found") 

5758 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetGspFirmwareMode)( 

5759 device, isEnabled, defaultMode) 

5760  

5761  

5762cdef nvmlReturn_t _nvmlDeviceGetSramEccErrorStatus(nvmlDevice_t device, nvmlEccSramErrorStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5763 global __nvmlDeviceGetSramEccErrorStatus 

5764 _check_or_init_nvml() 

5765 if __nvmlDeviceGetSramEccErrorStatus == NULL: 

5766 with gil: 

5767 raise FunctionNotFoundError("function nvmlDeviceGetSramEccErrorStatus is not found") 

5768 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramErrorStatus_t*) noexcept nogil>__nvmlDeviceGetSramEccErrorStatus)( 

5769 device, status) 

5770  

5771  

5772cdef nvmlReturn_t _nvmlDeviceGetAccountingMode(nvmlDevice_t device, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5773 global __nvmlDeviceGetAccountingMode 

5774 _check_or_init_nvml() 

5775 if __nvmlDeviceGetAccountingMode == NULL: 

5776 with gil: 

5777 raise FunctionNotFoundError("function nvmlDeviceGetAccountingMode is not found") 

5778 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAccountingMode)( 

5779 device, mode) 

5780  

5781  

5782cdef nvmlReturn_t _nvmlDeviceGetAccountingStats(nvmlDevice_t device, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5783 global __nvmlDeviceGetAccountingStats 

5784 _check_or_init_nvml() 

5785 if __nvmlDeviceGetAccountingStats == NULL: 

5786 with gil: 

5787 raise FunctionNotFoundError("function nvmlDeviceGetAccountingStats is not found") 

5788 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlDeviceGetAccountingStats)( 

5789 device, pid, stats) 

5790  

5791  

5792cdef nvmlReturn_t _nvmlDeviceGetAccountingPids(nvmlDevice_t device, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5793 global __nvmlDeviceGetAccountingPids 

5794 _check_or_init_nvml() 

5795 if __nvmlDeviceGetAccountingPids == NULL: 

5796 with gil: 

5797 raise FunctionNotFoundError("function nvmlDeviceGetAccountingPids is not found") 

5798 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingPids)( 

5799 device, count, pids) 

5800  

5801  

5802cdef nvmlReturn_t _nvmlDeviceGetAccountingBufferSize(nvmlDevice_t device, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5803 global __nvmlDeviceGetAccountingBufferSize 

5804 _check_or_init_nvml() 

5805 if __nvmlDeviceGetAccountingBufferSize == NULL: 

5806 with gil: 

5807 raise FunctionNotFoundError("function nvmlDeviceGetAccountingBufferSize is not found") 

5808 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingBufferSize)( 

5809 device, bufferSize) 

5810  

5811  

5812cdef nvmlReturn_t _nvmlDeviceGetRetiredPages(nvmlDevice_t device, nvmlPageRetirementCause_t cause, unsigned int* pageCount, unsigned long long* addresses) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5813 global __nvmlDeviceGetRetiredPages 

5814 _check_or_init_nvml() 2a T Gb

5815 if __nvmlDeviceGetRetiredPages == NULL: 2T Gb

5816 with gil: 

5817 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages is not found") 

5818 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages)( 2T Gb

5819 device, cause, pageCount, addresses) 

5820  

5821  

5822cdef 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: 

5823 global __nvmlDeviceGetRetiredPages_v2 

5824 _check_or_init_nvml() 

5825 if __nvmlDeviceGetRetiredPages_v2 == NULL: 

5826 with gil: 

5827 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages_v2 is not found") 

5828 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages_v2)( 

5829 device, cause, pageCount, addresses, timestamps) 

5830  

5831  

5832cdef nvmlReturn_t _nvmlDeviceGetRetiredPagesPendingStatus(nvmlDevice_t device, nvmlEnableState_t* isPending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5833 global __nvmlDeviceGetRetiredPagesPendingStatus 

5834 _check_or_init_nvml() 1aT

5835 if __nvmlDeviceGetRetiredPagesPendingStatus == NULL: 1T

5836 with gil: 

5837 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPagesPendingStatus is not found") 

5838 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetRetiredPagesPendingStatus)( 1T

5839 device, isPending) 

5840  

5841  

5842cdef 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: 

5843 global __nvmlDeviceGetRemappedRows 

5844 _check_or_init_nvml() 

5845 if __nvmlDeviceGetRemappedRows == NULL: 

5846 with gil: 

5847 raise FunctionNotFoundError("function nvmlDeviceGetRemappedRows is not found") 

5848 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetRemappedRows)( 

5849 device, corrRows, uncRows, isPending, failureOccurred) 

5850  

5851  

5852cdef nvmlReturn_t _nvmlDeviceGetRowRemapperHistogram(nvmlDevice_t device, nvmlRowRemapperHistogramValues_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5853 global __nvmlDeviceGetRowRemapperHistogram 

5854 _check_or_init_nvml() 

5855 if __nvmlDeviceGetRowRemapperHistogram == NULL: 

5856 with gil: 

5857 raise FunctionNotFoundError("function nvmlDeviceGetRowRemapperHistogram is not found") 

5858 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRowRemapperHistogramValues_t*) noexcept nogil>__nvmlDeviceGetRowRemapperHistogram)( 

5859 device, values) 

5860  

5861  

5862cdef nvmlReturn_t _nvmlDeviceGetArchitecture(nvmlDevice_t device, nvmlDeviceArchitecture_t* arch) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5863 global __nvmlDeviceGetArchitecture 

5864 _check_or_init_nvml() 2a xbvbDbx y EbubR z A B F C nbFbS I N G J K m O }bD r NcOcP PcQcObIbJbKbn tbf g o b p U pbZ H ybE e t V k Nbc 0 u h i l v d q w

5865 if __nvmlDeviceGetArchitecture == NULL: 2xbvbDbx y EbubR z A B F C nbFbS I N G J K m O }bD r NcOcP PcQcObIbJbKbn tbf g o b p U pbZ H ybE e t V k Nbc 0 u h i l v d q w

5866 with gil: 

5867 raise FunctionNotFoundError("function nvmlDeviceGetArchitecture is not found") 

5868 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceArchitecture_t*) noexcept nogil>__nvmlDeviceGetArchitecture)( 2xbvbDbx y EbubR z A B F C nbFbS I N G J K m O }bD r NcOcP PcQcObIbJbKbn tbf g o b p U pbZ H ybE e t V k Nbc 0 u h i l v d q w

5869 device, arch) 

5870  

5871  

5872cdef nvmlReturn_t _nvmlDeviceGetClkMonStatus(nvmlDevice_t device, nvmlClkMonStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5873 global __nvmlDeviceGetClkMonStatus 

5874 _check_or_init_nvml() 

5875 if __nvmlDeviceGetClkMonStatus == NULL: 

5876 with gil: 

5877 raise FunctionNotFoundError("function nvmlDeviceGetClkMonStatus is not found") 

5878 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClkMonStatus_t*) noexcept nogil>__nvmlDeviceGetClkMonStatus)( 

5879 device, status) 

5880  

5881  

5882cdef nvmlReturn_t _nvmlDeviceGetProcessUtilization(nvmlDevice_t device, nvmlProcessUtilizationSample_t* utilization, unsigned int* processSamplesCount, unsigned long long lastSeenTimeStamp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5883 global __nvmlDeviceGetProcessUtilization 

5884 _check_or_init_nvml() 

5885 if __nvmlDeviceGetProcessUtilization == NULL: 

5886 with gil: 

5887 raise FunctionNotFoundError("function nvmlDeviceGetProcessUtilization is not found") 

5888 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessUtilizationSample_t*, unsigned int*, unsigned long long) noexcept nogil>__nvmlDeviceGetProcessUtilization)( 

5889 device, utilization, processSamplesCount, lastSeenTimeStamp) 

5890  

5891  

5892cdef nvmlReturn_t _nvmlDeviceGetProcessesUtilizationInfo(nvmlDevice_t device, nvmlProcessesUtilizationInfo_t* procesesUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5893 global __nvmlDeviceGetProcessesUtilizationInfo 

5894 _check_or_init_nvml() 

5895 if __nvmlDeviceGetProcessesUtilizationInfo == NULL: 

5896 with gil: 

5897 raise FunctionNotFoundError("function nvmlDeviceGetProcessesUtilizationInfo is not found") 

5898 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetProcessesUtilizationInfo)( 

5899 device, procesesUtilInfo) 

5900  

5901  

5902cdef nvmlReturn_t _nvmlDeviceGetPlatformInfo(nvmlDevice_t device, nvmlPlatformInfo_t* platformInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5903 global __nvmlDeviceGetPlatformInfo 

5904 _check_or_init_nvml() 1aO

5905 if __nvmlDeviceGetPlatformInfo == NULL: 1O

5906 with gil: 1p

5907 raise FunctionNotFoundError("function nvmlDeviceGetPlatformInfo is not found") 1p

5908 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPlatformInfo_t*) noexcept nogil>__nvmlDeviceGetPlatformInfo)( 1O

5909 device, platformInfo) 

5910  

5911  

5912cdef nvmlReturn_t _nvmlUnitSetLedState(nvmlUnit_t unit, nvmlLedColor_t color) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5913 global __nvmlUnitSetLedState 

5914 _check_or_init_nvml() 

5915 if __nvmlUnitSetLedState == NULL: 

5916 with gil: 

5917 raise FunctionNotFoundError("function nvmlUnitSetLedState is not found") 

5918 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlLedColor_t) noexcept nogil>__nvmlUnitSetLedState)( 

5919 unit, color) 

5920  

5921  

5922cdef nvmlReturn_t _nvmlDeviceSetPersistenceMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5923 global __nvmlDeviceSetPersistenceMode 

5924 _check_or_init_nvml() 2a zb

5925 if __nvmlDeviceSetPersistenceMode == NULL: 2zb

5926 with gil: 

5927 raise FunctionNotFoundError("function nvmlDeviceSetPersistenceMode is not found") 

5928 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetPersistenceMode)( 2zb

5929 device, mode) 

5930  

5931  

5932cdef nvmlReturn_t _nvmlDeviceSetComputeMode(nvmlDevice_t device, nvmlComputeMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5933 global __nvmlDeviceSetComputeMode 

5934 _check_or_init_nvml() 2a xb

5935 if __nvmlDeviceSetComputeMode == NULL: 2xb

5936 with gil: 1s

5937 raise FunctionNotFoundError("function nvmlDeviceSetComputeMode is not found") 1s

5938 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t) noexcept nogil>__nvmlDeviceSetComputeMode)( 2xb

5939 device, mode) 

5940  

5941  

5942cdef nvmlReturn_t _nvmlDeviceSetEccMode(nvmlDevice_t device, nvmlEnableState_t ecc) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5943 global __nvmlDeviceSetEccMode 

5944 _check_or_init_nvml() 

5945 if __nvmlDeviceSetEccMode == NULL: 

5946 with gil: 

5947 raise FunctionNotFoundError("function nvmlDeviceSetEccMode is not found") 

5948 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetEccMode)( 

5949 device, ecc) 

5950  

5951  

5952cdef nvmlReturn_t _nvmlDeviceClearEccErrorCounts(nvmlDevice_t device, nvmlEccCounterType_t counterType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5953 global __nvmlDeviceClearEccErrorCounts 

5954 _check_or_init_nvml() 

5955 if __nvmlDeviceClearEccErrorCounts == NULL: 

5956 with gil: 

5957 raise FunctionNotFoundError("function nvmlDeviceClearEccErrorCounts is not found") 

5958 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccCounterType_t) noexcept nogil>__nvmlDeviceClearEccErrorCounts)( 

5959 device, counterType) 

5960  

5961  

5962cdef nvmlReturn_t _nvmlDeviceSetDriverModel(nvmlDevice_t device, nvmlDriverModel_t driverModel, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5963 global __nvmlDeviceSetDriverModel 

5964 _check_or_init_nvml() 

5965 if __nvmlDeviceSetDriverModel == NULL: 

5966 with gil: 2Db

5967 raise FunctionNotFoundError("function nvmlDeviceSetDriverModel is not found") 2Db

5968 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDriverModel_t, unsigned int) noexcept nogil>__nvmlDeviceSetDriverModel)( 

5969 device, driverModel, flags) 

5970  

5971  

5972cdef nvmlReturn_t _nvmlDeviceSetGpuLockedClocks(nvmlDevice_t device, unsigned int minGpuClockMHz, unsigned int maxGpuClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5973 global __nvmlDeviceSetGpuLockedClocks 

5974 _check_or_init_nvml() 

5975 if __nvmlDeviceSetGpuLockedClocks == NULL: 

5976 with gil: 

5977 raise FunctionNotFoundError("function nvmlDeviceSetGpuLockedClocks is not found") 

5978 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetGpuLockedClocks)( 

5979 device, minGpuClockMHz, maxGpuClockMHz) 

5980  

5981  

5982cdef nvmlReturn_t _nvmlDeviceResetGpuLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5983 global __nvmlDeviceResetGpuLockedClocks 

5984 _check_or_init_nvml() 

5985 if __nvmlDeviceResetGpuLockedClocks == NULL: 

5986 with gil: 

5987 raise FunctionNotFoundError("function nvmlDeviceResetGpuLockedClocks is not found") 

5988 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetGpuLockedClocks)( 

5989 device) 

5990  

5991  

5992cdef nvmlReturn_t _nvmlDeviceSetMemoryLockedClocks(nvmlDevice_t device, unsigned int minMemClockMHz, unsigned int maxMemClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5993 global __nvmlDeviceSetMemoryLockedClocks 

5994 _check_or_init_nvml() 

5995 if __nvmlDeviceSetMemoryLockedClocks == NULL: 

5996 with gil: 

5997 raise FunctionNotFoundError("function nvmlDeviceSetMemoryLockedClocks is not found") 

5998 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetMemoryLockedClocks)( 

5999 device, minMemClockMHz, maxMemClockMHz) 

6000  

6001  

6002cdef nvmlReturn_t _nvmlDeviceResetMemoryLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6003 global __nvmlDeviceResetMemoryLockedClocks 

6004 _check_or_init_nvml() 

6005 if __nvmlDeviceResetMemoryLockedClocks == NULL: 

6006 with gil: 1n

6007 raise FunctionNotFoundError("function nvmlDeviceResetMemoryLockedClocks is not found") 1n

6008 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetMemoryLockedClocks)( 

6009 device) 

6010  

6011  

6012cdef nvmlReturn_t _nvmlDeviceSetAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6013 global __nvmlDeviceSetAutoBoostedClocksEnabled 

6014 _check_or_init_nvml() 

6015 if __nvmlDeviceSetAutoBoostedClocksEnabled == NULL: 

6016 with gil: 1v

6017 raise FunctionNotFoundError("function nvmlDeviceSetAutoBoostedClocksEnabled is not found") 1v

6018 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAutoBoostedClocksEnabled)( 

6019 device, enabled) 

6020  

6021  

6022cdef nvmlReturn_t _nvmlDeviceSetDefaultAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6023 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

6024 _check_or_init_nvml() 

6025 if __nvmlDeviceSetDefaultAutoBoostedClocksEnabled == NULL: 

6026 with gil: 

6027 raise FunctionNotFoundError("function nvmlDeviceSetDefaultAutoBoostedClocksEnabled is not found") 

6028 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultAutoBoostedClocksEnabled)( 

6029 device, enabled, flags) 

6030  

6031  

6032cdef nvmlReturn_t _nvmlDeviceSetDefaultFanSpeed_v2(nvmlDevice_t device, unsigned int fan) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6033 global __nvmlDeviceSetDefaultFanSpeed_v2 

6034 _check_or_init_nvml() 

6035 if __nvmlDeviceSetDefaultFanSpeed_v2 == NULL: 

6036 with gil: 

6037 raise FunctionNotFoundError("function nvmlDeviceSetDefaultFanSpeed_v2 is not found") 

6038 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultFanSpeed_v2)( 

6039 device, fan) 

6040  

6041  

6042cdef nvmlReturn_t _nvmlDeviceSetFanControlPolicy(nvmlDevice_t device, unsigned int fan, nvmlFanControlPolicy_t policy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6043 global __nvmlDeviceSetFanControlPolicy 

6044 _check_or_init_nvml() 

6045 if __nvmlDeviceSetFanControlPolicy == NULL: 

6046 with gil: 2Eb

6047 raise FunctionNotFoundError("function nvmlDeviceSetFanControlPolicy is not found") 2Eb

6048 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlFanControlPolicy_t) noexcept nogil>__nvmlDeviceSetFanControlPolicy)( 

6049 device, fan, policy) 

6050  

6051  

6052cdef nvmlReturn_t _nvmlDeviceSetTemperatureThreshold(nvmlDevice_t device, nvmlTemperatureThresholds_t thresholdType, int* temp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6053 global __nvmlDeviceSetTemperatureThreshold 

6054 _check_or_init_nvml() 

6055 if __nvmlDeviceSetTemperatureThreshold == NULL: 

6056 with gil: 

6057 raise FunctionNotFoundError("function nvmlDeviceSetTemperatureThreshold is not found") 

6058 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperatureThresholds_t, int*) noexcept nogil>__nvmlDeviceSetTemperatureThreshold)( 

6059 device, thresholdType, temp) 

6060  

6061  

6062cdef nvmlReturn_t _nvmlDeviceSetGpuOperationMode(nvmlDevice_t device, nvmlGpuOperationMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6063 global __nvmlDeviceSetGpuOperationMode 

6064 _check_or_init_nvml() 

6065 if __nvmlDeviceSetGpuOperationMode == NULL: 

6066 with gil: 

6067 raise FunctionNotFoundError("function nvmlDeviceSetGpuOperationMode is not found") 

6068 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuOperationMode_t) noexcept nogil>__nvmlDeviceSetGpuOperationMode)( 

6069 device, mode) 

6070  

6071  

6072cdef nvmlReturn_t _nvmlDeviceSetAPIRestriction(nvmlDevice_t device, nvmlRestrictedAPI_t apiType, nvmlEnableState_t isRestricted) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6073 global __nvmlDeviceSetAPIRestriction 

6074 _check_or_init_nvml() 

6075 if __nvmlDeviceSetAPIRestriction == NULL: 

6076 with gil: 

6077 raise FunctionNotFoundError("function nvmlDeviceSetAPIRestriction is not found") 

6078 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAPIRestriction)( 

6079 device, apiType, isRestricted) 

6080  

6081  

6082cdef nvmlReturn_t _nvmlDeviceSetFanSpeed_v2(nvmlDevice_t device, unsigned int fan, unsigned int speed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6083 global __nvmlDeviceSetFanSpeed_v2 

6084 _check_or_init_nvml() 

6085 if __nvmlDeviceSetFanSpeed_v2 == NULL: 

6086 with gil: 1I

6087 raise FunctionNotFoundError("function nvmlDeviceSetFanSpeed_v2 is not found") 1I

6088 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetFanSpeed_v2)( 

6089 device, fan, speed) 

6090  

6091  

6092cdef nvmlReturn_t _nvmlDeviceSetAccountingMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6093 global __nvmlDeviceSetAccountingMode 

6094 _check_or_init_nvml() 

6095 if __nvmlDeviceSetAccountingMode == NULL: 

6096 with gil: 

6097 raise FunctionNotFoundError("function nvmlDeviceSetAccountingMode is not found") 

6098 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAccountingMode)( 

6099 device, mode) 

6100  

6101  

6102cdef nvmlReturn_t _nvmlDeviceClearAccountingPids(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6103 global __nvmlDeviceClearAccountingPids 

6104 _check_or_init_nvml() 

6105 if __nvmlDeviceClearAccountingPids == NULL: 

6106 with gil: 

6107 raise FunctionNotFoundError("function nvmlDeviceClearAccountingPids is not found") 

6108 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceClearAccountingPids)( 

6109 device) 

6110  

6111  

6112cdef nvmlReturn_t _nvmlDeviceSetPowerManagementLimit_v2(nvmlDevice_t device, nvmlPowerValue_v2_t* powerValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6113 global __nvmlDeviceSetPowerManagementLimit_v2 

6114 _check_or_init_nvml() 1aN

6115 if __nvmlDeviceSetPowerManagementLimit_v2 == NULL: 1N

6116 with gil: 1A

6117 raise FunctionNotFoundError("function nvmlDeviceSetPowerManagementLimit_v2 is not found") 1A

6118 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerValue_v2_t*) noexcept nogil>__nvmlDeviceSetPowerManagementLimit_v2)( 1N

6119 device, powerValue) 

6120  

6121  

6122cdef nvmlReturn_t _nvmlDeviceGetNvLinkState(nvmlDevice_t device, unsigned int link, nvmlEnableState_t* isActive) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6123 global __nvmlDeviceGetNvLinkState 

6124 _check_or_init_nvml() 

6125 if __nvmlDeviceGetNvLinkState == NULL: 

6126 with gil: 1S

6127 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkState is not found") 1S

6128 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetNvLinkState)( 

6129 device, link, isActive) 

6130  

6131  

6132cdef nvmlReturn_t _nvmlDeviceGetNvLinkVersion(nvmlDevice_t device, unsigned int link, unsigned int* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6133 global __nvmlDeviceGetNvLinkVersion 

6134 _check_or_init_nvml() 

6135 if __nvmlDeviceGetNvLinkVersion == NULL: 

6136 with gil: 

6137 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkVersion is not found") 

6138 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkVersion)( 

6139 device, link, version) 

6140  

6141  

6142cdef nvmlReturn_t _nvmlDeviceGetNvLinkCapability(nvmlDevice_t device, unsigned int link, nvmlNvLinkCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6143 global __nvmlDeviceGetNvLinkCapability 

6144 _check_or_init_nvml() 

6145 if __nvmlDeviceGetNvLinkCapability == NULL: 

6146 with gil: 

6147 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkCapability is not found") 

6148 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkCapability)( 

6149 device, link, capability, capResult) 

6150  

6151  

6152cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemotePciInfo_v2(nvmlDevice_t device, unsigned int link, nvmlPciInfo_t* pci) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6153 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

6154 _check_or_init_nvml() 

6155 if __nvmlDeviceGetNvLinkRemotePciInfo_v2 == NULL: 

6156 with gil: 

6157 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemotePciInfo_v2 is not found") 

6158 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemotePciInfo_v2)( 

6159 device, link, pci) 

6160  

6161  

6162cdef nvmlReturn_t _nvmlDeviceGetNvLinkErrorCounter(nvmlDevice_t device, unsigned int link, nvmlNvLinkErrorCounter_t counter, unsigned long long* counterValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6163 global __nvmlDeviceGetNvLinkErrorCounter 

6164 _check_or_init_nvml() 

6165 if __nvmlDeviceGetNvLinkErrorCounter == NULL: 

6166 with gil: 

6167 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkErrorCounter is not found") 

6168 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkErrorCounter_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetNvLinkErrorCounter)( 

6169 device, link, counter, counterValue) 

6170  

6171  

6172cdef nvmlReturn_t _nvmlDeviceResetNvLinkErrorCounters(nvmlDevice_t device, unsigned int link) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6173 global __nvmlDeviceResetNvLinkErrorCounters 

6174 _check_or_init_nvml() 

6175 if __nvmlDeviceResetNvLinkErrorCounters == NULL: 

6176 with gil: 

6177 raise FunctionNotFoundError("function nvmlDeviceResetNvLinkErrorCounters is not found") 

6178 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceResetNvLinkErrorCounters)( 

6179 device, link) 

6180  

6181  

6182cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemoteDeviceType(nvmlDevice_t device, unsigned int link, nvmlIntNvLinkDeviceType_t* pNvLinkDeviceType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6183 global __nvmlDeviceGetNvLinkRemoteDeviceType 

6184 _check_or_init_nvml() 

6185 if __nvmlDeviceGetNvLinkRemoteDeviceType == NULL: 

6186 with gil: 

6187 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemoteDeviceType is not found") 

6188 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlIntNvLinkDeviceType_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemoteDeviceType)( 

6189 device, link, pNvLinkDeviceType) 

6190  

6191  

6192cdef nvmlReturn_t _nvmlDeviceSetNvLinkDeviceLowPowerThreshold(nvmlDevice_t device, nvmlNvLinkPowerThres_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6193 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

6194 _check_or_init_nvml() 

6195 if __nvmlDeviceSetNvLinkDeviceLowPowerThreshold == NULL: 

6196 with gil: 

6197 raise FunctionNotFoundError("function nvmlDeviceSetNvLinkDeviceLowPowerThreshold is not found") 

6198 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkPowerThres_t*) noexcept nogil>__nvmlDeviceSetNvLinkDeviceLowPowerThreshold)( 

6199 device, info) 

6200  

6201  

6202cdef nvmlReturn_t _nvmlSystemSetNvlinkBwMode(unsigned int nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6203 global __nvmlSystemSetNvlinkBwMode 

6204 _check_or_init_nvml() 

6205 if __nvmlSystemSetNvlinkBwMode == NULL: 

6206 with gil: 

6207 raise FunctionNotFoundError("function nvmlSystemSetNvlinkBwMode is not found") 

6208 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetNvlinkBwMode)( 

6209 nvlinkBwMode) 

6210  

6211  

6212cdef nvmlReturn_t _nvmlSystemGetNvlinkBwMode(unsigned int* nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6213 global __nvmlSystemGetNvlinkBwMode 

6214 _check_or_init_nvml() 

6215 if __nvmlSystemGetNvlinkBwMode == NULL: 

6216 with gil: 

6217 raise FunctionNotFoundError("function nvmlSystemGetNvlinkBwMode is not found") 

6218 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetNvlinkBwMode)( 

6219 nvlinkBwMode) 

6220  

6221  

6222cdef nvmlReturn_t _nvmlDeviceGetNvlinkSupportedBwModes(nvmlDevice_t device, nvmlNvlinkSupportedBwModes_t* supportedBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6223 global __nvmlDeviceGetNvlinkSupportedBwModes 

6224 _check_or_init_nvml() 1aC

6225 if __nvmlDeviceGetNvlinkSupportedBwModes == NULL: 1C

6226 with gil: 

6227 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkSupportedBwModes is not found") 

6228 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSupportedBwModes_t*) noexcept nogil>__nvmlDeviceGetNvlinkSupportedBwModes)( 1C

6229 device, supportedBwMode) 

6230  

6231  

6232cdef nvmlReturn_t _nvmlDeviceGetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkGetBwMode_t* getBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6233 global __nvmlDeviceGetNvlinkBwMode 

6234 _check_or_init_nvml() 

6235 if __nvmlDeviceGetNvlinkBwMode == NULL: 

6236 with gil: 

6237 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkBwMode is not found") 

6238 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkGetBwMode_t*) noexcept nogil>__nvmlDeviceGetNvlinkBwMode)( 

6239 device, getBwMode) 

6240  

6241  

6242cdef nvmlReturn_t _nvmlDeviceSetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkSetBwMode_t* setBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6243 global __nvmlDeviceSetNvlinkBwMode 

6244 _check_or_init_nvml() 

6245 if __nvmlDeviceSetNvlinkBwMode == NULL: 

6246 with gil: 

6247 raise FunctionNotFoundError("function nvmlDeviceSetNvlinkBwMode is not found") 

6248 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSetBwMode_t*) noexcept nogil>__nvmlDeviceSetNvlinkBwMode)( 

6249 device, setBwMode) 

6250  

6251  

6252cdef nvmlReturn_t _nvmlEventSetCreate(nvmlEventSet_t* set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6253 global __nvmlEventSetCreate 

6254 _check_or_init_nvml() 1aM

6255 if __nvmlEventSetCreate == NULL: 1M

6256 with gil: 

6257 raise FunctionNotFoundError("function nvmlEventSetCreate is not found") 

6258 return (<nvmlReturn_t (*)(nvmlEventSet_t*) noexcept nogil>__nvmlEventSetCreate)( 1M

6259 set) 

6260  

6261  

6262cdef nvmlReturn_t _nvmlDeviceRegisterEvents(nvmlDevice_t device, unsigned long long eventTypes, nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6263 global __nvmlDeviceRegisterEvents 

6264 _check_or_init_nvml() 1aM

6265 if __nvmlDeviceRegisterEvents == NULL: 1M

6266 with gil: 

6267 raise FunctionNotFoundError("function nvmlDeviceRegisterEvents is not found") 

6268 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlEventSet_t) noexcept nogil>__nvmlDeviceRegisterEvents)( 1M

6269 device, eventTypes, set) 

6270  

6271  

6272cdef nvmlReturn_t _nvmlDeviceGetSupportedEventTypes(nvmlDevice_t device, unsigned long long* eventTypes) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6273 global __nvmlDeviceGetSupportedEventTypes 

6274 _check_or_init_nvml() 1aM

6275 if __nvmlDeviceGetSupportedEventTypes == NULL: 1M

6276 with gil: 

6277 raise FunctionNotFoundError("function nvmlDeviceGetSupportedEventTypes is not found") 

6278 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedEventTypes)( 1M

6279 device, eventTypes) 

6280  

6281  

6282cdef nvmlReturn_t _nvmlEventSetWait_v2(nvmlEventSet_t set, nvmlEventData_t* data, unsigned int timeoutms) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6283 global __nvmlEventSetWait_v2 

6284 _check_or_init_nvml() 1aM

6285 if __nvmlEventSetWait_v2 == NULL: 1M

6286 with gil: 

6287 raise FunctionNotFoundError("function nvmlEventSetWait_v2 is not found") 

6288 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventData_t*, unsigned int) noexcept nogil>__nvmlEventSetWait_v2)( 1M

6289 set, data, timeoutms) 

6290  

6291  

6292cdef nvmlReturn_t _nvmlEventSetFree(nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6293 global __nvmlEventSetFree 

6294 _check_or_init_nvml() 1aM

6295 if __nvmlEventSetFree == NULL: 1M

6296 with gil: 

6297 raise FunctionNotFoundError("function nvmlEventSetFree is not found") 

6298 return (<nvmlReturn_t (*)(nvmlEventSet_t) noexcept nogil>__nvmlEventSetFree)( 1M

6299 set) 

6300  

6301  

6302cdef nvmlReturn_t _nvmlSystemEventSetCreate(nvmlSystemEventSetCreateRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6303 global __nvmlSystemEventSetCreate 

6304 _check_or_init_nvml() 2a Ab

6305 if __nvmlSystemEventSetCreate == NULL: 2Ab

6306 with gil: 

6307 raise FunctionNotFoundError("function nvmlSystemEventSetCreate is not found") 

6308 return (<nvmlReturn_t (*)(nvmlSystemEventSetCreateRequest_t*) noexcept nogil>__nvmlSystemEventSetCreate)( 2Ab

6309 request) 

6310  

6311  

6312cdef nvmlReturn_t _nvmlSystemEventSetFree(nvmlSystemEventSetFreeRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6313 global __nvmlSystemEventSetFree 

6314 _check_or_init_nvml() 2a Ab

6315 if __nvmlSystemEventSetFree == NULL: 2Ab

6316 with gil: 

6317 raise FunctionNotFoundError("function nvmlSystemEventSetFree is not found") 

6318 return (<nvmlReturn_t (*)(nvmlSystemEventSetFreeRequest_t*) noexcept nogil>__nvmlSystemEventSetFree)( 2Ab

6319 request) 

6320  

6321  

6322cdef nvmlReturn_t _nvmlSystemRegisterEvents(nvmlSystemRegisterEventRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6323 global __nvmlSystemRegisterEvents 

6324 _check_or_init_nvml() 2a Ab

6325 if __nvmlSystemRegisterEvents == NULL: 2Ab

6326 with gil: 

6327 raise FunctionNotFoundError("function nvmlSystemRegisterEvents is not found") 

6328 return (<nvmlReturn_t (*)(nvmlSystemRegisterEventRequest_t*) noexcept nogil>__nvmlSystemRegisterEvents)( 2Ab

6329 request) 

6330  

6331  

6332cdef nvmlReturn_t _nvmlSystemEventSetWait(nvmlSystemEventSetWaitRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6333 global __nvmlSystemEventSetWait 

6334 _check_or_init_nvml() 2a Ab

6335 if __nvmlSystemEventSetWait == NULL: 2Ab

6336 with gil: 

6337 raise FunctionNotFoundError("function nvmlSystemEventSetWait is not found") 

6338 return (<nvmlReturn_t (*)(nvmlSystemEventSetWaitRequest_t*) noexcept nogil>__nvmlSystemEventSetWait)( 2Ab

6339 request) 

6340  

6341  

6342cdef nvmlReturn_t _nvmlDeviceModifyDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t newState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6343 global __nvmlDeviceModifyDrainState 

6344 _check_or_init_nvml() 

6345 if __nvmlDeviceModifyDrainState == NULL: 

6346 with gil: 

6347 raise FunctionNotFoundError("function nvmlDeviceModifyDrainState is not found") 

6348 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t) noexcept nogil>__nvmlDeviceModifyDrainState)( 

6349 pciInfo, newState) 

6350  

6351  

6352cdef nvmlReturn_t _nvmlDeviceQueryDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t* currentState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6353 global __nvmlDeviceQueryDrainState 

6354 _check_or_init_nvml() 

6355 if __nvmlDeviceQueryDrainState == NULL: 

6356 with gil: 

6357 raise FunctionNotFoundError("function nvmlDeviceQueryDrainState is not found") 

6358 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceQueryDrainState)( 

6359 pciInfo, currentState) 

6360  

6361  

6362cdef nvmlReturn_t _nvmlDeviceRemoveGpu_v2(nvmlPciInfo_t* pciInfo, nvmlDetachGpuState_t gpuState, nvmlPcieLinkState_t linkState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6363 global __nvmlDeviceRemoveGpu_v2 

6364 _check_or_init_nvml() 

6365 if __nvmlDeviceRemoveGpu_v2 == NULL: 

6366 with gil: 

6367 raise FunctionNotFoundError("function nvmlDeviceRemoveGpu_v2 is not found") 

6368 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlDetachGpuState_t, nvmlPcieLinkState_t) noexcept nogil>__nvmlDeviceRemoveGpu_v2)( 

6369 pciInfo, gpuState, linkState) 

6370  

6371  

6372cdef nvmlReturn_t _nvmlDeviceDiscoverGpus(nvmlPciInfo_t* pciInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6373 global __nvmlDeviceDiscoverGpus 

6374 _check_or_init_nvml() 1ar

6375 if __nvmlDeviceDiscoverGpus == NULL: 1r

6376 with gil: 

6377 raise FunctionNotFoundError("function nvmlDeviceDiscoverGpus is not found") 

6378 return (<nvmlReturn_t (*)(nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceDiscoverGpus)( 1r

6379 pciInfo) 

6380  

6381  

6382cdef nvmlReturn_t _nvmlDeviceGetFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6383 global __nvmlDeviceGetFieldValues 

6384 _check_or_init_nvml() 2a bck i

6385 if __nvmlDeviceGetFieldValues == NULL: 2bck i

6386 with gil: 

6387 raise FunctionNotFoundError("function nvmlDeviceGetFieldValues is not found") 

6388 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceGetFieldValues)( 2bck i

6389 device, valuesCount, values) 

6390  

6391  

6392cdef nvmlReturn_t _nvmlDeviceClearFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6393 global __nvmlDeviceClearFieldValues 

6394 _check_or_init_nvml() 1ak

6395 if __nvmlDeviceClearFieldValues == NULL: 1k

6396 with gil: 

6397 raise FunctionNotFoundError("function nvmlDeviceClearFieldValues is not found") 

6398 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceClearFieldValues)( 1k

6399 device, valuesCount, values) 

6400  

6401  

6402cdef nvmlReturn_t _nvmlDeviceGetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t* pVirtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6403 global __nvmlDeviceGetVirtualizationMode 

6404 _check_or_init_nvml() 2kbobm O

6405 if __nvmlDeviceGetVirtualizationMode == NULL: 2kbobm O

6406 with gil: 

6407 raise FunctionNotFoundError("function nvmlDeviceGetVirtualizationMode is not found") 

6408 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t*) noexcept nogil>__nvmlDeviceGetVirtualizationMode)( 2kbobm O

6409 device, pVirtualMode) 

6410  

6411  

6412cdef nvmlReturn_t _nvmlDeviceGetHostVgpuMode(nvmlDevice_t device, nvmlHostVgpuMode_t* pHostVgpuMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6413 global __nvmlDeviceGetHostVgpuMode 

6414 _check_or_init_nvml() 

6415 if __nvmlDeviceGetHostVgpuMode == NULL: 

6416 with gil: 

6417 raise FunctionNotFoundError("function nvmlDeviceGetHostVgpuMode is not found") 

6418 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostVgpuMode_t*) noexcept nogil>__nvmlDeviceGetHostVgpuMode)( 

6419 device, pHostVgpuMode) 

6420  

6421  

6422cdef nvmlReturn_t _nvmlDeviceSetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t virtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6423 global __nvmlDeviceSetVirtualizationMode 

6424 _check_or_init_nvml() 

6425 if __nvmlDeviceSetVirtualizationMode == NULL: 

6426 with gil: 

6427 raise FunctionNotFoundError("function nvmlDeviceSetVirtualizationMode is not found") 

6428 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t) noexcept nogil>__nvmlDeviceSetVirtualizationMode)( 

6429 device, virtualMode) 

6430  

6431  

6432cdef nvmlReturn_t _nvmlDeviceGetVgpuHeterogeneousMode(nvmlDevice_t device, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6433 global __nvmlDeviceGetVgpuHeterogeneousMode 

6434 _check_or_init_nvml() 1B

6435 if __nvmlDeviceGetVgpuHeterogeneousMode == NULL: 1B

6436 with gil: 

6437 raise FunctionNotFoundError("function nvmlDeviceGetVgpuHeterogeneousMode is not found") 

6438 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceGetVgpuHeterogeneousMode)( 1B

6439 device, pHeterogeneousMode) 

6440  

6441  

6442cdef nvmlReturn_t _nvmlDeviceSetVgpuHeterogeneousMode(nvmlDevice_t device, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6443 global __nvmlDeviceSetVgpuHeterogeneousMode 

6444 _check_or_init_nvml() 

6445 if __nvmlDeviceSetVgpuHeterogeneousMode == NULL: 

6446 with gil: 

6447 raise FunctionNotFoundError("function nvmlDeviceSetVgpuHeterogeneousMode is not found") 

6448 return (<nvmlReturn_t (*)(nvmlDevice_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceSetVgpuHeterogeneousMode)( 

6449 device, pHeterogeneousMode) 

6450  

6451  

6452cdef nvmlReturn_t _nvmlVgpuInstanceGetPlacementId(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuPlacementId_t* pPlacement) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6453 global __nvmlVgpuInstanceGetPlacementId 

6454 _check_or_init_nvml() 

6455 if __nvmlVgpuInstanceGetPlacementId == NULL: 

6456 with gil: 

6457 raise FunctionNotFoundError("function nvmlVgpuInstanceGetPlacementId is not found") 

6458 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuPlacementId_t*) noexcept nogil>__nvmlVgpuInstanceGetPlacementId)( 

6459 vgpuInstance, pPlacement) 

6460  

6461  

6462cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeSupportedPlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6463 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

6464 _check_or_init_nvml() 

6465 if __nvmlDeviceGetVgpuTypeSupportedPlacements == NULL: 

6466 with gil: 

6467 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeSupportedPlacements is not found") 

6468 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeSupportedPlacements)( 

6469 device, vgpuTypeId, pPlacementList) 

6470  

6471  

6472cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeCreatablePlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6473 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

6474 _check_or_init_nvml() 

6475 if __nvmlDeviceGetVgpuTypeCreatablePlacements == NULL: 

6476 with gil: 

6477 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeCreatablePlacements is not found") 

6478 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeCreatablePlacements)( 

6479 device, vgpuTypeId, pPlacementList) 

6480  

6481  

6482cdef nvmlReturn_t _nvmlVgpuTypeGetGspHeapSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* gspHeapSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6483 global __nvmlVgpuTypeGetGspHeapSize 

6484 _check_or_init_nvml() 

6485 if __nvmlVgpuTypeGetGspHeapSize == NULL: 

6486 with gil: 

6487 raise FunctionNotFoundError("function nvmlVgpuTypeGetGspHeapSize is not found") 

6488 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetGspHeapSize)( 

6489 vgpuTypeId, gspHeapSize) 

6490  

6491  

6492cdef nvmlReturn_t _nvmlVgpuTypeGetFbReservation(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbReservation) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6493 global __nvmlVgpuTypeGetFbReservation 

6494 _check_or_init_nvml() 

6495 if __nvmlVgpuTypeGetFbReservation == NULL: 

6496 with gil: 

6497 raise FunctionNotFoundError("function nvmlVgpuTypeGetFbReservation is not found") 

6498 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFbReservation)( 

6499 vgpuTypeId, fbReservation) 

6500  

6501  

6502cdef nvmlReturn_t _nvmlVgpuInstanceGetRuntimeStateSize(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuRuntimeState_t* pState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6503 global __nvmlVgpuInstanceGetRuntimeStateSize 

6504 _check_or_init_nvml() 

6505 if __nvmlVgpuInstanceGetRuntimeStateSize == NULL: 

6506 with gil: 

6507 raise FunctionNotFoundError("function nvmlVgpuInstanceGetRuntimeStateSize is not found") 

6508 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuRuntimeState_t*) noexcept nogil>__nvmlVgpuInstanceGetRuntimeStateSize)( 

6509 vgpuInstance, pState) 

6510  

6511  

6512cdef nvmlReturn_t _nvmlDeviceSetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, nvmlEnableState_t state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6513 global __nvmlDeviceSetVgpuCapabilities 

6514 _check_or_init_nvml() 

6515 if __nvmlDeviceSetVgpuCapabilities == NULL: 

6516 with gil: 

6517 raise FunctionNotFoundError("function nvmlDeviceSetVgpuCapabilities is not found") 

6518 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetVgpuCapabilities)( 

6519 device, capability, state) 

6520  

6521  

6522cdef nvmlReturn_t _nvmlDeviceGetGridLicensableFeatures_v4(nvmlDevice_t device, nvmlGridLicensableFeatures_t* pGridLicensableFeatures) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6523 global __nvmlDeviceGetGridLicensableFeatures_v4 

6524 _check_or_init_nvml() 2Fb

6525 if __nvmlDeviceGetGridLicensableFeatures_v4 == NULL: 2Fb

6526 with gil: 

6527 raise FunctionNotFoundError("function nvmlDeviceGetGridLicensableFeatures_v4 is not found") 

6528 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGridLicensableFeatures_t*) noexcept nogil>__nvmlDeviceGetGridLicensableFeatures_v4)( 2Fb

6529 device, pGridLicensableFeatures) 

6530  

6531  

6532cdef nvmlReturn_t _nvmlGetVgpuDriverCapabilities(nvmlVgpuDriverCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6533 global __nvmlGetVgpuDriverCapabilities 

6534 _check_or_init_nvml() 

6535 if __nvmlGetVgpuDriverCapabilities == NULL: 

6536 with gil: 

6537 raise FunctionNotFoundError("function nvmlGetVgpuDriverCapabilities is not found") 

6538 return (<nvmlReturn_t (*)(nvmlVgpuDriverCapability_t, unsigned int*) noexcept nogil>__nvmlGetVgpuDriverCapabilities)( 

6539 capability, capResult) 

6540  

6541  

6542cdef nvmlReturn_t _nvmlDeviceGetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6543 global __nvmlDeviceGetVgpuCapabilities 

6544 _check_or_init_nvml() 

6545 if __nvmlDeviceGetVgpuCapabilities == NULL: 

6546 with gil: 

6547 raise FunctionNotFoundError("function nvmlDeviceGetVgpuCapabilities is not found") 

6548 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuCapabilities)( 

6549 device, capability, capResult) 

6550  

6551  

6552cdef nvmlReturn_t _nvmlDeviceGetSupportedVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6553 global __nvmlDeviceGetSupportedVgpus 

6554 _check_or_init_nvml() 1z

6555 if __nvmlDeviceGetSupportedVgpus == NULL: 1z

6556 with gil: 

6557 raise FunctionNotFoundError("function nvmlDeviceGetSupportedVgpus is not found") 

6558 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetSupportedVgpus)( 1z

6559 device, vgpuCount, vgpuTypeIds) 

6560  

6561  

6562cdef nvmlReturn_t _nvmlDeviceGetCreatableVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6563 global __nvmlDeviceGetCreatableVgpus 

6564 _check_or_init_nvml() 1y

6565 if __nvmlDeviceGetCreatableVgpus == NULL: 1y

6566 with gil: 

6567 raise FunctionNotFoundError("function nvmlDeviceGetCreatableVgpus is not found") 

6568 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetCreatableVgpus)( 1y

6569 device, vgpuCount, vgpuTypeIds) 

6570  

6571  

6572cdef nvmlReturn_t _nvmlVgpuTypeGetClass(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeClass, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6573 global __nvmlVgpuTypeGetClass 

6574 _check_or_init_nvml() 

6575 if __nvmlVgpuTypeGetClass == NULL: 

6576 with gil: 

6577 raise FunctionNotFoundError("function nvmlVgpuTypeGetClass is not found") 

6578 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetClass)( 

6579 vgpuTypeId, vgpuTypeClass, size) 

6580  

6581  

6582cdef nvmlReturn_t _nvmlVgpuTypeGetName(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeName, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6583 global __nvmlVgpuTypeGetName 

6584 _check_or_init_nvml() 

6585 if __nvmlVgpuTypeGetName == NULL: 

6586 with gil: 

6587 raise FunctionNotFoundError("function nvmlVgpuTypeGetName is not found") 

6588 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetName)( 

6589 vgpuTypeId, vgpuTypeName, size) 

6590  

6591  

6592cdef nvmlReturn_t _nvmlVgpuTypeGetGpuInstanceProfileId(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* gpuInstanceProfileId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6593 global __nvmlVgpuTypeGetGpuInstanceProfileId 

6594 _check_or_init_nvml() 

6595 if __nvmlVgpuTypeGetGpuInstanceProfileId == NULL: 

6596 with gil: 

6597 raise FunctionNotFoundError("function nvmlVgpuTypeGetGpuInstanceProfileId is not found") 

6598 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetGpuInstanceProfileId)( 

6599 vgpuTypeId, gpuInstanceProfileId) 

6600  

6601  

6602cdef nvmlReturn_t _nvmlVgpuTypeGetDeviceID(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* deviceID, unsigned long long* subsystemID) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6603 global __nvmlVgpuTypeGetDeviceID 

6604 _check_or_init_nvml() 

6605 if __nvmlVgpuTypeGetDeviceID == NULL: 

6606 with gil: 

6607 raise FunctionNotFoundError("function nvmlVgpuTypeGetDeviceID is not found") 

6608 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetDeviceID)( 

6609 vgpuTypeId, deviceID, subsystemID) 

6610  

6611  

6612cdef nvmlReturn_t _nvmlVgpuTypeGetFramebufferSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6613 global __nvmlVgpuTypeGetFramebufferSize 

6614 _check_or_init_nvml() 

6615 if __nvmlVgpuTypeGetFramebufferSize == NULL: 

6616 with gil: 

6617 raise FunctionNotFoundError("function nvmlVgpuTypeGetFramebufferSize is not found") 

6618 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFramebufferSize)( 

6619 vgpuTypeId, fbSize) 

6620  

6621  

6622cdef nvmlReturn_t _nvmlVgpuTypeGetNumDisplayHeads(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* numDisplayHeads) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6623 global __nvmlVgpuTypeGetNumDisplayHeads 

6624 _check_or_init_nvml() 

6625 if __nvmlVgpuTypeGetNumDisplayHeads == NULL: 

6626 with gil: 

6627 raise FunctionNotFoundError("function nvmlVgpuTypeGetNumDisplayHeads is not found") 

6628 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetNumDisplayHeads)( 

6629 vgpuTypeId, numDisplayHeads) 

6630  

6631  

6632cdef nvmlReturn_t _nvmlVgpuTypeGetResolution(nvmlVgpuTypeId_t vgpuTypeId, unsigned int displayIndex, unsigned int* xdim, unsigned int* ydim) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6633 global __nvmlVgpuTypeGetResolution 

6634 _check_or_init_nvml() 

6635 if __nvmlVgpuTypeGetResolution == NULL: 

6636 with gil: 

6637 raise FunctionNotFoundError("function nvmlVgpuTypeGetResolution is not found") 

6638 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetResolution)( 

6639 vgpuTypeId, displayIndex, xdim, ydim) 

6640  

6641  

6642cdef nvmlReturn_t _nvmlVgpuTypeGetLicense(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeLicenseString, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6643 global __nvmlVgpuTypeGetLicense 

6644 _check_or_init_nvml() 

6645 if __nvmlVgpuTypeGetLicense == NULL: 

6646 with gil: 

6647 raise FunctionNotFoundError("function nvmlVgpuTypeGetLicense is not found") 

6648 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int) noexcept nogil>__nvmlVgpuTypeGetLicense)( 

6649 vgpuTypeId, vgpuTypeLicenseString, size) 

6650  

6651  

6652cdef nvmlReturn_t _nvmlVgpuTypeGetFrameRateLimit(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6653 global __nvmlVgpuTypeGetFrameRateLimit 

6654 _check_or_init_nvml() 

6655 if __nvmlVgpuTypeGetFrameRateLimit == NULL: 

6656 with gil: 

6657 raise FunctionNotFoundError("function nvmlVgpuTypeGetFrameRateLimit is not found") 

6658 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetFrameRateLimit)( 

6659 vgpuTypeId, frameRateLimit) 

6660  

6661  

6662cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstances(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6663 global __nvmlVgpuTypeGetMaxInstances 

6664 _check_or_init_nvml() 

6665 if __nvmlVgpuTypeGetMaxInstances == NULL: 

6666 with gil: 

6667 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstances is not found") 

6668 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstances)( 

6669 device, vgpuTypeId, vgpuInstanceCount) 

6670  

6671  

6672cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerVm(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCountPerVm) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6673 global __nvmlVgpuTypeGetMaxInstancesPerVm 

6674 _check_or_init_nvml() 

6675 if __nvmlVgpuTypeGetMaxInstancesPerVm == NULL: 

6676 with gil: 

6677 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerVm is not found") 

6678 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerVm)( 

6679 vgpuTypeId, vgpuInstanceCountPerVm) 

6680  

6681  

6682cdef nvmlReturn_t _nvmlVgpuTypeGetBAR1Info(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuTypeBar1Info_t* bar1Info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6683 global __nvmlVgpuTypeGetBAR1Info 

6684 _check_or_init_nvml() 

6685 if __nvmlVgpuTypeGetBAR1Info == NULL: 

6686 with gil: 

6687 raise FunctionNotFoundError("function nvmlVgpuTypeGetBAR1Info is not found") 

6688 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuTypeBar1Info_t*) noexcept nogil>__nvmlVgpuTypeGetBAR1Info)( 

6689 vgpuTypeId, bar1Info) 

6690  

6691  

6692cdef nvmlReturn_t _nvmlDeviceGetActiveVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuInstance_t* vgpuInstances) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6693 global __nvmlDeviceGetActiveVgpus 

6694 _check_or_init_nvml() 1x

6695 if __nvmlDeviceGetActiveVgpus == NULL: 1x

6696 with gil: 

6697 raise FunctionNotFoundError("function nvmlDeviceGetActiveVgpus is not found") 

6698 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuInstance_t*) noexcept nogil>__nvmlDeviceGetActiveVgpus)( 1x

6699 device, vgpuCount, vgpuInstances) 

6700  

6701  

6702cdef nvmlReturn_t _nvmlVgpuInstanceGetVmID(nvmlVgpuInstance_t vgpuInstance, char* vmId, unsigned int size, nvmlVgpuVmIdType_t* vmIdType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6703 global __nvmlVgpuInstanceGetVmID 

6704 _check_or_init_nvml() 

6705 if __nvmlVgpuInstanceGetVmID == NULL: 

6706 with gil: 

6707 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmID is not found") 

6708 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int, nvmlVgpuVmIdType_t*) noexcept nogil>__nvmlVgpuInstanceGetVmID)( 

6709 vgpuInstance, vmId, size, vmIdType) 

6710  

6711  

6712cdef nvmlReturn_t _nvmlVgpuInstanceGetUUID(nvmlVgpuInstance_t vgpuInstance, char* uuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6713 global __nvmlVgpuInstanceGetUUID 

6714 _check_or_init_nvml() 

6715 if __nvmlVgpuInstanceGetUUID == NULL: 

6716 with gil: 

6717 raise FunctionNotFoundError("function nvmlVgpuInstanceGetUUID is not found") 

6718 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetUUID)( 

6719 vgpuInstance, uuid, size) 

6720  

6721  

6722cdef nvmlReturn_t _nvmlVgpuInstanceGetVmDriverVersion(nvmlVgpuInstance_t vgpuInstance, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6723 global __nvmlVgpuInstanceGetVmDriverVersion 

6724 _check_or_init_nvml() 

6725 if __nvmlVgpuInstanceGetVmDriverVersion == NULL: 

6726 with gil: 

6727 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmDriverVersion is not found") 

6728 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetVmDriverVersion)( 

6729 vgpuInstance, version, length) 

6730  

6731  

6732cdef nvmlReturn_t _nvmlVgpuInstanceGetFbUsage(nvmlVgpuInstance_t vgpuInstance, unsigned long long* fbUsage) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6733 global __nvmlVgpuInstanceGetFbUsage 

6734 _check_or_init_nvml() 

6735 if __nvmlVgpuInstanceGetFbUsage == NULL: 

6736 with gil: 

6737 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFbUsage is not found") 

6738 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned long long*) noexcept nogil>__nvmlVgpuInstanceGetFbUsage)( 

6739 vgpuInstance, fbUsage) 

6740  

6741  

6742cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseStatus(nvmlVgpuInstance_t vgpuInstance, unsigned int* licensed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6743 global __nvmlVgpuInstanceGetLicenseStatus 

6744 _check_or_init_nvml() 

6745 if __nvmlVgpuInstanceGetLicenseStatus == NULL: 

6746 with gil: 

6747 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseStatus is not found") 

6748 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetLicenseStatus)( 

6749 vgpuInstance, licensed) 

6750  

6751  

6752cdef nvmlReturn_t _nvmlVgpuInstanceGetType(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuTypeId_t* vgpuTypeId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6753 global __nvmlVgpuInstanceGetType 

6754 _check_or_init_nvml() 

6755 if __nvmlVgpuInstanceGetType == NULL: 

6756 with gil: 

6757 raise FunctionNotFoundError("function nvmlVgpuInstanceGetType is not found") 

6758 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlVgpuInstanceGetType)( 

6759 vgpuInstance, vgpuTypeId) 

6760  

6761  

6762cdef nvmlReturn_t _nvmlVgpuInstanceGetFrameRateLimit(nvmlVgpuInstance_t vgpuInstance, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6763 global __nvmlVgpuInstanceGetFrameRateLimit 

6764 _check_or_init_nvml() 

6765 if __nvmlVgpuInstanceGetFrameRateLimit == NULL: 

6766 with gil: 

6767 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFrameRateLimit is not found") 

6768 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetFrameRateLimit)( 

6769 vgpuInstance, frameRateLimit) 

6770  

6771  

6772cdef nvmlReturn_t _nvmlVgpuInstanceGetEccMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* eccMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6773 global __nvmlVgpuInstanceGetEccMode 

6774 _check_or_init_nvml() 

6775 if __nvmlVgpuInstanceGetEccMode == NULL: 

6776 with gil: 

6777 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEccMode is not found") 

6778 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetEccMode)( 

6779 vgpuInstance, eccMode) 

6780  

6781  

6782cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int* encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6783 global __nvmlVgpuInstanceGetEncoderCapacity 

6784 _check_or_init_nvml() 

6785 if __nvmlVgpuInstanceGetEncoderCapacity == NULL: 

6786 with gil: 

6787 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderCapacity is not found") 

6788 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderCapacity)( 

6789 vgpuInstance, encoderCapacity) 

6790  

6791  

6792cdef nvmlReturn_t _nvmlVgpuInstanceSetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6793 global __nvmlVgpuInstanceSetEncoderCapacity 

6794 _check_or_init_nvml() 

6795 if __nvmlVgpuInstanceSetEncoderCapacity == NULL: 

6796 with gil: 

6797 raise FunctionNotFoundError("function nvmlVgpuInstanceSetEncoderCapacity is not found") 

6798 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int) noexcept nogil>__nvmlVgpuInstanceSetEncoderCapacity)( 

6799 vgpuInstance, encoderCapacity) 

6800  

6801  

6802cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderStats(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, unsigned int* averageFps, unsigned int* averageLatency) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6803 global __nvmlVgpuInstanceGetEncoderStats 

6804 _check_or_init_nvml() 

6805 if __nvmlVgpuInstanceGetEncoderStats == NULL: 

6806 with gil: 

6807 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderStats is not found") 

6808 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderStats)( 

6809 vgpuInstance, sessionCount, averageFps, averageLatency) 

6810  

6811  

6812cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlEncoderSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6813 global __nvmlVgpuInstanceGetEncoderSessions 

6814 _check_or_init_nvml() 

6815 if __nvmlVgpuInstanceGetEncoderSessions == NULL: 

6816 with gil: 

6817 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderSessions is not found") 

6818 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlEncoderSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetEncoderSessions)( 

6819 vgpuInstance, sessionCount, sessionInfo) 

6820  

6821  

6822cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCStats(nvmlVgpuInstance_t vgpuInstance, nvmlFBCStats_t* fbcStats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6823 global __nvmlVgpuInstanceGetFBCStats 

6824 _check_or_init_nvml() 

6825 if __nvmlVgpuInstanceGetFBCStats == NULL: 

6826 with gil: 

6827 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCStats is not found") 

6828 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlFBCStats_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCStats)( 

6829 vgpuInstance, fbcStats) 

6830  

6831  

6832cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlFBCSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6833 global __nvmlVgpuInstanceGetFBCSessions 

6834 _check_or_init_nvml() 

6835 if __nvmlVgpuInstanceGetFBCSessions == NULL: 

6836 with gil: 

6837 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCSessions is not found") 

6838 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlFBCSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCSessions)( 

6839 vgpuInstance, sessionCount, sessionInfo) 

6840  

6841  

6842cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuInstanceId(nvmlVgpuInstance_t vgpuInstance, unsigned int* gpuInstanceId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6843 global __nvmlVgpuInstanceGetGpuInstanceId 

6844 _check_or_init_nvml() 

6845 if __nvmlVgpuInstanceGetGpuInstanceId == NULL: 

6846 with gil: 

6847 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuInstanceId is not found") 

6848 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuInstanceId)( 

6849 vgpuInstance, gpuInstanceId) 

6850  

6851  

6852cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuPciId(nvmlVgpuInstance_t vgpuInstance, char* vgpuPciId, unsigned int* length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6853 global __nvmlVgpuInstanceGetGpuPciId 

6854 _check_or_init_nvml() 

6855 if __nvmlVgpuInstanceGetGpuPciId == NULL: 

6856 with gil: 

6857 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuPciId is not found") 

6858 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuPciId)( 

6859 vgpuInstance, vgpuPciId, length) 

6860  

6861  

6862cdef nvmlReturn_t _nvmlVgpuTypeGetCapabilities(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6863 global __nvmlVgpuTypeGetCapabilities 

6864 _check_or_init_nvml() 

6865 if __nvmlVgpuTypeGetCapabilities == NULL: 

6866 with gil: 

6867 raise FunctionNotFoundError("function nvmlVgpuTypeGetCapabilities is not found") 

6868 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetCapabilities)( 

6869 vgpuTypeId, capability, capResult) 

6870  

6871  

6872cdef nvmlReturn_t _nvmlVgpuInstanceGetMdevUUID(nvmlVgpuInstance_t vgpuInstance, char* mdevUuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6873 global __nvmlVgpuInstanceGetMdevUUID 

6874 _check_or_init_nvml() 

6875 if __nvmlVgpuInstanceGetMdevUUID == NULL: 

6876 with gil: 

6877 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMdevUUID is not found") 

6878 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetMdevUUID)( 

6879 vgpuInstance, mdevUuid, size) 

6880  

6881  

6882cdef nvmlReturn_t _nvmlGpuInstanceGetCreatableVgpus(nvmlGpuInstance_t gpuInstance, nvmlVgpuTypeIdInfo_t* pVgpus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6883 global __nvmlGpuInstanceGetCreatableVgpus 

6884 _check_or_init_nvml() 

6885 if __nvmlGpuInstanceGetCreatableVgpus == NULL: 

6886 with gil: 

6887 raise FunctionNotFoundError("function nvmlGpuInstanceGetCreatableVgpus is not found") 

6888 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuTypeIdInfo_t*) noexcept nogil>__nvmlGpuInstanceGetCreatableVgpus)( 

6889 gpuInstance, pVgpus) 

6890  

6891  

6892cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerGpuInstance(nvmlVgpuTypeMaxInstance_t* pMaxInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6893 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

6894 _check_or_init_nvml() 

6895 if __nvmlVgpuTypeGetMaxInstancesPerGpuInstance == NULL: 

6896 with gil: 

6897 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerGpuInstance is not found") 

6898 return (<nvmlReturn_t (*)(nvmlVgpuTypeMaxInstance_t*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerGpuInstance)( 

6899 pMaxInstance) 

6900  

6901  

6902cdef nvmlReturn_t _nvmlGpuInstanceGetActiveVgpus(nvmlGpuInstance_t gpuInstance, nvmlActiveVgpuInstanceInfo_t* pVgpuInstanceInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6903 global __nvmlGpuInstanceGetActiveVgpus 

6904 _check_or_init_nvml() 

6905 if __nvmlGpuInstanceGetActiveVgpus == NULL: 

6906 with gil: 

6907 raise FunctionNotFoundError("function nvmlGpuInstanceGetActiveVgpus is not found") 

6908 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlActiveVgpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetActiveVgpus)( 

6909 gpuInstance, pVgpuInstanceInfo) 

6910  

6911  

6912cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_t* pScheduler) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6913 global __nvmlGpuInstanceSetVgpuSchedulerState 

6914 _check_or_init_nvml() 

6915 if __nvmlGpuInstanceSetVgpuSchedulerState == NULL: 

6916 with gil: 

6917 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState is not found") 

6918 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerState_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuSchedulerState)( 

6919 gpuInstance, pScheduler) 

6920  

6921  

6922cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerStateInfo_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6923 global __nvmlGpuInstanceGetVgpuSchedulerState 

6924 _check_or_init_nvml() 

6925 if __nvmlGpuInstanceGetVgpuSchedulerState == NULL: 

6926 with gil: 

6927 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerState is not found") 

6928 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerStateInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerState)( 

6929 gpuInstance, pSchedulerStateInfo) 

6930  

6931  

6932cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6933 global __nvmlGpuInstanceGetVgpuSchedulerLog 

6934 _check_or_init_nvml() 

6935 if __nvmlGpuInstanceGetVgpuSchedulerLog == NULL: 

6936 with gil: 

6937 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerLog is not found") 

6938 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerLogInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerLog)( 

6939 gpuInstance, pSchedulerLogInfo) 

6940  

6941  

6942cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuTypeCreatablePlacements(nvmlGpuInstance_t gpuInstance, nvmlVgpuCreatablePlacementInfo_t* pCreatablePlacementInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6943 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

6944 _check_or_init_nvml() 

6945 if __nvmlGpuInstanceGetVgpuTypeCreatablePlacements == NULL: 

6946 with gil: 

6947 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuTypeCreatablePlacements is not found") 

6948 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuCreatablePlacementInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuTypeCreatablePlacements)( 

6949 gpuInstance, pCreatablePlacementInfo) 

6950  

6951  

6952cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6953 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

6954 _check_or_init_nvml() 

6955 if __nvmlGpuInstanceGetVgpuHeterogeneousMode == NULL: 

6956 with gil: 

6957 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuHeterogeneousMode is not found") 

6958 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuHeterogeneousMode)( 

6959 gpuInstance, pHeterogeneousMode) 

6960  

6961  

6962cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6963 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

6964 _check_or_init_nvml() 

6965 if __nvmlGpuInstanceSetVgpuHeterogeneousMode == NULL: 

6966 with gil: 

6967 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuHeterogeneousMode is not found") 

6968 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuHeterogeneousMode)( 

6969 gpuInstance, pHeterogeneousMode) 

6970  

6971  

6972cdef nvmlReturn_t _nvmlVgpuInstanceGetMetadata(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuMetadata_t* vgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6973 global __nvmlVgpuInstanceGetMetadata 

6974 _check_or_init_nvml() 

6975 if __nvmlVgpuInstanceGetMetadata == NULL: 

6976 with gil: 

6977 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMetadata is not found") 

6978 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetMetadata)( 

6979 vgpuInstance, vgpuMetadata, bufferSize) 

6980  

6981  

6982cdef nvmlReturn_t _nvmlDeviceGetVgpuMetadata(nvmlDevice_t device, nvmlVgpuPgpuMetadata_t* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6983 global __nvmlDeviceGetVgpuMetadata 

6984 _check_or_init_nvml() 

6985 if __nvmlDeviceGetVgpuMetadata == NULL: 

6986 with gil: 

6987 raise FunctionNotFoundError("function nvmlDeviceGetVgpuMetadata is not found") 

6988 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuPgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuMetadata)( 

6989 device, pgpuMetadata, bufferSize) 

6990  

6991  

6992cdef nvmlReturn_t _nvmlGetVgpuCompatibility(nvmlVgpuMetadata_t* vgpuMetadata, nvmlVgpuPgpuMetadata_t* pgpuMetadata, nvmlVgpuPgpuCompatibility_t* compatibilityInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6993 global __nvmlGetVgpuCompatibility 

6994 _check_or_init_nvml() 

6995 if __nvmlGetVgpuCompatibility == NULL: 

6996 with gil: 

6997 raise FunctionNotFoundError("function nvmlGetVgpuCompatibility is not found") 

6998 return (<nvmlReturn_t (*)(nvmlVgpuMetadata_t*, nvmlVgpuPgpuMetadata_t*, nvmlVgpuPgpuCompatibility_t*) noexcept nogil>__nvmlGetVgpuCompatibility)( 

6999 vgpuMetadata, pgpuMetadata, compatibilityInfo) 

7000  

7001  

7002cdef nvmlReturn_t _nvmlDeviceGetPgpuMetadataString(nvmlDevice_t device, char* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7003 global __nvmlDeviceGetPgpuMetadataString 

7004 _check_or_init_nvml() 

7005 if __nvmlDeviceGetPgpuMetadataString == NULL: 

7006 with gil: 

7007 raise FunctionNotFoundError("function nvmlDeviceGetPgpuMetadataString is not found") 

7008 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int*) noexcept nogil>__nvmlDeviceGetPgpuMetadataString)( 

7009 device, pgpuMetadata, bufferSize) 

7010  

7011  

7012cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog(nvmlDevice_t device, nvmlVgpuSchedulerLog_t* pSchedulerLog) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7013 global __nvmlDeviceGetVgpuSchedulerLog 

7014 _check_or_init_nvml() 

7015 if __nvmlDeviceGetVgpuSchedulerLog == NULL: 

7016 with gil: 

7017 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerLog is not found") 

7018 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerLog_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerLog)( 

7019 device, pSchedulerLog) 

7020  

7021  

7022cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerGetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7023 global __nvmlDeviceGetVgpuSchedulerState 

7024 _check_or_init_nvml() 

7025 if __nvmlDeviceGetVgpuSchedulerState == NULL: 

7026 with gil: 

7027 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerState is not found") 

7028 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerGetState_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerState)( 

7029 device, pSchedulerState) 

7030  

7031  

7032cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerCapabilities(nvmlDevice_t device, nvmlVgpuSchedulerCapabilities_t* pCapabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7033 global __nvmlDeviceGetVgpuSchedulerCapabilities 

7034 _check_or_init_nvml() 

7035 if __nvmlDeviceGetVgpuSchedulerCapabilities == NULL: 

7036 with gil: 

7037 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerCapabilities is not found") 

7038 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerCapabilities_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerCapabilities)( 

7039 device, pCapabilities) 

7040  

7041  

7042cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerSetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7043 global __nvmlDeviceSetVgpuSchedulerState 

7044 _check_or_init_nvml() 

7045 if __nvmlDeviceSetVgpuSchedulerState == NULL: 

7046 with gil: 

7047 raise FunctionNotFoundError("function nvmlDeviceSetVgpuSchedulerState is not found") 

7048 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerSetState_t*) noexcept nogil>__nvmlDeviceSetVgpuSchedulerState)( 

7049 device, pSchedulerState) 

7050  

7051  

7052cdef nvmlReturn_t _nvmlGetVgpuVersion(nvmlVgpuVersion_t* supported, nvmlVgpuVersion_t* current) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7053 global __nvmlGetVgpuVersion 

7054 _check_or_init_nvml() 

7055 if __nvmlGetVgpuVersion == NULL: 

7056 with gil: 

7057 raise FunctionNotFoundError("function nvmlGetVgpuVersion is not found") 

7058 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*, nvmlVgpuVersion_t*) noexcept nogil>__nvmlGetVgpuVersion)( 

7059 supported, current) 

7060  

7061  

7062cdef nvmlReturn_t _nvmlSetVgpuVersion(nvmlVgpuVersion_t* vgpuVersion) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7063 global __nvmlSetVgpuVersion 

7064 _check_or_init_nvml() 

7065 if __nvmlSetVgpuVersion == NULL: 

7066 with gil: 

7067 raise FunctionNotFoundError("function nvmlSetVgpuVersion is not found") 

7068 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*) noexcept nogil>__nvmlSetVgpuVersion)( 

7069 vgpuVersion) 

7070  

7071  

7072cdef 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: 

7073 global __nvmlDeviceGetVgpuUtilization 

7074 _check_or_init_nvml() 2mb

7075 if __nvmlDeviceGetVgpuUtilization == NULL: 2mb

7076 with gil: 

7077 raise FunctionNotFoundError("function nvmlDeviceGetVgpuUtilization is not found") 

7078 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlVgpuInstanceUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuUtilization)( 2mb

7079 device, lastSeenTimeStamp, sampleValType, vgpuInstanceSamplesCount, utilizationSamples) 

7080  

7081  

7082cdef nvmlReturn_t _nvmlDeviceGetVgpuInstancesUtilizationInfo(nvmlDevice_t device, nvmlVgpuInstancesUtilizationInfo_t* vgpuUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7083 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

7084 _check_or_init_nvml() 

7085 if __nvmlDeviceGetVgpuInstancesUtilizationInfo == NULL: 

7086 with gil: 

7087 raise FunctionNotFoundError("function nvmlDeviceGetVgpuInstancesUtilizationInfo is not found") 

7088 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuInstancesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuInstancesUtilizationInfo)( 

7089 device, vgpuUtilInfo) 

7090  

7091  

7092cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessUtilization(nvmlDevice_t device, unsigned long long lastSeenTimeStamp, unsigned int* vgpuProcessSamplesCount, nvmlVgpuProcessUtilizationSample_t* utilizationSamples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7093 global __nvmlDeviceGetVgpuProcessUtilization 

7094 _check_or_init_nvml() 2lb

7095 if __nvmlDeviceGetVgpuProcessUtilization == NULL: 2lb

7096 with gil: 

7097 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessUtilization is not found") 

7098 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, unsigned int*, nvmlVgpuProcessUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessUtilization)( 2lb

7099 device, lastSeenTimeStamp, vgpuProcessSamplesCount, utilizationSamples) 

7100  

7101  

7102cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessesUtilizationInfo(nvmlDevice_t device, nvmlVgpuProcessesUtilizationInfo_t* vgpuProcUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7103 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

7104 _check_or_init_nvml() 

7105 if __nvmlDeviceGetVgpuProcessesUtilizationInfo == NULL: 

7106 with gil: 

7107 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessesUtilizationInfo is not found") 

7108 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessesUtilizationInfo)( 

7109 device, vgpuProcUtilInfo) 

7110  

7111  

7112cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7113 global __nvmlVgpuInstanceGetAccountingMode 

7114 _check_or_init_nvml() 

7115 if __nvmlVgpuInstanceGetAccountingMode == NULL: 

7116 with gil: 

7117 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingMode is not found") 

7118 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingMode)( 

7119 vgpuInstance, mode) 

7120  

7121  

7122cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingPids(nvmlVgpuInstance_t vgpuInstance, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7123 global __nvmlVgpuInstanceGetAccountingPids 

7124 _check_or_init_nvml() 

7125 if __nvmlVgpuInstanceGetAccountingPids == NULL: 

7126 with gil: 

7127 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingPids is not found") 

7128 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetAccountingPids)( 

7129 vgpuInstance, count, pids) 

7130  

7131  

7132cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingStats(nvmlVgpuInstance_t vgpuInstance, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7133 global __nvmlVgpuInstanceGetAccountingStats 

7134 _check_or_init_nvml() 

7135 if __nvmlVgpuInstanceGetAccountingStats == NULL: 

7136 with gil: 

7137 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingStats is not found") 

7138 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingStats)( 

7139 vgpuInstance, pid, stats) 

7140  

7141  

7142cdef nvmlReturn_t _nvmlVgpuInstanceClearAccountingPids(nvmlVgpuInstance_t vgpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7143 global __nvmlVgpuInstanceClearAccountingPids 

7144 _check_or_init_nvml() 

7145 if __nvmlVgpuInstanceClearAccountingPids == NULL: 

7146 with gil: 

7147 raise FunctionNotFoundError("function nvmlVgpuInstanceClearAccountingPids is not found") 

7148 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t) noexcept nogil>__nvmlVgpuInstanceClearAccountingPids)( 

7149 vgpuInstance) 

7150  

7151  

7152cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseInfo_v2(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuLicenseInfo_t* licenseInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7153 global __nvmlVgpuInstanceGetLicenseInfo_v2 

7154 _check_or_init_nvml() 

7155 if __nvmlVgpuInstanceGetLicenseInfo_v2 == NULL: 

7156 with gil: 

7157 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseInfo_v2 is not found") 

7158 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuLicenseInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetLicenseInfo_v2)( 

7159 vgpuInstance, licenseInfo) 

7160  

7161  

7162cdef nvmlReturn_t _nvmlGetExcludedDeviceCount(unsigned int* deviceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7163 global __nvmlGetExcludedDeviceCount 

7164 _check_or_init_nvml() 

7165 if __nvmlGetExcludedDeviceCount == NULL: 

7166 with gil: 

7167 raise FunctionNotFoundError("function nvmlGetExcludedDeviceCount is not found") 

7168 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlGetExcludedDeviceCount)( 

7169 deviceCount) 

7170  

7171  

7172cdef nvmlReturn_t _nvmlGetExcludedDeviceInfoByIndex(unsigned int index, nvmlExcludedDeviceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7173 global __nvmlGetExcludedDeviceInfoByIndex 

7174 _check_or_init_nvml() 

7175 if __nvmlGetExcludedDeviceInfoByIndex == NULL: 

7176 with gil: 

7177 raise FunctionNotFoundError("function nvmlGetExcludedDeviceInfoByIndex is not found") 

7178 return (<nvmlReturn_t (*)(unsigned int, nvmlExcludedDeviceInfo_t*) noexcept nogil>__nvmlGetExcludedDeviceInfoByIndex)( 

7179 index, info) 

7180  

7181  

7182cdef nvmlReturn_t _nvmlDeviceSetMigMode(nvmlDevice_t device, unsigned int mode, nvmlReturn_t* activationStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7183 global __nvmlDeviceSetMigMode 

7184 _check_or_init_nvml() 

7185 if __nvmlDeviceSetMigMode == NULL: 

7186 with gil: 

7187 raise FunctionNotFoundError("function nvmlDeviceSetMigMode is not found") 

7188 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlReturn_t*) noexcept nogil>__nvmlDeviceSetMigMode)( 

7189 device, mode, activationStatus) 

7190  

7191  

7192cdef nvmlReturn_t _nvmlDeviceGetMigMode(nvmlDevice_t device, unsigned int* currentMode, unsigned int* pendingMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7193 global __nvmlDeviceGetMigMode 

7194 _check_or_init_nvml() 2kbob0

7195 if __nvmlDeviceGetMigMode == NULL: 2kbob0

7196 with gil: 

7197 raise FunctionNotFoundError("function nvmlDeviceGetMigMode is not found") 

7198 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetMigMode)( 2kbob0

7199 device, currentMode, pendingMode) 

7200  

7201  

7202cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoV(nvmlDevice_t device, unsigned int profile, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7203 global __nvmlDeviceGetGpuInstanceProfileInfoV 

7204 _check_or_init_nvml() 

7205 if __nvmlDeviceGetGpuInstanceProfileInfoV == NULL: 

7206 with gil: 

7207 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoV is not found") 

7208 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoV)( 

7209 device, profile, info) 

7210  

7211  

7212cdef nvmlReturn_t _nvmlDeviceGetGpuInstancePossiblePlacements_v2(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7213 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

7214 _check_or_init_nvml() 

7215 if __nvmlDeviceGetGpuInstancePossiblePlacements_v2 == NULL: 

7216 with gil: 

7217 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstancePossiblePlacements_v2 is not found") 

7218 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstancePossiblePlacements_v2)( 

7219 device, profileId, placements, count) 

7220  

7221  

7222cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceRemainingCapacity(nvmlDevice_t device, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7223 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

7224 _check_or_init_nvml() 

7225 if __nvmlDeviceGetGpuInstanceRemainingCapacity == NULL: 

7226 with gil: 

7227 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceRemainingCapacity is not found") 

7228 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceRemainingCapacity)( 

7229 device, profileId, count) 

7230  

7231  

7232cdef nvmlReturn_t _nvmlDeviceCreateGpuInstance(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7233 global __nvmlDeviceCreateGpuInstance 

7234 _check_or_init_nvml() 

7235 if __nvmlDeviceCreateGpuInstance == NULL: 

7236 with gil: 

7237 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstance is not found") 

7238 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstance)( 

7239 device, profileId, gpuInstance) 

7240  

7241  

7242cdef nvmlReturn_t _nvmlDeviceCreateGpuInstanceWithPlacement(nvmlDevice_t device, unsigned int profileId, const nvmlGpuInstancePlacement_t* placement, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7243 global __nvmlDeviceCreateGpuInstanceWithPlacement 

7244 _check_or_init_nvml() 

7245 if __nvmlDeviceCreateGpuInstanceWithPlacement == NULL: 

7246 with gil: 

7247 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstanceWithPlacement is not found") 

7248 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, const nvmlGpuInstancePlacement_t*, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstanceWithPlacement)( 

7249 device, profileId, placement, gpuInstance) 

7250  

7251  

7252cdef nvmlReturn_t _nvmlGpuInstanceDestroy(nvmlGpuInstance_t gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7253 global __nvmlGpuInstanceDestroy 

7254 _check_or_init_nvml() 

7255 if __nvmlGpuInstanceDestroy == NULL: 

7256 with gil: 

7257 raise FunctionNotFoundError("function nvmlGpuInstanceDestroy is not found") 

7258 return (<nvmlReturn_t (*)(nvmlGpuInstance_t) noexcept nogil>__nvmlGpuInstanceDestroy)( 

7259 gpuInstance) 

7260  

7261  

7262cdef nvmlReturn_t _nvmlDeviceGetGpuInstances(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7263 global __nvmlDeviceGetGpuInstances 

7264 _check_or_init_nvml() 

7265 if __nvmlDeviceGetGpuInstances == NULL: 

7266 with gil: 

7267 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstances is not found") 

7268 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstances)( 

7269 device, profileId, gpuInstances, count) 

7270  

7271  

7272cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceById(nvmlDevice_t device, unsigned int id, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7273 global __nvmlDeviceGetGpuInstanceById 

7274 _check_or_init_nvml() 

7275 if __nvmlDeviceGetGpuInstanceById == NULL: 

7276 with gil: 

7277 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceById is not found") 

7278 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceById)( 

7279 device, id, gpuInstance) 

7280  

7281  

7282cdef nvmlReturn_t _nvmlGpuInstanceGetInfo(nvmlGpuInstance_t gpuInstance, nvmlGpuInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7283 global __nvmlGpuInstanceGetInfo 

7284 _check_or_init_nvml() 

7285 if __nvmlGpuInstanceGetInfo == NULL: 

7286 with gil: 

7287 raise FunctionNotFoundError("function nvmlGpuInstanceGetInfo is not found") 

7288 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlGpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetInfo)( 

7289 gpuInstance, info) 

7290  

7291  

7292cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceProfileInfoV(nvmlGpuInstance_t gpuInstance, unsigned int profile, unsigned int engProfile, nvmlComputeInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7293 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

7294 _check_or_init_nvml() 

7295 if __nvmlGpuInstanceGetComputeInstanceProfileInfoV == NULL: 

7296 with gil: 

7297 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceProfileInfoV is not found") 

7298 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int, nvmlComputeInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceProfileInfoV)( 

7299 gpuInstance, profile, engProfile, info) 

7300  

7301  

7302cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceRemainingCapacity(nvmlGpuInstance_t gpuInstance, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7303 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

7304 _check_or_init_nvml() 

7305 if __nvmlGpuInstanceGetComputeInstanceRemainingCapacity == NULL: 

7306 with gil: 

7307 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceRemainingCapacity is not found") 

7308 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceRemainingCapacity)( 

7309 gpuInstance, profileId, count) 

7310  

7311  

7312cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstancePossiblePlacements(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7313 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

7314 _check_or_init_nvml() 

7315 if __nvmlGpuInstanceGetComputeInstancePossiblePlacements == NULL: 

7316 with gil: 

7317 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstancePossiblePlacements is not found") 

7318 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstancePossiblePlacements)( 

7319 gpuInstance, profileId, placements, count) 

7320  

7321  

7322cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstance(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7323 global __nvmlGpuInstanceCreateComputeInstance 

7324 _check_or_init_nvml() 

7325 if __nvmlGpuInstanceCreateComputeInstance == NULL: 

7326 with gil: 

7327 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstance is not found") 

7328 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstance)( 

7329 gpuInstance, profileId, computeInstance) 

7330  

7331  

7332cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstanceWithPlacement(nvmlGpuInstance_t gpuInstance, unsigned int profileId, const nvmlComputeInstancePlacement_t* placement, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7333 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

7334 _check_or_init_nvml() 

7335 if __nvmlGpuInstanceCreateComputeInstanceWithPlacement == NULL: 

7336 with gil: 

7337 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstanceWithPlacement is not found") 

7338 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, const nvmlComputeInstancePlacement_t*, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstanceWithPlacement)( 

7339 gpuInstance, profileId, placement, computeInstance) 

7340  

7341  

7342cdef nvmlReturn_t _nvmlComputeInstanceDestroy(nvmlComputeInstance_t computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7343 global __nvmlComputeInstanceDestroy 

7344 _check_or_init_nvml() 

7345 if __nvmlComputeInstanceDestroy == NULL: 

7346 with gil: 

7347 raise FunctionNotFoundError("function nvmlComputeInstanceDestroy is not found") 

7348 return (<nvmlReturn_t (*)(nvmlComputeInstance_t) noexcept nogil>__nvmlComputeInstanceDestroy)( 

7349 computeInstance) 

7350  

7351  

7352cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstances(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7353 global __nvmlGpuInstanceGetComputeInstances 

7354 _check_or_init_nvml() 

7355 if __nvmlGpuInstanceGetComputeInstances == NULL: 

7356 with gil: 

7357 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstances is not found") 

7358 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstances)( 

7359 gpuInstance, profileId, computeInstances, count) 

7360  

7361  

7362cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceById(nvmlGpuInstance_t gpuInstance, unsigned int id, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7363 global __nvmlGpuInstanceGetComputeInstanceById 

7364 _check_or_init_nvml() 

7365 if __nvmlGpuInstanceGetComputeInstanceById == NULL: 

7366 with gil: 

7367 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceById is not found") 

7368 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceById)( 

7369 gpuInstance, id, computeInstance) 

7370  

7371  

7372cdef nvmlReturn_t _nvmlComputeInstanceGetInfo_v2(nvmlComputeInstance_t computeInstance, nvmlComputeInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7373 global __nvmlComputeInstanceGetInfo_v2 

7374 _check_or_init_nvml() 

7375 if __nvmlComputeInstanceGetInfo_v2 == NULL: 

7376 with gil: 

7377 raise FunctionNotFoundError("function nvmlComputeInstanceGetInfo_v2 is not found") 

7378 return (<nvmlReturn_t (*)(nvmlComputeInstance_t, nvmlComputeInstanceInfo_t*) noexcept nogil>__nvmlComputeInstanceGetInfo_v2)( 

7379 computeInstance, info) 

7380  

7381  

7382cdef nvmlReturn_t _nvmlDeviceIsMigDeviceHandle(nvmlDevice_t device, unsigned int* isMigDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7383 global __nvmlDeviceIsMigDeviceHandle 

7384 _check_or_init_nvml() 1p0

7385 if __nvmlDeviceIsMigDeviceHandle == NULL: 1p0

7386 with gil: 

7387 raise FunctionNotFoundError("function nvmlDeviceIsMigDeviceHandle is not found") 

7388 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceIsMigDeviceHandle)( 1p0

7389 device, isMigDevice) 

7390  

7391  

7392cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7393 global __nvmlDeviceGetGpuInstanceId 

7394 _check_or_init_nvml() 

7395 if __nvmlDeviceGetGpuInstanceId == NULL: 

7396 with gil: 

7397 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceId is not found") 

7398 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceId)( 

7399 device, id) 

7400  

7401  

7402cdef nvmlReturn_t _nvmlDeviceGetComputeInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7403 global __nvmlDeviceGetComputeInstanceId 

7404 _check_or_init_nvml() 

7405 if __nvmlDeviceGetComputeInstanceId == NULL: 

7406 with gil: 

7407 raise FunctionNotFoundError("function nvmlDeviceGetComputeInstanceId is not found") 

7408 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetComputeInstanceId)( 

7409 device, id) 

7410  

7411  

7412cdef nvmlReturn_t _nvmlDeviceGetMaxMigDeviceCount(nvmlDevice_t device, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7413 global __nvmlDeviceGetMaxMigDeviceCount 

7414 _check_or_init_nvml() 1s0

7415 if __nvmlDeviceGetMaxMigDeviceCount == NULL: 1s0

7416 with gil: 

7417 raise FunctionNotFoundError("function nvmlDeviceGetMaxMigDeviceCount is not found") 

7418 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxMigDeviceCount)( 1s0

7419 device, count) 

7420  

7421  

7422cdef nvmlReturn_t _nvmlDeviceGetMigDeviceHandleByIndex(nvmlDevice_t device, unsigned int index, nvmlDevice_t* migDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7423 global __nvmlDeviceGetMigDeviceHandleByIndex 

7424 _check_or_init_nvml() 

7425 if __nvmlDeviceGetMigDeviceHandleByIndex == NULL: 

7426 with gil: 

7427 raise FunctionNotFoundError("function nvmlDeviceGetMigDeviceHandleByIndex is not found") 

7428 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetMigDeviceHandleByIndex)( 

7429 device, index, migDevice) 

7430  

7431  

7432cdef nvmlReturn_t _nvmlDeviceGetDeviceHandleFromMigDeviceHandle(nvmlDevice_t migDevice, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7433 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

7434 _check_or_init_nvml() 

7435 if __nvmlDeviceGetDeviceHandleFromMigDeviceHandle == NULL: 

7436 with gil: 

7437 raise FunctionNotFoundError("function nvmlDeviceGetDeviceHandleFromMigDeviceHandle is not found") 

7438 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetDeviceHandleFromMigDeviceHandle)( 

7439 migDevice, device) 

7440  

7441  

7442cdef nvmlReturn_t _nvmlDeviceGetCapabilities(nvmlDevice_t device, nvmlDeviceCapabilities_t* caps) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7443 global __nvmlDeviceGetCapabilities 

7444 _check_or_init_nvml() 2Db

7445 if __nvmlDeviceGetCapabilities == NULL: 2Db

7446 with gil: 

7447 raise FunctionNotFoundError("function nvmlDeviceGetCapabilities is not found") 

7448 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCapabilities_t*) noexcept nogil>__nvmlDeviceGetCapabilities)( 2Db

7449 device, caps) 

7450  

7451  

7452cdef nvmlReturn_t _nvmlDevicePowerSmoothingActivatePresetProfile(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7453 global __nvmlDevicePowerSmoothingActivatePresetProfile 

7454 _check_or_init_nvml() 

7455 if __nvmlDevicePowerSmoothingActivatePresetProfile == NULL: 

7456 with gil: 

7457 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingActivatePresetProfile is not found") 

7458 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingActivatePresetProfile)( 

7459 device, profile) 

7460  

7461  

7462cdef nvmlReturn_t _nvmlDevicePowerSmoothingUpdatePresetProfileParam(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7463 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

7464 _check_or_init_nvml() 

7465 if __nvmlDevicePowerSmoothingUpdatePresetProfileParam == NULL: 

7466 with gil: 

7467 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingUpdatePresetProfileParam is not found") 

7468 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingUpdatePresetProfileParam)( 

7469 device, profile) 

7470  

7471  

7472cdef nvmlReturn_t _nvmlDevicePowerSmoothingSetState(nvmlDevice_t device, nvmlPowerSmoothingState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7473 global __nvmlDevicePowerSmoothingSetState 

7474 _check_or_init_nvml() 

7475 if __nvmlDevicePowerSmoothingSetState == NULL: 

7476 with gil: 

7477 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingSetState is not found") 

7478 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingState_t*) noexcept nogil>__nvmlDevicePowerSmoothingSetState)( 

7479 device, state) 

7480  

7481  

7482cdef nvmlReturn_t _nvmlDeviceGetAddressingMode(nvmlDevice_t device, nvmlDeviceAddressingMode_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7483 global __nvmlDeviceGetAddressingMode 

7484 _check_or_init_nvml() 1n

7485 if __nvmlDeviceGetAddressingMode == NULL: 1n

7486 with gil: 

7487 raise FunctionNotFoundError("function nvmlDeviceGetAddressingMode is not found") 

7488 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceAddressingMode_t*) noexcept nogil>__nvmlDeviceGetAddressingMode)( 1n

7489 device, mode) 

7490  

7491  

7492cdef nvmlReturn_t _nvmlDeviceGetRepairStatus(nvmlDevice_t device, nvmlRepairStatus_t* repairStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7493 global __nvmlDeviceGetRepairStatus 

7494 _check_or_init_nvml() 1v

7495 if __nvmlDeviceGetRepairStatus == NULL: 1v

7496 with gil: 

7497 raise FunctionNotFoundError("function nvmlDeviceGetRepairStatus is not found") 

7498 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRepairStatus_t*) noexcept nogil>__nvmlDeviceGetRepairStatus)( 1v

7499 device, repairStatus) 

7500  

7501  

7502cdef nvmlReturn_t _nvmlDeviceGetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7503 global __nvmlDeviceGetPowerMizerMode_v1 

7504 _check_or_init_nvml() 

7505 if __nvmlDeviceGetPowerMizerMode_v1 == NULL: 

7506 with gil: 

7507 raise FunctionNotFoundError("function nvmlDeviceGetPowerMizerMode_v1 is not found") 

7508 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceGetPowerMizerMode_v1)( 

7509 device, powerMizerMode) 

7510  

7511  

7512cdef nvmlReturn_t _nvmlDeviceSetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7513 global __nvmlDeviceSetPowerMizerMode_v1 

7514 _check_or_init_nvml() 

7515 if __nvmlDeviceSetPowerMizerMode_v1 == NULL: 

7516 with gil: 

7517 raise FunctionNotFoundError("function nvmlDeviceSetPowerMizerMode_v1 is not found") 

7518 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceSetPowerMizerMode_v1)( 

7519 device, powerMizerMode) 

7520  

7521  

7522cdef nvmlReturn_t _nvmlDeviceGetPdi(nvmlDevice_t device, nvmlPdi_t* pdi) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7523 global __nvmlDeviceGetPdi 

7524 _check_or_init_nvml() 2Eb

7525 if __nvmlDeviceGetPdi == NULL: 2Eb

7526 with gil: 

7527 raise FunctionNotFoundError("function nvmlDeviceGetPdi is not found") 

7528 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPdi_t*) noexcept nogil>__nvmlDeviceGetPdi)( 2Eb

7529 device, pdi) 

7530  

7531  

7532cdef nvmlReturn_t _nvmlDeviceSetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7533 global __nvmlDeviceSetHostname_v1 

7534 _check_or_init_nvml() 

7535 if __nvmlDeviceSetHostname_v1 == NULL: 

7536 with gil: 

7537 raise FunctionNotFoundError("function nvmlDeviceSetHostname_v1 is not found") 

7538 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceSetHostname_v1)( 

7539 device, hostname) 

7540  

7541  

7542cdef nvmlReturn_t _nvmlDeviceGetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7543 global __nvmlDeviceGetHostname_v1 

7544 _check_or_init_nvml() 

7545 if __nvmlDeviceGetHostname_v1 == NULL: 

7546 with gil: 

7547 raise FunctionNotFoundError("function nvmlDeviceGetHostname_v1 is not found") 

7548 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceGetHostname_v1)( 

7549 device, hostname) 

7550  

7551  

7552cdef nvmlReturn_t _nvmlDeviceGetNvLinkInfo(nvmlDevice_t device, nvmlNvLinkInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7553 global __nvmlDeviceGetNvLinkInfo 

7554 _check_or_init_nvml() 

7555 if __nvmlDeviceGetNvLinkInfo == NULL: 

7556 with gil: 

7557 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkInfo is not found") 

7558 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkInfo)( 

7559 device, info) 

7560  

7561  

7562cdef nvmlReturn_t _nvmlDeviceReadWritePRM_v1(nvmlDevice_t device, nvmlPRMTLV_v1_t* buffer) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7563 global __nvmlDeviceReadWritePRM_v1 

7564 _check_or_init_nvml() 1I

7565 if __nvmlDeviceReadWritePRM_v1 == NULL: 1I

7566 with gil: 

7567 raise FunctionNotFoundError("function nvmlDeviceReadWritePRM_v1 is not found") 

7568 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMTLV_v1_t*) noexcept nogil>__nvmlDeviceReadWritePRM_v1)( 1I

7569 device, buffer) 

7570  

7571  

7572cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoByIdV(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7573 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

7574 _check_or_init_nvml() 

7575 if __nvmlDeviceGetGpuInstanceProfileInfoByIdV == NULL: 

7576 with gil: 

7577 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoByIdV is not found") 

7578 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoByIdV)( 

7579 device, profileId, info) 

7580  

7581  

7582cdef nvmlReturn_t _nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts(nvmlDevice_t device, nvmlEccSramUniqueUncorrectedErrorCounts_t* errorCounts) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7583 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

7584 _check_or_init_nvml() 

7585 if __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts == NULL: 

7586 with gil: 

7587 raise FunctionNotFoundError("function nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts is not found") 

7588 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramUniqueUncorrectedErrorCounts_t*) noexcept nogil>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts)( 

7589 device, errorCounts) 

7590  

7591  

7592cdef nvmlReturn_t _nvmlDeviceGetUnrepairableMemoryFlag_v1(nvmlDevice_t device, nvmlUnrepairableMemoryStatus_v1_t* unrepairableMemoryStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7593 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

7594 _check_or_init_nvml() 1A

7595 if __nvmlDeviceGetUnrepairableMemoryFlag_v1 == NULL: 1A

7596 with gil: 

7597 raise FunctionNotFoundError("function nvmlDeviceGetUnrepairableMemoryFlag_v1 is not found") 

7598 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUnrepairableMemoryStatus_v1_t*) noexcept nogil>__nvmlDeviceGetUnrepairableMemoryFlag_v1)( 1A

7599 device, unrepairableMemoryStatus) 

7600  

7601  

7602cdef nvmlReturn_t _nvmlDeviceReadPRMCounters_v1(nvmlDevice_t device, nvmlPRMCounterList_v1_t* counterList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7603 global __nvmlDeviceReadPRMCounters_v1 

7604 _check_or_init_nvml() 1S

7605 if __nvmlDeviceReadPRMCounters_v1 == NULL: 1S

7606 with gil: 

7607 raise FunctionNotFoundError("function nvmlDeviceReadPRMCounters_v1 is not found") 

7608 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMCounterList_v1_t*) noexcept nogil>__nvmlDeviceReadPRMCounters_v1)( 1S

7609 device, counterList) 

7610  

7611  

7612cdef nvmlReturn_t _nvmlDeviceSetRusdSettings_v1(nvmlDevice_t device, nvmlRusdSettings_v1_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7613 global __nvmlDeviceSetRusdSettings_v1 

7614 _check_or_init_nvml() 

7615 if __nvmlDeviceSetRusdSettings_v1 == NULL: 

7616 with gil: 

7617 raise FunctionNotFoundError("function nvmlDeviceSetRusdSettings_v1 is not found") 

7618 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRusdSettings_v1_t*) noexcept nogil>__nvmlDeviceSetRusdSettings_v1)( 

7619 device, settings) 

7620  

7621  

7622cdef nvmlReturn_t _nvmlDeviceVgpuForceGspUnload(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7623 global __nvmlDeviceVgpuForceGspUnload 

7624 _check_or_init_nvml() 

7625 if __nvmlDeviceVgpuForceGspUnload == NULL: 

7626 with gil: 

7627 raise FunctionNotFoundError("function nvmlDeviceVgpuForceGspUnload is not found") 

7628 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceVgpuForceGspUnload)( 

7629 device) 

7630  

7631  

7632cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerStateInfo_v2_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7633 global __nvmlDeviceGetVgpuSchedulerState_v2 

7634 _check_or_init_nvml() 

7635 if __nvmlDeviceGetVgpuSchedulerState_v2 == NULL: 

7636 with gil: 

7637 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerState_v2 is not found") 

7638 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerStateInfo_v2_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerState_v2)( 

7639 device, pSchedulerStateInfo) 

7640  

7641  

7642cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerStateInfo_v2_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7643 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 

7644 _check_or_init_nvml() 

7645 if __nvmlGpuInstanceGetVgpuSchedulerState_v2 == NULL: 

7646 with gil: 

7647 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerState_v2 is not found") 

7648 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerStateInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerState_v2)( 

7649 gpuInstance, pSchedulerStateInfo) 

7650  

7651  

7652cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog_v2(nvmlDevice_t device, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7653 global __nvmlDeviceGetVgpuSchedulerLog_v2 

7654 _check_or_init_nvml() 

7655 if __nvmlDeviceGetVgpuSchedulerLog_v2 == NULL: 

7656 with gil: 

7657 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerLog_v2 is not found") 

7658 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerLogInfo_v2_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerLog_v2)( 

7659 device, pSchedulerLogInfo) 

7660  

7661  

7662cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7663 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 

7664 _check_or_init_nvml() 

7665 if __nvmlGpuInstanceGetVgpuSchedulerLog_v2 == NULL: 

7666 with gil: 

7667 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerLog_v2 is not found") 

7668 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerLogInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerLog_v2)( 

7669 gpuInstance, pSchedulerLogInfo) 

7670  

7671  

7672cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7673 global __nvmlDeviceSetVgpuSchedulerState_v2 

7674 _check_or_init_nvml() 

7675 if __nvmlDeviceSetVgpuSchedulerState_v2 == NULL: 

7676 with gil: 

7677 raise FunctionNotFoundError("function nvmlDeviceSetVgpuSchedulerState_v2 is not found") 

7678 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerState_v2_t*) noexcept nogil>__nvmlDeviceSetVgpuSchedulerState_v2)( 

7679 device, pSchedulerState) 

7680  

7681  

7682cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7683 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 

7684 _check_or_init_nvml() 

7685 if __nvmlGpuInstanceSetVgpuSchedulerState_v2 == NULL: 

7686 with gil: 

7687 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState_v2 is not found") 

7688 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerState_v2_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuSchedulerState_v2)( 

7689 gpuInstance, pSchedulerState) 

7690  

7691  

7692cdef nvmlReturn_t _nvmlSystemGetCPER_v1(nvmlGetCPER_v1_t* cper) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7693 global __nvmlSystemGetCPER_v1 

7694 _check_or_init_nvml() 

7695 if __nvmlSystemGetCPER_v1 == NULL: 

7696 with gil: 

7697 raise FunctionNotFoundError("function nvmlSystemGetCPER_v1 is not found") 

7698 return (<nvmlReturn_t (*)(nvmlGetCPER_v1_t*) noexcept nogil>__nvmlSystemGetCPER_v1)( 

7699 cper) 

7700  

7701  

7702cdef nvmlReturn_t _nvmlDeviceGetBBXTimeData_v1(nvmlDevice_t device, nvmlBBXTimeData_v1_t* timeData) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7703 global __nvmlDeviceGetBBXTimeData_v1 

7704 _check_or_init_nvml() 

7705 if __nvmlDeviceGetBBXTimeData_v1 == NULL: 

7706 with gil: 

7707 raise FunctionNotFoundError("function nvmlDeviceGetBBXTimeData_v1 is not found") 

7708 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBBXTimeData_v1_t*) noexcept nogil>__nvmlDeviceGetBBXTimeData_v1)( 

7709 device, timeData) 

7710  

7711  

7712cdef nvmlReturn_t _nvmlDeviceGetAccountingStats_v2(nvmlDevice_t device, nvmlAccountingStats_v2_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7713 global __nvmlDeviceGetAccountingStats_v2 

7714 _check_or_init_nvml() 

7715 if __nvmlDeviceGetAccountingStats_v2 == NULL: 

7716 with gil: 

7717 raise FunctionNotFoundError("function nvmlDeviceGetAccountingStats_v2 is not found") 

7718 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlAccountingStats_v2_t*) noexcept nogil>__nvmlDeviceGetAccountingStats_v2)( 

7719 device, stats) 

7720  

7721  

7722cdef nvmlReturn_t _nvmlDeviceGetRemappedRows_v2(nvmlDevice_t device, nvmlRemappedRowsInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7723 global __nvmlDeviceGetRemappedRows_v2 

7724 _check_or_init_nvml() 

7725 if __nvmlDeviceGetRemappedRows_v2 == NULL: 

7726 with gil: 

7727 raise FunctionNotFoundError("function nvmlDeviceGetRemappedRows_v2 is not found") 

7728 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRemappedRowsInfo_v2_t*) noexcept nogil>__nvmlDeviceGetRemappedRows_v2)( 

7729 device, info) 

7730  

7731  

7732cdef nvmlReturn_t _nvmlDeviceSetAdaptiveTgpMode_v1(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7733 global __nvmlDeviceSetAdaptiveTgpMode_v1 

7734 _check_or_init_nvml() 

7735 if __nvmlDeviceSetAdaptiveTgpMode_v1 == NULL: 

7736 with gil: 

7737 raise FunctionNotFoundError("function nvmlDeviceSetAdaptiveTgpMode_v1 is not found") 

7738 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAdaptiveTgpMode_v1)( 

7739 device, mode) 

7740  

7741  

7742cdef nvmlReturn_t _nvmlDeviceGetAdaptiveTgpModeInfo_v1(nvmlDevice_t device, nvmlAdaptiveTgpModeInfo_v1_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7743 global __nvmlDeviceGetAdaptiveTgpModeInfo_v1 

7744 _check_or_init_nvml() 

7745 if __nvmlDeviceGetAdaptiveTgpModeInfo_v1 == NULL: 

7746 with gil: 

7747 raise FunctionNotFoundError("function nvmlDeviceGetAdaptiveTgpModeInfo_v1 is not found") 

7748 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlAdaptiveTgpModeInfo_v1_t*) noexcept nogil>__nvmlDeviceGetAdaptiveTgpModeInfo_v1)( 

7749 device, info) 

7750  

7751  

7752cdef nvmlReturn_t _nvmlDeviceSetMemoryLimits_v1(nvmlDevice_t device, nvmlSetMemoryLimits_v1_t* limits) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7753 global __nvmlDeviceSetMemoryLimits_v1 

7754 _check_or_init_nvml() 

7755 if __nvmlDeviceSetMemoryLimits_v1 == NULL: 

7756 with gil: 

7757 raise FunctionNotFoundError("function nvmlDeviceSetMemoryLimits_v1 is not found") 

7758 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlSetMemoryLimits_v1_t*) noexcept nogil>__nvmlDeviceSetMemoryLimits_v1)( 

7759 device, limits) 

7760  

7761  

7762cdef nvmlReturn_t _nvmlDeviceGetMemoryLimits_v1(nvmlDevice_t device, nvmlGetMemoryLimits_v1_t* limits) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7763 global __nvmlDeviceGetMemoryLimits_v1 

7764 _check_or_init_nvml() 

7765 if __nvmlDeviceGetMemoryLimits_v1 == NULL: 

7766 with gil: 

7767 raise FunctionNotFoundError("function nvmlDeviceGetMemoryLimits_v1 is not found") 

7768 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGetMemoryLimits_v1_t*) noexcept nogil>__nvmlDeviceGetMemoryLimits_v1)( 

7769 device, limits) 

7770  

7771  

7772cdef nvmlReturn_t _nvmlDeviceGetGpuFabricInfo_v4(nvmlDevice_t device, nvmlGpuFabricInfo_v4_t* gpuFabricInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7773 global __nvmlDeviceGetGpuFabricInfo_v4 

7774 _check_or_init_nvml() 

7775 if __nvmlDeviceGetGpuFabricInfo_v4 == NULL: 

7776 with gil: 

7777 raise FunctionNotFoundError("function nvmlDeviceGetGpuFabricInfo_v4 is not found") 

7778 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuFabricInfo_v4_t*) noexcept nogil>__nvmlDeviceGetGpuFabricInfo_v4)( 

7779 device, gpuFabricInfo) 

7780  

7781  

7782cdef nvmlReturn_t _nvmlDevicePerfMetricsGetSamples_v1(nvmlDevice_t device, nvmlPerfMetricsSamples_v1_t* samples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7783 global __nvmlDevicePerfMetricsGetSamples_v1 

7784 _check_or_init_nvml() 

7785 if __nvmlDevicePerfMetricsGetSamples_v1 == NULL: 

7786 with gil: 

7787 raise FunctionNotFoundError("function nvmlDevicePerfMetricsGetSamples_v1 is not found") 

7788 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPerfMetricsSamples_v1_t*) noexcept nogil>__nvmlDevicePerfMetricsGetSamples_v1)( 

7789 device, samples) 

7790  

7791  

7792cdef nvmlReturn_t _nvmlDeviceSetNvlinkBwModeAsync_v1(nvmlDevice_t device, nvmlNvlinkSetBwModeAsync_v1_t* setBwModeAsync) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7793 global __nvmlDeviceSetNvlinkBwModeAsync_v1 

7794 _check_or_init_nvml() 

7795 if __nvmlDeviceSetNvlinkBwModeAsync_v1 == NULL: 

7796 with gil: 

7797 raise FunctionNotFoundError("function nvmlDeviceSetNvlinkBwModeAsync_v1 is not found") 

7798 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSetBwModeAsync_v1_t*) noexcept nogil>__nvmlDeviceSetNvlinkBwModeAsync_v1)( 

7799 device, setBwModeAsync) 

7800  

7801  

7802cdef nvmlReturn_t _nvmlDeviceGetNvLinkTelemetrySamples_v1(nvmlDevice_t device, nvmlNvlinkTelemetrySamples_v1_t* samples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7803 global __nvmlDeviceGetNvLinkTelemetrySamples_v1 

7804 _check_or_init_nvml() 

7805 if __nvmlDeviceGetNvLinkTelemetrySamples_v1 == NULL: 

7806 with gil: 

7807 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkTelemetrySamples_v1 is not found") 

7808 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkTelemetrySamples_v1_t*) noexcept nogil>__nvmlDeviceGetNvLinkTelemetrySamples_v1)( 

7809 device, samples) 

7810  

7811  

7812cdef nvmlReturn_t _nvmlEventSetRegisterGpuOperationalEvents_v1(nvmlEventSet_t eventSet, const nvmlGpuOperationalEventConfig_v1_t* config) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7813 global __nvmlEventSetRegisterGpuOperationalEvents_v1 

7814 _check_or_init_nvml() 

7815 if __nvmlEventSetRegisterGpuOperationalEvents_v1 == NULL: 

7816 with gil: 

7817 raise FunctionNotFoundError("function nvmlEventSetRegisterGpuOperationalEvents_v1 is not found") 

7818 return (<nvmlReturn_t (*)(nvmlEventSet_t, const nvmlGpuOperationalEventConfig_v1_t*) noexcept nogil>__nvmlEventSetRegisterGpuOperationalEvents_v1)( 

7819 eventSet, config) 

7820  

7821  

7822cdef nvmlReturn_t _nvmlEventSetWait_v3(nvmlEventSet_t set, nvmlEventSetWait_v3_t* params) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7823 global __nvmlEventSetWait_v3 

7824 _check_or_init_nvml() 

7825 if __nvmlEventSetWait_v3 == NULL: 

7826 with gil: 

7827 raise FunctionNotFoundError("function nvmlEventSetWait_v3 is not found") 

7828 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventSetWait_v3_t*) noexcept nogil>__nvmlEventSetWait_v3)( 

7829 set, params) 

7830  

7831  

7832cdef nvmlReturn_t _nvmlEventSetGetContextCount_v1(nvmlEventSet_t set, nvmlEventSetGetContextCount_v1_t* params) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7833 global __nvmlEventSetGetContextCount_v1 

7834 _check_or_init_nvml() 

7835 if __nvmlEventSetGetContextCount_v1 == NULL: 

7836 with gil: 

7837 raise FunctionNotFoundError("function nvmlEventSetGetContextCount_v1 is not found") 

7838 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventSetGetContextCount_v1_t*) noexcept nogil>__nvmlEventSetGetContextCount_v1)( 

7839 set, params) 

7840  

7841  

7842cdef nvmlReturn_t _nvmlEventSetGetContextInfo_v1(nvmlEventSet_t set, nvmlEventSetGetContextInfo_v1_t* params) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7843 global __nvmlEventSetGetContextInfo_v1 

7844 _check_or_init_nvml() 

7845 if __nvmlEventSetGetContextInfo_v1 == NULL: 

7846 with gil: 

7847 raise FunctionNotFoundError("function nvmlEventSetGetContextInfo_v1 is not found") 

7848 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventSetGetContextInfo_v1_t*) noexcept nogil>__nvmlEventSetGetContextInfo_v1)( 

7849 set, params) 

7850  

7851  

7852cdef nvmlReturn_t _nvmlEventSetGetContextData_v1(nvmlEventSet_t set, nvmlEventSetGetContextData_v1_t* params) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7853 global __nvmlEventSetGetContextData_v1 

7854 _check_or_init_nvml() 

7855 if __nvmlEventSetGetContextData_v1 == NULL: 

7856 with gil: 

7857 raise FunctionNotFoundError("function nvmlEventSetGetContextData_v1 is not found") 

7858 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventSetGetContextData_v1_t*) noexcept nogil>__nvmlEventSetGetContextData_v1)( 

7859 set, params) 

7860  

7861  

7862cdef nvmlReturn_t _nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1(nvmlEventSet_t set, nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1_t* params) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7863 global __nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 

7864 _check_or_init_nvml() 

7865 if __nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 == NULL: 

7866 with gil: 

7867 raise FunctionNotFoundError("function nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 is not found") 

7868 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1_t*) noexcept nogil>__nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1)( 

7869 set, params) 

7870  

7871  

7872cdef nvmlReturn_t _nvmlDeviceGetBankRemapperStatus_v1(nvmlDevice_t device, nvmlEccBankRemapperStatus_v1_t* pBankRemapperStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7873 global __nvmlDeviceGetBankRemapperStatus_v1 

7874 _check_or_init_nvml() 

7875 if __nvmlDeviceGetBankRemapperStatus_v1 == NULL: 

7876 with gil: 

7877 raise FunctionNotFoundError("function nvmlDeviceGetBankRemapperStatus_v1 is not found") 

7878 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccBankRemapperStatus_v1_t*) noexcept nogil>__nvmlDeviceGetBankRemapperStatus_v1)( 

7879 device, pBankRemapperStatus)