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

4646 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-07-29 01:38 +0000

1# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. 

2# 

3# SPDX-License-Identifier: Apache-2.0 

4# 

5# This code was automatically generated across versions from 12.9.1 to 13.3.0. Do not modify it directly. 

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

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 as _cyb_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 

422  

423cdef int _init_nvml() except -1 nogil: 

424 global _cyb___py_nvml_init 

425 cdef void* handle = NULL 

426 with gil, _cyb_symbol_lock: 

427 if _cyb___py_nvml_init: return 0 

428  

429 global __nvmlInit_v2 

430 __nvmlInit_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlInit_v2') 

431 if __nvmlInit_v2 == NULL: 

432 if handle == NULL: 

433 handle = load_library() 

434 __nvmlInit_v2 = _cyb_dlsym(handle, 'nvmlInit_v2') 

435  

436 global __nvmlInitWithFlags 

437 __nvmlInitWithFlags = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlInitWithFlags') 

438 if __nvmlInitWithFlags == NULL: 

439 if handle == NULL: 

440 handle = load_library() 

441 __nvmlInitWithFlags = _cyb_dlsym(handle, 'nvmlInitWithFlags') 

442  

443 global __nvmlShutdown 

444 __nvmlShutdown = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlShutdown') 

445 if __nvmlShutdown == NULL: 

446 if handle == NULL: 

447 handle = load_library() 

448 __nvmlShutdown = _cyb_dlsym(handle, 'nvmlShutdown') 

449  

450 global __nvmlErrorString 

451 __nvmlErrorString = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlErrorString') 

452 if __nvmlErrorString == NULL: 

453 if handle == NULL: 

454 handle = load_library() 

455 __nvmlErrorString = _cyb_dlsym(handle, 'nvmlErrorString') 

456  

457 global __nvmlSystemGetDriverVersion 

458 __nvmlSystemGetDriverVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetDriverVersion') 

459 if __nvmlSystemGetDriverVersion == NULL: 

460 if handle == NULL: 

461 handle = load_library() 

462 __nvmlSystemGetDriverVersion = _cyb_dlsym(handle, 'nvmlSystemGetDriverVersion') 

463  

464 global __nvmlSystemGetNVMLVersion 

465 __nvmlSystemGetNVMLVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetNVMLVersion') 

466 if __nvmlSystemGetNVMLVersion == NULL: 

467 if handle == NULL: 

468 handle = load_library() 

469 __nvmlSystemGetNVMLVersion = _cyb_dlsym(handle, 'nvmlSystemGetNVMLVersion') 

470  

471 global __nvmlSystemGetCudaDriverVersion 

472 __nvmlSystemGetCudaDriverVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetCudaDriverVersion') 

473 if __nvmlSystemGetCudaDriverVersion == NULL: 

474 if handle == NULL: 

475 handle = load_library() 

476 __nvmlSystemGetCudaDriverVersion = _cyb_dlsym(handle, 'nvmlSystemGetCudaDriverVersion') 

477  

478 global __nvmlSystemGetCudaDriverVersion_v2 

479 __nvmlSystemGetCudaDriverVersion_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetCudaDriverVersion_v2') 

480 if __nvmlSystemGetCudaDriverVersion_v2 == NULL: 

481 if handle == NULL: 

482 handle = load_library() 

483 __nvmlSystemGetCudaDriverVersion_v2 = _cyb_dlsym(handle, 'nvmlSystemGetCudaDriverVersion_v2') 

484  

485 global __nvmlSystemGetProcessName 

486 __nvmlSystemGetProcessName = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetProcessName') 

487 if __nvmlSystemGetProcessName == NULL: 

488 if handle == NULL: 

489 handle = load_library() 

490 __nvmlSystemGetProcessName = _cyb_dlsym(handle, 'nvmlSystemGetProcessName') 

491  

492 global __nvmlSystemGetHicVersion 

493 __nvmlSystemGetHicVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetHicVersion') 

494 if __nvmlSystemGetHicVersion == NULL: 

495 if handle == NULL: 

496 handle = load_library() 

497 __nvmlSystemGetHicVersion = _cyb_dlsym(handle, 'nvmlSystemGetHicVersion') 

498  

499 global __nvmlSystemGetTopologyGpuSet 

500 __nvmlSystemGetTopologyGpuSet = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetTopologyGpuSet') 

501 if __nvmlSystemGetTopologyGpuSet == NULL: 

502 if handle == NULL: 

503 handle = load_library() 

504 __nvmlSystemGetTopologyGpuSet = _cyb_dlsym(handle, 'nvmlSystemGetTopologyGpuSet') 

505  

506 global __nvmlSystemGetDriverBranch 

507 __nvmlSystemGetDriverBranch = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetDriverBranch') 

508 if __nvmlSystemGetDriverBranch == NULL: 

509 if handle == NULL: 

510 handle = load_library() 

511 __nvmlSystemGetDriverBranch = _cyb_dlsym(handle, 'nvmlSystemGetDriverBranch') 

512  

513 global __nvmlUnitGetCount 

514 __nvmlUnitGetCount = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetCount') 

515 if __nvmlUnitGetCount == NULL: 

516 if handle == NULL: 

517 handle = load_library() 

518 __nvmlUnitGetCount = _cyb_dlsym(handle, 'nvmlUnitGetCount') 

519  

520 global __nvmlUnitGetHandleByIndex 

521 __nvmlUnitGetHandleByIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetHandleByIndex') 

522 if __nvmlUnitGetHandleByIndex == NULL: 

523 if handle == NULL: 

524 handle = load_library() 

525 __nvmlUnitGetHandleByIndex = _cyb_dlsym(handle, 'nvmlUnitGetHandleByIndex') 

526  

527 global __nvmlUnitGetUnitInfo 

528 __nvmlUnitGetUnitInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetUnitInfo') 

529 if __nvmlUnitGetUnitInfo == NULL: 

530 if handle == NULL: 

531 handle = load_library() 

532 __nvmlUnitGetUnitInfo = _cyb_dlsym(handle, 'nvmlUnitGetUnitInfo') 

533  

534 global __nvmlUnitGetLedState 

535 __nvmlUnitGetLedState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetLedState') 

536 if __nvmlUnitGetLedState == NULL: 

537 if handle == NULL: 

538 handle = load_library() 

539 __nvmlUnitGetLedState = _cyb_dlsym(handle, 'nvmlUnitGetLedState') 

540  

541 global __nvmlUnitGetPsuInfo 

542 __nvmlUnitGetPsuInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetPsuInfo') 

543 if __nvmlUnitGetPsuInfo == NULL: 

544 if handle == NULL: 

545 handle = load_library() 

546 __nvmlUnitGetPsuInfo = _cyb_dlsym(handle, 'nvmlUnitGetPsuInfo') 

547  

548 global __nvmlUnitGetTemperature 

549 __nvmlUnitGetTemperature = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetTemperature') 

550 if __nvmlUnitGetTemperature == NULL: 

551 if handle == NULL: 

552 handle = load_library() 

553 __nvmlUnitGetTemperature = _cyb_dlsym(handle, 'nvmlUnitGetTemperature') 

554  

555 global __nvmlUnitGetFanSpeedInfo 

556 __nvmlUnitGetFanSpeedInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetFanSpeedInfo') 

557 if __nvmlUnitGetFanSpeedInfo == NULL: 

558 if handle == NULL: 

559 handle = load_library() 

560 __nvmlUnitGetFanSpeedInfo = _cyb_dlsym(handle, 'nvmlUnitGetFanSpeedInfo') 

561  

562 global __nvmlUnitGetDevices 

563 __nvmlUnitGetDevices = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitGetDevices') 

564 if __nvmlUnitGetDevices == NULL: 

565 if handle == NULL: 

566 handle = load_library() 

567 __nvmlUnitGetDevices = _cyb_dlsym(handle, 'nvmlUnitGetDevices') 

568  

569 global __nvmlDeviceGetCount_v2 

570 __nvmlDeviceGetCount_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCount_v2') 

571 if __nvmlDeviceGetCount_v2 == NULL: 

572 if handle == NULL: 

573 handle = load_library() 

574 __nvmlDeviceGetCount_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetCount_v2') 

575  

576 global __nvmlDeviceGetAttributes_v2 

577 __nvmlDeviceGetAttributes_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAttributes_v2') 

578 if __nvmlDeviceGetAttributes_v2 == NULL: 

579 if handle == NULL: 

580 handle = load_library() 

581 __nvmlDeviceGetAttributes_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetAttributes_v2') 

582  

583 global __nvmlDeviceGetHandleByIndex_v2 

584 __nvmlDeviceGetHandleByIndex_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByIndex_v2') 

585 if __nvmlDeviceGetHandleByIndex_v2 == NULL: 

586 if handle == NULL: 

587 handle = load_library() 

588 __nvmlDeviceGetHandleByIndex_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByIndex_v2') 

589  

590 global __nvmlDeviceGetHandleBySerial 

591 __nvmlDeviceGetHandleBySerial = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleBySerial') 

592 if __nvmlDeviceGetHandleBySerial == NULL: 

593 if handle == NULL: 

594 handle = load_library() 

595 __nvmlDeviceGetHandleBySerial = _cyb_dlsym(handle, 'nvmlDeviceGetHandleBySerial') 

596  

597 global __nvmlDeviceGetHandleByUUID 

598 __nvmlDeviceGetHandleByUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByUUID') 

599 if __nvmlDeviceGetHandleByUUID == NULL: 

600 if handle == NULL: 

601 handle = load_library() 

602 __nvmlDeviceGetHandleByUUID = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByUUID') 

603  

604 global __nvmlDeviceGetHandleByUUIDV 

605 __nvmlDeviceGetHandleByUUIDV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByUUIDV') 

606 if __nvmlDeviceGetHandleByUUIDV == NULL: 

607 if handle == NULL: 

608 handle = load_library() 

609 __nvmlDeviceGetHandleByUUIDV = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByUUIDV') 

610  

611 global __nvmlDeviceGetHandleByPciBusId_v2 

612 __nvmlDeviceGetHandleByPciBusId_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHandleByPciBusId_v2') 

613 if __nvmlDeviceGetHandleByPciBusId_v2 == NULL: 

614 if handle == NULL: 

615 handle = load_library() 

616 __nvmlDeviceGetHandleByPciBusId_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetHandleByPciBusId_v2') 

617  

618 global __nvmlDeviceGetName 

619 __nvmlDeviceGetName = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetName') 

620 if __nvmlDeviceGetName == NULL: 

621 if handle == NULL: 

622 handle = load_library() 

623 __nvmlDeviceGetName = _cyb_dlsym(handle, 'nvmlDeviceGetName') 

624  

625 global __nvmlDeviceGetBrand 

626 __nvmlDeviceGetBrand = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBrand') 

627 if __nvmlDeviceGetBrand == NULL: 

628 if handle == NULL: 

629 handle = load_library() 

630 __nvmlDeviceGetBrand = _cyb_dlsym(handle, 'nvmlDeviceGetBrand') 

631  

632 global __nvmlDeviceGetIndex 

633 __nvmlDeviceGetIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetIndex') 

634 if __nvmlDeviceGetIndex == NULL: 

635 if handle == NULL: 

636 handle = load_library() 

637 __nvmlDeviceGetIndex = _cyb_dlsym(handle, 'nvmlDeviceGetIndex') 

638  

639 global __nvmlDeviceGetSerial 

640 __nvmlDeviceGetSerial = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSerial') 

641 if __nvmlDeviceGetSerial == NULL: 

642 if handle == NULL: 

643 handle = load_library() 

644 __nvmlDeviceGetSerial = _cyb_dlsym(handle, 'nvmlDeviceGetSerial') 

645  

646 global __nvmlDeviceGetModuleId 

647 __nvmlDeviceGetModuleId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetModuleId') 

648 if __nvmlDeviceGetModuleId == NULL: 

649 if handle == NULL: 

650 handle = load_library() 

651 __nvmlDeviceGetModuleId = _cyb_dlsym(handle, 'nvmlDeviceGetModuleId') 

652  

653 global __nvmlDeviceGetC2cModeInfoV 

654 __nvmlDeviceGetC2cModeInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetC2cModeInfoV') 

655 if __nvmlDeviceGetC2cModeInfoV == NULL: 

656 if handle == NULL: 

657 handle = load_library() 

658 __nvmlDeviceGetC2cModeInfoV = _cyb_dlsym(handle, 'nvmlDeviceGetC2cModeInfoV') 

659  

660 global __nvmlDeviceGetMemoryAffinity 

661 __nvmlDeviceGetMemoryAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryAffinity') 

662 if __nvmlDeviceGetMemoryAffinity == NULL: 

663 if handle == NULL: 

664 handle = load_library() 

665 __nvmlDeviceGetMemoryAffinity = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryAffinity') 

666  

667 global __nvmlDeviceGetCpuAffinityWithinScope 

668 __nvmlDeviceGetCpuAffinityWithinScope = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCpuAffinityWithinScope') 

669 if __nvmlDeviceGetCpuAffinityWithinScope == NULL: 

670 if handle == NULL: 

671 handle = load_library() 

672 __nvmlDeviceGetCpuAffinityWithinScope = _cyb_dlsym(handle, 'nvmlDeviceGetCpuAffinityWithinScope') 

673  

674 global __nvmlDeviceGetCpuAffinity 

675 __nvmlDeviceGetCpuAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCpuAffinity') 

676 if __nvmlDeviceGetCpuAffinity == NULL: 

677 if handle == NULL: 

678 handle = load_library() 

679 __nvmlDeviceGetCpuAffinity = _cyb_dlsym(handle, 'nvmlDeviceGetCpuAffinity') 

680  

681 global __nvmlDeviceSetCpuAffinity 

682 __nvmlDeviceSetCpuAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetCpuAffinity') 

683 if __nvmlDeviceSetCpuAffinity == NULL: 

684 if handle == NULL: 

685 handle = load_library() 

686 __nvmlDeviceSetCpuAffinity = _cyb_dlsym(handle, 'nvmlDeviceSetCpuAffinity') 

687  

688 global __nvmlDeviceClearCpuAffinity 

689 __nvmlDeviceClearCpuAffinity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearCpuAffinity') 

690 if __nvmlDeviceClearCpuAffinity == NULL: 

691 if handle == NULL: 

692 handle = load_library() 

693 __nvmlDeviceClearCpuAffinity = _cyb_dlsym(handle, 'nvmlDeviceClearCpuAffinity') 

694  

695 global __nvmlDeviceGetNumaNodeId 

696 __nvmlDeviceGetNumaNodeId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNumaNodeId') 

697 if __nvmlDeviceGetNumaNodeId == NULL: 

698 if handle == NULL: 

699 handle = load_library() 

700 __nvmlDeviceGetNumaNodeId = _cyb_dlsym(handle, 'nvmlDeviceGetNumaNodeId') 

701  

702 global __nvmlDeviceGetTopologyCommonAncestor 

703 __nvmlDeviceGetTopologyCommonAncestor = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTopologyCommonAncestor') 

704 if __nvmlDeviceGetTopologyCommonAncestor == NULL: 

705 if handle == NULL: 

706 handle = load_library() 

707 __nvmlDeviceGetTopologyCommonAncestor = _cyb_dlsym(handle, 'nvmlDeviceGetTopologyCommonAncestor') 

708  

709 global __nvmlDeviceGetTopologyNearestGpus 

710 __nvmlDeviceGetTopologyNearestGpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTopologyNearestGpus') 

711 if __nvmlDeviceGetTopologyNearestGpus == NULL: 

712 if handle == NULL: 

713 handle = load_library() 

714 __nvmlDeviceGetTopologyNearestGpus = _cyb_dlsym(handle, 'nvmlDeviceGetTopologyNearestGpus') 

715  

716 global __nvmlDeviceGetP2PStatus 

717 __nvmlDeviceGetP2PStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetP2PStatus') 

718 if __nvmlDeviceGetP2PStatus == NULL: 

719 if handle == NULL: 

720 handle = load_library() 

721 __nvmlDeviceGetP2PStatus = _cyb_dlsym(handle, 'nvmlDeviceGetP2PStatus') 

722  

723 global __nvmlDeviceGetUUID 

724 __nvmlDeviceGetUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetUUID') 

725 if __nvmlDeviceGetUUID == NULL: 

726 if handle == NULL: 

727 handle = load_library() 

728 __nvmlDeviceGetUUID = _cyb_dlsym(handle, 'nvmlDeviceGetUUID') 

729  

730 global __nvmlDeviceGetMinorNumber 

731 __nvmlDeviceGetMinorNumber = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMinorNumber') 

732 if __nvmlDeviceGetMinorNumber == NULL: 

733 if handle == NULL: 

734 handle = load_library() 

735 __nvmlDeviceGetMinorNumber = _cyb_dlsym(handle, 'nvmlDeviceGetMinorNumber') 

736  

737 global __nvmlDeviceGetBoardPartNumber 

738 __nvmlDeviceGetBoardPartNumber = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBoardPartNumber') 

739 if __nvmlDeviceGetBoardPartNumber == NULL: 

740 if handle == NULL: 

741 handle = load_library() 

742 __nvmlDeviceGetBoardPartNumber = _cyb_dlsym(handle, 'nvmlDeviceGetBoardPartNumber') 

743  

744 global __nvmlDeviceGetInforomVersion 

745 __nvmlDeviceGetInforomVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetInforomVersion') 

746 if __nvmlDeviceGetInforomVersion == NULL: 

747 if handle == NULL: 

748 handle = load_library() 

749 __nvmlDeviceGetInforomVersion = _cyb_dlsym(handle, 'nvmlDeviceGetInforomVersion') 

750  

751 global __nvmlDeviceGetInforomImageVersion 

752 __nvmlDeviceGetInforomImageVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetInforomImageVersion') 

753 if __nvmlDeviceGetInforomImageVersion == NULL: 

754 if handle == NULL: 

755 handle = load_library() 

756 __nvmlDeviceGetInforomImageVersion = _cyb_dlsym(handle, 'nvmlDeviceGetInforomImageVersion') 

757  

758 global __nvmlDeviceGetInforomConfigurationChecksum 

759 __nvmlDeviceGetInforomConfigurationChecksum = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetInforomConfigurationChecksum') 

760 if __nvmlDeviceGetInforomConfigurationChecksum == NULL: 

761 if handle == NULL: 

762 handle = load_library() 

763 __nvmlDeviceGetInforomConfigurationChecksum = _cyb_dlsym(handle, 'nvmlDeviceGetInforomConfigurationChecksum') 

764  

765 global __nvmlDeviceValidateInforom 

766 __nvmlDeviceValidateInforom = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceValidateInforom') 

767 if __nvmlDeviceValidateInforom == NULL: 

768 if handle == NULL: 

769 handle = load_library() 

770 __nvmlDeviceValidateInforom = _cyb_dlsym(handle, 'nvmlDeviceValidateInforom') 

771  

772 global __nvmlDeviceGetLastBBXFlushTime 

773 __nvmlDeviceGetLastBBXFlushTime = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetLastBBXFlushTime') 

774 if __nvmlDeviceGetLastBBXFlushTime == NULL: 

775 if handle == NULL: 

776 handle = load_library() 

777 __nvmlDeviceGetLastBBXFlushTime = _cyb_dlsym(handle, 'nvmlDeviceGetLastBBXFlushTime') 

778  

779 global __nvmlDeviceGetDisplayMode 

780 __nvmlDeviceGetDisplayMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDisplayMode') 

781 if __nvmlDeviceGetDisplayMode == NULL: 

782 if handle == NULL: 

783 handle = load_library() 

784 __nvmlDeviceGetDisplayMode = _cyb_dlsym(handle, 'nvmlDeviceGetDisplayMode') 

785  

786 global __nvmlDeviceGetDisplayActive 

787 __nvmlDeviceGetDisplayActive = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDisplayActive') 

788 if __nvmlDeviceGetDisplayActive == NULL: 

789 if handle == NULL: 

790 handle = load_library() 

791 __nvmlDeviceGetDisplayActive = _cyb_dlsym(handle, 'nvmlDeviceGetDisplayActive') 

792  

793 global __nvmlDeviceGetPersistenceMode 

794 __nvmlDeviceGetPersistenceMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPersistenceMode') 

795 if __nvmlDeviceGetPersistenceMode == NULL: 

796 if handle == NULL: 

797 handle = load_library() 

798 __nvmlDeviceGetPersistenceMode = _cyb_dlsym(handle, 'nvmlDeviceGetPersistenceMode') 

799  

800 global __nvmlDeviceGetPciInfoExt 

801 __nvmlDeviceGetPciInfoExt = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPciInfoExt') 

802 if __nvmlDeviceGetPciInfoExt == NULL: 

803 if handle == NULL: 

804 handle = load_library() 

805 __nvmlDeviceGetPciInfoExt = _cyb_dlsym(handle, 'nvmlDeviceGetPciInfoExt') 

806  

807 global __nvmlDeviceGetPciInfo_v3 

808 __nvmlDeviceGetPciInfo_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPciInfo_v3') 

809 if __nvmlDeviceGetPciInfo_v3 == NULL: 

810 if handle == NULL: 

811 handle = load_library() 

812 __nvmlDeviceGetPciInfo_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetPciInfo_v3') 

813  

814 global __nvmlDeviceGetMaxPcieLinkGeneration 

815 __nvmlDeviceGetMaxPcieLinkGeneration = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxPcieLinkGeneration') 

816 if __nvmlDeviceGetMaxPcieLinkGeneration == NULL: 

817 if handle == NULL: 

818 handle = load_library() 

819 __nvmlDeviceGetMaxPcieLinkGeneration = _cyb_dlsym(handle, 'nvmlDeviceGetMaxPcieLinkGeneration') 

820  

821 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

822 __nvmlDeviceGetGpuMaxPcieLinkGeneration = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuMaxPcieLinkGeneration') 

823 if __nvmlDeviceGetGpuMaxPcieLinkGeneration == NULL: 

824 if handle == NULL: 

825 handle = load_library() 

826 __nvmlDeviceGetGpuMaxPcieLinkGeneration = _cyb_dlsym(handle, 'nvmlDeviceGetGpuMaxPcieLinkGeneration') 

827  

828 global __nvmlDeviceGetMaxPcieLinkWidth 

829 __nvmlDeviceGetMaxPcieLinkWidth = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxPcieLinkWidth') 

830 if __nvmlDeviceGetMaxPcieLinkWidth == NULL: 

831 if handle == NULL: 

832 handle = load_library() 

833 __nvmlDeviceGetMaxPcieLinkWidth = _cyb_dlsym(handle, 'nvmlDeviceGetMaxPcieLinkWidth') 

834  

835 global __nvmlDeviceGetCurrPcieLinkGeneration 

836 __nvmlDeviceGetCurrPcieLinkGeneration = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrPcieLinkGeneration') 

837 if __nvmlDeviceGetCurrPcieLinkGeneration == NULL: 

838 if handle == NULL: 

839 handle = load_library() 

840 __nvmlDeviceGetCurrPcieLinkGeneration = _cyb_dlsym(handle, 'nvmlDeviceGetCurrPcieLinkGeneration') 

841  

842 global __nvmlDeviceGetCurrPcieLinkWidth 

843 __nvmlDeviceGetCurrPcieLinkWidth = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrPcieLinkWidth') 

844 if __nvmlDeviceGetCurrPcieLinkWidth == NULL: 

845 if handle == NULL: 

846 handle = load_library() 

847 __nvmlDeviceGetCurrPcieLinkWidth = _cyb_dlsym(handle, 'nvmlDeviceGetCurrPcieLinkWidth') 

848  

849 global __nvmlDeviceGetPcieThroughput 

850 __nvmlDeviceGetPcieThroughput = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieThroughput') 

851 if __nvmlDeviceGetPcieThroughput == NULL: 

852 if handle == NULL: 

853 handle = load_library() 

854 __nvmlDeviceGetPcieThroughput = _cyb_dlsym(handle, 'nvmlDeviceGetPcieThroughput') 

855  

856 global __nvmlDeviceGetPcieReplayCounter 

857 __nvmlDeviceGetPcieReplayCounter = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieReplayCounter') 

858 if __nvmlDeviceGetPcieReplayCounter == NULL: 

859 if handle == NULL: 

860 handle = load_library() 

861 __nvmlDeviceGetPcieReplayCounter = _cyb_dlsym(handle, 'nvmlDeviceGetPcieReplayCounter') 

862  

863 global __nvmlDeviceGetClockInfo 

864 __nvmlDeviceGetClockInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClockInfo') 

865 if __nvmlDeviceGetClockInfo == NULL: 

866 if handle == NULL: 

867 handle = load_library() 

868 __nvmlDeviceGetClockInfo = _cyb_dlsym(handle, 'nvmlDeviceGetClockInfo') 

869  

870 global __nvmlDeviceGetMaxClockInfo 

871 __nvmlDeviceGetMaxClockInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxClockInfo') 

872 if __nvmlDeviceGetMaxClockInfo == NULL: 

873 if handle == NULL: 

874 handle = load_library() 

875 __nvmlDeviceGetMaxClockInfo = _cyb_dlsym(handle, 'nvmlDeviceGetMaxClockInfo') 

876  

877 global __nvmlDeviceGetGpcClkVfOffset 

878 __nvmlDeviceGetGpcClkVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpcClkVfOffset') 

879 if __nvmlDeviceGetGpcClkVfOffset == NULL: 

880 if handle == NULL: 

881 handle = load_library() 

882 __nvmlDeviceGetGpcClkVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetGpcClkVfOffset') 

883  

884 global __nvmlDeviceGetClock 

885 __nvmlDeviceGetClock = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClock') 

886 if __nvmlDeviceGetClock == NULL: 

887 if handle == NULL: 

888 handle = load_library() 

889 __nvmlDeviceGetClock = _cyb_dlsym(handle, 'nvmlDeviceGetClock') 

890  

891 global __nvmlDeviceGetMaxCustomerBoostClock 

892 __nvmlDeviceGetMaxCustomerBoostClock = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxCustomerBoostClock') 

893 if __nvmlDeviceGetMaxCustomerBoostClock == NULL: 

894 if handle == NULL: 

895 handle = load_library() 

896 __nvmlDeviceGetMaxCustomerBoostClock = _cyb_dlsym(handle, 'nvmlDeviceGetMaxCustomerBoostClock') 

897  

898 global __nvmlDeviceGetSupportedMemoryClocks 

899 __nvmlDeviceGetSupportedMemoryClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedMemoryClocks') 

900 if __nvmlDeviceGetSupportedMemoryClocks == NULL: 

901 if handle == NULL: 

902 handle = load_library() 

903 __nvmlDeviceGetSupportedMemoryClocks = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedMemoryClocks') 

904  

905 global __nvmlDeviceGetSupportedGraphicsClocks 

906 __nvmlDeviceGetSupportedGraphicsClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedGraphicsClocks') 

907 if __nvmlDeviceGetSupportedGraphicsClocks == NULL: 

908 if handle == NULL: 

909 handle = load_library() 

910 __nvmlDeviceGetSupportedGraphicsClocks = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedGraphicsClocks') 

911  

912 global __nvmlDeviceGetAutoBoostedClocksEnabled 

913 __nvmlDeviceGetAutoBoostedClocksEnabled = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAutoBoostedClocksEnabled') 

914 if __nvmlDeviceGetAutoBoostedClocksEnabled == NULL: 

915 if handle == NULL: 

916 handle = load_library() 

917 __nvmlDeviceGetAutoBoostedClocksEnabled = _cyb_dlsym(handle, 'nvmlDeviceGetAutoBoostedClocksEnabled') 

918  

919 global __nvmlDeviceGetFanSpeed 

920 __nvmlDeviceGetFanSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanSpeed') 

921 if __nvmlDeviceGetFanSpeed == NULL: 

922 if handle == NULL: 

923 handle = load_library() 

924 __nvmlDeviceGetFanSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetFanSpeed') 

925  

926 global __nvmlDeviceGetFanSpeed_v2 

927 __nvmlDeviceGetFanSpeed_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanSpeed_v2') 

928 if __nvmlDeviceGetFanSpeed_v2 == NULL: 

929 if handle == NULL: 

930 handle = load_library() 

931 __nvmlDeviceGetFanSpeed_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetFanSpeed_v2') 

932  

933 global __nvmlDeviceGetFanSpeedRPM 

934 __nvmlDeviceGetFanSpeedRPM = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanSpeedRPM') 

935 if __nvmlDeviceGetFanSpeedRPM == NULL: 

936 if handle == NULL: 

937 handle = load_library() 

938 __nvmlDeviceGetFanSpeedRPM = _cyb_dlsym(handle, 'nvmlDeviceGetFanSpeedRPM') 

939  

940 global __nvmlDeviceGetTargetFanSpeed 

941 __nvmlDeviceGetTargetFanSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTargetFanSpeed') 

942 if __nvmlDeviceGetTargetFanSpeed == NULL: 

943 if handle == NULL: 

944 handle = load_library() 

945 __nvmlDeviceGetTargetFanSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetTargetFanSpeed') 

946  

947 global __nvmlDeviceGetMinMaxFanSpeed 

948 __nvmlDeviceGetMinMaxFanSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMinMaxFanSpeed') 

949 if __nvmlDeviceGetMinMaxFanSpeed == NULL: 

950 if handle == NULL: 

951 handle = load_library() 

952 __nvmlDeviceGetMinMaxFanSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetMinMaxFanSpeed') 

953  

954 global __nvmlDeviceGetFanControlPolicy_v2 

955 __nvmlDeviceGetFanControlPolicy_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFanControlPolicy_v2') 

956 if __nvmlDeviceGetFanControlPolicy_v2 == NULL: 

957 if handle == NULL: 

958 handle = load_library() 

959 __nvmlDeviceGetFanControlPolicy_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetFanControlPolicy_v2') 

960  

961 global __nvmlDeviceGetNumFans 

962 __nvmlDeviceGetNumFans = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNumFans') 

963 if __nvmlDeviceGetNumFans == NULL: 

964 if handle == NULL: 

965 handle = load_library() 

966 __nvmlDeviceGetNumFans = _cyb_dlsym(handle, 'nvmlDeviceGetNumFans') 

967  

968 global __nvmlDeviceGetCoolerInfo 

969 __nvmlDeviceGetCoolerInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCoolerInfo') 

970 if __nvmlDeviceGetCoolerInfo == NULL: 

971 if handle == NULL: 

972 handle = load_library() 

973 __nvmlDeviceGetCoolerInfo = _cyb_dlsym(handle, 'nvmlDeviceGetCoolerInfo') 

974  

975 global __nvmlDeviceGetTemperatureV 

976 __nvmlDeviceGetTemperatureV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTemperatureV') 

977 if __nvmlDeviceGetTemperatureV == NULL: 

978 if handle == NULL: 

979 handle = load_library() 

980 __nvmlDeviceGetTemperatureV = _cyb_dlsym(handle, 'nvmlDeviceGetTemperatureV') 

981  

982 global __nvmlDeviceGetTemperatureThreshold 

983 __nvmlDeviceGetTemperatureThreshold = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTemperatureThreshold') 

984 if __nvmlDeviceGetTemperatureThreshold == NULL: 

985 if handle == NULL: 

986 handle = load_library() 

987 __nvmlDeviceGetTemperatureThreshold = _cyb_dlsym(handle, 'nvmlDeviceGetTemperatureThreshold') 

988  

989 global __nvmlDeviceGetMarginTemperature 

990 __nvmlDeviceGetMarginTemperature = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMarginTemperature') 

991 if __nvmlDeviceGetMarginTemperature == NULL: 

992 if handle == NULL: 

993 handle = load_library() 

994 __nvmlDeviceGetMarginTemperature = _cyb_dlsym(handle, 'nvmlDeviceGetMarginTemperature') 

995  

996 global __nvmlDeviceGetThermalSettings 

997 __nvmlDeviceGetThermalSettings = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetThermalSettings') 

998 if __nvmlDeviceGetThermalSettings == NULL: 

999 if handle == NULL: 

1000 handle = load_library() 

1001 __nvmlDeviceGetThermalSettings = _cyb_dlsym(handle, 'nvmlDeviceGetThermalSettings') 

1002  

1003 global __nvmlDeviceGetPerformanceState 

1004 __nvmlDeviceGetPerformanceState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPerformanceState') 

1005 if __nvmlDeviceGetPerformanceState == NULL: 

1006 if handle == NULL: 

1007 handle = load_library() 

1008 __nvmlDeviceGetPerformanceState = _cyb_dlsym(handle, 'nvmlDeviceGetPerformanceState') 

1009  

1010 global __nvmlDeviceGetCurrentClocksEventReasons 

1011 __nvmlDeviceGetCurrentClocksEventReasons = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrentClocksEventReasons') 

1012 if __nvmlDeviceGetCurrentClocksEventReasons == NULL: 

1013 if handle == NULL: 

1014 handle = load_library() 

1015 __nvmlDeviceGetCurrentClocksEventReasons = _cyb_dlsym(handle, 'nvmlDeviceGetCurrentClocksEventReasons') 

1016  

1017 global __nvmlDeviceGetSupportedClocksEventReasons 

1018 __nvmlDeviceGetSupportedClocksEventReasons = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedClocksEventReasons') 

1019 if __nvmlDeviceGetSupportedClocksEventReasons == NULL: 

1020 if handle == NULL: 

1021 handle = load_library() 

1022 __nvmlDeviceGetSupportedClocksEventReasons = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedClocksEventReasons') 

1023  

1024 global __nvmlDeviceGetPowerState 

1025 __nvmlDeviceGetPowerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerState') 

1026 if __nvmlDeviceGetPowerState == NULL: 

1027 if handle == NULL: 

1028 handle = load_library() 

1029 __nvmlDeviceGetPowerState = _cyb_dlsym(handle, 'nvmlDeviceGetPowerState') 

1030  

1031 global __nvmlDeviceGetDynamicPstatesInfo 

1032 __nvmlDeviceGetDynamicPstatesInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDynamicPstatesInfo') 

1033 if __nvmlDeviceGetDynamicPstatesInfo == NULL: 

1034 if handle == NULL: 

1035 handle = load_library() 

1036 __nvmlDeviceGetDynamicPstatesInfo = _cyb_dlsym(handle, 'nvmlDeviceGetDynamicPstatesInfo') 

1037  

1038 global __nvmlDeviceGetMemClkVfOffset 

1039 __nvmlDeviceGetMemClkVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemClkVfOffset') 

1040 if __nvmlDeviceGetMemClkVfOffset == NULL: 

1041 if handle == NULL: 

1042 handle = load_library() 

1043 __nvmlDeviceGetMemClkVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetMemClkVfOffset') 

1044  

1045 global __nvmlDeviceGetMinMaxClockOfPState 

1046 __nvmlDeviceGetMinMaxClockOfPState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMinMaxClockOfPState') 

1047 if __nvmlDeviceGetMinMaxClockOfPState == NULL: 

1048 if handle == NULL: 

1049 handle = load_library() 

1050 __nvmlDeviceGetMinMaxClockOfPState = _cyb_dlsym(handle, 'nvmlDeviceGetMinMaxClockOfPState') 

1051  

1052 global __nvmlDeviceGetSupportedPerformanceStates 

1053 __nvmlDeviceGetSupportedPerformanceStates = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedPerformanceStates') 

1054 if __nvmlDeviceGetSupportedPerformanceStates == NULL: 

1055 if handle == NULL: 

1056 handle = load_library() 

1057 __nvmlDeviceGetSupportedPerformanceStates = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedPerformanceStates') 

1058  

1059 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

1060 __nvmlDeviceGetGpcClkMinMaxVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpcClkMinMaxVfOffset') 

1061 if __nvmlDeviceGetGpcClkMinMaxVfOffset == NULL: 

1062 if handle == NULL: 

1063 handle = load_library() 

1064 __nvmlDeviceGetGpcClkMinMaxVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetGpcClkMinMaxVfOffset') 

1065  

1066 global __nvmlDeviceGetMemClkMinMaxVfOffset 

1067 __nvmlDeviceGetMemClkMinMaxVfOffset = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemClkMinMaxVfOffset') 

1068 if __nvmlDeviceGetMemClkMinMaxVfOffset == NULL: 

1069 if handle == NULL: 

1070 handle = load_library() 

1071 __nvmlDeviceGetMemClkMinMaxVfOffset = _cyb_dlsym(handle, 'nvmlDeviceGetMemClkMinMaxVfOffset') 

1072  

1073 global __nvmlDeviceGetClockOffsets 

1074 __nvmlDeviceGetClockOffsets = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClockOffsets') 

1075 if __nvmlDeviceGetClockOffsets == NULL: 

1076 if handle == NULL: 

1077 handle = load_library() 

1078 __nvmlDeviceGetClockOffsets = _cyb_dlsym(handle, 'nvmlDeviceGetClockOffsets') 

1079  

1080 global __nvmlDeviceSetClockOffsets 

1081 __nvmlDeviceSetClockOffsets = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetClockOffsets') 

1082 if __nvmlDeviceSetClockOffsets == NULL: 

1083 if handle == NULL: 

1084 handle = load_library() 

1085 __nvmlDeviceSetClockOffsets = _cyb_dlsym(handle, 'nvmlDeviceSetClockOffsets') 

1086  

1087 global __nvmlDeviceGetPerformanceModes 

1088 __nvmlDeviceGetPerformanceModes = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPerformanceModes') 

1089 if __nvmlDeviceGetPerformanceModes == NULL: 

1090 if handle == NULL: 

1091 handle = load_library() 

1092 __nvmlDeviceGetPerformanceModes = _cyb_dlsym(handle, 'nvmlDeviceGetPerformanceModes') 

1093  

1094 global __nvmlDeviceGetCurrentClockFreqs 

1095 __nvmlDeviceGetCurrentClockFreqs = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCurrentClockFreqs') 

1096 if __nvmlDeviceGetCurrentClockFreqs == NULL: 

1097 if handle == NULL: 

1098 handle = load_library() 

1099 __nvmlDeviceGetCurrentClockFreqs = _cyb_dlsym(handle, 'nvmlDeviceGetCurrentClockFreqs') 

1100  

1101 global __nvmlDeviceGetPowerManagementLimit 

1102 __nvmlDeviceGetPowerManagementLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementLimit') 

1103 if __nvmlDeviceGetPowerManagementLimit == NULL: 

1104 if handle == NULL: 

1105 handle = load_library() 

1106 __nvmlDeviceGetPowerManagementLimit = _cyb_dlsym(handle, 'nvmlDeviceGetPowerManagementLimit') 

1107  

1108 global __nvmlDeviceGetPowerManagementLimitConstraints 

1109 __nvmlDeviceGetPowerManagementLimitConstraints = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementLimitConstraints') 

1110 if __nvmlDeviceGetPowerManagementLimitConstraints == NULL: 

1111 if handle == NULL: 

1112 handle = load_library() 

1113 __nvmlDeviceGetPowerManagementLimitConstraints = _cyb_dlsym(handle, 'nvmlDeviceGetPowerManagementLimitConstraints') 

1114  

1115 global __nvmlDeviceGetPowerManagementDefaultLimit 

1116 __nvmlDeviceGetPowerManagementDefaultLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementDefaultLimit') 

1117 if __nvmlDeviceGetPowerManagementDefaultLimit == NULL: 

1118 if handle == NULL: 

1119 handle = load_library() 

1120 __nvmlDeviceGetPowerManagementDefaultLimit = _cyb_dlsym(handle, 'nvmlDeviceGetPowerManagementDefaultLimit') 

1121  

1122 global __nvmlDeviceGetPowerUsage 

1123 __nvmlDeviceGetPowerUsage = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerUsage') 

1124 if __nvmlDeviceGetPowerUsage == NULL: 

1125 if handle == NULL: 

1126 handle = load_library() 

1127 __nvmlDeviceGetPowerUsage = _cyb_dlsym(handle, 'nvmlDeviceGetPowerUsage') 

1128  

1129 global __nvmlDeviceGetTotalEnergyConsumption 

1130 __nvmlDeviceGetTotalEnergyConsumption = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTotalEnergyConsumption') 

1131 if __nvmlDeviceGetTotalEnergyConsumption == NULL: 

1132 if handle == NULL: 

1133 handle = load_library() 

1134 __nvmlDeviceGetTotalEnergyConsumption = _cyb_dlsym(handle, 'nvmlDeviceGetTotalEnergyConsumption') 

1135  

1136 global __nvmlDeviceGetEnforcedPowerLimit 

1137 __nvmlDeviceGetEnforcedPowerLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEnforcedPowerLimit') 

1138 if __nvmlDeviceGetEnforcedPowerLimit == NULL: 

1139 if handle == NULL: 

1140 handle = load_library() 

1141 __nvmlDeviceGetEnforcedPowerLimit = _cyb_dlsym(handle, 'nvmlDeviceGetEnforcedPowerLimit') 

1142  

1143 global __nvmlDeviceGetGpuOperationMode 

1144 __nvmlDeviceGetGpuOperationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuOperationMode') 

1145 if __nvmlDeviceGetGpuOperationMode == NULL: 

1146 if handle == NULL: 

1147 handle = load_library() 

1148 __nvmlDeviceGetGpuOperationMode = _cyb_dlsym(handle, 'nvmlDeviceGetGpuOperationMode') 

1149  

1150 global __nvmlDeviceGetMemoryInfo_v2 

1151 __nvmlDeviceGetMemoryInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryInfo_v2') 

1152 if __nvmlDeviceGetMemoryInfo_v2 == NULL: 

1153 if handle == NULL: 

1154 handle = load_library() 

1155 __nvmlDeviceGetMemoryInfo_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryInfo_v2') 

1156  

1157 global __nvmlDeviceGetComputeMode 

1158 __nvmlDeviceGetComputeMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetComputeMode') 

1159 if __nvmlDeviceGetComputeMode == NULL: 

1160 if handle == NULL: 

1161 handle = load_library() 

1162 __nvmlDeviceGetComputeMode = _cyb_dlsym(handle, 'nvmlDeviceGetComputeMode') 

1163  

1164 global __nvmlDeviceGetCudaComputeCapability 

1165 __nvmlDeviceGetCudaComputeCapability = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCudaComputeCapability') 

1166 if __nvmlDeviceGetCudaComputeCapability == NULL: 

1167 if handle == NULL: 

1168 handle = load_library() 

1169 __nvmlDeviceGetCudaComputeCapability = _cyb_dlsym(handle, 'nvmlDeviceGetCudaComputeCapability') 

1170  

1171 global __nvmlDeviceGetDramEncryptionMode 

1172 __nvmlDeviceGetDramEncryptionMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDramEncryptionMode') 

1173 if __nvmlDeviceGetDramEncryptionMode == NULL: 

1174 if handle == NULL: 

1175 handle = load_library() 

1176 __nvmlDeviceGetDramEncryptionMode = _cyb_dlsym(handle, 'nvmlDeviceGetDramEncryptionMode') 

1177  

1178 global __nvmlDeviceSetDramEncryptionMode 

1179 __nvmlDeviceSetDramEncryptionMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDramEncryptionMode') 

1180 if __nvmlDeviceSetDramEncryptionMode == NULL: 

1181 if handle == NULL: 

1182 handle = load_library() 

1183 __nvmlDeviceSetDramEncryptionMode = _cyb_dlsym(handle, 'nvmlDeviceSetDramEncryptionMode') 

1184  

1185 global __nvmlDeviceGetEccMode 

1186 __nvmlDeviceGetEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEccMode') 

1187 if __nvmlDeviceGetEccMode == NULL: 

1188 if handle == NULL: 

1189 handle = load_library() 

1190 __nvmlDeviceGetEccMode = _cyb_dlsym(handle, 'nvmlDeviceGetEccMode') 

1191  

1192 global __nvmlDeviceGetDefaultEccMode 

1193 __nvmlDeviceGetDefaultEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDefaultEccMode') 

1194 if __nvmlDeviceGetDefaultEccMode == NULL: 

1195 if handle == NULL: 

1196 handle = load_library() 

1197 __nvmlDeviceGetDefaultEccMode = _cyb_dlsym(handle, 'nvmlDeviceGetDefaultEccMode') 

1198  

1199 global __nvmlDeviceGetBoardId 

1200 __nvmlDeviceGetBoardId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBoardId') 

1201 if __nvmlDeviceGetBoardId == NULL: 

1202 if handle == NULL: 

1203 handle = load_library() 

1204 __nvmlDeviceGetBoardId = _cyb_dlsym(handle, 'nvmlDeviceGetBoardId') 

1205  

1206 global __nvmlDeviceGetMultiGpuBoard 

1207 __nvmlDeviceGetMultiGpuBoard = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMultiGpuBoard') 

1208 if __nvmlDeviceGetMultiGpuBoard == NULL: 

1209 if handle == NULL: 

1210 handle = load_library() 

1211 __nvmlDeviceGetMultiGpuBoard = _cyb_dlsym(handle, 'nvmlDeviceGetMultiGpuBoard') 

1212  

1213 global __nvmlDeviceGetTotalEccErrors 

1214 __nvmlDeviceGetTotalEccErrors = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetTotalEccErrors') 

1215 if __nvmlDeviceGetTotalEccErrors == NULL: 

1216 if handle == NULL: 

1217 handle = load_library() 

1218 __nvmlDeviceGetTotalEccErrors = _cyb_dlsym(handle, 'nvmlDeviceGetTotalEccErrors') 

1219  

1220 global __nvmlDeviceGetMemoryErrorCounter 

1221 __nvmlDeviceGetMemoryErrorCounter = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryErrorCounter') 

1222 if __nvmlDeviceGetMemoryErrorCounter == NULL: 

1223 if handle == NULL: 

1224 handle = load_library() 

1225 __nvmlDeviceGetMemoryErrorCounter = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryErrorCounter') 

1226  

1227 global __nvmlDeviceGetUtilizationRates 

1228 __nvmlDeviceGetUtilizationRates = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetUtilizationRates') 

1229 if __nvmlDeviceGetUtilizationRates == NULL: 

1230 if handle == NULL: 

1231 handle = load_library() 

1232 __nvmlDeviceGetUtilizationRates = _cyb_dlsym(handle, 'nvmlDeviceGetUtilizationRates') 

1233  

1234 global __nvmlDeviceGetEncoderUtilization 

1235 __nvmlDeviceGetEncoderUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderUtilization') 

1236 if __nvmlDeviceGetEncoderUtilization == NULL: 

1237 if handle == NULL: 

1238 handle = load_library() 

1239 __nvmlDeviceGetEncoderUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderUtilization') 

1240  

1241 global __nvmlDeviceGetEncoderCapacity 

1242 __nvmlDeviceGetEncoderCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderCapacity') 

1243 if __nvmlDeviceGetEncoderCapacity == NULL: 

1244 if handle == NULL: 

1245 handle = load_library() 

1246 __nvmlDeviceGetEncoderCapacity = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderCapacity') 

1247  

1248 global __nvmlDeviceGetEncoderStats 

1249 __nvmlDeviceGetEncoderStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderStats') 

1250 if __nvmlDeviceGetEncoderStats == NULL: 

1251 if handle == NULL: 

1252 handle = load_library() 

1253 __nvmlDeviceGetEncoderStats = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderStats') 

1254  

1255 global __nvmlDeviceGetEncoderSessions 

1256 __nvmlDeviceGetEncoderSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetEncoderSessions') 

1257 if __nvmlDeviceGetEncoderSessions == NULL: 

1258 if handle == NULL: 

1259 handle = load_library() 

1260 __nvmlDeviceGetEncoderSessions = _cyb_dlsym(handle, 'nvmlDeviceGetEncoderSessions') 

1261  

1262 global __nvmlDeviceGetDecoderUtilization 

1263 __nvmlDeviceGetDecoderUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDecoderUtilization') 

1264 if __nvmlDeviceGetDecoderUtilization == NULL: 

1265 if handle == NULL: 

1266 handle = load_library() 

1267 __nvmlDeviceGetDecoderUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetDecoderUtilization') 

1268  

1269 global __nvmlDeviceGetJpgUtilization 

1270 __nvmlDeviceGetJpgUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetJpgUtilization') 

1271 if __nvmlDeviceGetJpgUtilization == NULL: 

1272 if handle == NULL: 

1273 handle = load_library() 

1274 __nvmlDeviceGetJpgUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetJpgUtilization') 

1275  

1276 global __nvmlDeviceGetOfaUtilization 

1277 __nvmlDeviceGetOfaUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetOfaUtilization') 

1278 if __nvmlDeviceGetOfaUtilization == NULL: 

1279 if handle == NULL: 

1280 handle = load_library() 

1281 __nvmlDeviceGetOfaUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetOfaUtilization') 

1282  

1283 global __nvmlDeviceGetFBCStats 

1284 __nvmlDeviceGetFBCStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFBCStats') 

1285 if __nvmlDeviceGetFBCStats == NULL: 

1286 if handle == NULL: 

1287 handle = load_library() 

1288 __nvmlDeviceGetFBCStats = _cyb_dlsym(handle, 'nvmlDeviceGetFBCStats') 

1289  

1290 global __nvmlDeviceGetFBCSessions 

1291 __nvmlDeviceGetFBCSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFBCSessions') 

1292 if __nvmlDeviceGetFBCSessions == NULL: 

1293 if handle == NULL: 

1294 handle = load_library() 

1295 __nvmlDeviceGetFBCSessions = _cyb_dlsym(handle, 'nvmlDeviceGetFBCSessions') 

1296  

1297 global __nvmlDeviceGetDriverModel_v2 

1298 __nvmlDeviceGetDriverModel_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDriverModel_v2') 

1299 if __nvmlDeviceGetDriverModel_v2 == NULL: 

1300 if handle == NULL: 

1301 handle = load_library() 

1302 __nvmlDeviceGetDriverModel_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetDriverModel_v2') 

1303  

1304 global __nvmlDeviceGetVbiosVersion 

1305 __nvmlDeviceGetVbiosVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVbiosVersion') 

1306 if __nvmlDeviceGetVbiosVersion == NULL: 

1307 if handle == NULL: 

1308 handle = load_library() 

1309 __nvmlDeviceGetVbiosVersion = _cyb_dlsym(handle, 'nvmlDeviceGetVbiosVersion') 

1310  

1311 global __nvmlDeviceGetBridgeChipInfo 

1312 __nvmlDeviceGetBridgeChipInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBridgeChipInfo') 

1313 if __nvmlDeviceGetBridgeChipInfo == NULL: 

1314 if handle == NULL: 

1315 handle = load_library() 

1316 __nvmlDeviceGetBridgeChipInfo = _cyb_dlsym(handle, 'nvmlDeviceGetBridgeChipInfo') 

1317  

1318 global __nvmlDeviceGetComputeRunningProcesses_v3 

1319 __nvmlDeviceGetComputeRunningProcesses_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetComputeRunningProcesses_v3') 

1320 if __nvmlDeviceGetComputeRunningProcesses_v3 == NULL: 

1321 if handle == NULL: 

1322 handle = load_library() 

1323 __nvmlDeviceGetComputeRunningProcesses_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetComputeRunningProcesses_v3') 

1324  

1325 global __nvmlDeviceGetGraphicsRunningProcesses_v3 

1326 __nvmlDeviceGetGraphicsRunningProcesses_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGraphicsRunningProcesses_v3') 

1327 if __nvmlDeviceGetGraphicsRunningProcesses_v3 == NULL: 

1328 if handle == NULL: 

1329 handle = load_library() 

1330 __nvmlDeviceGetGraphicsRunningProcesses_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetGraphicsRunningProcesses_v3') 

1331  

1332 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

1333 __nvmlDeviceGetMPSComputeRunningProcesses_v3 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMPSComputeRunningProcesses_v3') 

1334 if __nvmlDeviceGetMPSComputeRunningProcesses_v3 == NULL: 

1335 if handle == NULL: 

1336 handle = load_library() 

1337 __nvmlDeviceGetMPSComputeRunningProcesses_v3 = _cyb_dlsym(handle, 'nvmlDeviceGetMPSComputeRunningProcesses_v3') 

1338  

1339 global __nvmlDeviceGetRunningProcessDetailList 

1340 __nvmlDeviceGetRunningProcessDetailList = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRunningProcessDetailList') 

1341 if __nvmlDeviceGetRunningProcessDetailList == NULL: 

1342 if handle == NULL: 

1343 handle = load_library() 

1344 __nvmlDeviceGetRunningProcessDetailList = _cyb_dlsym(handle, 'nvmlDeviceGetRunningProcessDetailList') 

1345  

1346 global __nvmlDeviceOnSameBoard 

1347 __nvmlDeviceOnSameBoard = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceOnSameBoard') 

1348 if __nvmlDeviceOnSameBoard == NULL: 

1349 if handle == NULL: 

1350 handle = load_library() 

1351 __nvmlDeviceOnSameBoard = _cyb_dlsym(handle, 'nvmlDeviceOnSameBoard') 

1352  

1353 global __nvmlDeviceGetAPIRestriction 

1354 __nvmlDeviceGetAPIRestriction = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAPIRestriction') 

1355 if __nvmlDeviceGetAPIRestriction == NULL: 

1356 if handle == NULL: 

1357 handle = load_library() 

1358 __nvmlDeviceGetAPIRestriction = _cyb_dlsym(handle, 'nvmlDeviceGetAPIRestriction') 

1359  

1360 global __nvmlDeviceGetSamples 

1361 __nvmlDeviceGetSamples = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSamples') 

1362 if __nvmlDeviceGetSamples == NULL: 

1363 if handle == NULL: 

1364 handle = load_library() 

1365 __nvmlDeviceGetSamples = _cyb_dlsym(handle, 'nvmlDeviceGetSamples') 

1366  

1367 global __nvmlDeviceGetBAR1MemoryInfo 

1368 __nvmlDeviceGetBAR1MemoryInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBAR1MemoryInfo') 

1369 if __nvmlDeviceGetBAR1MemoryInfo == NULL: 

1370 if handle == NULL: 

1371 handle = load_library() 

1372 __nvmlDeviceGetBAR1MemoryInfo = _cyb_dlsym(handle, 'nvmlDeviceGetBAR1MemoryInfo') 

1373  

1374 global __nvmlDeviceGetIrqNum 

1375 __nvmlDeviceGetIrqNum = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetIrqNum') 

1376 if __nvmlDeviceGetIrqNum == NULL: 

1377 if handle == NULL: 

1378 handle = load_library() 

1379 __nvmlDeviceGetIrqNum = _cyb_dlsym(handle, 'nvmlDeviceGetIrqNum') 

1380  

1381 global __nvmlDeviceGetNumGpuCores 

1382 __nvmlDeviceGetNumGpuCores = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNumGpuCores') 

1383 if __nvmlDeviceGetNumGpuCores == NULL: 

1384 if handle == NULL: 

1385 handle = load_library() 

1386 __nvmlDeviceGetNumGpuCores = _cyb_dlsym(handle, 'nvmlDeviceGetNumGpuCores') 

1387  

1388 global __nvmlDeviceGetPowerSource 

1389 __nvmlDeviceGetPowerSource = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerSource') 

1390 if __nvmlDeviceGetPowerSource == NULL: 

1391 if handle == NULL: 

1392 handle = load_library() 

1393 __nvmlDeviceGetPowerSource = _cyb_dlsym(handle, 'nvmlDeviceGetPowerSource') 

1394  

1395 global __nvmlDeviceGetMemoryBusWidth 

1396 __nvmlDeviceGetMemoryBusWidth = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMemoryBusWidth') 

1397 if __nvmlDeviceGetMemoryBusWidth == NULL: 

1398 if handle == NULL: 

1399 handle = load_library() 

1400 __nvmlDeviceGetMemoryBusWidth = _cyb_dlsym(handle, 'nvmlDeviceGetMemoryBusWidth') 

1401  

1402 global __nvmlDeviceGetPcieLinkMaxSpeed 

1403 __nvmlDeviceGetPcieLinkMaxSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieLinkMaxSpeed') 

1404 if __nvmlDeviceGetPcieLinkMaxSpeed == NULL: 

1405 if handle == NULL: 

1406 handle = load_library() 

1407 __nvmlDeviceGetPcieLinkMaxSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetPcieLinkMaxSpeed') 

1408  

1409 global __nvmlDeviceGetPcieSpeed 

1410 __nvmlDeviceGetPcieSpeed = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPcieSpeed') 

1411 if __nvmlDeviceGetPcieSpeed == NULL: 

1412 if handle == NULL: 

1413 handle = load_library() 

1414 __nvmlDeviceGetPcieSpeed = _cyb_dlsym(handle, 'nvmlDeviceGetPcieSpeed') 

1415  

1416 global __nvmlDeviceGetAdaptiveClockInfoStatus 

1417 __nvmlDeviceGetAdaptiveClockInfoStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAdaptiveClockInfoStatus') 

1418 if __nvmlDeviceGetAdaptiveClockInfoStatus == NULL: 

1419 if handle == NULL: 

1420 handle = load_library() 

1421 __nvmlDeviceGetAdaptiveClockInfoStatus = _cyb_dlsym(handle, 'nvmlDeviceGetAdaptiveClockInfoStatus') 

1422  

1423 global __nvmlDeviceGetBusType 

1424 __nvmlDeviceGetBusType = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBusType') 

1425 if __nvmlDeviceGetBusType == NULL: 

1426 if handle == NULL: 

1427 handle = load_library() 

1428 __nvmlDeviceGetBusType = _cyb_dlsym(handle, 'nvmlDeviceGetBusType') 

1429  

1430 global __nvmlDeviceGetGpuFabricInfoV 

1431 __nvmlDeviceGetGpuFabricInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuFabricInfoV') 

1432 if __nvmlDeviceGetGpuFabricInfoV == NULL: 

1433 if handle == NULL: 

1434 handle = load_library() 

1435 __nvmlDeviceGetGpuFabricInfoV = _cyb_dlsym(handle, 'nvmlDeviceGetGpuFabricInfoV') 

1436  

1437 global __nvmlSystemGetConfComputeCapabilities 

1438 __nvmlSystemGetConfComputeCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeCapabilities') 

1439 if __nvmlSystemGetConfComputeCapabilities == NULL: 

1440 if handle == NULL: 

1441 handle = load_library() 

1442 __nvmlSystemGetConfComputeCapabilities = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeCapabilities') 

1443  

1444 global __nvmlSystemGetConfComputeState 

1445 __nvmlSystemGetConfComputeState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeState') 

1446 if __nvmlSystemGetConfComputeState == NULL: 

1447 if handle == NULL: 

1448 handle = load_library() 

1449 __nvmlSystemGetConfComputeState = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeState') 

1450  

1451 global __nvmlDeviceGetConfComputeMemSizeInfo 

1452 __nvmlDeviceGetConfComputeMemSizeInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeMemSizeInfo') 

1453 if __nvmlDeviceGetConfComputeMemSizeInfo == NULL: 

1454 if handle == NULL: 

1455 handle = load_library() 

1456 __nvmlDeviceGetConfComputeMemSizeInfo = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeMemSizeInfo') 

1457  

1458 global __nvmlSystemGetConfComputeGpusReadyState 

1459 __nvmlSystemGetConfComputeGpusReadyState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeGpusReadyState') 

1460 if __nvmlSystemGetConfComputeGpusReadyState == NULL: 

1461 if handle == NULL: 

1462 handle = load_library() 

1463 __nvmlSystemGetConfComputeGpusReadyState = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeGpusReadyState') 

1464  

1465 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

1466 __nvmlDeviceGetConfComputeProtectedMemoryUsage = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeProtectedMemoryUsage') 

1467 if __nvmlDeviceGetConfComputeProtectedMemoryUsage == NULL: 

1468 if handle == NULL: 

1469 handle = load_library() 

1470 __nvmlDeviceGetConfComputeProtectedMemoryUsage = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeProtectedMemoryUsage') 

1471  

1472 global __nvmlDeviceGetConfComputeGpuCertificate 

1473 __nvmlDeviceGetConfComputeGpuCertificate = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeGpuCertificate') 

1474 if __nvmlDeviceGetConfComputeGpuCertificate == NULL: 

1475 if handle == NULL: 

1476 handle = load_library() 

1477 __nvmlDeviceGetConfComputeGpuCertificate = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeGpuCertificate') 

1478  

1479 global __nvmlDeviceGetConfComputeGpuAttestationReport 

1480 __nvmlDeviceGetConfComputeGpuAttestationReport = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetConfComputeGpuAttestationReport') 

1481 if __nvmlDeviceGetConfComputeGpuAttestationReport == NULL: 

1482 if handle == NULL: 

1483 handle = load_library() 

1484 __nvmlDeviceGetConfComputeGpuAttestationReport = _cyb_dlsym(handle, 'nvmlDeviceGetConfComputeGpuAttestationReport') 

1485  

1486 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

1487 __nvmlSystemGetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeKeyRotationThresholdInfo') 

1488 if __nvmlSystemGetConfComputeKeyRotationThresholdInfo == NULL: 

1489 if handle == NULL: 

1490 handle = load_library() 

1491 __nvmlSystemGetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeKeyRotationThresholdInfo') 

1492  

1493 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

1494 __nvmlDeviceSetConfComputeUnprotectedMemSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetConfComputeUnprotectedMemSize') 

1495 if __nvmlDeviceSetConfComputeUnprotectedMemSize == NULL: 

1496 if handle == NULL: 

1497 handle = load_library() 

1498 __nvmlDeviceSetConfComputeUnprotectedMemSize = _cyb_dlsym(handle, 'nvmlDeviceSetConfComputeUnprotectedMemSize') 2a e xb[ SbTb] UbVb^ Wbtb_ Xbk ` Ybl { Zb$ | 0bm } 1b~ ab2b3bbb4bM cb5bu db6bF eb7bp fb8bgb9bv hb!bw ib#bd wc$bN jb%b'bkb(bO q )b*blb+bn mb,b% nb-bo ob.bi pb/bh :b;bs =bQbt ?bubP @bG Q [bH R ]bI S ^bJ T _bK U `bL V {bW |bX }bY ~bZ ac0 bc1 cc2 dcqb3 ecrb4 fcvb5 gcsb6 hcicxcjckcyclcRbzcmcncAcocwbpc

1499  

1500 global __nvmlSystemSetConfComputeGpusReadyState 

1501 __nvmlSystemSetConfComputeGpusReadyState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemSetConfComputeGpusReadyState') 

1502 if __nvmlSystemSetConfComputeGpusReadyState == NULL: 

1503 if handle == NULL: 

1504 handle = load_library() 

1505 __nvmlSystemSetConfComputeGpusReadyState = _cyb_dlsym(handle, 'nvmlSystemSetConfComputeGpusReadyState') 

1506  

1507 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

1508 __nvmlSystemSetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemSetConfComputeKeyRotationThresholdInfo') 

1509 if __nvmlSystemSetConfComputeKeyRotationThresholdInfo == NULL: 

1510 if handle == NULL: 

1511 handle = load_library() 

1512 __nvmlSystemSetConfComputeKeyRotationThresholdInfo = _cyb_dlsym(handle, 'nvmlSystemSetConfComputeKeyRotationThresholdInfo') 

1513  

1514 global __nvmlSystemGetConfComputeSettings 

1515 __nvmlSystemGetConfComputeSettings = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetConfComputeSettings') 

1516 if __nvmlSystemGetConfComputeSettings == NULL: 

1517 if handle == NULL: 

1518 handle = load_library() 

1519 __nvmlSystemGetConfComputeSettings = _cyb_dlsym(handle, 'nvmlSystemGetConfComputeSettings') 

1520  

1521 global __nvmlDeviceGetGspFirmwareVersion 

1522 __nvmlDeviceGetGspFirmwareVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGspFirmwareVersion') 

1523 if __nvmlDeviceGetGspFirmwareVersion == NULL: 

1524 if handle == NULL: 

1525 handle = load_library() 

1526 __nvmlDeviceGetGspFirmwareVersion = _cyb_dlsym(handle, 'nvmlDeviceGetGspFirmwareVersion') 

1527  

1528 global __nvmlDeviceGetGspFirmwareMode 

1529 __nvmlDeviceGetGspFirmwareMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGspFirmwareMode') 

1530 if __nvmlDeviceGetGspFirmwareMode == NULL: 

1531 if handle == NULL: 

1532 handle = load_library() 

1533 __nvmlDeviceGetGspFirmwareMode = _cyb_dlsym(handle, 'nvmlDeviceGetGspFirmwareMode') 

1534  

1535 global __nvmlDeviceGetSramEccErrorStatus 

1536 __nvmlDeviceGetSramEccErrorStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSramEccErrorStatus') 

1537 if __nvmlDeviceGetSramEccErrorStatus == NULL: 

1538 if handle == NULL: 

1539 handle = load_library() 

1540 __nvmlDeviceGetSramEccErrorStatus = _cyb_dlsym(handle, 'nvmlDeviceGetSramEccErrorStatus') 

1541  

1542 global __nvmlDeviceGetAccountingMode 

1543 __nvmlDeviceGetAccountingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingMode') 

1544 if __nvmlDeviceGetAccountingMode == NULL: 

1545 if handle == NULL: 

1546 handle = load_library() 

1547 __nvmlDeviceGetAccountingMode = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingMode') 

1548  

1549 global __nvmlDeviceGetAccountingStats 

1550 __nvmlDeviceGetAccountingStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingStats') 

1551 if __nvmlDeviceGetAccountingStats == NULL: 

1552 if handle == NULL: 

1553 handle = load_library() 

1554 __nvmlDeviceGetAccountingStats = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingStats') 

1555  

1556 global __nvmlDeviceGetAccountingPids 

1557 __nvmlDeviceGetAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingPids') 

1558 if __nvmlDeviceGetAccountingPids == NULL: 

1559 if handle == NULL: 

1560 handle = load_library() 

1561 __nvmlDeviceGetAccountingPids = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingPids') 

1562  

1563 global __nvmlDeviceGetAccountingBufferSize 

1564 __nvmlDeviceGetAccountingBufferSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingBufferSize') 

1565 if __nvmlDeviceGetAccountingBufferSize == NULL: 

1566 if handle == NULL: 

1567 handle = load_library() 

1568 __nvmlDeviceGetAccountingBufferSize = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingBufferSize') 

1569  

1570 global __nvmlDeviceGetRetiredPages 

1571 __nvmlDeviceGetRetiredPages = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRetiredPages') 

1572 if __nvmlDeviceGetRetiredPages == NULL: 

1573 if handle == NULL: 

1574 handle = load_library() 

1575 __nvmlDeviceGetRetiredPages = _cyb_dlsym(handle, 'nvmlDeviceGetRetiredPages') 

1576  

1577 global __nvmlDeviceGetRetiredPages_v2 

1578 __nvmlDeviceGetRetiredPages_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRetiredPages_v2') 

1579 if __nvmlDeviceGetRetiredPages_v2 == NULL: 

1580 if handle == NULL: 

1581 handle = load_library() 

1582 __nvmlDeviceGetRetiredPages_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetRetiredPages_v2') 

1583  

1584 global __nvmlDeviceGetRetiredPagesPendingStatus 

1585 __nvmlDeviceGetRetiredPagesPendingStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRetiredPagesPendingStatus') 

1586 if __nvmlDeviceGetRetiredPagesPendingStatus == NULL: 

1587 if handle == NULL: 

1588 handle = load_library() 

1589 __nvmlDeviceGetRetiredPagesPendingStatus = _cyb_dlsym(handle, 'nvmlDeviceGetRetiredPagesPendingStatus') 

1590  

1591 global __nvmlDeviceGetRemappedRows 

1592 __nvmlDeviceGetRemappedRows = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRemappedRows') 

1593 if __nvmlDeviceGetRemappedRows == NULL: 

1594 if handle == NULL: 

1595 handle = load_library() 

1596 __nvmlDeviceGetRemappedRows = _cyb_dlsym(handle, 'nvmlDeviceGetRemappedRows') 

1597  

1598 global __nvmlDeviceGetRowRemapperHistogram 

1599 __nvmlDeviceGetRowRemapperHistogram = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRowRemapperHistogram') 

1600 if __nvmlDeviceGetRowRemapperHistogram == NULL: 

1601 if handle == NULL: 

1602 handle = load_library() 

1603 __nvmlDeviceGetRowRemapperHistogram = _cyb_dlsym(handle, 'nvmlDeviceGetRowRemapperHistogram') 

1604  

1605 global __nvmlDeviceGetArchitecture 

1606 __nvmlDeviceGetArchitecture = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetArchitecture') 

1607 if __nvmlDeviceGetArchitecture == NULL: 

1608 if handle == NULL: 

1609 handle = load_library() 

1610 __nvmlDeviceGetArchitecture = _cyb_dlsym(handle, 'nvmlDeviceGetArchitecture') 

1611  

1612 global __nvmlDeviceGetClkMonStatus 

1613 __nvmlDeviceGetClkMonStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetClkMonStatus') 

1614 if __nvmlDeviceGetClkMonStatus == NULL: 

1615 if handle == NULL: 

1616 handle = load_library() 

1617 __nvmlDeviceGetClkMonStatus = _cyb_dlsym(handle, 'nvmlDeviceGetClkMonStatus') 

1618  

1619 global __nvmlDeviceGetProcessUtilization 

1620 __nvmlDeviceGetProcessUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetProcessUtilization') 

1621 if __nvmlDeviceGetProcessUtilization == NULL: 

1622 if handle == NULL: 

1623 handle = load_library() 

1624 __nvmlDeviceGetProcessUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetProcessUtilization') 

1625  

1626 global __nvmlDeviceGetProcessesUtilizationInfo 

1627 __nvmlDeviceGetProcessesUtilizationInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetProcessesUtilizationInfo') 

1628 if __nvmlDeviceGetProcessesUtilizationInfo == NULL: 

1629 if handle == NULL: 

1630 handle = load_library() 

1631 __nvmlDeviceGetProcessesUtilizationInfo = _cyb_dlsym(handle, 'nvmlDeviceGetProcessesUtilizationInfo') 

1632  

1633 global __nvmlDeviceGetPlatformInfo 

1634 __nvmlDeviceGetPlatformInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPlatformInfo') 

1635 if __nvmlDeviceGetPlatformInfo == NULL: 

1636 if handle == NULL: 

1637 handle = load_library() 

1638 __nvmlDeviceGetPlatformInfo = _cyb_dlsym(handle, 'nvmlDeviceGetPlatformInfo') 

1639  

1640 global __nvmlUnitSetLedState 

1641 __nvmlUnitSetLedState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlUnitSetLedState') 

1642 if __nvmlUnitSetLedState == NULL: 

1643 if handle == NULL: 

1644 handle = load_library() 

1645 __nvmlUnitSetLedState = _cyb_dlsym(handle, 'nvmlUnitSetLedState') 

1646  

1647 global __nvmlDeviceSetPersistenceMode 

1648 __nvmlDeviceSetPersistenceMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetPersistenceMode') 

1649 if __nvmlDeviceSetPersistenceMode == NULL: 

1650 if handle == NULL: 

1651 handle = load_library() 

1652 __nvmlDeviceSetPersistenceMode = _cyb_dlsym(handle, 'nvmlDeviceSetPersistenceMode') 

1653  

1654 global __nvmlDeviceSetComputeMode 

1655 __nvmlDeviceSetComputeMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetComputeMode') 

1656 if __nvmlDeviceSetComputeMode == NULL: 

1657 if handle == NULL: 

1658 handle = load_library() 

1659 __nvmlDeviceSetComputeMode = _cyb_dlsym(handle, 'nvmlDeviceSetComputeMode') 

1660  

1661 global __nvmlDeviceSetEccMode 

1662 __nvmlDeviceSetEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetEccMode') 

1663 if __nvmlDeviceSetEccMode == NULL: 

1664 if handle == NULL: 

1665 handle = load_library() 

1666 __nvmlDeviceSetEccMode = _cyb_dlsym(handle, 'nvmlDeviceSetEccMode') 

1667  

1668 global __nvmlDeviceClearEccErrorCounts 

1669 __nvmlDeviceClearEccErrorCounts = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearEccErrorCounts') 

1670 if __nvmlDeviceClearEccErrorCounts == NULL: 

1671 if handle == NULL: 

1672 handle = load_library() 

1673 __nvmlDeviceClearEccErrorCounts = _cyb_dlsym(handle, 'nvmlDeviceClearEccErrorCounts') 

1674  

1675 global __nvmlDeviceSetDriverModel 

1676 __nvmlDeviceSetDriverModel = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDriverModel') 

1677 if __nvmlDeviceSetDriverModel == NULL: 

1678 if handle == NULL: 

1679 handle = load_library() 

1680 __nvmlDeviceSetDriverModel = _cyb_dlsym(handle, 'nvmlDeviceSetDriverModel') 

1681  

1682 global __nvmlDeviceSetGpuLockedClocks 

1683 __nvmlDeviceSetGpuLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetGpuLockedClocks') 

1684 if __nvmlDeviceSetGpuLockedClocks == NULL: 

1685 if handle == NULL: 

1686 handle = load_library() 

1687 __nvmlDeviceSetGpuLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceSetGpuLockedClocks') 

1688  

1689 global __nvmlDeviceResetGpuLockedClocks 

1690 __nvmlDeviceResetGpuLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceResetGpuLockedClocks') 

1691 if __nvmlDeviceResetGpuLockedClocks == NULL: 

1692 if handle == NULL: 

1693 handle = load_library() 

1694 __nvmlDeviceResetGpuLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceResetGpuLockedClocks') 

1695  

1696 global __nvmlDeviceSetMemoryLockedClocks 

1697 __nvmlDeviceSetMemoryLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetMemoryLockedClocks') 

1698 if __nvmlDeviceSetMemoryLockedClocks == NULL: 

1699 if handle == NULL: 

1700 handle = load_library() 

1701 __nvmlDeviceSetMemoryLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceSetMemoryLockedClocks') 

1702  

1703 global __nvmlDeviceResetMemoryLockedClocks 

1704 __nvmlDeviceResetMemoryLockedClocks = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceResetMemoryLockedClocks') 

1705 if __nvmlDeviceResetMemoryLockedClocks == NULL: 

1706 if handle == NULL: 

1707 handle = load_library() 

1708 __nvmlDeviceResetMemoryLockedClocks = _cyb_dlsym(handle, 'nvmlDeviceResetMemoryLockedClocks') 

1709  

1710 global __nvmlDeviceSetAutoBoostedClocksEnabled 

1711 __nvmlDeviceSetAutoBoostedClocksEnabled = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetAutoBoostedClocksEnabled') 

1712 if __nvmlDeviceSetAutoBoostedClocksEnabled == NULL: 

1713 if handle == NULL: 

1714 handle = load_library() 

1715 __nvmlDeviceSetAutoBoostedClocksEnabled = _cyb_dlsym(handle, 'nvmlDeviceSetAutoBoostedClocksEnabled') 

1716  

1717 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

1718 __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDefaultAutoBoostedClocksEnabled') 

1719 if __nvmlDeviceSetDefaultAutoBoostedClocksEnabled == NULL: 

1720 if handle == NULL: 

1721 handle = load_library() 

1722 __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = _cyb_dlsym(handle, 'nvmlDeviceSetDefaultAutoBoostedClocksEnabled') 

1723  

1724 global __nvmlDeviceSetDefaultFanSpeed_v2 

1725 __nvmlDeviceSetDefaultFanSpeed_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetDefaultFanSpeed_v2') 

1726 if __nvmlDeviceSetDefaultFanSpeed_v2 == NULL: 

1727 if handle == NULL: 

1728 handle = load_library() 

1729 __nvmlDeviceSetDefaultFanSpeed_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetDefaultFanSpeed_v2') 

1730  

1731 global __nvmlDeviceSetFanControlPolicy 

1732 __nvmlDeviceSetFanControlPolicy = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetFanControlPolicy') 

1733 if __nvmlDeviceSetFanControlPolicy == NULL: 

1734 if handle == NULL: 

1735 handle = load_library() 

1736 __nvmlDeviceSetFanControlPolicy = _cyb_dlsym(handle, 'nvmlDeviceSetFanControlPolicy') 

1737  

1738 global __nvmlDeviceSetTemperatureThreshold 

1739 __nvmlDeviceSetTemperatureThreshold = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetTemperatureThreshold') 

1740 if __nvmlDeviceSetTemperatureThreshold == NULL: 

1741 if handle == NULL: 

1742 handle = load_library() 

1743 __nvmlDeviceSetTemperatureThreshold = _cyb_dlsym(handle, 'nvmlDeviceSetTemperatureThreshold') 

1744  

1745 global __nvmlDeviceSetGpuOperationMode 

1746 __nvmlDeviceSetGpuOperationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetGpuOperationMode') 

1747 if __nvmlDeviceSetGpuOperationMode == NULL: 

1748 if handle == NULL: 

1749 handle = load_library() 

1750 __nvmlDeviceSetGpuOperationMode = _cyb_dlsym(handle, 'nvmlDeviceSetGpuOperationMode') 

1751  

1752 global __nvmlDeviceSetAPIRestriction 

1753 __nvmlDeviceSetAPIRestriction = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetAPIRestriction') 

1754 if __nvmlDeviceSetAPIRestriction == NULL: 

1755 if handle == NULL: 

1756 handle = load_library() 

1757 __nvmlDeviceSetAPIRestriction = _cyb_dlsym(handle, 'nvmlDeviceSetAPIRestriction') 

1758  

1759 global __nvmlDeviceSetFanSpeed_v2 

1760 __nvmlDeviceSetFanSpeed_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetFanSpeed_v2') 

1761 if __nvmlDeviceSetFanSpeed_v2 == NULL: 

1762 if handle == NULL: 

1763 handle = load_library() 

1764 __nvmlDeviceSetFanSpeed_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetFanSpeed_v2') 

1765  

1766 global __nvmlDeviceSetAccountingMode 

1767 __nvmlDeviceSetAccountingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetAccountingMode') 

1768 if __nvmlDeviceSetAccountingMode == NULL: 

1769 if handle == NULL: 

1770 handle = load_library() 

1771 __nvmlDeviceSetAccountingMode = _cyb_dlsym(handle, 'nvmlDeviceSetAccountingMode') 

1772  

1773 global __nvmlDeviceClearAccountingPids 

1774 __nvmlDeviceClearAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearAccountingPids') 

1775 if __nvmlDeviceClearAccountingPids == NULL: 

1776 if handle == NULL: 

1777 handle = load_library() 

1778 __nvmlDeviceClearAccountingPids = _cyb_dlsym(handle, 'nvmlDeviceClearAccountingPids') 

1779  

1780 global __nvmlDeviceSetPowerManagementLimit_v2 

1781 __nvmlDeviceSetPowerManagementLimit_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetPowerManagementLimit_v2') 

1782 if __nvmlDeviceSetPowerManagementLimit_v2 == NULL: 

1783 if handle == NULL: 

1784 handle = load_library() 

1785 __nvmlDeviceSetPowerManagementLimit_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetPowerManagementLimit_v2') 

1786  

1787 global __nvmlDeviceGetNvLinkState 

1788 __nvmlDeviceGetNvLinkState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkState') 

1789 if __nvmlDeviceGetNvLinkState == NULL: 

1790 if handle == NULL: 

1791 handle = load_library() 

1792 __nvmlDeviceGetNvLinkState = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkState') 

1793  

1794 global __nvmlDeviceGetNvLinkVersion 

1795 __nvmlDeviceGetNvLinkVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkVersion') 

1796 if __nvmlDeviceGetNvLinkVersion == NULL: 

1797 if handle == NULL: 

1798 handle = load_library() 

1799 __nvmlDeviceGetNvLinkVersion = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkVersion') 

1800  

1801 global __nvmlDeviceGetNvLinkCapability 

1802 __nvmlDeviceGetNvLinkCapability = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkCapability') 

1803 if __nvmlDeviceGetNvLinkCapability == NULL: 

1804 if handle == NULL: 

1805 handle = load_library() 

1806 __nvmlDeviceGetNvLinkCapability = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkCapability') 

1807  

1808 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

1809 __nvmlDeviceGetNvLinkRemotePciInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkRemotePciInfo_v2') 

1810 if __nvmlDeviceGetNvLinkRemotePciInfo_v2 == NULL: 

1811 if handle == NULL: 

1812 handle = load_library() 

1813 __nvmlDeviceGetNvLinkRemotePciInfo_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkRemotePciInfo_v2') 

1814  

1815 global __nvmlDeviceGetNvLinkErrorCounter 

1816 __nvmlDeviceGetNvLinkErrorCounter = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkErrorCounter') 

1817 if __nvmlDeviceGetNvLinkErrorCounter == NULL: 

1818 if handle == NULL: 

1819 handle = load_library() 

1820 __nvmlDeviceGetNvLinkErrorCounter = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkErrorCounter') 

1821  

1822 global __nvmlDeviceResetNvLinkErrorCounters 

1823 __nvmlDeviceResetNvLinkErrorCounters = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceResetNvLinkErrorCounters') 

1824 if __nvmlDeviceResetNvLinkErrorCounters == NULL: 

1825 if handle == NULL: 

1826 handle = load_library() 

1827 __nvmlDeviceResetNvLinkErrorCounters = _cyb_dlsym(handle, 'nvmlDeviceResetNvLinkErrorCounters') 

1828  

1829 global __nvmlDeviceGetNvLinkRemoteDeviceType 

1830 __nvmlDeviceGetNvLinkRemoteDeviceType = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkRemoteDeviceType') 

1831 if __nvmlDeviceGetNvLinkRemoteDeviceType == NULL: 

1832 if handle == NULL: 

1833 handle = load_library() 

1834 __nvmlDeviceGetNvLinkRemoteDeviceType = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkRemoteDeviceType') 

1835  

1836 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

1837 __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetNvLinkDeviceLowPowerThreshold') 

1838 if __nvmlDeviceSetNvLinkDeviceLowPowerThreshold == NULL: 

1839 if handle == NULL: 

1840 handle = load_library() 

1841 __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = _cyb_dlsym(handle, 'nvmlDeviceSetNvLinkDeviceLowPowerThreshold') 

1842  

1843 global __nvmlSystemSetNvlinkBwMode 

1844 __nvmlSystemSetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemSetNvlinkBwMode') 

1845 if __nvmlSystemSetNvlinkBwMode == NULL: 

1846 if handle == NULL: 

1847 handle = load_library() 

1848 __nvmlSystemSetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlSystemSetNvlinkBwMode') 

1849  

1850 global __nvmlSystemGetNvlinkBwMode 

1851 __nvmlSystemGetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetNvlinkBwMode') 

1852 if __nvmlSystemGetNvlinkBwMode == NULL: 

1853 if handle == NULL: 

1854 handle = load_library() 

1855 __nvmlSystemGetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlSystemGetNvlinkBwMode') 

1856  

1857 global __nvmlDeviceGetNvlinkSupportedBwModes 

1858 __nvmlDeviceGetNvlinkSupportedBwModes = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvlinkSupportedBwModes') 

1859 if __nvmlDeviceGetNvlinkSupportedBwModes == NULL: 

1860 if handle == NULL: 

1861 handle = load_library() 

1862 __nvmlDeviceGetNvlinkSupportedBwModes = _cyb_dlsym(handle, 'nvmlDeviceGetNvlinkSupportedBwModes') 

1863  

1864 global __nvmlDeviceGetNvlinkBwMode 

1865 __nvmlDeviceGetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvlinkBwMode') 

1866 if __nvmlDeviceGetNvlinkBwMode == NULL: 

1867 if handle == NULL: 

1868 handle = load_library() 

1869 __nvmlDeviceGetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlDeviceGetNvlinkBwMode') 

1870  

1871 global __nvmlDeviceSetNvlinkBwMode 

1872 __nvmlDeviceSetNvlinkBwMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetNvlinkBwMode') 

1873 if __nvmlDeviceSetNvlinkBwMode == NULL: 

1874 if handle == NULL: 

1875 handle = load_library() 

1876 __nvmlDeviceSetNvlinkBwMode = _cyb_dlsym(handle, 'nvmlDeviceSetNvlinkBwMode') 

1877  

1878 global __nvmlEventSetCreate 

1879 __nvmlEventSetCreate = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetCreate') 

1880 if __nvmlEventSetCreate == NULL: 

1881 if handle == NULL: 

1882 handle = load_library() 

1883 __nvmlEventSetCreate = _cyb_dlsym(handle, 'nvmlEventSetCreate') 

1884  

1885 global __nvmlDeviceRegisterEvents 

1886 __nvmlDeviceRegisterEvents = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceRegisterEvents') 

1887 if __nvmlDeviceRegisterEvents == NULL: 

1888 if handle == NULL: 

1889 handle = load_library() 

1890 __nvmlDeviceRegisterEvents = _cyb_dlsym(handle, 'nvmlDeviceRegisterEvents') 

1891  

1892 global __nvmlDeviceGetSupportedEventTypes 

1893 __nvmlDeviceGetSupportedEventTypes = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedEventTypes') 

1894 if __nvmlDeviceGetSupportedEventTypes == NULL: 

1895 if handle == NULL: 

1896 handle = load_library() 

1897 __nvmlDeviceGetSupportedEventTypes = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedEventTypes') 

1898  

1899 global __nvmlEventSetWait_v2 

1900 __nvmlEventSetWait_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetWait_v2') 

1901 if __nvmlEventSetWait_v2 == NULL: 

1902 if handle == NULL: 

1903 handle = load_library() 

1904 __nvmlEventSetWait_v2 = _cyb_dlsym(handle, 'nvmlEventSetWait_v2') 

1905  

1906 global __nvmlEventSetFree 

1907 __nvmlEventSetFree = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlEventSetFree') 

1908 if __nvmlEventSetFree == NULL: 

1909 if handle == NULL: 

1910 handle = load_library() 

1911 __nvmlEventSetFree = _cyb_dlsym(handle, 'nvmlEventSetFree') 

1912  

1913 global __nvmlSystemEventSetCreate 

1914 __nvmlSystemEventSetCreate = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemEventSetCreate') 

1915 if __nvmlSystemEventSetCreate == NULL: 

1916 if handle == NULL: 

1917 handle = load_library() 

1918 __nvmlSystemEventSetCreate = _cyb_dlsym(handle, 'nvmlSystemEventSetCreate') 

1919  

1920 global __nvmlSystemEventSetFree 

1921 __nvmlSystemEventSetFree = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemEventSetFree') 

1922 if __nvmlSystemEventSetFree == NULL: 

1923 if handle == NULL: 

1924 handle = load_library() 

1925 __nvmlSystemEventSetFree = _cyb_dlsym(handle, 'nvmlSystemEventSetFree') 

1926  

1927 global __nvmlSystemRegisterEvents 

1928 __nvmlSystemRegisterEvents = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemRegisterEvents') 

1929 if __nvmlSystemRegisterEvents == NULL: 

1930 if handle == NULL: 

1931 handle = load_library() 

1932 __nvmlSystemRegisterEvents = _cyb_dlsym(handle, 'nvmlSystemRegisterEvents') 

1933  

1934 global __nvmlSystemEventSetWait 

1935 __nvmlSystemEventSetWait = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemEventSetWait') 

1936 if __nvmlSystemEventSetWait == NULL: 

1937 if handle == NULL: 

1938 handle = load_library() 

1939 __nvmlSystemEventSetWait = _cyb_dlsym(handle, 'nvmlSystemEventSetWait') 

1940  

1941 global __nvmlDeviceModifyDrainState 

1942 __nvmlDeviceModifyDrainState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceModifyDrainState') 

1943 if __nvmlDeviceModifyDrainState == NULL: 

1944 if handle == NULL: 

1945 handle = load_library() 

1946 __nvmlDeviceModifyDrainState = _cyb_dlsym(handle, 'nvmlDeviceModifyDrainState') 

1947  

1948 global __nvmlDeviceQueryDrainState 

1949 __nvmlDeviceQueryDrainState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceQueryDrainState') 

1950 if __nvmlDeviceQueryDrainState == NULL: 

1951 if handle == NULL: 

1952 handle = load_library() 

1953 __nvmlDeviceQueryDrainState = _cyb_dlsym(handle, 'nvmlDeviceQueryDrainState') 

1954  

1955 global __nvmlDeviceRemoveGpu_v2 

1956 __nvmlDeviceRemoveGpu_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceRemoveGpu_v2') 

1957 if __nvmlDeviceRemoveGpu_v2 == NULL: 

1958 if handle == NULL: 

1959 handle = load_library() 

1960 __nvmlDeviceRemoveGpu_v2 = _cyb_dlsym(handle, 'nvmlDeviceRemoveGpu_v2') 

1961  

1962 global __nvmlDeviceDiscoverGpus 

1963 __nvmlDeviceDiscoverGpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceDiscoverGpus') 

1964 if __nvmlDeviceDiscoverGpus == NULL: 

1965 if handle == NULL: 

1966 handle = load_library() 

1967 __nvmlDeviceDiscoverGpus = _cyb_dlsym(handle, 'nvmlDeviceDiscoverGpus') 

1968  

1969 global __nvmlDeviceGetFieldValues 

1970 __nvmlDeviceGetFieldValues = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetFieldValues') 

1971 if __nvmlDeviceGetFieldValues == NULL: 

1972 if handle == NULL: 

1973 handle = load_library() 

1974 __nvmlDeviceGetFieldValues = _cyb_dlsym(handle, 'nvmlDeviceGetFieldValues') 

1975  

1976 global __nvmlDeviceClearFieldValues 

1977 __nvmlDeviceClearFieldValues = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceClearFieldValues') 

1978 if __nvmlDeviceClearFieldValues == NULL: 

1979 if handle == NULL: 

1980 handle = load_library() 

1981 __nvmlDeviceClearFieldValues = _cyb_dlsym(handle, 'nvmlDeviceClearFieldValues') 

1982  

1983 global __nvmlDeviceGetVirtualizationMode 

1984 __nvmlDeviceGetVirtualizationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVirtualizationMode') 

1985 if __nvmlDeviceGetVirtualizationMode == NULL: 

1986 if handle == NULL: 

1987 handle = load_library() 

1988 __nvmlDeviceGetVirtualizationMode = _cyb_dlsym(handle, 'nvmlDeviceGetVirtualizationMode') 

1989  

1990 global __nvmlDeviceGetHostVgpuMode 

1991 __nvmlDeviceGetHostVgpuMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHostVgpuMode') 

1992 if __nvmlDeviceGetHostVgpuMode == NULL: 

1993 if handle == NULL: 

1994 handle = load_library() 

1995 __nvmlDeviceGetHostVgpuMode = _cyb_dlsym(handle, 'nvmlDeviceGetHostVgpuMode') 

1996  

1997 global __nvmlDeviceSetVirtualizationMode 

1998 __nvmlDeviceSetVirtualizationMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVirtualizationMode') 

1999 if __nvmlDeviceSetVirtualizationMode == NULL: 

2000 if handle == NULL: 

2001 handle = load_library() 

2002 __nvmlDeviceSetVirtualizationMode = _cyb_dlsym(handle, 'nvmlDeviceSetVirtualizationMode') 

2003  

2004 global __nvmlDeviceGetVgpuHeterogeneousMode 

2005 __nvmlDeviceGetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuHeterogeneousMode') 

2006 if __nvmlDeviceGetVgpuHeterogeneousMode == NULL: 

2007 if handle == NULL: 

2008 handle = load_library() 

2009 __nvmlDeviceGetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuHeterogeneousMode') 

2010  

2011 global __nvmlDeviceSetVgpuHeterogeneousMode 

2012 __nvmlDeviceSetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuHeterogeneousMode') 

2013 if __nvmlDeviceSetVgpuHeterogeneousMode == NULL: 

2014 if handle == NULL: 

2015 handle = load_library() 

2016 __nvmlDeviceSetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuHeterogeneousMode') 

2017  

2018 global __nvmlVgpuInstanceGetPlacementId 

2019 __nvmlVgpuInstanceGetPlacementId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetPlacementId') 

2020 if __nvmlVgpuInstanceGetPlacementId == NULL: 

2021 if handle == NULL: 

2022 handle = load_library() 

2023 __nvmlVgpuInstanceGetPlacementId = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetPlacementId') 

2024  

2025 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

2026 __nvmlDeviceGetVgpuTypeSupportedPlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuTypeSupportedPlacements') 

2027 if __nvmlDeviceGetVgpuTypeSupportedPlacements == NULL: 

2028 if handle == NULL: 

2029 handle = load_library() 

2030 __nvmlDeviceGetVgpuTypeSupportedPlacements = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuTypeSupportedPlacements') 

2031  

2032 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

2033 __nvmlDeviceGetVgpuTypeCreatablePlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuTypeCreatablePlacements') 

2034 if __nvmlDeviceGetVgpuTypeCreatablePlacements == NULL: 

2035 if handle == NULL: 

2036 handle = load_library() 

2037 __nvmlDeviceGetVgpuTypeCreatablePlacements = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuTypeCreatablePlacements') 

2038  

2039 global __nvmlVgpuTypeGetGspHeapSize 

2040 __nvmlVgpuTypeGetGspHeapSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetGspHeapSize') 

2041 if __nvmlVgpuTypeGetGspHeapSize == NULL: 

2042 if handle == NULL: 

2043 handle = load_library() 

2044 __nvmlVgpuTypeGetGspHeapSize = _cyb_dlsym(handle, 'nvmlVgpuTypeGetGspHeapSize') 

2045  

2046 global __nvmlVgpuTypeGetFbReservation 

2047 __nvmlVgpuTypeGetFbReservation = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetFbReservation') 

2048 if __nvmlVgpuTypeGetFbReservation == NULL: 

2049 if handle == NULL: 

2050 handle = load_library() 

2051 __nvmlVgpuTypeGetFbReservation = _cyb_dlsym(handle, 'nvmlVgpuTypeGetFbReservation') 

2052  

2053 global __nvmlVgpuInstanceGetRuntimeStateSize 

2054 __nvmlVgpuInstanceGetRuntimeStateSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetRuntimeStateSize') 

2055 if __nvmlVgpuInstanceGetRuntimeStateSize == NULL: 

2056 if handle == NULL: 

2057 handle = load_library() 

2058 __nvmlVgpuInstanceGetRuntimeStateSize = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetRuntimeStateSize') 

2059  

2060 global __nvmlDeviceSetVgpuCapabilities 

2061 __nvmlDeviceSetVgpuCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuCapabilities') 

2062 if __nvmlDeviceSetVgpuCapabilities == NULL: 

2063 if handle == NULL: 

2064 handle = load_library() 

2065 __nvmlDeviceSetVgpuCapabilities = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuCapabilities') 

2066  

2067 global __nvmlDeviceGetGridLicensableFeatures_v4 

2068 __nvmlDeviceGetGridLicensableFeatures_v4 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGridLicensableFeatures_v4') 

2069 if __nvmlDeviceGetGridLicensableFeatures_v4 == NULL: 

2070 if handle == NULL: 

2071 handle = load_library() 

2072 __nvmlDeviceGetGridLicensableFeatures_v4 = _cyb_dlsym(handle, 'nvmlDeviceGetGridLicensableFeatures_v4') 

2073  

2074 global __nvmlGetVgpuDriverCapabilities 

2075 __nvmlGetVgpuDriverCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetVgpuDriverCapabilities') 

2076 if __nvmlGetVgpuDriverCapabilities == NULL: 

2077 if handle == NULL: 

2078 handle = load_library() 

2079 __nvmlGetVgpuDriverCapabilities = _cyb_dlsym(handle, 'nvmlGetVgpuDriverCapabilities') 

2080  

2081 global __nvmlDeviceGetVgpuCapabilities 

2082 __nvmlDeviceGetVgpuCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuCapabilities') 

2083 if __nvmlDeviceGetVgpuCapabilities == NULL: 

2084 if handle == NULL: 

2085 handle = load_library() 

2086 __nvmlDeviceGetVgpuCapabilities = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuCapabilities') 

2087  

2088 global __nvmlDeviceGetSupportedVgpus 

2089 __nvmlDeviceGetSupportedVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSupportedVgpus') 

2090 if __nvmlDeviceGetSupportedVgpus == NULL: 

2091 if handle == NULL: 

2092 handle = load_library() 

2093 __nvmlDeviceGetSupportedVgpus = _cyb_dlsym(handle, 'nvmlDeviceGetSupportedVgpus') 

2094  

2095 global __nvmlDeviceGetCreatableVgpus 

2096 __nvmlDeviceGetCreatableVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCreatableVgpus') 

2097 if __nvmlDeviceGetCreatableVgpus == NULL: 

2098 if handle == NULL: 

2099 handle = load_library() 

2100 __nvmlDeviceGetCreatableVgpus = _cyb_dlsym(handle, 'nvmlDeviceGetCreatableVgpus') 

2101  

2102 global __nvmlVgpuTypeGetClass 

2103 __nvmlVgpuTypeGetClass = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetClass') 

2104 if __nvmlVgpuTypeGetClass == NULL: 

2105 if handle == NULL: 

2106 handle = load_library() 

2107 __nvmlVgpuTypeGetClass = _cyb_dlsym(handle, 'nvmlVgpuTypeGetClass') 

2108  

2109 global __nvmlVgpuTypeGetName 

2110 __nvmlVgpuTypeGetName = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetName') 

2111 if __nvmlVgpuTypeGetName == NULL: 

2112 if handle == NULL: 

2113 handle = load_library() 

2114 __nvmlVgpuTypeGetName = _cyb_dlsym(handle, 'nvmlVgpuTypeGetName') 

2115  

2116 global __nvmlVgpuTypeGetGpuInstanceProfileId 

2117 __nvmlVgpuTypeGetGpuInstanceProfileId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetGpuInstanceProfileId') 

2118 if __nvmlVgpuTypeGetGpuInstanceProfileId == NULL: 

2119 if handle == NULL: 

2120 handle = load_library() 

2121 __nvmlVgpuTypeGetGpuInstanceProfileId = _cyb_dlsym(handle, 'nvmlVgpuTypeGetGpuInstanceProfileId') 

2122  

2123 global __nvmlVgpuTypeGetDeviceID 

2124 __nvmlVgpuTypeGetDeviceID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetDeviceID') 

2125 if __nvmlVgpuTypeGetDeviceID == NULL: 

2126 if handle == NULL: 

2127 handle = load_library() 

2128 __nvmlVgpuTypeGetDeviceID = _cyb_dlsym(handle, 'nvmlVgpuTypeGetDeviceID') 

2129  

2130 global __nvmlVgpuTypeGetFramebufferSize 

2131 __nvmlVgpuTypeGetFramebufferSize = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetFramebufferSize') 

2132 if __nvmlVgpuTypeGetFramebufferSize == NULL: 

2133 if handle == NULL: 

2134 handle = load_library() 

2135 __nvmlVgpuTypeGetFramebufferSize = _cyb_dlsym(handle, 'nvmlVgpuTypeGetFramebufferSize') 

2136  

2137 global __nvmlVgpuTypeGetNumDisplayHeads 

2138 __nvmlVgpuTypeGetNumDisplayHeads = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetNumDisplayHeads') 

2139 if __nvmlVgpuTypeGetNumDisplayHeads == NULL: 

2140 if handle == NULL: 

2141 handle = load_library() 

2142 __nvmlVgpuTypeGetNumDisplayHeads = _cyb_dlsym(handle, 'nvmlVgpuTypeGetNumDisplayHeads') 

2143  

2144 global __nvmlVgpuTypeGetResolution 

2145 __nvmlVgpuTypeGetResolution = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetResolution') 

2146 if __nvmlVgpuTypeGetResolution == NULL: 

2147 if handle == NULL: 

2148 handle = load_library() 

2149 __nvmlVgpuTypeGetResolution = _cyb_dlsym(handle, 'nvmlVgpuTypeGetResolution') 

2150  

2151 global __nvmlVgpuTypeGetLicense 

2152 __nvmlVgpuTypeGetLicense = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetLicense') 

2153 if __nvmlVgpuTypeGetLicense == NULL: 

2154 if handle == NULL: 

2155 handle = load_library() 

2156 __nvmlVgpuTypeGetLicense = _cyb_dlsym(handle, 'nvmlVgpuTypeGetLicense') 

2157  

2158 global __nvmlVgpuTypeGetFrameRateLimit 

2159 __nvmlVgpuTypeGetFrameRateLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetFrameRateLimit') 

2160 if __nvmlVgpuTypeGetFrameRateLimit == NULL: 

2161 if handle == NULL: 

2162 handle = load_library() 

2163 __nvmlVgpuTypeGetFrameRateLimit = _cyb_dlsym(handle, 'nvmlVgpuTypeGetFrameRateLimit') 

2164  

2165 global __nvmlVgpuTypeGetMaxInstances 

2166 __nvmlVgpuTypeGetMaxInstances = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstances') 

2167 if __nvmlVgpuTypeGetMaxInstances == NULL: 

2168 if handle == NULL: 

2169 handle = load_library() 

2170 __nvmlVgpuTypeGetMaxInstances = _cyb_dlsym(handle, 'nvmlVgpuTypeGetMaxInstances') 

2171  

2172 global __nvmlVgpuTypeGetMaxInstancesPerVm 

2173 __nvmlVgpuTypeGetMaxInstancesPerVm = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstancesPerVm') 

2174 if __nvmlVgpuTypeGetMaxInstancesPerVm == NULL: 

2175 if handle == NULL: 

2176 handle = load_library() 

2177 __nvmlVgpuTypeGetMaxInstancesPerVm = _cyb_dlsym(handle, 'nvmlVgpuTypeGetMaxInstancesPerVm') 

2178  

2179 global __nvmlVgpuTypeGetBAR1Info 

2180 __nvmlVgpuTypeGetBAR1Info = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetBAR1Info') 

2181 if __nvmlVgpuTypeGetBAR1Info == NULL: 

2182 if handle == NULL: 

2183 handle = load_library() 

2184 __nvmlVgpuTypeGetBAR1Info = _cyb_dlsym(handle, 'nvmlVgpuTypeGetBAR1Info') 

2185  

2186 global __nvmlDeviceGetActiveVgpus 

2187 __nvmlDeviceGetActiveVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetActiveVgpus') 

2188 if __nvmlDeviceGetActiveVgpus == NULL: 

2189 if handle == NULL: 

2190 handle = load_library() 

2191 __nvmlDeviceGetActiveVgpus = _cyb_dlsym(handle, 'nvmlDeviceGetActiveVgpus') 

2192  

2193 global __nvmlVgpuInstanceGetVmID 

2194 __nvmlVgpuInstanceGetVmID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetVmID') 

2195 if __nvmlVgpuInstanceGetVmID == NULL: 

2196 if handle == NULL: 

2197 handle = load_library() 

2198 __nvmlVgpuInstanceGetVmID = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetVmID') 

2199  

2200 global __nvmlVgpuInstanceGetUUID 

2201 __nvmlVgpuInstanceGetUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetUUID') 

2202 if __nvmlVgpuInstanceGetUUID == NULL: 

2203 if handle == NULL: 

2204 handle = load_library() 

2205 __nvmlVgpuInstanceGetUUID = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetUUID') 

2206  

2207 global __nvmlVgpuInstanceGetVmDriverVersion 

2208 __nvmlVgpuInstanceGetVmDriverVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetVmDriverVersion') 

2209 if __nvmlVgpuInstanceGetVmDriverVersion == NULL: 

2210 if handle == NULL: 

2211 handle = load_library() 

2212 __nvmlVgpuInstanceGetVmDriverVersion = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetVmDriverVersion') 

2213  

2214 global __nvmlVgpuInstanceGetFbUsage 

2215 __nvmlVgpuInstanceGetFbUsage = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFbUsage') 

2216 if __nvmlVgpuInstanceGetFbUsage == NULL: 

2217 if handle == NULL: 

2218 handle = load_library() 

2219 __nvmlVgpuInstanceGetFbUsage = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFbUsage') 

2220  

2221 global __nvmlVgpuInstanceGetLicenseStatus 

2222 __nvmlVgpuInstanceGetLicenseStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetLicenseStatus') 

2223 if __nvmlVgpuInstanceGetLicenseStatus == NULL: 

2224 if handle == NULL: 

2225 handle = load_library() 

2226 __nvmlVgpuInstanceGetLicenseStatus = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetLicenseStatus') 

2227  

2228 global __nvmlVgpuInstanceGetType 

2229 __nvmlVgpuInstanceGetType = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetType') 

2230 if __nvmlVgpuInstanceGetType == NULL: 

2231 if handle == NULL: 

2232 handle = load_library() 

2233 __nvmlVgpuInstanceGetType = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetType') 

2234  

2235 global __nvmlVgpuInstanceGetFrameRateLimit 

2236 __nvmlVgpuInstanceGetFrameRateLimit = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFrameRateLimit') 

2237 if __nvmlVgpuInstanceGetFrameRateLimit == NULL: 

2238 if handle == NULL: 

2239 handle = load_library() 

2240 __nvmlVgpuInstanceGetFrameRateLimit = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFrameRateLimit') 

2241  

2242 global __nvmlVgpuInstanceGetEccMode 

2243 __nvmlVgpuInstanceGetEccMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEccMode') 

2244 if __nvmlVgpuInstanceGetEccMode == NULL: 

2245 if handle == NULL: 

2246 handle = load_library() 

2247 __nvmlVgpuInstanceGetEccMode = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEccMode') 

2248  

2249 global __nvmlVgpuInstanceGetEncoderCapacity 

2250 __nvmlVgpuInstanceGetEncoderCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderCapacity') 

2251 if __nvmlVgpuInstanceGetEncoderCapacity == NULL: 

2252 if handle == NULL: 

2253 handle = load_library() 

2254 __nvmlVgpuInstanceGetEncoderCapacity = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEncoderCapacity') 

2255  

2256 global __nvmlVgpuInstanceSetEncoderCapacity 

2257 __nvmlVgpuInstanceSetEncoderCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceSetEncoderCapacity') 

2258 if __nvmlVgpuInstanceSetEncoderCapacity == NULL: 

2259 if handle == NULL: 

2260 handle = load_library() 

2261 __nvmlVgpuInstanceSetEncoderCapacity = _cyb_dlsym(handle, 'nvmlVgpuInstanceSetEncoderCapacity') 

2262  

2263 global __nvmlVgpuInstanceGetEncoderStats 

2264 __nvmlVgpuInstanceGetEncoderStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderStats') 

2265 if __nvmlVgpuInstanceGetEncoderStats == NULL: 

2266 if handle == NULL: 

2267 handle = load_library() 

2268 __nvmlVgpuInstanceGetEncoderStats = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEncoderStats') 

2269  

2270 global __nvmlVgpuInstanceGetEncoderSessions 

2271 __nvmlVgpuInstanceGetEncoderSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderSessions') 

2272 if __nvmlVgpuInstanceGetEncoderSessions == NULL: 

2273 if handle == NULL: 

2274 handle = load_library() 

2275 __nvmlVgpuInstanceGetEncoderSessions = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetEncoderSessions') 

2276  

2277 global __nvmlVgpuInstanceGetFBCStats 

2278 __nvmlVgpuInstanceGetFBCStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFBCStats') 

2279 if __nvmlVgpuInstanceGetFBCStats == NULL: 

2280 if handle == NULL: 

2281 handle = load_library() 

2282 __nvmlVgpuInstanceGetFBCStats = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFBCStats') 

2283  

2284 global __nvmlVgpuInstanceGetFBCSessions 

2285 __nvmlVgpuInstanceGetFBCSessions = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetFBCSessions') 

2286 if __nvmlVgpuInstanceGetFBCSessions == NULL: 

2287 if handle == NULL: 

2288 handle = load_library() 

2289 __nvmlVgpuInstanceGetFBCSessions = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetFBCSessions') 

2290  

2291 global __nvmlVgpuInstanceGetGpuInstanceId 

2292 __nvmlVgpuInstanceGetGpuInstanceId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetGpuInstanceId') 

2293 if __nvmlVgpuInstanceGetGpuInstanceId == NULL: 

2294 if handle == NULL: 

2295 handle = load_library() 

2296 __nvmlVgpuInstanceGetGpuInstanceId = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetGpuInstanceId') 

2297  

2298 global __nvmlVgpuInstanceGetGpuPciId 

2299 __nvmlVgpuInstanceGetGpuPciId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetGpuPciId') 

2300 if __nvmlVgpuInstanceGetGpuPciId == NULL: 

2301 if handle == NULL: 

2302 handle = load_library() 

2303 __nvmlVgpuInstanceGetGpuPciId = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetGpuPciId') 

2304  

2305 global __nvmlVgpuTypeGetCapabilities 

2306 __nvmlVgpuTypeGetCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetCapabilities') 

2307 if __nvmlVgpuTypeGetCapabilities == NULL: 

2308 if handle == NULL: 

2309 handle = load_library() 

2310 __nvmlVgpuTypeGetCapabilities = _cyb_dlsym(handle, 'nvmlVgpuTypeGetCapabilities') 

2311  

2312 global __nvmlVgpuInstanceGetMdevUUID 

2313 __nvmlVgpuInstanceGetMdevUUID = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetMdevUUID') 

2314 if __nvmlVgpuInstanceGetMdevUUID == NULL: 

2315 if handle == NULL: 

2316 handle = load_library() 

2317 __nvmlVgpuInstanceGetMdevUUID = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetMdevUUID') 

2318  

2319 global __nvmlGpuInstanceGetCreatableVgpus 

2320 __nvmlGpuInstanceGetCreatableVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetCreatableVgpus') 

2321 if __nvmlGpuInstanceGetCreatableVgpus == NULL: 

2322 if handle == NULL: 

2323 handle = load_library() 

2324 __nvmlGpuInstanceGetCreatableVgpus = _cyb_dlsym(handle, 'nvmlGpuInstanceGetCreatableVgpus') 

2325  

2326 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

2327 __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstancesPerGpuInstance') 

2328 if __nvmlVgpuTypeGetMaxInstancesPerGpuInstance == NULL: 

2329 if handle == NULL: 

2330 handle = load_library() 

2331 __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = _cyb_dlsym(handle, 'nvmlVgpuTypeGetMaxInstancesPerGpuInstance') 

2332  

2333 global __nvmlGpuInstanceGetActiveVgpus 

2334 __nvmlGpuInstanceGetActiveVgpus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetActiveVgpus') 

2335 if __nvmlGpuInstanceGetActiveVgpus == NULL: 

2336 if handle == NULL: 

2337 handle = load_library() 

2338 __nvmlGpuInstanceGetActiveVgpus = _cyb_dlsym(handle, 'nvmlGpuInstanceGetActiveVgpus') 

2339  

2340 global __nvmlGpuInstanceSetVgpuSchedulerState 

2341 __nvmlGpuInstanceSetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuSchedulerState') 

2342 if __nvmlGpuInstanceSetVgpuSchedulerState == NULL: 

2343 if handle == NULL: 

2344 handle = load_library() 

2345 __nvmlGpuInstanceSetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlGpuInstanceSetVgpuSchedulerState') 

2346  

2347 global __nvmlGpuInstanceGetVgpuSchedulerState 

2348 __nvmlGpuInstanceGetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerState') 

2349 if __nvmlGpuInstanceGetVgpuSchedulerState == NULL: 

2350 if handle == NULL: 

2351 handle = load_library() 

2352 __nvmlGpuInstanceGetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerState') 

2353  

2354 global __nvmlGpuInstanceGetVgpuSchedulerLog 

2355 __nvmlGpuInstanceGetVgpuSchedulerLog = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerLog') 

2356 if __nvmlGpuInstanceGetVgpuSchedulerLog == NULL: 

2357 if handle == NULL: 

2358 handle = load_library() 

2359 __nvmlGpuInstanceGetVgpuSchedulerLog = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerLog') 

2360  

2361 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

2362 __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuTypeCreatablePlacements') 

2363 if __nvmlGpuInstanceGetVgpuTypeCreatablePlacements == NULL: 

2364 if handle == NULL: 

2365 handle = load_library() 

2366 __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuTypeCreatablePlacements') 

2367  

2368 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

2369 __nvmlGpuInstanceGetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuHeterogeneousMode') 

2370 if __nvmlGpuInstanceGetVgpuHeterogeneousMode == NULL: 

2371 if handle == NULL: 

2372 handle = load_library() 

2373 __nvmlGpuInstanceGetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuHeterogeneousMode') 

2374  

2375 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

2376 __nvmlGpuInstanceSetVgpuHeterogeneousMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuHeterogeneousMode') 

2377 if __nvmlGpuInstanceSetVgpuHeterogeneousMode == NULL: 

2378 if handle == NULL: 

2379 handle = load_library() 

2380 __nvmlGpuInstanceSetVgpuHeterogeneousMode = _cyb_dlsym(handle, 'nvmlGpuInstanceSetVgpuHeterogeneousMode') 

2381  

2382 global __nvmlVgpuInstanceGetMetadata 

2383 __nvmlVgpuInstanceGetMetadata = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetMetadata') 

2384 if __nvmlVgpuInstanceGetMetadata == NULL: 

2385 if handle == NULL: 

2386 handle = load_library() 

2387 __nvmlVgpuInstanceGetMetadata = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetMetadata') 

2388  

2389 global __nvmlDeviceGetVgpuMetadata 

2390 __nvmlDeviceGetVgpuMetadata = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuMetadata') 

2391 if __nvmlDeviceGetVgpuMetadata == NULL: 

2392 if handle == NULL: 

2393 handle = load_library() 

2394 __nvmlDeviceGetVgpuMetadata = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuMetadata') 

2395  

2396 global __nvmlGetVgpuCompatibility 

2397 __nvmlGetVgpuCompatibility = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetVgpuCompatibility') 

2398 if __nvmlGetVgpuCompatibility == NULL: 

2399 if handle == NULL: 

2400 handle = load_library() 

2401 __nvmlGetVgpuCompatibility = _cyb_dlsym(handle, 'nvmlGetVgpuCompatibility') 

2402  

2403 global __nvmlDeviceGetPgpuMetadataString 

2404 __nvmlDeviceGetPgpuMetadataString = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPgpuMetadataString') 

2405 if __nvmlDeviceGetPgpuMetadataString == NULL: 

2406 if handle == NULL: 

2407 handle = load_library() 

2408 __nvmlDeviceGetPgpuMetadataString = _cyb_dlsym(handle, 'nvmlDeviceGetPgpuMetadataString') 

2409  

2410 global __nvmlDeviceGetVgpuSchedulerLog 

2411 __nvmlDeviceGetVgpuSchedulerLog = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerLog') 

2412 if __nvmlDeviceGetVgpuSchedulerLog == NULL: 

2413 if handle == NULL: 

2414 handle = load_library() 

2415 __nvmlDeviceGetVgpuSchedulerLog = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerLog') 

2416  

2417 global __nvmlDeviceGetVgpuSchedulerState 

2418 __nvmlDeviceGetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerState') 

2419 if __nvmlDeviceGetVgpuSchedulerState == NULL: 

2420 if handle == NULL: 

2421 handle = load_library() 

2422 __nvmlDeviceGetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerState') 

2423  

2424 global __nvmlDeviceGetVgpuSchedulerCapabilities 

2425 __nvmlDeviceGetVgpuSchedulerCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerCapabilities') 

2426 if __nvmlDeviceGetVgpuSchedulerCapabilities == NULL: 

2427 if handle == NULL: 

2428 handle = load_library() 

2429 __nvmlDeviceGetVgpuSchedulerCapabilities = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerCapabilities') 

2430  

2431 global __nvmlDeviceSetVgpuSchedulerState 

2432 __nvmlDeviceSetVgpuSchedulerState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuSchedulerState') 

2433 if __nvmlDeviceSetVgpuSchedulerState == NULL: 

2434 if handle == NULL: 

2435 handle = load_library() 

2436 __nvmlDeviceSetVgpuSchedulerState = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuSchedulerState') 

2437  

2438 global __nvmlGetVgpuVersion 

2439 __nvmlGetVgpuVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetVgpuVersion') 

2440 if __nvmlGetVgpuVersion == NULL: 

2441 if handle == NULL: 

2442 handle = load_library() 

2443 __nvmlGetVgpuVersion = _cyb_dlsym(handle, 'nvmlGetVgpuVersion') 

2444  

2445 global __nvmlSetVgpuVersion 

2446 __nvmlSetVgpuVersion = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSetVgpuVersion') 

2447 if __nvmlSetVgpuVersion == NULL: 

2448 if handle == NULL: 

2449 handle = load_library() 

2450 __nvmlSetVgpuVersion = _cyb_dlsym(handle, 'nvmlSetVgpuVersion') 

2451  

2452 global __nvmlDeviceGetVgpuUtilization 

2453 __nvmlDeviceGetVgpuUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuUtilization') 

2454 if __nvmlDeviceGetVgpuUtilization == NULL: 

2455 if handle == NULL: 

2456 handle = load_library() 

2457 __nvmlDeviceGetVgpuUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuUtilization') 

2458  

2459 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

2460 __nvmlDeviceGetVgpuInstancesUtilizationInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuInstancesUtilizationInfo') 

2461 if __nvmlDeviceGetVgpuInstancesUtilizationInfo == NULL: 

2462 if handle == NULL: 

2463 handle = load_library() 

2464 __nvmlDeviceGetVgpuInstancesUtilizationInfo = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuInstancesUtilizationInfo') 

2465  

2466 global __nvmlDeviceGetVgpuProcessUtilization 

2467 __nvmlDeviceGetVgpuProcessUtilization = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuProcessUtilization') 

2468 if __nvmlDeviceGetVgpuProcessUtilization == NULL: 

2469 if handle == NULL: 

2470 handle = load_library() 

2471 __nvmlDeviceGetVgpuProcessUtilization = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuProcessUtilization') 

2472  

2473 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

2474 __nvmlDeviceGetVgpuProcessesUtilizationInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuProcessesUtilizationInfo') 

2475 if __nvmlDeviceGetVgpuProcessesUtilizationInfo == NULL: 

2476 if handle == NULL: 

2477 handle = load_library() 

2478 __nvmlDeviceGetVgpuProcessesUtilizationInfo = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuProcessesUtilizationInfo') 

2479  

2480 global __nvmlVgpuInstanceGetAccountingMode 

2481 __nvmlVgpuInstanceGetAccountingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingMode') 

2482 if __nvmlVgpuInstanceGetAccountingMode == NULL: 

2483 if handle == NULL: 

2484 handle = load_library() 

2485 __nvmlVgpuInstanceGetAccountingMode = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetAccountingMode') 

2486  

2487 global __nvmlVgpuInstanceGetAccountingPids 

2488 __nvmlVgpuInstanceGetAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingPids') 

2489 if __nvmlVgpuInstanceGetAccountingPids == NULL: 

2490 if handle == NULL: 

2491 handle = load_library() 

2492 __nvmlVgpuInstanceGetAccountingPids = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetAccountingPids') 

2493  

2494 global __nvmlVgpuInstanceGetAccountingStats 

2495 __nvmlVgpuInstanceGetAccountingStats = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingStats') 

2496 if __nvmlVgpuInstanceGetAccountingStats == NULL: 

2497 if handle == NULL: 

2498 handle = load_library() 

2499 __nvmlVgpuInstanceGetAccountingStats = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetAccountingStats') 

2500  

2501 global __nvmlVgpuInstanceClearAccountingPids 

2502 __nvmlVgpuInstanceClearAccountingPids = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceClearAccountingPids') 

2503 if __nvmlVgpuInstanceClearAccountingPids == NULL: 

2504 if handle == NULL: 

2505 handle = load_library() 

2506 __nvmlVgpuInstanceClearAccountingPids = _cyb_dlsym(handle, 'nvmlVgpuInstanceClearAccountingPids') 

2507  

2508 global __nvmlVgpuInstanceGetLicenseInfo_v2 

2509 __nvmlVgpuInstanceGetLicenseInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlVgpuInstanceGetLicenseInfo_v2') 

2510 if __nvmlVgpuInstanceGetLicenseInfo_v2 == NULL: 

2511 if handle == NULL: 

2512 handle = load_library() 

2513 __nvmlVgpuInstanceGetLicenseInfo_v2 = _cyb_dlsym(handle, 'nvmlVgpuInstanceGetLicenseInfo_v2') 

2514  

2515 global __nvmlGetExcludedDeviceCount 

2516 __nvmlGetExcludedDeviceCount = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetExcludedDeviceCount') 

2517 if __nvmlGetExcludedDeviceCount == NULL: 

2518 if handle == NULL: 

2519 handle = load_library() 

2520 __nvmlGetExcludedDeviceCount = _cyb_dlsym(handle, 'nvmlGetExcludedDeviceCount') 

2521  

2522 global __nvmlGetExcludedDeviceInfoByIndex 

2523 __nvmlGetExcludedDeviceInfoByIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGetExcludedDeviceInfoByIndex') 

2524 if __nvmlGetExcludedDeviceInfoByIndex == NULL: 

2525 if handle == NULL: 

2526 handle = load_library() 

2527 __nvmlGetExcludedDeviceInfoByIndex = _cyb_dlsym(handle, 'nvmlGetExcludedDeviceInfoByIndex') 

2528  

2529 global __nvmlDeviceSetMigMode 

2530 __nvmlDeviceSetMigMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetMigMode') 

2531 if __nvmlDeviceSetMigMode == NULL: 

2532 if handle == NULL: 

2533 handle = load_library() 

2534 __nvmlDeviceSetMigMode = _cyb_dlsym(handle, 'nvmlDeviceSetMigMode') 

2535  

2536 global __nvmlDeviceGetMigMode 

2537 __nvmlDeviceGetMigMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMigMode') 

2538 if __nvmlDeviceGetMigMode == NULL: 

2539 if handle == NULL: 

2540 handle = load_library() 

2541 __nvmlDeviceGetMigMode = _cyb_dlsym(handle, 'nvmlDeviceGetMigMode') 

2542  

2543 global __nvmlDeviceGetGpuInstanceProfileInfoV 

2544 __nvmlDeviceGetGpuInstanceProfileInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceProfileInfoV') 

2545 if __nvmlDeviceGetGpuInstanceProfileInfoV == NULL: 

2546 if handle == NULL: 

2547 handle = load_library() 

2548 __nvmlDeviceGetGpuInstanceProfileInfoV = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceProfileInfoV') 

2549  

2550 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

2551 __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstancePossiblePlacements_v2') 

2552 if __nvmlDeviceGetGpuInstancePossiblePlacements_v2 == NULL: 

2553 if handle == NULL: 

2554 handle = load_library() 

2555 __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstancePossiblePlacements_v2') 

2556  

2557 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

2558 __nvmlDeviceGetGpuInstanceRemainingCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceRemainingCapacity') 

2559 if __nvmlDeviceGetGpuInstanceRemainingCapacity == NULL: 

2560 if handle == NULL: 

2561 handle = load_library() 

2562 __nvmlDeviceGetGpuInstanceRemainingCapacity = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceRemainingCapacity') 

2563  

2564 global __nvmlDeviceCreateGpuInstance 

2565 __nvmlDeviceCreateGpuInstance = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceCreateGpuInstance') 

2566 if __nvmlDeviceCreateGpuInstance == NULL: 

2567 if handle == NULL: 

2568 handle = load_library() 

2569 __nvmlDeviceCreateGpuInstance = _cyb_dlsym(handle, 'nvmlDeviceCreateGpuInstance') 

2570  

2571 global __nvmlDeviceCreateGpuInstanceWithPlacement 

2572 __nvmlDeviceCreateGpuInstanceWithPlacement = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceCreateGpuInstanceWithPlacement') 

2573 if __nvmlDeviceCreateGpuInstanceWithPlacement == NULL: 

2574 if handle == NULL: 

2575 handle = load_library() 

2576 __nvmlDeviceCreateGpuInstanceWithPlacement = _cyb_dlsym(handle, 'nvmlDeviceCreateGpuInstanceWithPlacement') 

2577  

2578 global __nvmlGpuInstanceDestroy 

2579 __nvmlGpuInstanceDestroy = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceDestroy') 

2580 if __nvmlGpuInstanceDestroy == NULL: 

2581 if handle == NULL: 

2582 handle = load_library() 

2583 __nvmlGpuInstanceDestroy = _cyb_dlsym(handle, 'nvmlGpuInstanceDestroy') 

2584  

2585 global __nvmlDeviceGetGpuInstances 

2586 __nvmlDeviceGetGpuInstances = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstances') 

2587 if __nvmlDeviceGetGpuInstances == NULL: 

2588 if handle == NULL: 

2589 handle = load_library() 

2590 __nvmlDeviceGetGpuInstances = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstances') 

2591  

2592 global __nvmlDeviceGetGpuInstanceById 

2593 __nvmlDeviceGetGpuInstanceById = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceById') 

2594 if __nvmlDeviceGetGpuInstanceById == NULL: 

2595 if handle == NULL: 

2596 handle = load_library() 

2597 __nvmlDeviceGetGpuInstanceById = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceById') 

2598  

2599 global __nvmlGpuInstanceGetInfo 

2600 __nvmlGpuInstanceGetInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetInfo') 

2601 if __nvmlGpuInstanceGetInfo == NULL: 

2602 if handle == NULL: 2a e [ ] ^ _ ` { | } abbbcbdbebfbgbhbibwcjbkbq lbmbnbobpbh s t P Q R S T U V W X Y Z 0 1 2 3 4 5 6 xcyczcAcwb

2603 handle = load_library() 

2604 __nvmlGpuInstanceGetInfo = _cyb_dlsym(handle, 'nvmlGpuInstanceGetInfo') 

2605  

2606 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

2607 __nvmlGpuInstanceGetComputeInstanceProfileInfoV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceProfileInfoV') 

2608 if __nvmlGpuInstanceGetComputeInstanceProfileInfoV == NULL: 

2609 if handle == NULL: 

2610 handle = load_library() 

2611 __nvmlGpuInstanceGetComputeInstanceProfileInfoV = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceProfileInfoV') 

2612  

2613 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

2614 __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceRemainingCapacity') 

2615 if __nvmlGpuInstanceGetComputeInstanceRemainingCapacity == NULL: 

2616 if handle == NULL: 

2617 handle = load_library() 

2618 __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceRemainingCapacity') 2a e SbUbWbXbYbZb0b1b2b4b5b6b7b8b9b!b#b$b%b(bq )b+b,b-b.b/bh :b=b?b@b[b]b^b_b`b{b|b}b~bacbcccdcecfcgchcjclcmcocpc

2619  

2620 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

2621 __nvmlGpuInstanceGetComputeInstancePossiblePlacements = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstancePossiblePlacements') 

2622 if __nvmlGpuInstanceGetComputeInstancePossiblePlacements == NULL: 2a e SbUbWbXbYbZb0b1b2b4b5b6b7b8b9b!b#b$b%b(bq )b+b,b-b.b/bh :b=b?b@b[b]b^b_b`b{b|b}b~bacbcccdcecfcgchcjclcmcocpc

2623 if handle == NULL: 

2624 handle = load_library() 

2625 __nvmlGpuInstanceGetComputeInstancePossiblePlacements = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstancePossiblePlacements') 

2626  

2627 global __nvmlGpuInstanceCreateComputeInstance 

2628 __nvmlGpuInstanceCreateComputeInstance = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceCreateComputeInstance') 1aklmMuFpvwn%oi

2629 if __nvmlGpuInstanceCreateComputeInstance == NULL: 1aklmMuFpvwn%oi

2630 if handle == NULL: 

2631 handle = load_library() 

2632 __nvmlGpuInstanceCreateComputeInstance = _cyb_dlsym(handle, 'nvmlGpuInstanceCreateComputeInstance') 1klmMuFpvwn%oi

2633  

2634 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

2635 __nvmlGpuInstanceCreateComputeInstanceWithPlacement = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceCreateComputeInstanceWithPlacement') 

2636 if __nvmlGpuInstanceCreateComputeInstanceWithPlacement == NULL: 

2637 if handle == NULL: 

2638 handle = load_library() 2Rb

2639 __nvmlGpuInstanceCreateComputeInstanceWithPlacement = _cyb_dlsym(handle, 'nvmlGpuInstanceCreateComputeInstanceWithPlacement') 2Rb

2640  

2641 global __nvmlComputeInstanceDestroy 

2642 __nvmlComputeInstanceDestroy = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlComputeInstanceDestroy') 2a Rb

2643 if __nvmlComputeInstanceDestroy == NULL: 

2644 if handle == NULL: 

2645 handle = load_library() 

2646 __nvmlComputeInstanceDestroy = _cyb_dlsym(handle, 'nvmlComputeInstanceDestroy') 

2647  

2648 global __nvmlGpuInstanceGetComputeInstances 

2649 __nvmlGpuInstanceGetComputeInstances = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstances') 2a nc

2650 if __nvmlGpuInstanceGetComputeInstances == NULL: 

2651 if handle == NULL: 

2652 handle = load_library() 2nc

2653 __nvmlGpuInstanceGetComputeInstances = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstances') 

2654  

2655 global __nvmlGpuInstanceGetComputeInstanceById 

2656 __nvmlGpuInstanceGetComputeInstanceById = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceById') 

2657 if __nvmlGpuInstanceGetComputeInstanceById == NULL: 

2658 if handle == NULL: 2a kc

2659 handle = load_library() 2a kc

2660 __nvmlGpuInstanceGetComputeInstanceById = _cyb_dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceById') 

2661  

2662 global __nvmlComputeInstanceGetInfo_v2 

2663 __nvmlComputeInstanceGetInfo_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlComputeInstanceGetInfo_v2') 

2664 if __nvmlComputeInstanceGetInfo_v2 == NULL: 

2665 if handle == NULL: 

2666 handle = load_library() 

2667 __nvmlComputeInstanceGetInfo_v2 = _cyb_dlsym(handle, 'nvmlComputeInstanceGetInfo_v2') 

2668  

2669 global __nvmlDeviceIsMigDeviceHandle 

2670 __nvmlDeviceIsMigDeviceHandle = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceIsMigDeviceHandle') 

2671 if __nvmlDeviceIsMigDeviceHandle == NULL: 

2672 if handle == NULL: 

2673 handle = load_library() 

2674 __nvmlDeviceIsMigDeviceHandle = _cyb_dlsym(handle, 'nvmlDeviceIsMigDeviceHandle') 

2675  

2676 global __nvmlDeviceGetGpuInstanceId 

2677 __nvmlDeviceGetGpuInstanceId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceId') 

2678 if __nvmlDeviceGetGpuInstanceId == NULL: 2a ic

2679 if handle == NULL: 2ic

2680 handle = load_library() 

2681 __nvmlDeviceGetGpuInstanceId = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceId') 

2682  

2683 global __nvmlDeviceGetComputeInstanceId 

2684 __nvmlDeviceGetComputeInstanceId = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetComputeInstanceId') 

2685 if __nvmlDeviceGetComputeInstanceId == NULL: 

2686 if handle == NULL: 

2687 handle = load_library() 

2688 __nvmlDeviceGetComputeInstanceId = _cyb_dlsym(handle, 'nvmlDeviceGetComputeInstanceId') 

2689  

2690 global __nvmlDeviceGetMaxMigDeviceCount 

2691 __nvmlDeviceGetMaxMigDeviceCount = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMaxMigDeviceCount') 

2692 if __nvmlDeviceGetMaxMigDeviceCount == NULL: 

2693 if handle == NULL: 

2694 handle = load_library() 

2695 __nvmlDeviceGetMaxMigDeviceCount = _cyb_dlsym(handle, 'nvmlDeviceGetMaxMigDeviceCount') 

2696  

2697 global __nvmlDeviceGetMigDeviceHandleByIndex 

2698 __nvmlDeviceGetMigDeviceHandleByIndex = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetMigDeviceHandleByIndex') 

2699 if __nvmlDeviceGetMigDeviceHandleByIndex == NULL: 

2700 if handle == NULL: 

2701 handle = load_library() 

2702 __nvmlDeviceGetMigDeviceHandleByIndex = _cyb_dlsym(handle, 'nvmlDeviceGetMigDeviceHandleByIndex') 

2703  

2704 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

2705 __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetDeviceHandleFromMigDeviceHandle') 

2706 if __nvmlDeviceGetDeviceHandleFromMigDeviceHandle == NULL: 

2707 if handle == NULL: 

2708 handle = load_library() 

2709 __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = _cyb_dlsym(handle, 'nvmlDeviceGetDeviceHandleFromMigDeviceHandle') 

2710  

2711 global __nvmlDeviceGetCapabilities 

2712 __nvmlDeviceGetCapabilities = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetCapabilities') 

2713 if __nvmlDeviceGetCapabilities == NULL: 

2714 if handle == NULL: 

2715 handle = load_library() 

2716 __nvmlDeviceGetCapabilities = _cyb_dlsym(handle, 'nvmlDeviceGetCapabilities') 

2717  

2718 global __nvmlDevicePowerSmoothingActivatePresetProfile 

2719 __nvmlDevicePowerSmoothingActivatePresetProfile = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDevicePowerSmoothingActivatePresetProfile') 2a wb

2720 if __nvmlDevicePowerSmoothingActivatePresetProfile == NULL: 

2721 if handle == NULL: 

2722 handle = load_library() 2wb

2723 __nvmlDevicePowerSmoothingActivatePresetProfile = _cyb_dlsym(handle, 'nvmlDevicePowerSmoothingActivatePresetProfile') 

2724  

2725 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

2726 __nvmlDevicePowerSmoothingUpdatePresetProfileParam = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDevicePowerSmoothingUpdatePresetProfileParam') 

2727 if __nvmlDevicePowerSmoothingUpdatePresetProfileParam == NULL: 

2728 if handle == NULL: 

2729 handle = load_library() 

2730 __nvmlDevicePowerSmoothingUpdatePresetProfileParam = _cyb_dlsym(handle, 'nvmlDevicePowerSmoothingUpdatePresetProfileParam') 

2731  

2732 global __nvmlDevicePowerSmoothingSetState 

2733 __nvmlDevicePowerSmoothingSetState = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDevicePowerSmoothingSetState') 

2734 if __nvmlDevicePowerSmoothingSetState == NULL: 

2735 if handle == NULL: 

2736 handle = load_library() 

2737 __nvmlDevicePowerSmoothingSetState = _cyb_dlsym(handle, 'nvmlDevicePowerSmoothingSetState') 

2738  

2739 global __nvmlDeviceGetAddressingMode 

2740 __nvmlDeviceGetAddressingMode = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAddressingMode') 

2741 if __nvmlDeviceGetAddressingMode == NULL: 

2742 if handle == NULL: 

2743 handle = load_library() 

2744 __nvmlDeviceGetAddressingMode = _cyb_dlsym(handle, 'nvmlDeviceGetAddressingMode') 

2745  

2746 global __nvmlDeviceGetRepairStatus 

2747 __nvmlDeviceGetRepairStatus = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRepairStatus') 

2748 if __nvmlDeviceGetRepairStatus == NULL: 

2749 if handle == NULL: 

2750 handle = load_library() 

2751 __nvmlDeviceGetRepairStatus = _cyb_dlsym(handle, 'nvmlDeviceGetRepairStatus') 

2752  

2753 global __nvmlDeviceGetPowerMizerMode_v1 

2754 __nvmlDeviceGetPowerMizerMode_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPowerMizerMode_v1') 

2755 if __nvmlDeviceGetPowerMizerMode_v1 == NULL: 

2756 if handle == NULL: 

2757 handle = load_library() 

2758 __nvmlDeviceGetPowerMizerMode_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetPowerMizerMode_v1') 

2759  

2760 global __nvmlDeviceSetPowerMizerMode_v1 

2761 __nvmlDeviceSetPowerMizerMode_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetPowerMizerMode_v1') 

2762 if __nvmlDeviceSetPowerMizerMode_v1 == NULL: 

2763 if handle == NULL: 

2764 handle = load_library() 

2765 __nvmlDeviceSetPowerMizerMode_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetPowerMizerMode_v1') 

2766  

2767 global __nvmlDeviceGetPdi 

2768 __nvmlDeviceGetPdi = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetPdi') 

2769 if __nvmlDeviceGetPdi == NULL: 

2770 if handle == NULL: 

2771 handle = load_library() 

2772 __nvmlDeviceGetPdi = _cyb_dlsym(handle, 'nvmlDeviceGetPdi') 

2773  

2774 global __nvmlDeviceSetHostname_v1 

2775 __nvmlDeviceSetHostname_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetHostname_v1') 

2776 if __nvmlDeviceSetHostname_v1 == NULL: 

2777 if handle == NULL: 

2778 handle = load_library() 

2779 __nvmlDeviceSetHostname_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetHostname_v1') 

2780  

2781 global __nvmlDeviceGetHostname_v1 

2782 __nvmlDeviceGetHostname_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetHostname_v1') 

2783 if __nvmlDeviceGetHostname_v1 == NULL: 

2784 if handle == NULL: 

2785 handle = load_library() 

2786 __nvmlDeviceGetHostname_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetHostname_v1') 

2787  

2788 global __nvmlDeviceGetNvLinkInfo 

2789 __nvmlDeviceGetNvLinkInfo = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetNvLinkInfo') 

2790 if __nvmlDeviceGetNvLinkInfo == NULL: 

2791 if handle == NULL: 

2792 handle = load_library() 

2793 __nvmlDeviceGetNvLinkInfo = _cyb_dlsym(handle, 'nvmlDeviceGetNvLinkInfo') 

2794  

2795 global __nvmlDeviceReadWritePRM_v1 

2796 __nvmlDeviceReadWritePRM_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceReadWritePRM_v1') 

2797 if __nvmlDeviceReadWritePRM_v1 == NULL: 

2798 if handle == NULL: 1edOqhstPQRSTUVWXYZ0123456

2799 handle = load_library() 1edOqhstPQRSTUVWXYZ0123456

2800 __nvmlDeviceReadWritePRM_v1 = _cyb_dlsym(handle, 'nvmlDeviceReadWritePRM_v1') 

2801  

2802 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

2803 __nvmlDeviceGetGpuInstanceProfileInfoByIdV = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceProfileInfoByIdV') 

2804 if __nvmlDeviceGetGpuInstanceProfileInfoByIdV == NULL: 

2805 if handle == NULL: 

2806 handle = load_library() 

2807 __nvmlDeviceGetGpuInstanceProfileInfoByIdV = _cyb_dlsym(handle, 'nvmlDeviceGetGpuInstanceProfileInfoByIdV') 

2808  

2809 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

2810 __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts') 

2811 if __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts == NULL: 

2812 if handle == NULL: 

2813 handle = load_library() 

2814 __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = _cyb_dlsym(handle, 'nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts') 

2815  

2816 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

2817 __nvmlDeviceGetUnrepairableMemoryFlag_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetUnrepairableMemoryFlag_v1') 

2818 if __nvmlDeviceGetUnrepairableMemoryFlag_v1 == NULL: 1aedOqhstPQRSTUVWXYZ0123456

2819 if handle == NULL: 1edOqhstPQRSTUVWXYZ0123456

2820 handle = load_library() 

2821 __nvmlDeviceGetUnrepairableMemoryFlag_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetUnrepairableMemoryFlag_v1') 

2822  

2823 global __nvmlDeviceReadPRMCounters_v1 

2824 __nvmlDeviceReadPRMCounters_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceReadPRMCounters_v1') 

2825 if __nvmlDeviceReadPRMCounters_v1 == NULL: 

2826 if handle == NULL: 

2827 handle = load_library() 

2828 __nvmlDeviceReadPRMCounters_v1 = _cyb_dlsym(handle, 'nvmlDeviceReadPRMCounters_v1') 

2829  

2830 global __nvmlDeviceSetRusdSettings_v1 

2831 __nvmlDeviceSetRusdSettings_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetRusdSettings_v1') 

2832 if __nvmlDeviceSetRusdSettings_v1 == NULL: 

2833 if handle == NULL: 

2834 handle = load_library() 

2835 __nvmlDeviceSetRusdSettings_v1 = _cyb_dlsym(handle, 'nvmlDeviceSetRusdSettings_v1') 

2836  

2837 global __nvmlDeviceVgpuForceGspUnload 

2838 __nvmlDeviceVgpuForceGspUnload = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceVgpuForceGspUnload') 2a [ ] ^ _ ` { | } abbbcbdbebfbgbhbibjbkblbmbnbobpbQb

2839 if __nvmlDeviceVgpuForceGspUnload == NULL: 2a [ ] ^ _ ` { | } abbbcbdbebfbgbhbibjbkblbmbnbobpbQb

2840 if handle == NULL: 

2841 handle = load_library() 

2842 __nvmlDeviceVgpuForceGspUnload = _cyb_dlsym(handle, 'nvmlDeviceVgpuForceGspUnload') 2[ ] ^ _ ` { | } abbbcbdbebfbgbhbibjbkblbmbnbobpbQb

2843  

2844 global __nvmlDeviceGetVgpuSchedulerState_v2 

2845 __nvmlDeviceGetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerState_v2') 

2846 if __nvmlDeviceGetVgpuSchedulerState_v2 == NULL: 

2847 if handle == NULL: 

2848 handle = load_library() 1$

2849 __nvmlDeviceGetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerState_v2') 1$

2850  

2851 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 

2852 __nvmlGpuInstanceGetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerState_v2') 1a$

2853 if __nvmlGpuInstanceGetVgpuSchedulerState_v2 == NULL: 

2854 if handle == NULL: 

2855 handle = load_library() 

2856 __nvmlGpuInstanceGetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerState_v2') 

2857  

2858 global __nvmlDeviceGetVgpuSchedulerLog_v2 

2859 __nvmlDeviceGetVgpuSchedulerLog_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerLog_v2') 2a ;b

2860 if __nvmlDeviceGetVgpuSchedulerLog_v2 == NULL: 

2861 if handle == NULL: 

2862 handle = load_library() 2;b

2863 __nvmlDeviceGetVgpuSchedulerLog_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetVgpuSchedulerLog_v2') 

2864  

2865 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 

2866 __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerLog_v2') 

2867 if __nvmlGpuInstanceGetVgpuSchedulerLog_v2 == NULL: 

2868 if handle == NULL: 1eklmMupvwqoi

2869 handle = load_library() 1eklmMupvwqoi

2870 __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = _cyb_dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerLog_v2') 

2871  

2872 global __nvmlDeviceSetVgpuSchedulerState_v2 

2873 __nvmlDeviceSetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceSetVgpuSchedulerState_v2') 

2874 if __nvmlDeviceSetVgpuSchedulerState_v2 == NULL: 

2875 if handle == NULL: 

2876 handle = load_library() 

2877 __nvmlDeviceSetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlDeviceSetVgpuSchedulerState_v2') 

2878  

2879 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 

2880 __nvmlGpuInstanceSetVgpuSchedulerState_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuSchedulerState_v2') 

2881 if __nvmlGpuInstanceSetVgpuSchedulerState_v2 == NULL: 

2882 if handle == NULL: 

2883 handle = load_library() 

2884 __nvmlGpuInstanceSetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlGpuInstanceSetVgpuSchedulerState_v2') 

2885  

2886 global __nvmlSystemGetCPER_v1 

2887 __nvmlSystemGetCPER_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetCPER_v1') 

2888 if __nvmlSystemGetCPER_v1 == NULL: 1aO

2889 if handle == NULL: 1aO

2890 handle = load_library() 

2891 __nvmlSystemGetCPER_v1 = _cyb_dlsym(handle, 'nvmlSystemGetCPER_v1') 

2892  

2893 global __nvmlDeviceGetBBXTimeData_v1 

2894 __nvmlDeviceGetBBXTimeData_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBBXTimeData_v1') 

2895 if __nvmlDeviceGetBBXTimeData_v1 == NULL: 

2896 if handle == NULL: 

2897 handle = load_library() 

2898 __nvmlDeviceGetBBXTimeData_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetBBXTimeData_v1') 1aq

2899  

2900 global __nvmlDeviceGetAccountingStats_v2 

2901 __nvmlDeviceGetAccountingStats_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingStats_v2') 

2902 if __nvmlDeviceGetAccountingStats_v2 == NULL: 1aq

2903 if handle == NULL: 

2904 handle = load_library() 

2905 __nvmlDeviceGetAccountingStats_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingStats_v2') 

2906  

2907 global __nvmlDeviceGetRemappedRows_v2 

2908 __nvmlDeviceGetRemappedRows_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRemappedRows_v2') 1ad

2909 if __nvmlDeviceGetRemappedRows_v2 == NULL: 1ad

2910 if handle == NULL: 

2911 handle = load_library() 

2912 __nvmlDeviceGetRemappedRows_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetRemappedRows_v2') 1d

2913  

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

2915 return 0 

2916  

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

2918 if _cyb_atomic_int_load(<int *>&_cyb___py_nvml_init): 2a BcCcDcEcFc' qcGce xb[ SbTb] UbVb^ Wbtb_ Xbk ` Ybl { Zb$ | 0bm } 1b~ ab2b3bbb4bM cb5bu db6bF eb7bp fb8bgb9bv hb!bw ib#bd wc$bN jb%b'bkb(bO q )b( g *blb+bn mb,b% nb-bo ob.bi pb/bh :brcybHcsczbIc;bs =bQbt ?btcAbJcucBbKcubP @bG Q [bH R ]bI S ^bJ T _bK U `bL V {bW |bX }bY ~bZ ac0 bc1 cc2 dcqb3 ecrb4 fcvb5 gcsb6 hcicxcjckcyclcRbzcmcncAcocwbpc) 7 x y 8 b z CbDbA * EbLc+ Fb, Gb9 c - McHbIb. Jb! Kbf LbMbNcOcNbB / C D : E j ; r = ? Ob# vcPc@ QcRcScTcPbUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdcddd

2919 return 0 2a BcCcDcEcFc' qcGce xb[ SbTb] UbVb^ Wbtb_ Xbk ` Ybl { Zb$ | 0bm } 1b~ ab2b3bbb4bM cb5bu db6bF eb7bp fb8bgb9bv hb!bw ib#bd wc$bN jb%b'bkb(bO q )b( g *blb+bn mb,b% nb-bo ob.bi pb/bh :brcybHcsczbIc;bs =bQbt ?btcAbJcucBbKcubP @bG Q [bH R ]bI S ^bJ T _bK U `bL V {bW |bX }bY ~bZ ac0 bc1 cc2 dcqb3 ecrb4 fcvb5 gcsb6 hcicxcjckcyclcRbzcmcncAcocwbpc) 7 x y 8 b z CbDbA * EbLc+ Fb, Gb9 c - McHbIb. Jb! Kbf LbMbNcOcNbB / C D : E j ; r = ? Ob# vcPc@ QcRcScTcPbUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdcddd

2920  

2921 return _init_nvml() 

2922  

2923  

2924cpdef dict _inspect_function_pointers(): 

2925 global _cyb_func_ptrs 

2926 if _cyb_func_ptrs is not None: 

2927 return _cyb_func_ptrs 

2928  

2929 _check_or_init_nvml() 

2930 cdef dict data = {} 

2931 global __nvmlInit_v2 

2932 data["__nvmlInit_v2"] = <_cyb_intptr_t>__nvmlInit_v2 

2933  

2934 global __nvmlInitWithFlags 

2935 data["__nvmlInitWithFlags"] = <_cyb_intptr_t>__nvmlInitWithFlags 

2936  

2937 global __nvmlShutdown 

2938 data["__nvmlShutdown"] = <_cyb_intptr_t>__nvmlShutdown 

2939  

2940 global __nvmlErrorString 

2941 data["__nvmlErrorString"] = <_cyb_intptr_t>__nvmlErrorString 

2942  

2943 global __nvmlSystemGetDriverVersion 

2944 data["__nvmlSystemGetDriverVersion"] = <_cyb_intptr_t>__nvmlSystemGetDriverVersion 

2945  

2946 global __nvmlSystemGetNVMLVersion 

2947 data["__nvmlSystemGetNVMLVersion"] = <_cyb_intptr_t>__nvmlSystemGetNVMLVersion 

2948  

2949 global __nvmlSystemGetCudaDriverVersion 

2950 data["__nvmlSystemGetCudaDriverVersion"] = <_cyb_intptr_t>__nvmlSystemGetCudaDriverVersion 

2951  

2952 global __nvmlSystemGetCudaDriverVersion_v2 

2953 data["__nvmlSystemGetCudaDriverVersion_v2"] = <_cyb_intptr_t>__nvmlSystemGetCudaDriverVersion_v2 

2954  

2955 global __nvmlSystemGetProcessName 

2956 data["__nvmlSystemGetProcessName"] = <_cyb_intptr_t>__nvmlSystemGetProcessName 

2957  

2958 global __nvmlSystemGetHicVersion 

2959 data["__nvmlSystemGetHicVersion"] = <_cyb_intptr_t>__nvmlSystemGetHicVersion 

2960  

2961 global __nvmlSystemGetTopologyGpuSet 

2962 data["__nvmlSystemGetTopologyGpuSet"] = <_cyb_intptr_t>__nvmlSystemGetTopologyGpuSet 

2963  

2964 global __nvmlSystemGetDriverBranch 

2965 data["__nvmlSystemGetDriverBranch"] = <_cyb_intptr_t>__nvmlSystemGetDriverBranch 

2966  

2967 global __nvmlUnitGetCount 

2968 data["__nvmlUnitGetCount"] = <_cyb_intptr_t>__nvmlUnitGetCount 

2969  

2970 global __nvmlUnitGetHandleByIndex 

2971 data["__nvmlUnitGetHandleByIndex"] = <_cyb_intptr_t>__nvmlUnitGetHandleByIndex 

2972  

2973 global __nvmlUnitGetUnitInfo 

2974 data["__nvmlUnitGetUnitInfo"] = <_cyb_intptr_t>__nvmlUnitGetUnitInfo 

2975  

2976 global __nvmlUnitGetLedState 

2977 data["__nvmlUnitGetLedState"] = <_cyb_intptr_t>__nvmlUnitGetLedState 

2978  

2979 global __nvmlUnitGetPsuInfo 

2980 data["__nvmlUnitGetPsuInfo"] = <_cyb_intptr_t>__nvmlUnitGetPsuInfo 

2981  

2982 global __nvmlUnitGetTemperature 

2983 data["__nvmlUnitGetTemperature"] = <_cyb_intptr_t>__nvmlUnitGetTemperature 

2984  

2985 global __nvmlUnitGetFanSpeedInfo 

2986 data["__nvmlUnitGetFanSpeedInfo"] = <_cyb_intptr_t>__nvmlUnitGetFanSpeedInfo 

2987  

2988 global __nvmlUnitGetDevices 

2989 data["__nvmlUnitGetDevices"] = <_cyb_intptr_t>__nvmlUnitGetDevices 

2990  

2991 global __nvmlDeviceGetCount_v2 

2992 data["__nvmlDeviceGetCount_v2"] = <_cyb_intptr_t>__nvmlDeviceGetCount_v2 

2993  

2994 global __nvmlDeviceGetAttributes_v2 

2995 data["__nvmlDeviceGetAttributes_v2"] = <_cyb_intptr_t>__nvmlDeviceGetAttributes_v2 

2996  

2997 global __nvmlDeviceGetHandleByIndex_v2 

2998 data["__nvmlDeviceGetHandleByIndex_v2"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByIndex_v2 

2999  

3000 global __nvmlDeviceGetHandleBySerial 

3001 data["__nvmlDeviceGetHandleBySerial"] = <_cyb_intptr_t>__nvmlDeviceGetHandleBySerial 

3002  

3003 global __nvmlDeviceGetHandleByUUID 

3004 data["__nvmlDeviceGetHandleByUUID"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByUUID 

3005  

3006 global __nvmlDeviceGetHandleByUUIDV 

3007 data["__nvmlDeviceGetHandleByUUIDV"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByUUIDV 

3008  

3009 global __nvmlDeviceGetHandleByPciBusId_v2 

3010 data["__nvmlDeviceGetHandleByPciBusId_v2"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByPciBusId_v2 

3011  

3012 global __nvmlDeviceGetName 

3013 data["__nvmlDeviceGetName"] = <_cyb_intptr_t>__nvmlDeviceGetName 

3014  

3015 global __nvmlDeviceGetBrand 

3016 data["__nvmlDeviceGetBrand"] = <_cyb_intptr_t>__nvmlDeviceGetBrand 

3017  

3018 global __nvmlDeviceGetIndex 

3019 data["__nvmlDeviceGetIndex"] = <_cyb_intptr_t>__nvmlDeviceGetIndex 1$dqt

3020  

3021 global __nvmlDeviceGetSerial 

3022 data["__nvmlDeviceGetSerial"] = <_cyb_intptr_t>__nvmlDeviceGetSerial 1$dqt

3023  

3024 global __nvmlDeviceGetModuleId 

3025 data["__nvmlDeviceGetModuleId"] = <_cyb_intptr_t>__nvmlDeviceGetModuleId 

3026  

3027 global __nvmlDeviceGetC2cModeInfoV 

3028 data["__nvmlDeviceGetC2cModeInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetC2cModeInfoV 

3029  

3030 global __nvmlDeviceGetMemoryAffinity 

3031 data["__nvmlDeviceGetMemoryAffinity"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryAffinity 

3032  

3033 global __nvmlDeviceGetCpuAffinityWithinScope 

3034 data["__nvmlDeviceGetCpuAffinityWithinScope"] = <_cyb_intptr_t>__nvmlDeviceGetCpuAffinityWithinScope 

3035  

3036 global __nvmlDeviceGetCpuAffinity 

3037 data["__nvmlDeviceGetCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceGetCpuAffinity 

3038  

3039 global __nvmlDeviceSetCpuAffinity 

3040 data["__nvmlDeviceSetCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceSetCpuAffinity 

3041  

3042 global __nvmlDeviceClearCpuAffinity 

3043 data["__nvmlDeviceClearCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceClearCpuAffinity 

3044  

3045 global __nvmlDeviceGetNumaNodeId 

3046 data["__nvmlDeviceGetNumaNodeId"] = <_cyb_intptr_t>__nvmlDeviceGetNumaNodeId 

3047  

3048 global __nvmlDeviceGetTopologyCommonAncestor 

3049 data["__nvmlDeviceGetTopologyCommonAncestor"] = <_cyb_intptr_t>__nvmlDeviceGetTopologyCommonAncestor 

3050  

3051 global __nvmlDeviceGetTopologyNearestGpus 

3052 data["__nvmlDeviceGetTopologyNearestGpus"] = <_cyb_intptr_t>__nvmlDeviceGetTopologyNearestGpus 

3053  

3054 global __nvmlDeviceGetP2PStatus 

3055 data["__nvmlDeviceGetP2PStatus"] = <_cyb_intptr_t>__nvmlDeviceGetP2PStatus 

3056  

3057 global __nvmlDeviceGetUUID 

3058 data["__nvmlDeviceGetUUID"] = <_cyb_intptr_t>__nvmlDeviceGetUUID 

3059  

3060 global __nvmlDeviceGetMinorNumber 

3061 data["__nvmlDeviceGetMinorNumber"] = <_cyb_intptr_t>__nvmlDeviceGetMinorNumber 

3062  

3063 global __nvmlDeviceGetBoardPartNumber 

3064 data["__nvmlDeviceGetBoardPartNumber"] = <_cyb_intptr_t>__nvmlDeviceGetBoardPartNumber 

3065  

3066 global __nvmlDeviceGetInforomVersion 

3067 data["__nvmlDeviceGetInforomVersion"] = <_cyb_intptr_t>__nvmlDeviceGetInforomVersion 

3068  

3069 global __nvmlDeviceGetInforomImageVersion 

3070 data["__nvmlDeviceGetInforomImageVersion"] = <_cyb_intptr_t>__nvmlDeviceGetInforomImageVersion 

3071  

3072 global __nvmlDeviceGetInforomConfigurationChecksum 

3073 data["__nvmlDeviceGetInforomConfigurationChecksum"] = <_cyb_intptr_t>__nvmlDeviceGetInforomConfigurationChecksum 

3074  

3075 global __nvmlDeviceValidateInforom 

3076 data["__nvmlDeviceValidateInforom"] = <_cyb_intptr_t>__nvmlDeviceValidateInforom 

3077  

3078 global __nvmlDeviceGetLastBBXFlushTime 

3079 data["__nvmlDeviceGetLastBBXFlushTime"] = <_cyb_intptr_t>__nvmlDeviceGetLastBBXFlushTime 

3080  

3081 global __nvmlDeviceGetDisplayMode 

3082 data["__nvmlDeviceGetDisplayMode"] = <_cyb_intptr_t>__nvmlDeviceGetDisplayMode 

3083  

3084 global __nvmlDeviceGetDisplayActive 

3085 data["__nvmlDeviceGetDisplayActive"] = <_cyb_intptr_t>__nvmlDeviceGetDisplayActive 

3086  

3087 global __nvmlDeviceGetPersistenceMode 

3088 data["__nvmlDeviceGetPersistenceMode"] = <_cyb_intptr_t>__nvmlDeviceGetPersistenceMode 

3089  

3090 global __nvmlDeviceGetPciInfoExt 

3091 data["__nvmlDeviceGetPciInfoExt"] = <_cyb_intptr_t>__nvmlDeviceGetPciInfoExt 

3092  

3093 global __nvmlDeviceGetPciInfo_v3 

3094 data["__nvmlDeviceGetPciInfo_v3"] = <_cyb_intptr_t>__nvmlDeviceGetPciInfo_v3 

3095  

3096 global __nvmlDeviceGetMaxPcieLinkGeneration 

3097 data["__nvmlDeviceGetMaxPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetMaxPcieLinkGeneration 

3098  

3099 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

3100 data["__nvmlDeviceGetGpuMaxPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetGpuMaxPcieLinkGeneration 

3101  

3102 global __nvmlDeviceGetMaxPcieLinkWidth 

3103 data["__nvmlDeviceGetMaxPcieLinkWidth"] = <_cyb_intptr_t>__nvmlDeviceGetMaxPcieLinkWidth 

3104  

3105 global __nvmlDeviceGetCurrPcieLinkGeneration 

3106 data["__nvmlDeviceGetCurrPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetCurrPcieLinkGeneration 

3107  

3108 global __nvmlDeviceGetCurrPcieLinkWidth 

3109 data["__nvmlDeviceGetCurrPcieLinkWidth"] = <_cyb_intptr_t>__nvmlDeviceGetCurrPcieLinkWidth 

3110  

3111 global __nvmlDeviceGetPcieThroughput 

3112 data["__nvmlDeviceGetPcieThroughput"] = <_cyb_intptr_t>__nvmlDeviceGetPcieThroughput 

3113  

3114 global __nvmlDeviceGetPcieReplayCounter 

3115 data["__nvmlDeviceGetPcieReplayCounter"] = <_cyb_intptr_t>__nvmlDeviceGetPcieReplayCounter 

3116  

3117 global __nvmlDeviceGetClockInfo 

3118 data["__nvmlDeviceGetClockInfo"] = <_cyb_intptr_t>__nvmlDeviceGetClockInfo 

3119  

3120 global __nvmlDeviceGetMaxClockInfo 

3121 data["__nvmlDeviceGetMaxClockInfo"] = <_cyb_intptr_t>__nvmlDeviceGetMaxClockInfo 

3122  

3123 global __nvmlDeviceGetGpcClkVfOffset 

3124 data["__nvmlDeviceGetGpcClkVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetGpcClkVfOffset 

3125  

3126 global __nvmlDeviceGetClock 

3127 data["__nvmlDeviceGetClock"] = <_cyb_intptr_t>__nvmlDeviceGetClock 

3128  

3129 global __nvmlDeviceGetMaxCustomerBoostClock 

3130 data["__nvmlDeviceGetMaxCustomerBoostClock"] = <_cyb_intptr_t>__nvmlDeviceGetMaxCustomerBoostClock 

3131  

3132 global __nvmlDeviceGetSupportedMemoryClocks 

3133 data["__nvmlDeviceGetSupportedMemoryClocks"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedMemoryClocks 

3134  

3135 global __nvmlDeviceGetSupportedGraphicsClocks 

3136 data["__nvmlDeviceGetSupportedGraphicsClocks"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedGraphicsClocks 

3137  

3138 global __nvmlDeviceGetAutoBoostedClocksEnabled 

3139 data["__nvmlDeviceGetAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceGetAutoBoostedClocksEnabled 1eqis

3140  

3141 global __nvmlDeviceGetFanSpeed 

3142 data["__nvmlDeviceGetFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeed 1eqis

3143  

3144 global __nvmlDeviceGetFanSpeed_v2 

3145 data["__nvmlDeviceGetFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeed_v2 

3146  

3147 global __nvmlDeviceGetFanSpeedRPM 

3148 data["__nvmlDeviceGetFanSpeedRPM"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeedRPM 

3149  

3150 global __nvmlDeviceGetTargetFanSpeed 

3151 data["__nvmlDeviceGetTargetFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetTargetFanSpeed 

3152  

3153 global __nvmlDeviceGetMinMaxFanSpeed 

3154 data["__nvmlDeviceGetMinMaxFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetMinMaxFanSpeed 

3155  

3156 global __nvmlDeviceGetFanControlPolicy_v2 

3157 data["__nvmlDeviceGetFanControlPolicy_v2"] = <_cyb_intptr_t>__nvmlDeviceGetFanControlPolicy_v2 

3158  

3159 global __nvmlDeviceGetNumFans 

3160 data["__nvmlDeviceGetNumFans"] = <_cyb_intptr_t>__nvmlDeviceGetNumFans 

3161  

3162 global __nvmlDeviceGetCoolerInfo 

3163 data["__nvmlDeviceGetCoolerInfo"] = <_cyb_intptr_t>__nvmlDeviceGetCoolerInfo 

3164  

3165 global __nvmlDeviceGetTemperatureV 

3166 data["__nvmlDeviceGetTemperatureV"] = <_cyb_intptr_t>__nvmlDeviceGetTemperatureV 

3167  

3168 global __nvmlDeviceGetTemperatureThreshold 

3169 data["__nvmlDeviceGetTemperatureThreshold"] = <_cyb_intptr_t>__nvmlDeviceGetTemperatureThreshold 

3170  

3171 global __nvmlDeviceGetMarginTemperature 

3172 data["__nvmlDeviceGetMarginTemperature"] = <_cyb_intptr_t>__nvmlDeviceGetMarginTemperature 

3173  

3174 global __nvmlDeviceGetThermalSettings 

3175 data["__nvmlDeviceGetThermalSettings"] = <_cyb_intptr_t>__nvmlDeviceGetThermalSettings 

3176  

3177 global __nvmlDeviceGetPerformanceState 

3178 data["__nvmlDeviceGetPerformanceState"] = <_cyb_intptr_t>__nvmlDeviceGetPerformanceState 

3179  

3180 global __nvmlDeviceGetCurrentClocksEventReasons 

3181 data["__nvmlDeviceGetCurrentClocksEventReasons"] = <_cyb_intptr_t>__nvmlDeviceGetCurrentClocksEventReasons 

3182  

3183 global __nvmlDeviceGetSupportedClocksEventReasons 

3184 data["__nvmlDeviceGetSupportedClocksEventReasons"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedClocksEventReasons 

3185  

3186 global __nvmlDeviceGetPowerState 

3187 data["__nvmlDeviceGetPowerState"] = <_cyb_intptr_t>__nvmlDeviceGetPowerState 

3188  

3189 global __nvmlDeviceGetDynamicPstatesInfo 

3190 data["__nvmlDeviceGetDynamicPstatesInfo"] = <_cyb_intptr_t>__nvmlDeviceGetDynamicPstatesInfo 

3191  

3192 global __nvmlDeviceGetMemClkVfOffset 

3193 data["__nvmlDeviceGetMemClkVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetMemClkVfOffset 

3194  

3195 global __nvmlDeviceGetMinMaxClockOfPState 

3196 data["__nvmlDeviceGetMinMaxClockOfPState"] = <_cyb_intptr_t>__nvmlDeviceGetMinMaxClockOfPState 

3197  

3198 global __nvmlDeviceGetSupportedPerformanceStates 

3199 data["__nvmlDeviceGetSupportedPerformanceStates"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedPerformanceStates 2qb

3200  

3201 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

3202 data["__nvmlDeviceGetGpcClkMinMaxVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetGpcClkMinMaxVfOffset 2qb

3203  

3204 global __nvmlDeviceGetMemClkMinMaxVfOffset 

3205 data["__nvmlDeviceGetMemClkMinMaxVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetMemClkMinMaxVfOffset 

3206  

3207 global __nvmlDeviceGetClockOffsets 

3208 data["__nvmlDeviceGetClockOffsets"] = <_cyb_intptr_t>__nvmlDeviceGetClockOffsets 

3209  

3210 global __nvmlDeviceSetClockOffsets 

3211 data["__nvmlDeviceSetClockOffsets"] = <_cyb_intptr_t>__nvmlDeviceSetClockOffsets 

3212  

3213 global __nvmlDeviceGetPerformanceModes 

3214 data["__nvmlDeviceGetPerformanceModes"] = <_cyb_intptr_t>__nvmlDeviceGetPerformanceModes 

3215  

3216 global __nvmlDeviceGetCurrentClockFreqs 

3217 data["__nvmlDeviceGetCurrentClockFreqs"] = <_cyb_intptr_t>__nvmlDeviceGetCurrentClockFreqs 

3218  

3219 global __nvmlDeviceGetPowerManagementLimit 

3220 data["__nvmlDeviceGetPowerManagementLimit"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementLimit 

3221  

3222 global __nvmlDeviceGetPowerManagementLimitConstraints 

3223 data["__nvmlDeviceGetPowerManagementLimitConstraints"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementLimitConstraints 

3224  

3225 global __nvmlDeviceGetPowerManagementDefaultLimit 

3226 data["__nvmlDeviceGetPowerManagementDefaultLimit"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementDefaultLimit 

3227  

3228 global __nvmlDeviceGetPowerUsage 

3229 data["__nvmlDeviceGetPowerUsage"] = <_cyb_intptr_t>__nvmlDeviceGetPowerUsage 

3230  

3231 global __nvmlDeviceGetTotalEnergyConsumption 

3232 data["__nvmlDeviceGetTotalEnergyConsumption"] = <_cyb_intptr_t>__nvmlDeviceGetTotalEnergyConsumption 

3233  

3234 global __nvmlDeviceGetEnforcedPowerLimit 

3235 data["__nvmlDeviceGetEnforcedPowerLimit"] = <_cyb_intptr_t>__nvmlDeviceGetEnforcedPowerLimit 

3236  

3237 global __nvmlDeviceGetGpuOperationMode 

3238 data["__nvmlDeviceGetGpuOperationMode"] = <_cyb_intptr_t>__nvmlDeviceGetGpuOperationMode 

3239  

3240 global __nvmlDeviceGetMemoryInfo_v2 

3241 data["__nvmlDeviceGetMemoryInfo_v2"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryInfo_v2 

3242  

3243 global __nvmlDeviceGetComputeMode 

3244 data["__nvmlDeviceGetComputeMode"] = <_cyb_intptr_t>__nvmlDeviceGetComputeMode 

3245  

3246 global __nvmlDeviceGetCudaComputeCapability 

3247 data["__nvmlDeviceGetCudaComputeCapability"] = <_cyb_intptr_t>__nvmlDeviceGetCudaComputeCapability 

3248  

3249 global __nvmlDeviceGetDramEncryptionMode 

3250 data["__nvmlDeviceGetDramEncryptionMode"] = <_cyb_intptr_t>__nvmlDeviceGetDramEncryptionMode 

3251  

3252 global __nvmlDeviceSetDramEncryptionMode 

3253 data["__nvmlDeviceSetDramEncryptionMode"] = <_cyb_intptr_t>__nvmlDeviceSetDramEncryptionMode 

3254  

3255 global __nvmlDeviceGetEccMode 

3256 data["__nvmlDeviceGetEccMode"] = <_cyb_intptr_t>__nvmlDeviceGetEccMode 

3257  

3258 global __nvmlDeviceGetDefaultEccMode 

3259 data["__nvmlDeviceGetDefaultEccMode"] = <_cyb_intptr_t>__nvmlDeviceGetDefaultEccMode 

3260  

3261 global __nvmlDeviceGetBoardId 

3262 data["__nvmlDeviceGetBoardId"] = <_cyb_intptr_t>__nvmlDeviceGetBoardId 

3263  

3264 global __nvmlDeviceGetMultiGpuBoard 

3265 data["__nvmlDeviceGetMultiGpuBoard"] = <_cyb_intptr_t>__nvmlDeviceGetMultiGpuBoard 

3266  

3267 global __nvmlDeviceGetTotalEccErrors 

3268 data["__nvmlDeviceGetTotalEccErrors"] = <_cyb_intptr_t>__nvmlDeviceGetTotalEccErrors 

3269  

3270 global __nvmlDeviceGetMemoryErrorCounter 

3271 data["__nvmlDeviceGetMemoryErrorCounter"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryErrorCounter 

3272  

3273 global __nvmlDeviceGetUtilizationRates 

3274 data["__nvmlDeviceGetUtilizationRates"] = <_cyb_intptr_t>__nvmlDeviceGetUtilizationRates 

3275  

3276 global __nvmlDeviceGetEncoderUtilization 

3277 data["__nvmlDeviceGetEncoderUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderUtilization 

3278  

3279 global __nvmlDeviceGetEncoderCapacity 

3280 data["__nvmlDeviceGetEncoderCapacity"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderCapacity 

3281  

3282 global __nvmlDeviceGetEncoderStats 

3283 data["__nvmlDeviceGetEncoderStats"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderStats 

3284  

3285 global __nvmlDeviceGetEncoderSessions 

3286 data["__nvmlDeviceGetEncoderSessions"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderSessions 

3287  

3288 global __nvmlDeviceGetDecoderUtilization 

3289 data["__nvmlDeviceGetDecoderUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetDecoderUtilization 

3290  

3291 global __nvmlDeviceGetJpgUtilization 

3292 data["__nvmlDeviceGetJpgUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetJpgUtilization 

3293  

3294 global __nvmlDeviceGetOfaUtilization 

3295 data["__nvmlDeviceGetOfaUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetOfaUtilization 

3296  

3297 global __nvmlDeviceGetFBCStats 

3298 data["__nvmlDeviceGetFBCStats"] = <_cyb_intptr_t>__nvmlDeviceGetFBCStats 

3299  

3300 global __nvmlDeviceGetFBCSessions 

3301 data["__nvmlDeviceGetFBCSessions"] = <_cyb_intptr_t>__nvmlDeviceGetFBCSessions 

3302  

3303 global __nvmlDeviceGetDriverModel_v2 

3304 data["__nvmlDeviceGetDriverModel_v2"] = <_cyb_intptr_t>__nvmlDeviceGetDriverModel_v2 

3305  

3306 global __nvmlDeviceGetVbiosVersion 

3307 data["__nvmlDeviceGetVbiosVersion"] = <_cyb_intptr_t>__nvmlDeviceGetVbiosVersion 

3308  

3309 global __nvmlDeviceGetBridgeChipInfo 

3310 data["__nvmlDeviceGetBridgeChipInfo"] = <_cyb_intptr_t>__nvmlDeviceGetBridgeChipInfo 

3311  

3312 global __nvmlDeviceGetComputeRunningProcesses_v3 

3313 data["__nvmlDeviceGetComputeRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetComputeRunningProcesses_v3 

3314  

3315 global __nvmlDeviceGetGraphicsRunningProcesses_v3 

3316 data["__nvmlDeviceGetGraphicsRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetGraphicsRunningProcesses_v3 

3317  

3318 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

3319 data["__nvmlDeviceGetMPSComputeRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetMPSComputeRunningProcesses_v3 

3320  

3321 global __nvmlDeviceGetRunningProcessDetailList 

3322 data["__nvmlDeviceGetRunningProcessDetailList"] = <_cyb_intptr_t>__nvmlDeviceGetRunningProcessDetailList 

3323  

3324 global __nvmlDeviceOnSameBoard 

3325 data["__nvmlDeviceOnSameBoard"] = <_cyb_intptr_t>__nvmlDeviceOnSameBoard 

3326  

3327 global __nvmlDeviceGetAPIRestriction 

3328 data["__nvmlDeviceGetAPIRestriction"] = <_cyb_intptr_t>__nvmlDeviceGetAPIRestriction 

3329  

3330 global __nvmlDeviceGetSamples 

3331 data["__nvmlDeviceGetSamples"] = <_cyb_intptr_t>__nvmlDeviceGetSamples 

3332  

3333 global __nvmlDeviceGetBAR1MemoryInfo 

3334 data["__nvmlDeviceGetBAR1MemoryInfo"] = <_cyb_intptr_t>__nvmlDeviceGetBAR1MemoryInfo 

3335  

3336 global __nvmlDeviceGetIrqNum 

3337 data["__nvmlDeviceGetIrqNum"] = <_cyb_intptr_t>__nvmlDeviceGetIrqNum 

3338  

3339 global __nvmlDeviceGetNumGpuCores 

3340 data["__nvmlDeviceGetNumGpuCores"] = <_cyb_intptr_t>__nvmlDeviceGetNumGpuCores 

3341  

3342 global __nvmlDeviceGetPowerSource 

3343 data["__nvmlDeviceGetPowerSource"] = <_cyb_intptr_t>__nvmlDeviceGetPowerSource 

3344  

3345 global __nvmlDeviceGetMemoryBusWidth 

3346 data["__nvmlDeviceGetMemoryBusWidth"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryBusWidth 

3347  

3348 global __nvmlDeviceGetPcieLinkMaxSpeed 

3349 data["__nvmlDeviceGetPcieLinkMaxSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetPcieLinkMaxSpeed 

3350  

3351 global __nvmlDeviceGetPcieSpeed 

3352 data["__nvmlDeviceGetPcieSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetPcieSpeed 

3353  

3354 global __nvmlDeviceGetAdaptiveClockInfoStatus 

3355 data["__nvmlDeviceGetAdaptiveClockInfoStatus"] = <_cyb_intptr_t>__nvmlDeviceGetAdaptiveClockInfoStatus 

3356  

3357 global __nvmlDeviceGetBusType 

3358 data["__nvmlDeviceGetBusType"] = <_cyb_intptr_t>__nvmlDeviceGetBusType 

3359  

3360 global __nvmlDeviceGetGpuFabricInfoV 

3361 data["__nvmlDeviceGetGpuFabricInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuFabricInfoV 

3362  

3363 global __nvmlSystemGetConfComputeCapabilities 

3364 data["__nvmlSystemGetConfComputeCapabilities"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeCapabilities 

3365  

3366 global __nvmlSystemGetConfComputeState 

3367 data["__nvmlSystemGetConfComputeState"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeState 

3368  

3369 global __nvmlDeviceGetConfComputeMemSizeInfo 

3370 data["__nvmlDeviceGetConfComputeMemSizeInfo"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeMemSizeInfo 

3371  

3372 global __nvmlSystemGetConfComputeGpusReadyState 

3373 data["__nvmlSystemGetConfComputeGpusReadyState"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeGpusReadyState 

3374  

3375 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

3376 data["__nvmlDeviceGetConfComputeProtectedMemoryUsage"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeProtectedMemoryUsage 

3377  

3378 global __nvmlDeviceGetConfComputeGpuCertificate 

3379 data["__nvmlDeviceGetConfComputeGpuCertificate"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeGpuCertificate 

3380  

3381 global __nvmlDeviceGetConfComputeGpuAttestationReport 

3382 data["__nvmlDeviceGetConfComputeGpuAttestationReport"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeGpuAttestationReport 

3383  

3384 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

3385 data["__nvmlSystemGetConfComputeKeyRotationThresholdInfo"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeKeyRotationThresholdInfo 

3386  

3387 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

3388 data["__nvmlDeviceSetConfComputeUnprotectedMemSize"] = <_cyb_intptr_t>__nvmlDeviceSetConfComputeUnprotectedMemSize 1p

3389  

3390 global __nvmlSystemSetConfComputeGpusReadyState 

3391 data["__nvmlSystemSetConfComputeGpusReadyState"] = <_cyb_intptr_t>__nvmlSystemSetConfComputeGpusReadyState 

3392  

3393 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

3394 data["__nvmlSystemSetConfComputeKeyRotationThresholdInfo"] = <_cyb_intptr_t>__nvmlSystemSetConfComputeKeyRotationThresholdInfo 

3395  

3396 global __nvmlSystemGetConfComputeSettings 

3397 data["__nvmlSystemGetConfComputeSettings"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeSettings 

3398  

3399 global __nvmlDeviceGetGspFirmwareVersion 

3400 data["__nvmlDeviceGetGspFirmwareVersion"] = <_cyb_intptr_t>__nvmlDeviceGetGspFirmwareVersion 

3401  

3402 global __nvmlDeviceGetGspFirmwareMode 

3403 data["__nvmlDeviceGetGspFirmwareMode"] = <_cyb_intptr_t>__nvmlDeviceGetGspFirmwareMode 

3404  

3405 global __nvmlDeviceGetSramEccErrorStatus 

3406 data["__nvmlDeviceGetSramEccErrorStatus"] = <_cyb_intptr_t>__nvmlDeviceGetSramEccErrorStatus 

3407  

3408 global __nvmlDeviceGetAccountingMode 

3409 data["__nvmlDeviceGetAccountingMode"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingMode 

3410  

3411 global __nvmlDeviceGetAccountingStats 

3412 data["__nvmlDeviceGetAccountingStats"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingStats 

3413  

3414 global __nvmlDeviceGetAccountingPids 

3415 data["__nvmlDeviceGetAccountingPids"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingPids 

3416  

3417 global __nvmlDeviceGetAccountingBufferSize 

3418 data["__nvmlDeviceGetAccountingBufferSize"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingBufferSize 

3419  

3420 global __nvmlDeviceGetRetiredPages 

3421 data["__nvmlDeviceGetRetiredPages"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPages 

3422  

3423 global __nvmlDeviceGetRetiredPages_v2 

3424 data["__nvmlDeviceGetRetiredPages_v2"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPages_v2 

3425  

3426 global __nvmlDeviceGetRetiredPagesPendingStatus 

3427 data["__nvmlDeviceGetRetiredPagesPendingStatus"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPagesPendingStatus 

3428  

3429 global __nvmlDeviceGetRemappedRows 

3430 data["__nvmlDeviceGetRemappedRows"] = <_cyb_intptr_t>__nvmlDeviceGetRemappedRows 

3431  

3432 global __nvmlDeviceGetRowRemapperHistogram 

3433 data["__nvmlDeviceGetRowRemapperHistogram"] = <_cyb_intptr_t>__nvmlDeviceGetRowRemapperHistogram 

3434  

3435 global __nvmlDeviceGetArchitecture 

3436 data["__nvmlDeviceGetArchitecture"] = <_cyb_intptr_t>__nvmlDeviceGetArchitecture 

3437  

3438 global __nvmlDeviceGetClkMonStatus 

3439 data["__nvmlDeviceGetClkMonStatus"] = <_cyb_intptr_t>__nvmlDeviceGetClkMonStatus 

3440  

3441 global __nvmlDeviceGetProcessUtilization 

3442 data["__nvmlDeviceGetProcessUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetProcessUtilization 

3443  

3444 global __nvmlDeviceGetProcessesUtilizationInfo 

3445 data["__nvmlDeviceGetProcessesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetProcessesUtilizationInfo 

3446  

3447 global __nvmlDeviceGetPlatformInfo 

3448 data["__nvmlDeviceGetPlatformInfo"] = <_cyb_intptr_t>__nvmlDeviceGetPlatformInfo 

3449  

3450 global __nvmlUnitSetLedState 

3451 data["__nvmlUnitSetLedState"] = <_cyb_intptr_t>__nvmlUnitSetLedState 

3452  

3453 global __nvmlDeviceSetPersistenceMode 

3454 data["__nvmlDeviceSetPersistenceMode"] = <_cyb_intptr_t>__nvmlDeviceSetPersistenceMode 

3455  

3456 global __nvmlDeviceSetComputeMode 

3457 data["__nvmlDeviceSetComputeMode"] = <_cyb_intptr_t>__nvmlDeviceSetComputeMode 

3458  

3459 global __nvmlDeviceSetEccMode 

3460 data["__nvmlDeviceSetEccMode"] = <_cyb_intptr_t>__nvmlDeviceSetEccMode 

3461  

3462 global __nvmlDeviceClearEccErrorCounts 

3463 data["__nvmlDeviceClearEccErrorCounts"] = <_cyb_intptr_t>__nvmlDeviceClearEccErrorCounts 

3464  

3465 global __nvmlDeviceSetDriverModel 

3466 data["__nvmlDeviceSetDriverModel"] = <_cyb_intptr_t>__nvmlDeviceSetDriverModel 

3467  

3468 global __nvmlDeviceSetGpuLockedClocks 

3469 data["__nvmlDeviceSetGpuLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceSetGpuLockedClocks 

3470  

3471 global __nvmlDeviceResetGpuLockedClocks 

3472 data["__nvmlDeviceResetGpuLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceResetGpuLockedClocks 

3473  

3474 global __nvmlDeviceSetMemoryLockedClocks 

3475 data["__nvmlDeviceSetMemoryLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceSetMemoryLockedClocks 

3476  

3477 global __nvmlDeviceResetMemoryLockedClocks 

3478 data["__nvmlDeviceResetMemoryLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceResetMemoryLockedClocks 

3479  

3480 global __nvmlDeviceSetAutoBoostedClocksEnabled 

3481 data["__nvmlDeviceSetAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceSetAutoBoostedClocksEnabled 

3482  

3483 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

3484 data["__nvmlDeviceSetDefaultAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

3485  

3486 global __nvmlDeviceSetDefaultFanSpeed_v2 

3487 data["__nvmlDeviceSetDefaultFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceSetDefaultFanSpeed_v2 

3488  

3489 global __nvmlDeviceSetFanControlPolicy 

3490 data["__nvmlDeviceSetFanControlPolicy"] = <_cyb_intptr_t>__nvmlDeviceSetFanControlPolicy 

3491  

3492 global __nvmlDeviceSetTemperatureThreshold 

3493 data["__nvmlDeviceSetTemperatureThreshold"] = <_cyb_intptr_t>__nvmlDeviceSetTemperatureThreshold 

3494  

3495 global __nvmlDeviceSetGpuOperationMode 

3496 data["__nvmlDeviceSetGpuOperationMode"] = <_cyb_intptr_t>__nvmlDeviceSetGpuOperationMode 

3497  

3498 global __nvmlDeviceSetAPIRestriction 

3499 data["__nvmlDeviceSetAPIRestriction"] = <_cyb_intptr_t>__nvmlDeviceSetAPIRestriction 

3500  

3501 global __nvmlDeviceSetFanSpeed_v2 

3502 data["__nvmlDeviceSetFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceSetFanSpeed_v2 

3503  

3504 global __nvmlDeviceSetAccountingMode 

3505 data["__nvmlDeviceSetAccountingMode"] = <_cyb_intptr_t>__nvmlDeviceSetAccountingMode 

3506  

3507 global __nvmlDeviceClearAccountingPids 

3508 data["__nvmlDeviceClearAccountingPids"] = <_cyb_intptr_t>__nvmlDeviceClearAccountingPids 

3509  

3510 global __nvmlDeviceSetPowerManagementLimit_v2 

3511 data["__nvmlDeviceSetPowerManagementLimit_v2"] = <_cyb_intptr_t>__nvmlDeviceSetPowerManagementLimit_v2 

3512  

3513 global __nvmlDeviceGetNvLinkState 

3514 data["__nvmlDeviceGetNvLinkState"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkState 

3515  

3516 global __nvmlDeviceGetNvLinkVersion 

3517 data["__nvmlDeviceGetNvLinkVersion"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkVersion 

3518  

3519 global __nvmlDeviceGetNvLinkCapability 

3520 data["__nvmlDeviceGetNvLinkCapability"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkCapability 

3521  

3522 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

3523 data["__nvmlDeviceGetNvLinkRemotePciInfo_v2"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkRemotePciInfo_v2 

3524  

3525 global __nvmlDeviceGetNvLinkErrorCounter 

3526 data["__nvmlDeviceGetNvLinkErrorCounter"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkErrorCounter 

3527  

3528 global __nvmlDeviceResetNvLinkErrorCounters 

3529 data["__nvmlDeviceResetNvLinkErrorCounters"] = <_cyb_intptr_t>__nvmlDeviceResetNvLinkErrorCounters 

3530  

3531 global __nvmlDeviceGetNvLinkRemoteDeviceType 

3532 data["__nvmlDeviceGetNvLinkRemoteDeviceType"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkRemoteDeviceType 

3533  

3534 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

3535 data["__nvmlDeviceSetNvLinkDeviceLowPowerThreshold"] = <_cyb_intptr_t>__nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

3536  

3537 global __nvmlSystemSetNvlinkBwMode 

3538 data["__nvmlSystemSetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlSystemSetNvlinkBwMode 2tb

3539  

3540 global __nvmlSystemGetNvlinkBwMode 

3541 data["__nvmlSystemGetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlSystemGetNvlinkBwMode 

3542  

3543 global __nvmlDeviceGetNvlinkSupportedBwModes 

3544 data["__nvmlDeviceGetNvlinkSupportedBwModes"] = <_cyb_intptr_t>__nvmlDeviceGetNvlinkSupportedBwModes 

3545  

3546 global __nvmlDeviceGetNvlinkBwMode 

3547 data["__nvmlDeviceGetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlDeviceGetNvlinkBwMode 

3548  

3549 global __nvmlDeviceSetNvlinkBwMode 

3550 data["__nvmlDeviceSetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlDeviceSetNvlinkBwMode 

3551  

3552 global __nvmlEventSetCreate 

3553 data["__nvmlEventSetCreate"] = <_cyb_intptr_t>__nvmlEventSetCreate 

3554  

3555 global __nvmlDeviceRegisterEvents 

3556 data["__nvmlDeviceRegisterEvents"] = <_cyb_intptr_t>__nvmlDeviceRegisterEvents 

3557  

3558 global __nvmlDeviceGetSupportedEventTypes 

3559 data["__nvmlDeviceGetSupportedEventTypes"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedEventTypes 1~

3560  

3561 global __nvmlEventSetWait_v2 

3562 data["__nvmlEventSetWait_v2"] = <_cyb_intptr_t>__nvmlEventSetWait_v2 1~

3563  

3564 global __nvmlEventSetFree 

3565 data["__nvmlEventSetFree"] = <_cyb_intptr_t>__nvmlEventSetFree 

3566  

3567 global __nvmlSystemEventSetCreate 

3568 data["__nvmlSystemEventSetCreate"] = <_cyb_intptr_t>__nvmlSystemEventSetCreate 

3569  

3570 global __nvmlSystemEventSetFree 

3571 data["__nvmlSystemEventSetFree"] = <_cyb_intptr_t>__nvmlSystemEventSetFree 

3572  

3573 global __nvmlSystemRegisterEvents 

3574 data["__nvmlSystemRegisterEvents"] = <_cyb_intptr_t>__nvmlSystemRegisterEvents 

3575  

3576 global __nvmlSystemEventSetWait 

3577 data["__nvmlSystemEventSetWait"] = <_cyb_intptr_t>__nvmlSystemEventSetWait 

3578  

3579 global __nvmlDeviceModifyDrainState 

3580 data["__nvmlDeviceModifyDrainState"] = <_cyb_intptr_t>__nvmlDeviceModifyDrainState 

3581  

3582 global __nvmlDeviceQueryDrainState 

3583 data["__nvmlDeviceQueryDrainState"] = <_cyb_intptr_t>__nvmlDeviceQueryDrainState 

3584  

3585 global __nvmlDeviceRemoveGpu_v2 

3586 data["__nvmlDeviceRemoveGpu_v2"] = <_cyb_intptr_t>__nvmlDeviceRemoveGpu_v2 

3587  

3588 global __nvmlDeviceDiscoverGpus 

3589 data["__nvmlDeviceDiscoverGpus"] = <_cyb_intptr_t>__nvmlDeviceDiscoverGpus 2rb

3590  

3591 global __nvmlDeviceGetFieldValues 

3592 data["__nvmlDeviceGetFieldValues"] = <_cyb_intptr_t>__nvmlDeviceGetFieldValues 2rb

3593  

3594 global __nvmlDeviceClearFieldValues 

3595 data["__nvmlDeviceClearFieldValues"] = <_cyb_intptr_t>__nvmlDeviceClearFieldValues 

3596  

3597 global __nvmlDeviceGetVirtualizationMode 

3598 data["__nvmlDeviceGetVirtualizationMode"] = <_cyb_intptr_t>__nvmlDeviceGetVirtualizationMode 2vb

3599  

3600 global __nvmlDeviceGetHostVgpuMode 

3601 data["__nvmlDeviceGetHostVgpuMode"] = <_cyb_intptr_t>__nvmlDeviceGetHostVgpuMode 

3602  

3603 global __nvmlDeviceSetVirtualizationMode 

3604 data["__nvmlDeviceSetVirtualizationMode"] = <_cyb_intptr_t>__nvmlDeviceSetVirtualizationMode 

3605  

3606 global __nvmlDeviceGetVgpuHeterogeneousMode 

3607 data["__nvmlDeviceGetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuHeterogeneousMode 

3608  

3609 global __nvmlDeviceSetVgpuHeterogeneousMode 

3610 data["__nvmlDeviceSetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuHeterogeneousMode 

3611  

3612 global __nvmlVgpuInstanceGetPlacementId 

3613 data["__nvmlVgpuInstanceGetPlacementId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetPlacementId 

3614  

3615 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

3616 data["__nvmlDeviceGetVgpuTypeSupportedPlacements"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuTypeSupportedPlacements 

3617  

3618 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

3619 data["__nvmlDeviceGetVgpuTypeCreatablePlacements"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuTypeCreatablePlacements 

3620  

3621 global __nvmlVgpuTypeGetGspHeapSize 

3622 data["__nvmlVgpuTypeGetGspHeapSize"] = <_cyb_intptr_t>__nvmlVgpuTypeGetGspHeapSize 

3623  

3624 global __nvmlVgpuTypeGetFbReservation 

3625 data["__nvmlVgpuTypeGetFbReservation"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFbReservation 

3626  

3627 global __nvmlVgpuInstanceGetRuntimeStateSize 

3628 data["__nvmlVgpuInstanceGetRuntimeStateSize"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetRuntimeStateSize 2ub

3629  

3630 global __nvmlDeviceSetVgpuCapabilities 

3631 data["__nvmlDeviceSetVgpuCapabilities"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuCapabilities 

3632  

3633 global __nvmlDeviceGetGridLicensableFeatures_v4 

3634 data["__nvmlDeviceGetGridLicensableFeatures_v4"] = <_cyb_intptr_t>__nvmlDeviceGetGridLicensableFeatures_v4 

3635  

3636 global __nvmlGetVgpuDriverCapabilities 

3637 data["__nvmlGetVgpuDriverCapabilities"] = <_cyb_intptr_t>__nvmlGetVgpuDriverCapabilities 

3638  

3639 global __nvmlDeviceGetVgpuCapabilities 

3640 data["__nvmlDeviceGetVgpuCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuCapabilities 

3641  

3642 global __nvmlDeviceGetSupportedVgpus 

3643 data["__nvmlDeviceGetSupportedVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedVgpus 

3644  

3645 global __nvmlDeviceGetCreatableVgpus 

3646 data["__nvmlDeviceGetCreatableVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetCreatableVgpus 

3647  

3648 global __nvmlVgpuTypeGetClass 

3649 data["__nvmlVgpuTypeGetClass"] = <_cyb_intptr_t>__nvmlVgpuTypeGetClass 

3650  

3651 global __nvmlVgpuTypeGetName 

3652 data["__nvmlVgpuTypeGetName"] = <_cyb_intptr_t>__nvmlVgpuTypeGetName 

3653  

3654 global __nvmlVgpuTypeGetGpuInstanceProfileId 

3655 data["__nvmlVgpuTypeGetGpuInstanceProfileId"] = <_cyb_intptr_t>__nvmlVgpuTypeGetGpuInstanceProfileId 

3656  

3657 global __nvmlVgpuTypeGetDeviceID 

3658 data["__nvmlVgpuTypeGetDeviceID"] = <_cyb_intptr_t>__nvmlVgpuTypeGetDeviceID 

3659  

3660 global __nvmlVgpuTypeGetFramebufferSize 

3661 data["__nvmlVgpuTypeGetFramebufferSize"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFramebufferSize 

3662  

3663 global __nvmlVgpuTypeGetNumDisplayHeads 

3664 data["__nvmlVgpuTypeGetNumDisplayHeads"] = <_cyb_intptr_t>__nvmlVgpuTypeGetNumDisplayHeads 

3665  

3666 global __nvmlVgpuTypeGetResolution 

3667 data["__nvmlVgpuTypeGetResolution"] = <_cyb_intptr_t>__nvmlVgpuTypeGetResolution 

3668  

3669 global __nvmlVgpuTypeGetLicense 

3670 data["__nvmlVgpuTypeGetLicense"] = <_cyb_intptr_t>__nvmlVgpuTypeGetLicense 

3671  

3672 global __nvmlVgpuTypeGetFrameRateLimit 

3673 data["__nvmlVgpuTypeGetFrameRateLimit"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFrameRateLimit 

3674  

3675 global __nvmlVgpuTypeGetMaxInstances 

3676 data["__nvmlVgpuTypeGetMaxInstances"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstances 

3677  

3678 global __nvmlVgpuTypeGetMaxInstancesPerVm 

3679 data["__nvmlVgpuTypeGetMaxInstancesPerVm"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstancesPerVm 1n

3680  

3681 global __nvmlVgpuTypeGetBAR1Info 

3682 data["__nvmlVgpuTypeGetBAR1Info"] = <_cyb_intptr_t>__nvmlVgpuTypeGetBAR1Info 1n

3683  

3684 global __nvmlDeviceGetActiveVgpus 

3685 data["__nvmlDeviceGetActiveVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetActiveVgpus 

3686  

3687 global __nvmlVgpuInstanceGetVmID 

3688 data["__nvmlVgpuInstanceGetVmID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetVmID 

3689  

3690 global __nvmlVgpuInstanceGetUUID 

3691 data["__nvmlVgpuInstanceGetUUID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetUUID 

3692  

3693 global __nvmlVgpuInstanceGetVmDriverVersion 

3694 data["__nvmlVgpuInstanceGetVmDriverVersion"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetVmDriverVersion 

3695  

3696 global __nvmlVgpuInstanceGetFbUsage 

3697 data["__nvmlVgpuInstanceGetFbUsage"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFbUsage 

3698  

3699 global __nvmlVgpuInstanceGetLicenseStatus 

3700 data["__nvmlVgpuInstanceGetLicenseStatus"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetLicenseStatus 

3701  

3702 global __nvmlVgpuInstanceGetType 

3703 data["__nvmlVgpuInstanceGetType"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetType 

3704  

3705 global __nvmlVgpuInstanceGetFrameRateLimit 

3706 data["__nvmlVgpuInstanceGetFrameRateLimit"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFrameRateLimit 

3707  

3708 global __nvmlVgpuInstanceGetEccMode 

3709 data["__nvmlVgpuInstanceGetEccMode"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEccMode 

3710  

3711 global __nvmlVgpuInstanceGetEncoderCapacity 

3712 data["__nvmlVgpuInstanceGetEncoderCapacity"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderCapacity 

3713  

3714 global __nvmlVgpuInstanceSetEncoderCapacity 

3715 data["__nvmlVgpuInstanceSetEncoderCapacity"] = <_cyb_intptr_t>__nvmlVgpuInstanceSetEncoderCapacity 

3716  

3717 global __nvmlVgpuInstanceGetEncoderStats 

3718 data["__nvmlVgpuInstanceGetEncoderStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderStats 

3719  

3720 global __nvmlVgpuInstanceGetEncoderSessions 

3721 data["__nvmlVgpuInstanceGetEncoderSessions"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderSessions 

3722  

3723 global __nvmlVgpuInstanceGetFBCStats 

3724 data["__nvmlVgpuInstanceGetFBCStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFBCStats 

3725  

3726 global __nvmlVgpuInstanceGetFBCSessions 

3727 data["__nvmlVgpuInstanceGetFBCSessions"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFBCSessions 

3728  

3729 global __nvmlVgpuInstanceGetGpuInstanceId 

3730 data["__nvmlVgpuInstanceGetGpuInstanceId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetGpuInstanceId 

3731  

3732 global __nvmlVgpuInstanceGetGpuPciId 

3733 data["__nvmlVgpuInstanceGetGpuPciId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetGpuPciId 

3734  

3735 global __nvmlVgpuTypeGetCapabilities 

3736 data["__nvmlVgpuTypeGetCapabilities"] = <_cyb_intptr_t>__nvmlVgpuTypeGetCapabilities 

3737  

3738 global __nvmlVgpuInstanceGetMdevUUID 

3739 data["__nvmlVgpuInstanceGetMdevUUID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetMdevUUID 2sb

3740  

3741 global __nvmlGpuInstanceGetCreatableVgpus 

3742 data["__nvmlGpuInstanceGetCreatableVgpus"] = <_cyb_intptr_t>__nvmlGpuInstanceGetCreatableVgpus 2sb

3743  

3744 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

3745 data["__nvmlVgpuTypeGetMaxInstancesPerGpuInstance"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

3746  

3747 global __nvmlGpuInstanceGetActiveVgpus 

3748 data["__nvmlGpuInstanceGetActiveVgpus"] = <_cyb_intptr_t>__nvmlGpuInstanceGetActiveVgpus 

3749  

3750 global __nvmlGpuInstanceSetVgpuSchedulerState 

3751 data["__nvmlGpuInstanceSetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuSchedulerState 

3752  

3753 global __nvmlGpuInstanceGetVgpuSchedulerState 

3754 data["__nvmlGpuInstanceGetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerState 

3755  

3756 global __nvmlGpuInstanceGetVgpuSchedulerLog 

3757 data["__nvmlGpuInstanceGetVgpuSchedulerLog"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerLog 

3758  

3759 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

3760 data["__nvmlGpuInstanceGetVgpuTypeCreatablePlacements"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

3761  

3762 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

3763 data["__nvmlGpuInstanceGetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuHeterogeneousMode 

3764  

3765 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

3766 data["__nvmlGpuInstanceSetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuHeterogeneousMode 

3767  

3768 global __nvmlVgpuInstanceGetMetadata 

3769 data["__nvmlVgpuInstanceGetMetadata"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetMetadata 

3770  

3771 global __nvmlDeviceGetVgpuMetadata 

3772 data["__nvmlDeviceGetVgpuMetadata"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuMetadata 

3773  

3774 global __nvmlGetVgpuCompatibility 

3775 data["__nvmlGetVgpuCompatibility"] = <_cyb_intptr_t>__nvmlGetVgpuCompatibility 

3776  

3777 global __nvmlDeviceGetPgpuMetadataString 

3778 data["__nvmlDeviceGetPgpuMetadataString"] = <_cyb_intptr_t>__nvmlDeviceGetPgpuMetadataString 

3779  

3780 global __nvmlDeviceGetVgpuSchedulerLog 

3781 data["__nvmlDeviceGetVgpuSchedulerLog"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerLog 

3782  

3783 global __nvmlDeviceGetVgpuSchedulerState 

3784 data["__nvmlDeviceGetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerState 

3785  

3786 global __nvmlDeviceGetVgpuSchedulerCapabilities 

3787 data["__nvmlDeviceGetVgpuSchedulerCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerCapabilities 

3788  

3789 global __nvmlDeviceSetVgpuSchedulerState 

3790 data["__nvmlDeviceSetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuSchedulerState 

3791  

3792 global __nvmlGetVgpuVersion 

3793 data["__nvmlGetVgpuVersion"] = <_cyb_intptr_t>__nvmlGetVgpuVersion 

3794  

3795 global __nvmlSetVgpuVersion 

3796 data["__nvmlSetVgpuVersion"] = <_cyb_intptr_t>__nvmlSetVgpuVersion 

3797  

3798 global __nvmlDeviceGetVgpuUtilization 

3799 data["__nvmlDeviceGetVgpuUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuUtilization 

3800  

3801 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

3802 data["__nvmlDeviceGetVgpuInstancesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuInstancesUtilizationInfo 

3803  

3804 global __nvmlDeviceGetVgpuProcessUtilization 

3805 data["__nvmlDeviceGetVgpuProcessUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuProcessUtilization 

3806  

3807 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

3808 data["__nvmlDeviceGetVgpuProcessesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuProcessesUtilizationInfo 

3809  

3810 global __nvmlVgpuInstanceGetAccountingMode 

3811 data["__nvmlVgpuInstanceGetAccountingMode"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingMode 

3812  

3813 global __nvmlVgpuInstanceGetAccountingPids 

3814 data["__nvmlVgpuInstanceGetAccountingPids"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingPids 

3815  

3816 global __nvmlVgpuInstanceGetAccountingStats 

3817 data["__nvmlVgpuInstanceGetAccountingStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingStats 

3818  

3819 global __nvmlVgpuInstanceClearAccountingPids 

3820 data["__nvmlVgpuInstanceClearAccountingPids"] = <_cyb_intptr_t>__nvmlVgpuInstanceClearAccountingPids 

3821  

3822 global __nvmlVgpuInstanceGetLicenseInfo_v2 

3823 data["__nvmlVgpuInstanceGetLicenseInfo_v2"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetLicenseInfo_v2 

3824  

3825 global __nvmlGetExcludedDeviceCount 

3826 data["__nvmlGetExcludedDeviceCount"] = <_cyb_intptr_t>__nvmlGetExcludedDeviceCount 

3827  

3828 global __nvmlGetExcludedDeviceInfoByIndex 

3829 data["__nvmlGetExcludedDeviceInfoByIndex"] = <_cyb_intptr_t>__nvmlGetExcludedDeviceInfoByIndex 

3830  

3831 global __nvmlDeviceSetMigMode 

3832 data["__nvmlDeviceSetMigMode"] = <_cyb_intptr_t>__nvmlDeviceSetMigMode 

3833  

3834 global __nvmlDeviceGetMigMode 

3835 data["__nvmlDeviceGetMigMode"] = <_cyb_intptr_t>__nvmlDeviceGetMigMode 

3836  

3837 global __nvmlDeviceGetGpuInstanceProfileInfoV 

3838 data["__nvmlDeviceGetGpuInstanceProfileInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceProfileInfoV 

3839  

3840 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

3841 data["__nvmlDeviceGetGpuInstancePossiblePlacements_v2"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstancePossiblePlacements_v2 

3842  

3843 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

3844 data["__nvmlDeviceGetGpuInstanceRemainingCapacity"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceRemainingCapacity 

3845  

3846 global __nvmlDeviceCreateGpuInstance 

3847 data["__nvmlDeviceCreateGpuInstance"] = <_cyb_intptr_t>__nvmlDeviceCreateGpuInstance 

3848  

3849 global __nvmlDeviceCreateGpuInstanceWithPlacement 

3850 data["__nvmlDeviceCreateGpuInstanceWithPlacement"] = <_cyb_intptr_t>__nvmlDeviceCreateGpuInstanceWithPlacement 

3851  

3852 global __nvmlGpuInstanceDestroy 

3853 data["__nvmlGpuInstanceDestroy"] = <_cyb_intptr_t>__nvmlGpuInstanceDestroy 

3854  

3855 global __nvmlDeviceGetGpuInstances 

3856 data["__nvmlDeviceGetGpuInstances"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstances 

3857  

3858 global __nvmlDeviceGetGpuInstanceById 

3859 data["__nvmlDeviceGetGpuInstanceById"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceById 1o

3860  

3861 global __nvmlGpuInstanceGetInfo 

3862 data["__nvmlGpuInstanceGetInfo"] = <_cyb_intptr_t>__nvmlGpuInstanceGetInfo 1o

3863  

3864 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

3865 data["__nvmlGpuInstanceGetComputeInstanceProfileInfoV"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceProfileInfoV 

3866  

3867 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

3868 data["__nvmlGpuInstanceGetComputeInstanceRemainingCapacity"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

3869  

3870 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

3871 data["__nvmlGpuInstanceGetComputeInstancePossiblePlacements"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstancePossiblePlacements 

3872  

3873 global __nvmlGpuInstanceCreateComputeInstance 

3874 data["__nvmlGpuInstanceCreateComputeInstance"] = <_cyb_intptr_t>__nvmlGpuInstanceCreateComputeInstance 

3875  

3876 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

3877 data["__nvmlGpuInstanceCreateComputeInstanceWithPlacement"] = <_cyb_intptr_t>__nvmlGpuInstanceCreateComputeInstanceWithPlacement 

3878  

3879 global __nvmlComputeInstanceDestroy 

3880 data["__nvmlComputeInstanceDestroy"] = <_cyb_intptr_t>__nvmlComputeInstanceDestroy 

3881  

3882 global __nvmlGpuInstanceGetComputeInstances 

3883 data["__nvmlGpuInstanceGetComputeInstances"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstances 

3884  

3885 global __nvmlGpuInstanceGetComputeInstanceById 

3886 data["__nvmlGpuInstanceGetComputeInstanceById"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceById 

3887  

3888 global __nvmlComputeInstanceGetInfo_v2 

3889 data["__nvmlComputeInstanceGetInfo_v2"] = <_cyb_intptr_t>__nvmlComputeInstanceGetInfo_v2 

3890  

3891 global __nvmlDeviceIsMigDeviceHandle 

3892 data["__nvmlDeviceIsMigDeviceHandle"] = <_cyb_intptr_t>__nvmlDeviceIsMigDeviceHandle 

3893  

3894 global __nvmlDeviceGetGpuInstanceId 

3895 data["__nvmlDeviceGetGpuInstanceId"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceId 

3896  

3897 global __nvmlDeviceGetComputeInstanceId 

3898 data["__nvmlDeviceGetComputeInstanceId"] = <_cyb_intptr_t>__nvmlDeviceGetComputeInstanceId 

3899  

3900 global __nvmlDeviceGetMaxMigDeviceCount 

3901 data["__nvmlDeviceGetMaxMigDeviceCount"] = <_cyb_intptr_t>__nvmlDeviceGetMaxMigDeviceCount 

3902  

3903 global __nvmlDeviceGetMigDeviceHandleByIndex 

3904 data["__nvmlDeviceGetMigDeviceHandleByIndex"] = <_cyb_intptr_t>__nvmlDeviceGetMigDeviceHandleByIndex 

3905  

3906 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

3907 data["__nvmlDeviceGetDeviceHandleFromMigDeviceHandle"] = <_cyb_intptr_t>__nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

3908  

3909 global __nvmlDeviceGetCapabilities 

3910 data["__nvmlDeviceGetCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetCapabilities 

3911  

3912 global __nvmlDevicePowerSmoothingActivatePresetProfile 

3913 data["__nvmlDevicePowerSmoothingActivatePresetProfile"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingActivatePresetProfile 

3914  

3915 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

3916 data["__nvmlDevicePowerSmoothingUpdatePresetProfileParam"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingUpdatePresetProfileParam 

3917  

3918 global __nvmlDevicePowerSmoothingSetState 

3919 data["__nvmlDevicePowerSmoothingSetState"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingSetState 

3920  

3921 global __nvmlDeviceGetAddressingMode 

3922 data["__nvmlDeviceGetAddressingMode"] = <_cyb_intptr_t>__nvmlDeviceGetAddressingMode 

3923  

3924 global __nvmlDeviceGetRepairStatus 

3925 data["__nvmlDeviceGetRepairStatus"] = <_cyb_intptr_t>__nvmlDeviceGetRepairStatus 

3926  

3927 global __nvmlDeviceGetPowerMizerMode_v1 

3928 data["__nvmlDeviceGetPowerMizerMode_v1"] = <_cyb_intptr_t>__nvmlDeviceGetPowerMizerMode_v1 

3929  

3930 global __nvmlDeviceSetPowerMizerMode_v1 

3931 data["__nvmlDeviceSetPowerMizerMode_v1"] = <_cyb_intptr_t>__nvmlDeviceSetPowerMizerMode_v1 

3932  

3933 global __nvmlDeviceGetPdi 

3934 data["__nvmlDeviceGetPdi"] = <_cyb_intptr_t>__nvmlDeviceGetPdi 

3935  

3936 global __nvmlDeviceSetHostname_v1 

3937 data["__nvmlDeviceSetHostname_v1"] = <_cyb_intptr_t>__nvmlDeviceSetHostname_v1 

3938  

3939 global __nvmlDeviceGetHostname_v1 

3940 data["__nvmlDeviceGetHostname_v1"] = <_cyb_intptr_t>__nvmlDeviceGetHostname_v1 

3941  

3942 global __nvmlDeviceGetNvLinkInfo 

3943 data["__nvmlDeviceGetNvLinkInfo"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkInfo 

3944  

3945 global __nvmlDeviceReadWritePRM_v1 

3946 data["__nvmlDeviceReadWritePRM_v1"] = <_cyb_intptr_t>__nvmlDeviceReadWritePRM_v1 

3947  

3948 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

3949 data["__nvmlDeviceGetGpuInstanceProfileInfoByIdV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceProfileInfoByIdV 

3950  

3951 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

3952 data["__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts"] = <_cyb_intptr_t>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

3953  

3954 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

3955 data["__nvmlDeviceGetUnrepairableMemoryFlag_v1"] = <_cyb_intptr_t>__nvmlDeviceGetUnrepairableMemoryFlag_v1 

3956  

3957 global __nvmlDeviceReadPRMCounters_v1 

3958 data["__nvmlDeviceReadPRMCounters_v1"] = <_cyb_intptr_t>__nvmlDeviceReadPRMCounters_v1 

3959  

3960 global __nvmlDeviceSetRusdSettings_v1 

3961 data["__nvmlDeviceSetRusdSettings_v1"] = <_cyb_intptr_t>__nvmlDeviceSetRusdSettings_v1 

3962  

3963 global __nvmlDeviceVgpuForceGspUnload 

3964 data["__nvmlDeviceVgpuForceGspUnload"] = <_cyb_intptr_t>__nvmlDeviceVgpuForceGspUnload 

3965  

3966 global __nvmlDeviceGetVgpuSchedulerState_v2 

3967 data["__nvmlDeviceGetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerState_v2 

3968  

3969 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 

3970 data["__nvmlGpuInstanceGetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerState_v2 

3971  

3972 global __nvmlDeviceGetVgpuSchedulerLog_v2 

3973 data["__nvmlDeviceGetVgpuSchedulerLog_v2"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerLog_v2 

3974  

3975 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 

3976 data["__nvmlGpuInstanceGetVgpuSchedulerLog_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerLog_v2 

3977  

3978 global __nvmlDeviceSetVgpuSchedulerState_v2 

3979 data["__nvmlDeviceSetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuSchedulerState_v2 

3980  

3981 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 

3982 data["__nvmlGpuInstanceSetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuSchedulerState_v2 

3983  

3984 global __nvmlSystemGetCPER_v1 

3985 data["__nvmlSystemGetCPER_v1"] = <_cyb_intptr_t>__nvmlSystemGetCPER_v1 

3986  

3987 global __nvmlDeviceGetBBXTimeData_v1 

3988 data["__nvmlDeviceGetBBXTimeData_v1"] = <_cyb_intptr_t>__nvmlDeviceGetBBXTimeData_v1 

3989  

3990 global __nvmlDeviceGetAccountingStats_v2 

3991 data["__nvmlDeviceGetAccountingStats_v2"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingStats_v2 

3992  

3993 global __nvmlDeviceGetRemappedRows_v2 

3994 data["__nvmlDeviceGetRemappedRows_v2"] = <_cyb_intptr_t>__nvmlDeviceGetRemappedRows_v2 

3995 _cyb_func_ptrs = data 

3996 return data 

3997  

3998  

3999cpdef _inspect_function_pointer(str name): 

4000 global _cyb_func_ptrs 

4001 if _cyb_func_ptrs is None: 

4002 _cyb_func_ptrs = _inspect_function_pointers() 

4003 return _cyb_func_ptrs[name] 

4004  

4005  

4006  

4007  

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

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

4010 return <void*>handle 

4011  

4012  

4013############################################################################### 

4014# Wrapper functions 

4015############################################################################### 

4016  

4017cdef nvmlReturn_t _nvmlInit_v2() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4018 global __nvmlInit_v2 

4019 _check_or_init_nvml() 2a qce [ ] ^ _ ` { | } abbbcbdbebfbgbhbibwcjbkbq ( g lbmbnbobpbh ybzbs t AbBbP Q R S T U V W X Y Z 0 1 2 3 4 5 6 xcyczcAcwbvc

4020 if __nvmlInit_v2 == NULL: 2a qce [ ] ^ _ ` { | } abbbcbdbebfbgbhbibwcjbkbq ( g lbmbnbobpbh ybzbs t AbBbP Q R S T U V W X Y Z 0 1 2 3 4 5 6 xcyczcAcwbvc

4021 with gil: 

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

4023 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlInit_v2)( 2a qce [ ] ^ _ ` { | } abbbcbdbebfbgbhbibwcjbkbq ( g lbmbnbobpbh ybzbs t AbBbP Q R S T U V W X Y Z 0 1 2 3 4 5 6 xcyczcAcwbvc

4024 ) 

4025  

4026  

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

4028 global __nvmlInitWithFlags 

4029 _check_or_init_nvml() 

4030 if __nvmlInitWithFlags == NULL: 

4031 with gil: 

4032 raise FunctionNotFoundError("function nvmlInitWithFlags is not found") 

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

4034 flags) 

4035  

4036  

4037cdef nvmlReturn_t _nvmlShutdown() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4038 global __nvmlShutdown 

4039 _check_or_init_nvml() 2a Gce SbUbWbXbYbZb0b1b2b4b5b6b7b8b9b!b#b$b%b(b)b( g +b,b-b.b/bh :bHcIc=b?bJcKc@b[b]b^b_b`b{b|b}b~bacbcccdcecfcgchcjclcmcocpc

4040 if __nvmlShutdown == NULL: 2a Gce SbUbWbXbYbZb0b1b2b4b5b6b7b8b9b!b#b$b%b(b)b( g +b,b-b.b/bh :bHcIc=b?bJcKc@b[b]b^b_b`b{b|b}b~bacbcccdcecfcgchcjclcmcocpc

4041 with gil: 

4042 raise FunctionNotFoundError("function nvmlShutdown is not found") 

4043 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlShutdown)( 2a Gce SbUbWbXbYbZb0b1b2b4b5b6b7b8b9b!b#b$b%b(b)b( g +b,b-b.b/bh :bHcIc=b?bJcKc@b[b]b^b_b`b{b|b}b~bacbcccdcecfcgchcjclcmcocpc

4044 ) 

4045  

4046  

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

4048 global __nvmlErrorString 

4049 _check_or_init_nvml() 1'klmuFpvw(n%oiGHIJKLxybzAfCDjr#

4050 if __nvmlErrorString == NULL: 1'klmuFpvw(n%oiGHIJKLxybzAfCDjr#

4051 with gil: 

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

4053 return (<const char* (*)(nvmlReturn_t) noexcept nogil>__nvmlErrorString)( 1'klmuFpvw(n%oiGHIJKLxybzAfCDjr#

4054 result) 

4055  

4056  

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

4058 global __nvmlSystemGetDriverVersion 

4059 _check_or_init_nvml() 2RbQc

4060 if __nvmlSystemGetDriverVersion == NULL: 2RbQc

4061 with gil: 

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

4063 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetDriverVersion)( 2RbQc

4064 version, length) 

4065  

4066  

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

4068 global __nvmlSystemGetNVMLVersion 

4069 _check_or_init_nvml() 2ncRc

4070 if __nvmlSystemGetNVMLVersion == NULL: 2ncRc

4071 with gil: 

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

4073 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetNVMLVersion)( 2ncRc

4074 version, length) 

4075  

4076  

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

4078 global __nvmlSystemGetCudaDriverVersion 

4079 _check_or_init_nvml() 2a kcSc

4080 if __nvmlSystemGetCudaDriverVersion == NULL: 2a kcSc

4081 with gil: 

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

4083 return (<nvmlReturn_t (*)(int*) noexcept nogil>__nvmlSystemGetCudaDriverVersion)( 2a kcSc

4084 cudaDriverVersion) 

4085  

4086  

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

4088 global __nvmlSystemGetCudaDriverVersion_v2 

4089 _check_or_init_nvml() 1v

4090 if __nvmlSystemGetCudaDriverVersion_v2 == NULL: 

4091 with gil: 

4092 raise FunctionNotFoundError("function nvmlSystemGetCudaDriverVersion_v2 is not found") 1v

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

4094 cudaDriverVersion) 

4095  

4096  

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

4098 global __nvmlSystemGetProcessName 

4099 _check_or_init_nvml() 2w ic@

4100 if __nvmlSystemGetProcessName == NULL: 2ic@

4101 with gil: 

4102 raise FunctionNotFoundError("function nvmlSystemGetProcessName is not found") 1w

4103 return (<nvmlReturn_t (*)(unsigned int, char*, unsigned int) noexcept nogil>__nvmlSystemGetProcessName)( 2ic@

4104 pid, name, length) 

4105  

4106  

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

4108 global __nvmlSystemGetHicVersion 

4109 _check_or_init_nvml() 

4110 if __nvmlSystemGetHicVersion == NULL: 

4111 with gil: 

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

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

4114 hwbcCount, hwbcEntries) 

4115  

4116  

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

4118 global __nvmlSystemGetTopologyGpuSet 

4119 _check_or_init_nvml() 2Kb

4120 if __nvmlSystemGetTopologyGpuSet == NULL: 2Kb

4121 with gil: 

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

4123 return (<nvmlReturn_t (*)(unsigned int, unsigned int*, nvmlDevice_t*) noexcept nogil>__nvmlSystemGetTopologyGpuSet)( 2Kb

4124 cpuNumber, count, deviceArray) 

4125  

4126  

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

4128 global __nvmlSystemGetDriverBranch 

4129 _check_or_init_nvml() 2a Pc

4130 if __nvmlSystemGetDriverBranch == NULL: 2a Pc

4131 with gil: 

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

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

4134 branchInfo, length) 

4135  

4136  

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

4138 global __nvmlUnitGetCount 

4139 _check_or_init_nvml() 2wb

4140 if __nvmlUnitGetCount == NULL: 2wb

4141 with gil: 

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

4143 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlUnitGetCount)( 2wb

4144 unitCount) 

4145  

4146  

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

4148 global __nvmlUnitGetHandleByIndex 

4149 _check_or_init_nvml() 

4150 if __nvmlUnitGetHandleByIndex == NULL: 

4151 with gil: 

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

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

4154 index, unit) 

4155  

4156  

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

4158 global __nvmlUnitGetUnitInfo 

4159 _check_or_init_nvml() 

4160 if __nvmlUnitGetUnitInfo == NULL: 

4161 with gil: 

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

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

4164 unit, info) 

4165  

4166  

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

4168 global __nvmlUnitGetLedState 

4169 _check_or_init_nvml() 

4170 if __nvmlUnitGetLedState == NULL: 

4171 with gil: 

4172 raise FunctionNotFoundError("function nvmlUnitGetLedState is not found") 

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

4174 unit, state) 

4175  

4176  

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

4178 global __nvmlUnitGetPsuInfo 

4179 _check_or_init_nvml() 

4180 if __nvmlUnitGetPsuInfo == NULL: 

4181 with gil: 

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

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

4184 unit, psu) 

4185  

4186  

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

4188 global __nvmlUnitGetTemperature 

4189 _check_or_init_nvml() 

4190 if __nvmlUnitGetTemperature == NULL: 

4191 with gil: 

4192 raise FunctionNotFoundError("function nvmlUnitGetTemperature is not found") 

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

4194 unit, type, temp) 

4195  

4196  

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

4198 global __nvmlUnitGetFanSpeedInfo 

4199 _check_or_init_nvml() 

4200 if __nvmlUnitGetFanSpeedInfo == NULL: 

4201 with gil: 

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

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

4204 unit, fanSpeeds) 

4205  

4206  

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

4208 global __nvmlUnitGetDevices 

4209 _check_or_init_nvml() 

4210 if __nvmlUnitGetDevices == NULL: 

4211 with gil: 

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

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

4214 unit, deviceCount, devices) 

4215  

4216  

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

4218 global __nvmlDeviceGetCount_v2 

4219 _check_or_init_nvml() 2BcCcDcEcFce d O ( g h ybzbs t AbBbP Q R S T U V W X Y Z 0 1 2 3 4 5 6 ) 7 x y 8 b z CbDbA * EbLc+ Fb, Gb9 c - McHbIb. Jb! f LbMbNcOcNbB / C D : E j ; r = ? Obvc@ TcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdcddd

4220 if __nvmlDeviceGetCount_v2 == NULL: 2BcCcDcEcFce d O ( g h ybzbs t AbBbP Q R S T U V W X Y Z 0 1 2 3 4 5 6 ) 7 x y 8 b z CbDbA * EbLc+ Fb, Gb9 c - McHbIb. Jb! f LbMbNcOcNbB / C D : E j ; r = ? Obvc@ TcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdcddd

4221 with gil: 

4222 raise FunctionNotFoundError("function nvmlDeviceGetCount_v2 is not found") 

4223 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlDeviceGetCount_v2)( 2BcCcDcEcFce d O ( g h ybzbs t AbBbP Q R S T U V W X Y Z 0 1 2 3 4 5 6 ) 7 x y 8 b z CbDbA * EbLc+ Fb, Gb9 c - McHbIb. Jb! f LbMbNcOcNbB / C D : E j ; r = ? Obvc@ TcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdcddd

4224 deviceCount) 

4225  

4226  

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

4228 global __nvmlDeviceGetAttributes_v2 

4229 _check_or_init_nvml() 1n%A

4230 if __nvmlDeviceGetAttributes_v2 == NULL: 1A

4231 with gil: 

4232 raise FunctionNotFoundError("function nvmlDeviceGetAttributes_v2 is not found") 1n%

4233 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceAttributes_t*) noexcept nogil>__nvmlDeviceGetAttributes_v2)( 1A

4234 device, attributes) 

4235  

4236  

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

4238 global __nvmlDeviceGetHandleByIndex_v2 

4239 _check_or_init_nvml() 2e d O g h ybzbs t AbBbP Q R S T U V W X Y Z 0 1 2 3 4 5 6 ) 7 x y 8 b z CbDbA * Eb+ Fb, Gb9 c - HbIb. Jb! f LbMbNbB / C D : E j ; r = ? Ob@

4240 if __nvmlDeviceGetHandleByIndex_v2 == NULL: 2e d O g h ybzbs t AbBbP Q R S T U V W X Y Z 0 1 2 3 4 5 6 ) 7 x y 8 b z CbDbA * Eb+ Fb, Gb9 c - HbIb. Jb! f LbMbNbB / C D : E j ; r = ? Ob@

4241 with gil: 

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

4243 return (<nvmlReturn_t (*)(unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByIndex_v2)( 2e d O g h ybzbs t AbBbP Q R S T U V W X Y Z 0 1 2 3 4 5 6 ) 7 x y 8 b z CbDbA * Eb+ Fb, Gb9 c - HbIb. Jb! f LbMbNbB / C D : E j ; r = ? Ob@

4244 index, device) 

4245  

4246  

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

4248 global __nvmlDeviceGetHandleBySerial 

4249 _check_or_init_nvml() 1n

4250 if __nvmlDeviceGetHandleBySerial == NULL: 

4251 with gil: 

4252 raise FunctionNotFoundError("function nvmlDeviceGetHandleBySerial is not found") 1n

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

4254 serial, device) 

4255  

4256  

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

4258 global __nvmlDeviceGetHandleByUUID 

4259 _check_or_init_nvml() 2qc[ ] ^ _ ` { | } abbbcbdbebfbgbhbibjbkblbmbnbobpbQbPb

4260 if __nvmlDeviceGetHandleByUUID == NULL: 2qc[ ] ^ _ ` { | } abbbcbdbebfbgbhbibjbkblbmbnbobpbQbPb

4261 with gil: 

4262 raise FunctionNotFoundError("function nvmlDeviceGetHandleByUUID is not found") 

4263 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUID)( 2qc[ ] ^ _ ` { | } abbbcbdbebfbgbhbibjbkblbmbnbobpbQbPb

4264 uuid, device) 

4265  

4266  

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

4268 global __nvmlDeviceGetHandleByUUIDV 

4269 _check_or_init_nvml() 1$

4270 if __nvmlDeviceGetHandleByUUIDV == NULL: 1$

4271 with gil: 

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

4273 return (<nvmlReturn_t (*)(const nvmlUUID_t*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUIDV)( 1$

4274 uuid, device) 

4275  

4276  

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

4278 global __nvmlDeviceGetHandleByPciBusId_v2 

4279 _check_or_init_nvml() 2xbtbk l m ~ M u F p v w d N 'bq o i ;bubG H I J K L qbrbvbsb9

4280 if __nvmlDeviceGetHandleByPciBusId_v2 == NULL: 2;b9

4281 with gil: 

4282 raise FunctionNotFoundError("function nvmlDeviceGetHandleByPciBusId_v2 is not found") 2xbtbk l m ~ M u F p v w d N 'bq o i ubG H I J K L qbrbvbsb

4283 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByPciBusId_v2)( 2;b9

4284 pciBusId, device) 

4285  

4286  

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

4288 global __nvmlDeviceGetName 

4289 _check_or_init_nvml() 2e k l m p g o G H I J K L x y b A GbC D r

4290 if __nvmlDeviceGetName == NULL: 2e k l m p g o G H I J K L x y b A GbC D r

4291 with gil: 

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

4293 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetName)( 2e k l m p g o G H I J K L x y b A GbC D r

4294 device, name, length) 

4295  

4296  

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

4298 global __nvmlDeviceGetBrand 

4299 _check_or_init_nvml() 2Eb

4300 if __nvmlDeviceGetBrand == NULL: 2Eb

4301 with gil: 

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

4303 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBrandType_t*) noexcept nogil>__nvmlDeviceGetBrand)( 2Eb

4304 device, type) 

4305  

4306  

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

4308 global __nvmlDeviceGetIndex 

4309 _check_or_init_nvml() 2O 9 Nb

4310 if __nvmlDeviceGetIndex == NULL: 2O 9 Nb

4311 with gil: 

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

4313 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIndex)( 2O 9 Nb

4314 device, index) 

4315  

4316  

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

4318 global __nvmlDeviceGetSerial 

4319 _check_or_init_nvml() 1Ng-

4320 if __nvmlDeviceGetSerial == NULL: 1g-

4321 with gil: 

4322 raise FunctionNotFoundError("function nvmlDeviceGetSerial is not found") 1N

4323 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetSerial)( 1g-

4324 device, serial, length) 

4325  

4326  

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

4328 global __nvmlDeviceGetModuleId 

4329 _check_or_init_nvml() 1d/

4330 if __nvmlDeviceGetModuleId == NULL: 1d/

4331 with gil: 

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

4333 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetModuleId)( 1d/

4334 device, moduleId) 

4335  

4336  

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

4338 global __nvmlDeviceGetC2cModeInfoV 

4339 _check_or_init_nvml() 1y

4340 if __nvmlDeviceGetC2cModeInfoV == NULL: 1y

4341 with gil: 

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

4343 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlC2cModeInfo_v1_t*) noexcept nogil>__nvmlDeviceGetC2cModeInfoV)( 1y

4344 device, c2cModeInfo) 

4345  

4346  

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

4348 global __nvmlDeviceGetMemoryAffinity 

4349 _check_or_init_nvml() 2tcuc7

4350 if __nvmlDeviceGetMemoryAffinity == NULL: 2tcuc7

4351 with gil: 

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

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

4354 device, nodeSetSize, nodeSet, scope) 

4355  

4356  

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

4358 global __nvmlDeviceGetCpuAffinityWithinScope 

4359 _check_or_init_nvml() 2rcsc7 + Kb

4360 if __nvmlDeviceGetCpuAffinityWithinScope == NULL: 2rcsc7 + Kb

4361 with gil: 

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

4363 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*, nvmlAffinityScope_t) noexcept nogil>__nvmlDeviceGetCpuAffinityWithinScope)( 2rcsc7 + Kb

4364 device, cpuSetSize, cpuSet, scope) 

4365  

4366  

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

4368 global __nvmlDeviceGetCpuAffinity 

4369 _check_or_init_nvml() 

4370 if __nvmlDeviceGetCpuAffinity == NULL: 

4371 with gil: 

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

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

4374 device, cpuSetSize, cpuSet) 

4375  

4376  

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

4378 global __nvmlDeviceSetCpuAffinity 

4379 _check_or_init_nvml() 

4380 if __nvmlDeviceSetCpuAffinity == NULL: 

4381 with gil: 

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

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

4384 device) 

4385  

4386  

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

4388 global __nvmlDeviceClearCpuAffinity 

4389 _check_or_init_nvml() 

4390 if __nvmlDeviceClearCpuAffinity == NULL: 

4391 with gil: 

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

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

4394 device) 

4395  

4396  

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

4398 global __nvmlDeviceGetNumaNodeId 

4399 _check_or_init_nvml() 1C

4400 if __nvmlDeviceGetNumaNodeId == NULL: 1C

4401 with gil: 

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

4403 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumaNodeId)( 1C

4404 device, node) 

4405  

4406  

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

4408 global __nvmlDeviceGetTopologyCommonAncestor 

4409 _check_or_init_nvml() 

4410 if __nvmlDeviceGetTopologyCommonAncestor == NULL: 

4411 with gil: 

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

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

4414 device1, device2, pathInfo) 

4415  

4416  

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

4418 global __nvmlDeviceGetTopologyNearestGpus 

4419 _check_or_init_nvml() 2Mb

4420 if __nvmlDeviceGetTopologyNearestGpus == NULL: 2Mb

4421 with gil: 

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

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

4424 device, level, count, deviceArray) 

4425  

4426  

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

4428 global __nvmlDeviceGetP2PStatus 

4429 _check_or_init_nvml() 

4430 if __nvmlDeviceGetP2PStatus == NULL: 

4431 with gil: 

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

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

4434 device1, device2, p2pIndex, p2pStatus) 

4435  

4436  

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

4438 global __nvmlDeviceGetUUID 

4439 _check_or_init_nvml() 2$ d g t Hb= ObPb

4440 if __nvmlDeviceGetUUID == NULL: 2$ d g t Hb= ObPb

4441 with gil: 

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

4443 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetUUID)( 2$ d g t Hb= ObPb

4444 device, uuid, length) 

4445  

4446  

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

4448 global __nvmlDeviceGetMinorNumber 

4449 _check_or_init_nvml() 2Lb

4450 if __nvmlDeviceGetMinorNumber == NULL: 2Lb

4451 with gil: 

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

4453 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMinorNumber)( 2Lb

4454 device, minorNumber) 

4455  

4456  

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

4458 global __nvmlDeviceGetBoardPartNumber 

4459 _check_or_init_nvml() 1f

4460 if __nvmlDeviceGetBoardPartNumber == NULL: 1f

4461 with gil: 

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

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

4464 device, partNumber, length) 

4465  

4466  

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

4468 global __nvmlDeviceGetInforomVersion 

4469 _check_or_init_nvml() 1f

4470 if __nvmlDeviceGetInforomVersion == NULL: 1f

4471 with gil: 

4472 raise FunctionNotFoundError("function nvmlDeviceGetInforomVersion is not found") 

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

4474 device, object, version, length) 

4475  

4476  

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

4478 global __nvmlDeviceGetInforomImageVersion 

4479 _check_or_init_nvml() 1f

4480 if __nvmlDeviceGetInforomImageVersion == NULL: 1f

4481 with gil: 

4482 raise FunctionNotFoundError("function nvmlDeviceGetInforomImageVersion is not found") 

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

4484 device, version, length) 

4485  

4486  

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

4488 global __nvmlDeviceGetInforomConfigurationChecksum 

4489 _check_or_init_nvml() 1f

4490 if __nvmlDeviceGetInforomConfigurationChecksum == NULL: 1f

4491 with gil: 

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

4493 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetInforomConfigurationChecksum)( 1f

4494 device, checksum) 

4495  

4496  

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

4498 global __nvmlDeviceValidateInforom 

4499 _check_or_init_nvml() 1f

4500 if __nvmlDeviceValidateInforom == NULL: 1f

4501 with gil: 

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

4503 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceValidateInforom)( 1f

4504 device) 

4505  

4506  

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

4508 global __nvmlDeviceGetLastBBXFlushTime 

4509 _check_or_init_nvml() 1f

4510 if __nvmlDeviceGetLastBBXFlushTime == NULL: 1f

4511 with gil: 

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

4513 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*, unsigned long*) noexcept nogil>__nvmlDeviceGetLastBBXFlushTime)( 1f

4514 device, timestamp, durationUs) 

4515  

4516  

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

4518 global __nvmlDeviceGetDisplayMode 

4519 _check_or_init_nvml() 1.

4520 if __nvmlDeviceGetDisplayMode == NULL: 1.

4521 with gil: 

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

4523 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetDisplayMode)( 1.

4524 device, display) 

4525  

4526  

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

4528 global __nvmlDeviceGetDisplayActive 

4529 _check_or_init_nvml() 1F.

4530 if __nvmlDeviceGetDisplayActive == NULL: 1.

4531 with gil: 

4532 raise FunctionNotFoundError("function nvmlDeviceGetDisplayActive is not found") 1F

4533 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetDisplayActive)( 1.

4534 device, isActive) 

4535  

4536  

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

4538 global __nvmlDeviceGetPersistenceMode 

4539 _check_or_init_nvml() 1:

4540 if __nvmlDeviceGetPersistenceMode == NULL: 1:

4541 with gil: 

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

4543 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetPersistenceMode)( 1:

4544 device, mode) 

4545  

4546  

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

4548 global __nvmlDeviceGetPciInfoExt 

4549 _check_or_init_nvml() 29 c = Pb

4550 if __nvmlDeviceGetPciInfoExt == NULL: 29 c = Pb

4551 with gil: 

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

4553 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfoExt_t*) noexcept nogil>__nvmlDeviceGetPciInfoExt)( 29 c = Pb

4554 device, pci) 

4555  

4556  

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

4558 global __nvmlDeviceGetPciInfo_v3 

4559 _check_or_init_nvml() 1egisGHIJKL

4560 if __nvmlDeviceGetPciInfo_v3 == NULL: 1egis

4561 with gil: 

4562 raise FunctionNotFoundError("function nvmlDeviceGetPciInfo_v3 is not found") 1GHIJKL

4563 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetPciInfo_v3)( 1egis

4564 device, pci) 

4565  

4566  

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

4568 global __nvmlDeviceGetMaxPcieLinkGeneration 

4569 _check_or_init_nvml() 1c

4570 if __nvmlDeviceGetMaxPcieLinkGeneration == NULL: 1c

4571 with gil: 

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

4573 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxPcieLinkGeneration)( 1c

4574 device, maxLinkGen) 

4575  

4576  

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

4578 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

4579 _check_or_init_nvml() 1c

4580 if __nvmlDeviceGetGpuMaxPcieLinkGeneration == NULL: 1c

4581 with gil: 

4582 raise FunctionNotFoundError("function nvmlDeviceGetGpuMaxPcieLinkGeneration is not found") 

4583 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuMaxPcieLinkGeneration)( 1c

4584 device, maxLinkGenDevice) 

4585  

4586  

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

4588 global __nvmlDeviceGetMaxPcieLinkWidth 

4589 _check_or_init_nvml() 1c

4590 if __nvmlDeviceGetMaxPcieLinkWidth == NULL: 1c

4591 with gil: 

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

4593 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxPcieLinkWidth)( 1c

4594 device, maxLinkWidth) 

4595  

4596  

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

4598 global __nvmlDeviceGetCurrPcieLinkGeneration 

4599 _check_or_init_nvml() 1c

4600 if __nvmlDeviceGetCurrPcieLinkGeneration == NULL: 1c

4601 with gil: 

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

4603 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetCurrPcieLinkGeneration)( 1c

4604 device, currLinkGen) 

4605  

4606  

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

4608 global __nvmlDeviceGetCurrPcieLinkWidth 

4609 _check_or_init_nvml() 1c

4610 if __nvmlDeviceGetCurrPcieLinkWidth == NULL: 1c

4611 with gil: 

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

4613 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetCurrPcieLinkWidth)( 1c

4614 device, currLinkWidth) 

4615  

4616  

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

4618 global __nvmlDeviceGetPcieThroughput 

4619 _check_or_init_nvml() 2qbc

4620 if __nvmlDeviceGetPcieThroughput == NULL: 2qbc

4621 with gil: 

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

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

4624 device, counter, value) 

4625  

4626  

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

4628 global __nvmlDeviceGetPcieReplayCounter 

4629 _check_or_init_nvml() 1c

4630 if __nvmlDeviceGetPcieReplayCounter == NULL: 1c

4631 with gil: 

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

4633 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieReplayCounter)( 1c

4634 device, value) 

4635  

4636  

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

4638 global __nvmlDeviceGetClockInfo 

4639 _check_or_init_nvml() 1m

4640 if __nvmlDeviceGetClockInfo == NULL: 

4641 with gil: 

4642 raise FunctionNotFoundError("function nvmlDeviceGetClockInfo is not found") 1m

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

4644 device, type, clock) 

4645  

4646  

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

4648 global __nvmlDeviceGetMaxClockInfo 

4649 _check_or_init_nvml() 1b

4650 if __nvmlDeviceGetMaxClockInfo == NULL: 1b

4651 with gil: 

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

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

4654 device, type, clock) 

4655  

4656  

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

4658 global __nvmlDeviceGetGpcClkVfOffset 

4659 _check_or_init_nvml() 

4660 if __nvmlDeviceGetGpcClkVfOffset == NULL: 

4661 with gil: 

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

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

4664 device, offset) 

4665  

4666  

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

4668 global __nvmlDeviceGetClock 

4669 _check_or_init_nvml() 1b

4670 if __nvmlDeviceGetClock == NULL: 1b

4671 with gil: 

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

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

4674 device, clockType, clockId, clockMHz) 

4675  

4676  

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

4678 global __nvmlDeviceGetMaxCustomerBoostClock 

4679 _check_or_init_nvml() 1b

4680 if __nvmlDeviceGetMaxCustomerBoostClock == NULL: 1b

4681 with gil: 

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

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

4684 device, clockType, clockMHz) 

4685  

4686  

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

4688 global __nvmlDeviceGetSupportedMemoryClocks 

4689 _check_or_init_nvml() 

4690 if __nvmlDeviceGetSupportedMemoryClocks == NULL: 

4691 with gil: 

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

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

4694 device, count, clocksMHz) 

4695  

4696  

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

4698 global __nvmlDeviceGetSupportedGraphicsClocks 

4699 _check_or_init_nvml() 

4700 if __nvmlDeviceGetSupportedGraphicsClocks == NULL: 

4701 with gil: 

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

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

4704 device, memoryClockMHz, count, clocksMHz) 

4705  

4706  

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

4708 global __nvmlDeviceGetAutoBoostedClocksEnabled 

4709 _check_or_init_nvml() 1x

4710 if __nvmlDeviceGetAutoBoostedClocksEnabled == NULL: 1x

4711 with gil: 

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

4713 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAutoBoostedClocksEnabled)( 1x

4714 device, isEnabled, defaultIsEnabled) 

4715  

4716  

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

4718 global __nvmlDeviceGetFanSpeed 

4719 _check_or_init_nvml() 

4720 if __nvmlDeviceGetFanSpeed == NULL: 

4721 with gil: 

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

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

4724 device, speed) 

4725  

4726  

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

4728 global __nvmlDeviceGetFanSpeed_v2 

4729 _check_or_init_nvml() 

4730 if __nvmlDeviceGetFanSpeed_v2 == NULL: 

4731 with gil: 

4732 raise FunctionNotFoundError("function nvmlDeviceGetFanSpeed_v2 is not found") 

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

4734 device, fan, speed) 

4735  

4736  

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

4738 global __nvmlDeviceGetFanSpeedRPM 

4739 _check_or_init_nvml() 

4740 if __nvmlDeviceGetFanSpeedRPM == NULL: 

4741 with gil: 

4742 raise FunctionNotFoundError("function nvmlDeviceGetFanSpeedRPM is not found") 

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

4744 device, fanSpeed) 

4745  

4746  

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

4748 global __nvmlDeviceGetTargetFanSpeed 

4749 _check_or_init_nvml() 

4750 if __nvmlDeviceGetTargetFanSpeed == NULL: 

4751 with gil: 

4752 raise FunctionNotFoundError("function nvmlDeviceGetTargetFanSpeed is not found") 

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

4754 device, fan, targetSpeed) 

4755  

4756  

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

4758 global __nvmlDeviceGetMinMaxFanSpeed 

4759 _check_or_init_nvml() 

4760 if __nvmlDeviceGetMinMaxFanSpeed == NULL: 

4761 with gil: 

4762 raise FunctionNotFoundError("function nvmlDeviceGetMinMaxFanSpeed is not found") 

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

4764 device, minSpeed, maxSpeed) 

4765  

4766  

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

4768 global __nvmlDeviceGetFanControlPolicy_v2 

4769 _check_or_init_nvml() 

4770 if __nvmlDeviceGetFanControlPolicy_v2 == NULL: 

4771 with gil: 

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

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

4774 device, fan, policy) 

4775  

4776  

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

4778 global __nvmlDeviceGetNumFans 

4779 _check_or_init_nvml() 2CbJb

4780 if __nvmlDeviceGetNumFans == NULL: 2CbJb

4781 with gil: 

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

4783 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumFans)( 2CbJb

4784 device, numFans) 

4785  

4786  

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

4788 global __nvmlDeviceGetCoolerInfo 

4789 _check_or_init_nvml() 1i

4790 if __nvmlDeviceGetCoolerInfo == NULL: 

4791 with gil: 

4792 raise FunctionNotFoundError("function nvmlDeviceGetCoolerInfo is not found") 1i

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

4794 device, coolerInfo) 

4795  

4796  

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

4798 global __nvmlDeviceGetTemperatureV 

4799 _check_or_init_nvml() 2*br

4800 if __nvmlDeviceGetTemperatureV == NULL: 1r

4801 with gil: 

4802 raise FunctionNotFoundError("function nvmlDeviceGetTemperatureV is not found") 2*b

4803 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperature_t*) noexcept nogil>__nvmlDeviceGetTemperatureV)( 1r

4804 device, temperature) 

4805  

4806  

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

4808 global __nvmlDeviceGetTemperatureThreshold 

4809 _check_or_init_nvml() 1pr

4810 if __nvmlDeviceGetTemperatureThreshold == NULL: 1pr

4811 with gil: 

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

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

4814 device, thresholdType, temp) 

4815  

4816  

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

4818 global __nvmlDeviceGetMarginTemperature 

4819 _check_or_init_nvml() 1dN

4820 if __nvmlDeviceGetMarginTemperature == NULL: 

4821 with gil: 

4822 raise FunctionNotFoundError("function nvmlDeviceGetMarginTemperature is not found") 1dN

4823 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMarginTemperature_t*) noexcept nogil>__nvmlDeviceGetMarginTemperature)( 

4824 device, marginTempInfo) 

4825  

4826  

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

4828 global __nvmlDeviceGetThermalSettings 

4829 _check_or_init_nvml() 

4830 if __nvmlDeviceGetThermalSettings == NULL: 

4831 with gil: 

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

4833 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuThermalSettings_t*) noexcept nogil>__nvmlDeviceGetThermalSettings)( 

4834 device, sensorIndex, pThermalSettings) 

4835  

4836  

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

4838 global __nvmlDeviceGetPerformanceState 

4839 _check_or_init_nvml() 1bE

4840 if __nvmlDeviceGetPerformanceState == NULL: 1bE

4841 with gil: 

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

4843 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t*) noexcept nogil>__nvmlDeviceGetPerformanceState)( 1bE

4844 device, pState) 

4845  

4846  

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

4848 global __nvmlDeviceGetCurrentClocksEventReasons 

4849 _check_or_init_nvml() 1l8

4850 if __nvmlDeviceGetCurrentClocksEventReasons == NULL: 18

4851 with gil: 

4852 raise FunctionNotFoundError("function nvmlDeviceGetCurrentClocksEventReasons is not found") 1l

4853 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetCurrentClocksEventReasons)( 18

4854 device, clocksEventReasons) 

4855  

4856  

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

4858 global __nvmlDeviceGetSupportedClocksEventReasons 

4859 _check_or_init_nvml() 18

4860 if __nvmlDeviceGetSupportedClocksEventReasons == NULL: 18

4861 with gil: 

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

4863 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedClocksEventReasons)( 18

4864 device, supportedClocksEventReasons) 

4865  

4866  

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

4868 global __nvmlDeviceGetPowerState 

4869 _check_or_init_nvml() 

4870 if __nvmlDeviceGetPowerState == NULL: 

4871 with gil: 

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

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

4874 device, pState) 

4875  

4876  

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

4878 global __nvmlDeviceGetDynamicPstatesInfo 

4879 _check_or_init_nvml() 1E

4880 if __nvmlDeviceGetDynamicPstatesInfo == NULL: 1E

4881 with gil: 

4882 raise FunctionNotFoundError("function nvmlDeviceGetDynamicPstatesInfo is not found") 

4883 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuDynamicPstatesInfo_t*) noexcept nogil>__nvmlDeviceGetDynamicPstatesInfo)( 1E

4884 device, pDynamicPstatesInfo) 

4885  

4886  

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

4888 global __nvmlDeviceGetMemClkVfOffset 

4889 _check_or_init_nvml() 

4890 if __nvmlDeviceGetMemClkVfOffset == NULL: 

4891 with gil: 

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

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

4894 device, offset) 

4895  

4896  

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

4898 global __nvmlDeviceGetMinMaxClockOfPState 

4899 _check_or_init_nvml() 1b

4900 if __nvmlDeviceGetMinMaxClockOfPState == NULL: 1b

4901 with gil: 

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

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

4904 device, type, pstate, minClockMHz, maxClockMHz) 

4905  

4906  

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

4908 global __nvmlDeviceGetSupportedPerformanceStates 

4909 _check_or_init_nvml() 1E

4910 if __nvmlDeviceGetSupportedPerformanceStates == NULL: 1E

4911 with gil: 

4912 raise FunctionNotFoundError("function nvmlDeviceGetSupportedPerformanceStates is not found") 

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

4914 device, pstates, size) 

4915  

4916  

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

4918 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

4919 _check_or_init_nvml() 

4920 if __nvmlDeviceGetGpcClkMinMaxVfOffset == NULL: 

4921 with gil: 

4922 raise FunctionNotFoundError("function nvmlDeviceGetGpcClkMinMaxVfOffset is not found") 

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

4924 device, minOffset, maxOffset) 

4925  

4926  

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

4928 global __nvmlDeviceGetMemClkMinMaxVfOffset 

4929 _check_or_init_nvml() 

4930 if __nvmlDeviceGetMemClkMinMaxVfOffset == NULL: 

4931 with gil: 

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

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

4934 device, minOffset, maxOffset) 

4935  

4936  

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

4938 global __nvmlDeviceGetClockOffsets 

4939 _check_or_init_nvml() 23bb

4940 if __nvmlDeviceGetClockOffsets == NULL: 1b

4941 with gil: 

4942 raise FunctionNotFoundError("function nvmlDeviceGetClockOffsets is not found") 23b

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

4944 device, info) 

4945  

4946  

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

4948 global __nvmlDeviceSetClockOffsets 

4949 _check_or_init_nvml() 

4950 if __nvmlDeviceSetClockOffsets == NULL: 

4951 with gil: 

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

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

4954 device, info) 

4955  

4956  

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

4958 global __nvmlDeviceGetPerformanceModes 

4959 _check_or_init_nvml() 2tb

4960 if __nvmlDeviceGetPerformanceModes == NULL: 2tb

4961 with gil: 

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

4963 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePerfModes_t*) noexcept nogil>__nvmlDeviceGetPerformanceModes)( 2tb

4964 device, perfModes) 

4965  

4966  

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

4968 global __nvmlDeviceGetCurrentClockFreqs 

4969 _check_or_init_nvml() 2xb

4970 if __nvmlDeviceGetCurrentClockFreqs == NULL: 2xb

4971 with gil: 

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

4973 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCurrentClockFreqs_t*) noexcept nogil>__nvmlDeviceGetCurrentClockFreqs)( 2xb

4974 device, currentClockFreqs) 

4975  

4976  

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

4978 global __nvmlDeviceGetPowerManagementLimit 

4979 _check_or_init_nvml() 1~

4980 if __nvmlDeviceGetPowerManagementLimit == NULL: 1~

4981 with gil: 

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

4983 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerManagementLimit)( 1~

4984 device, limit) 

4985  

4986  

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

4988 global __nvmlDeviceGetPowerManagementLimitConstraints 

4989 _check_or_init_nvml() 

4990 if __nvmlDeviceGetPowerManagementLimitConstraints == NULL: 

4991 with gil: 

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

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

4994 device, minLimit, maxLimit) 

4995  

4996  

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

4998 global __nvmlDeviceGetPowerManagementDefaultLimit 

4999 _check_or_init_nvml() 

5000 if __nvmlDeviceGetPowerManagementDefaultLimit == NULL: 

5001 with gil: 

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

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

5004 device, defaultLimit) 

5005  

5006  

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

5008 global __nvmlDeviceGetPowerUsage 

5009 _check_or_init_nvml() 2rb

5010 if __nvmlDeviceGetPowerUsage == NULL: 2rb

5011 with gil: 

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

5013 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerUsage)( 2rb

5014 device, power) 

5015  

5016  

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

5018 global __nvmlDeviceGetTotalEnergyConsumption 

5019 _check_or_init_nvml() 2vb

5020 if __nvmlDeviceGetTotalEnergyConsumption == NULL: 2vb

5021 with gil: 

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

5023 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetTotalEnergyConsumption)( 2vb

5024 device, energy) 

5025  

5026  

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

5028 global __nvmlDeviceGetEnforcedPowerLimit 

5029 _check_or_init_nvml() 

5030 if __nvmlDeviceGetEnforcedPowerLimit == NULL: 

5031 with gil: 

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

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

5034 device, limit) 

5035  

5036  

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

5038 global __nvmlDeviceGetGpuOperationMode 

5039 _check_or_init_nvml() 

5040 if __nvmlDeviceGetGpuOperationMode == NULL: 

5041 with gil: 

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

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

5044 device, current, pending) 

5045  

5046  

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

5048 global __nvmlDeviceGetMemoryInfo_v2 

5049 _check_or_init_nvml() 2ub,

5050 if __nvmlDeviceGetMemoryInfo_v2 == NULL: 2ub,

5051 with gil: 

5052 raise FunctionNotFoundError("function nvmlDeviceGetMemoryInfo_v2 is not found") 

5053 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_v2_t*) noexcept nogil>__nvmlDeviceGetMemoryInfo_v2)( 2ub,

5054 device, memory) 

5055  

5056  

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

5058 global __nvmlDeviceGetComputeMode 

5059 _check_or_init_nvml() 1'

5060 if __nvmlDeviceGetComputeMode == NULL: 1'

5061 with gil: 

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

5063 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t*) noexcept nogil>__nvmlDeviceGetComputeMode)( 1'

5064 device, mode) 

5065  

5066  

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

5068 global __nvmlDeviceGetCudaComputeCapability 

5069 _check_or_init_nvml() 2Fb

5070 if __nvmlDeviceGetCudaComputeCapability == NULL: 2Fb

5071 with gil: 

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

5073 return (<nvmlReturn_t (*)(nvmlDevice_t, int*, int*) noexcept nogil>__nvmlDeviceGetCudaComputeCapability)( 2Fb

5074 device, major, minor) 

5075  

5076  

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

5078 global __nvmlDeviceGetDramEncryptionMode 

5079 _check_or_init_nvml() 

5080 if __nvmlDeviceGetDramEncryptionMode == NULL: 

5081 with gil: 

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

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

5084 device, current, pending) 

5085  

5086  

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

5088 global __nvmlDeviceSetDramEncryptionMode 

5089 _check_or_init_nvml() 

5090 if __nvmlDeviceSetDramEncryptionMode == NULL: 

5091 with gil: 

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

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

5094 device, dramEncryption) 

5095  

5096  

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

5098 global __nvmlDeviceGetEccMode 

5099 _check_or_init_nvml() 1n

5100 if __nvmlDeviceGetEccMode == NULL: 1n

5101 with gil: 

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

5103 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetEccMode)( 1n

5104 device, current, pending) 

5105  

5106  

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

5108 global __nvmlDeviceGetDefaultEccMode 

5109 _check_or_init_nvml() 

5110 if __nvmlDeviceGetDefaultEccMode == NULL: 

5111 with gil: 

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

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

5114 device, defaultMode) 

5115  

5116  

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

5118 global __nvmlDeviceGetBoardId 

5119 _check_or_init_nvml() 

5120 if __nvmlDeviceGetBoardId == NULL: 

5121 with gil: 

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

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

5124 device, boardId) 

5125  

5126  

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

5128 global __nvmlDeviceGetMultiGpuBoard 

5129 _check_or_init_nvml() 

5130 if __nvmlDeviceGetMultiGpuBoard == NULL: 

5131 with gil: 

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

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

5134 device, multiGpuBool) 

5135  

5136  

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

5138 global __nvmlDeviceGetTotalEccErrors 

5139 _check_or_init_nvml() 

5140 if __nvmlDeviceGetTotalEccErrors == NULL: 

5141 with gil: 

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

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

5144 device, errorType, counterType, eccCounts) 

5145  

5146  

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

5148 global __nvmlDeviceGetMemoryErrorCounter 

5149 _check_or_init_nvml() 

5150 if __nvmlDeviceGetMemoryErrorCounter == NULL: 

5151 with gil: 

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

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

5154 device, errorType, counterType, locationType, count) 

5155  

5156  

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

5158 global __nvmlDeviceGetUtilizationRates 

5159 _check_or_init_nvml() 2sb?

5160 if __nvmlDeviceGetUtilizationRates == NULL: 2sb?

5161 with gil: 

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

5163 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUtilization_t*) noexcept nogil>__nvmlDeviceGetUtilizationRates)( 2sb?

5164 device, utilization) 

5165  

5166  

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

5168 global __nvmlDeviceGetEncoderUtilization 

5169 _check_or_init_nvml() 

5170 if __nvmlDeviceGetEncoderUtilization == NULL: 

5171 with gil: 

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

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

5174 device, utilization, samplingPeriodUs) 

5175  

5176  

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

5178 global __nvmlDeviceGetEncoderCapacity 

5179 _check_or_init_nvml() 

5180 if __nvmlDeviceGetEncoderCapacity == NULL: 

5181 with gil: 

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

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

5184 device, encoderQueryType, encoderCapacity) 

5185  

5186  

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

5188 global __nvmlDeviceGetEncoderStats 

5189 _check_or_init_nvml() 

5190 if __nvmlDeviceGetEncoderStats == NULL: 

5191 with gil: 

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

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

5194 device, sessionCount, averageFps, averageLatency) 

5195  

5196  

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

5198 global __nvmlDeviceGetEncoderSessions 

5199 _check_or_init_nvml() 

5200 if __nvmlDeviceGetEncoderSessions == NULL: 

5201 with gil: 

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

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

5204 device, sessionCount, sessionInfos) 

5205  

5206  

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

5208 global __nvmlDeviceGetDecoderUtilization 

5209 _check_or_init_nvml() 

5210 if __nvmlDeviceGetDecoderUtilization == NULL: 

5211 with gil: 

5212 raise FunctionNotFoundError("function nvmlDeviceGetDecoderUtilization is not found") 

5213 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetDecoderUtilization)( 

5214 device, utilization, samplingPeriodUs) 

5215  

5216  

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

5218 global __nvmlDeviceGetJpgUtilization 

5219 _check_or_init_nvml() 

5220 if __nvmlDeviceGetJpgUtilization == NULL: 

5221 with gil: 

5222 raise FunctionNotFoundError("function nvmlDeviceGetJpgUtilization is not found") 

5223 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetJpgUtilization)( 

5224 device, utilization, samplingPeriodUs) 

5225  

5226  

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

5228 global __nvmlDeviceGetOfaUtilization 

5229 _check_or_init_nvml() 

5230 if __nvmlDeviceGetOfaUtilization == NULL: 

5231 with gil: 

5232 raise FunctionNotFoundError("function nvmlDeviceGetOfaUtilization is not found") 

5233 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetOfaUtilization)( 

5234 device, utilization, samplingPeriodUs) 

5235  

5236  

5237cdef nvmlReturn_t _nvmlDeviceGetFBCStats(nvmlDevice_t device, nvmlFBCStats_t* fbcStats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5238 global __nvmlDeviceGetFBCStats 

5239 _check_or_init_nvml() 

5240 if __nvmlDeviceGetFBCStats == NULL: 

5241 with gil: 

5242 raise FunctionNotFoundError("function nvmlDeviceGetFBCStats is not found") 

5243 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlFBCStats_t*) noexcept nogil>__nvmlDeviceGetFBCStats)( 

5244 device, fbcStats) 

5245  

5246  

5247cdef nvmlReturn_t _nvmlDeviceGetFBCSessions(nvmlDevice_t device, unsigned int* sessionCount, nvmlFBCSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5248 global __nvmlDeviceGetFBCSessions 

5249 _check_or_init_nvml() 

5250 if __nvmlDeviceGetFBCSessions == NULL: 

5251 with gil: 

5252 raise FunctionNotFoundError("function nvmlDeviceGetFBCSessions is not found") 

5253 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlFBCSessionInfo_t*) noexcept nogil>__nvmlDeviceGetFBCSessions)( 

5254 device, sessionCount, sessionInfo) 

5255  

5256  

5257cdef nvmlReturn_t _nvmlDeviceGetDriverModel_v2(nvmlDevice_t device, nvmlDriverModel_t* current, nvmlDriverModel_t* pending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5258 global __nvmlDeviceGetDriverModel_v2 

5259 _check_or_init_nvml() 

5260 if __nvmlDeviceGetDriverModel_v2 == NULL: 

5261 with gil: 

5262 raise FunctionNotFoundError("function nvmlDeviceGetDriverModel_v2 is not found") 

5263 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDriverModel_t*, nvmlDriverModel_t*) noexcept nogil>__nvmlDeviceGetDriverModel_v2)( 

5264 device, current, pending) 

5265  

5266  

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

5268 global __nvmlDeviceGetVbiosVersion 

5269 _check_or_init_nvml() 

5270 if __nvmlDeviceGetVbiosVersion == NULL: 

5271 with gil: 

5272 raise FunctionNotFoundError("function nvmlDeviceGetVbiosVersion is not found") 

5273 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetVbiosVersion)( 

5274 device, version, length) 

5275  

5276  

5277cdef nvmlReturn_t _nvmlDeviceGetBridgeChipInfo(nvmlDevice_t device, nvmlBridgeChipHierarchy_t* bridgeHierarchy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5278 global __nvmlDeviceGetBridgeChipInfo 

5279 _check_or_init_nvml() 1o

5280 if __nvmlDeviceGetBridgeChipInfo == NULL: 1o

5281 with gil: 

5282 raise FunctionNotFoundError("function nvmlDeviceGetBridgeChipInfo is not found") 

5283 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBridgeChipHierarchy_t*) noexcept nogil>__nvmlDeviceGetBridgeChipInfo)( 1o

5284 device, bridgeHierarchy) 

5285  

5286  

5287cdef nvmlReturn_t _nvmlDeviceGetComputeRunningProcesses_v3(nvmlDevice_t device, unsigned int* infoCount, nvmlProcessInfo_t* infos) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5288 global __nvmlDeviceGetComputeRunningProcesses_v3 

5289 _check_or_init_nvml() 1z@

5290 if __nvmlDeviceGetComputeRunningProcesses_v3 == NULL: 1z@

5291 with gil: 

5292 raise FunctionNotFoundError("function nvmlDeviceGetComputeRunningProcesses_v3 is not found") 

5293 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetComputeRunningProcesses_v3)( 1z@

5294 device, infoCount, infos) 

5295  

5296  

5297cdef nvmlReturn_t _nvmlDeviceGetGraphicsRunningProcesses_v3(nvmlDevice_t device, unsigned int* infoCount, nvmlProcessInfo_t* infos) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5298 global __nvmlDeviceGetGraphicsRunningProcesses_v3 

5299 _check_or_init_nvml() 

5300 if __nvmlDeviceGetGraphicsRunningProcesses_v3 == NULL: 

5301 with gil: 

5302 raise FunctionNotFoundError("function nvmlDeviceGetGraphicsRunningProcesses_v3 is not found") 

5303 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetGraphicsRunningProcesses_v3)( 

5304 device, infoCount, infos) 

5305  

5306  

5307cdef nvmlReturn_t _nvmlDeviceGetMPSComputeRunningProcesses_v3(nvmlDevice_t device, unsigned int* infoCount, nvmlProcessInfo_t* infos) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5308 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

5309 _check_or_init_nvml() 

5310 if __nvmlDeviceGetMPSComputeRunningProcesses_v3 == NULL: 

5311 with gil: 

5312 raise FunctionNotFoundError("function nvmlDeviceGetMPSComputeRunningProcesses_v3 is not found") 

5313 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetMPSComputeRunningProcesses_v3)( 

5314 device, infoCount, infos) 

5315  

5316  

5317cdef nvmlReturn_t _nvmlDeviceGetRunningProcessDetailList(nvmlDevice_t device, nvmlProcessDetailList_t* plist) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5318 global __nvmlDeviceGetRunningProcessDetailList 

5319 _check_or_init_nvml() 

5320 if __nvmlDeviceGetRunningProcessDetailList == NULL: 

5321 with gil: 

5322 raise FunctionNotFoundError("function nvmlDeviceGetRunningProcessDetailList is not found") 

5323 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessDetailList_t*) noexcept nogil>__nvmlDeviceGetRunningProcessDetailList)( 

5324 device, plist) 

5325  

5326  

5327cdef nvmlReturn_t _nvmlDeviceOnSameBoard(nvmlDevice_t device1, nvmlDevice_t device2, int* onSameBoard) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5328 global __nvmlDeviceOnSameBoard 

5329 _check_or_init_nvml() 

5330 if __nvmlDeviceOnSameBoard == NULL: 

5331 with gil: 

5332 raise FunctionNotFoundError("function nvmlDeviceOnSameBoard is not found") 

5333 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t, int*) noexcept nogil>__nvmlDeviceOnSameBoard)( 

5334 device1, device2, onSameBoard) 

5335  

5336  

5337cdef nvmlReturn_t _nvmlDeviceGetAPIRestriction(nvmlDevice_t device, nvmlRestrictedAPI_t apiType, nvmlEnableState_t* isRestricted) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5338 global __nvmlDeviceGetAPIRestriction 

5339 _check_or_init_nvml() 

5340 if __nvmlDeviceGetAPIRestriction == NULL: 

5341 with gil: 

5342 raise FunctionNotFoundError("function nvmlDeviceGetAPIRestriction is not found") 

5343 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAPIRestriction)( 

5344 device, apiType, isRestricted) 

5345  

5346  

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

5348 global __nvmlDeviceGetSamples 

5349 _check_or_init_nvml() 

5350 if __nvmlDeviceGetSamples == NULL: 

5351 with gil: 

5352 raise FunctionNotFoundError("function nvmlDeviceGetSamples is not found") 

5353 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlSamplingType_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlSample_t*) noexcept nogil>__nvmlDeviceGetSamples)( 

5354 device, type, lastSeenTimeStamp, sampleValType, sampleCount, samples) 

5355  

5356  

5357cdef nvmlReturn_t _nvmlDeviceGetBAR1MemoryInfo(nvmlDevice_t device, nvmlBAR1Memory_t* bar1Memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5358 global __nvmlDeviceGetBAR1MemoryInfo 

5359 _check_or_init_nvml() 1*

5360 if __nvmlDeviceGetBAR1MemoryInfo == NULL: 1*

5361 with gil: 

5362 raise FunctionNotFoundError("function nvmlDeviceGetBAR1MemoryInfo is not found") 

5363 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBAR1Memory_t*) noexcept nogil>__nvmlDeviceGetBAR1MemoryInfo)( 1*

5364 device, bar1Memory) 

5365  

5366  

5367cdef nvmlReturn_t _nvmlDeviceGetIrqNum(nvmlDevice_t device, unsigned int* irqNum) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5368 global __nvmlDeviceGetIrqNum 

5369 _check_or_init_nvml() 

5370 if __nvmlDeviceGetIrqNum == NULL: 

5371 with gil: 

5372 raise FunctionNotFoundError("function nvmlDeviceGetIrqNum is not found") 

5373 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIrqNum)( 

5374 device, irqNum) 

5375  

5376  

5377cdef nvmlReturn_t _nvmlDeviceGetNumGpuCores(nvmlDevice_t device, unsigned int* numCores) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5378 global __nvmlDeviceGetNumGpuCores 

5379 _check_or_init_nvml() 

5380 if __nvmlDeviceGetNumGpuCores == NULL: 

5381 with gil: 

5382 raise FunctionNotFoundError("function nvmlDeviceGetNumGpuCores is not found") 

5383 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumGpuCores)( 

5384 device, numCores) 

5385  

5386  

5387cdef nvmlReturn_t _nvmlDeviceGetPowerSource(nvmlDevice_t device, nvmlPowerSource_t* powerSource) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5388 global __nvmlDeviceGetPowerSource 

5389 _check_or_init_nvml() 

5390 if __nvmlDeviceGetPowerSource == NULL: 

5391 with gil: 

5392 raise FunctionNotFoundError("function nvmlDeviceGetPowerSource is not found") 

5393 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSource_t*) noexcept nogil>__nvmlDeviceGetPowerSource)( 

5394 device, powerSource) 

5395  

5396  

5397cdef nvmlReturn_t _nvmlDeviceGetMemoryBusWidth(nvmlDevice_t device, unsigned int* busWidth) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5398 global __nvmlDeviceGetMemoryBusWidth 

5399 _check_or_init_nvml() 

5400 if __nvmlDeviceGetMemoryBusWidth == NULL: 

5401 with gil: 

5402 raise FunctionNotFoundError("function nvmlDeviceGetMemoryBusWidth is not found") 

5403 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMemoryBusWidth)( 

5404 device, busWidth) 

5405  

5406  

5407cdef nvmlReturn_t _nvmlDeviceGetPcieLinkMaxSpeed(nvmlDevice_t device, unsigned int* maxSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5408 global __nvmlDeviceGetPcieLinkMaxSpeed 

5409 _check_or_init_nvml() 

5410 if __nvmlDeviceGetPcieLinkMaxSpeed == NULL: 

5411 with gil: 

5412 raise FunctionNotFoundError("function nvmlDeviceGetPcieLinkMaxSpeed is not found") 

5413 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieLinkMaxSpeed)( 

5414 device, maxSpeed) 

5415  

5416  

5417cdef nvmlReturn_t _nvmlDeviceGetPcieSpeed(nvmlDevice_t device, unsigned int* pcieSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5418 global __nvmlDeviceGetPcieSpeed 

5419 _check_or_init_nvml() 

5420 if __nvmlDeviceGetPcieSpeed == NULL: 

5421 with gil: 

5422 raise FunctionNotFoundError("function nvmlDeviceGetPcieSpeed is not found") 

5423 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieSpeed)( 

5424 device, pcieSpeed) 

5425  

5426  

5427cdef nvmlReturn_t _nvmlDeviceGetAdaptiveClockInfoStatus(nvmlDevice_t device, unsigned int* adaptiveClockStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5428 global __nvmlDeviceGetAdaptiveClockInfoStatus 

5429 _check_or_init_nvml() 

5430 if __nvmlDeviceGetAdaptiveClockInfoStatus == NULL: 

5431 with gil: 

5432 raise FunctionNotFoundError("function nvmlDeviceGetAdaptiveClockInfoStatus is not found") 

5433 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAdaptiveClockInfoStatus)( 

5434 device, adaptiveClockStatus) 

5435  

5436  

5437cdef nvmlReturn_t _nvmlDeviceGetBusType(nvmlDevice_t device, nvmlBusType_t* type) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5438 global __nvmlDeviceGetBusType 

5439 _check_or_init_nvml() 

5440 if __nvmlDeviceGetBusType == NULL: 

5441 with gil: 

5442 raise FunctionNotFoundError("function nvmlDeviceGetBusType is not found") 

5443 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBusType_t*) noexcept nogil>__nvmlDeviceGetBusType)( 

5444 device, type) 

5445  

5446  

5447cdef nvmlReturn_t _nvmlDeviceGetGpuFabricInfoV(nvmlDevice_t device, nvmlGpuFabricInfoV_t* gpuFabricInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5448 global __nvmlDeviceGetGpuFabricInfoV 

5449 _check_or_init_nvml() 

5450 if __nvmlDeviceGetGpuFabricInfoV == NULL: 

5451 with gil: 

5452 raise FunctionNotFoundError("function nvmlDeviceGetGpuFabricInfoV is not found") 

5453 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuFabricInfoV_t*) noexcept nogil>__nvmlDeviceGetGpuFabricInfoV)( 

5454 device, gpuFabricInfo) 

5455  

5456  

5457cdef nvmlReturn_t _nvmlSystemGetConfComputeCapabilities(nvmlConfComputeSystemCaps_t* capabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5458 global __nvmlSystemGetConfComputeCapabilities 

5459 _check_or_init_nvml() 

5460 if __nvmlSystemGetConfComputeCapabilities == NULL: 

5461 with gil: 

5462 raise FunctionNotFoundError("function nvmlSystemGetConfComputeCapabilities is not found") 

5463 return (<nvmlReturn_t (*)(nvmlConfComputeSystemCaps_t*) noexcept nogil>__nvmlSystemGetConfComputeCapabilities)( 

5464 capabilities) 

5465  

5466  

5467cdef nvmlReturn_t _nvmlSystemGetConfComputeState(nvmlConfComputeSystemState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5468 global __nvmlSystemGetConfComputeState 

5469 _check_or_init_nvml() 

5470 if __nvmlSystemGetConfComputeState == NULL: 

5471 with gil: 

5472 raise FunctionNotFoundError("function nvmlSystemGetConfComputeState is not found") 

5473 return (<nvmlReturn_t (*)(nvmlConfComputeSystemState_t*) noexcept nogil>__nvmlSystemGetConfComputeState)( 

5474 state) 

5475  

5476  

5477cdef nvmlReturn_t _nvmlDeviceGetConfComputeMemSizeInfo(nvmlDevice_t device, nvmlConfComputeMemSizeInfo_t* memInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5478 global __nvmlDeviceGetConfComputeMemSizeInfo 

5479 _check_or_init_nvml() 

5480 if __nvmlDeviceGetConfComputeMemSizeInfo == NULL: 

5481 with gil: 

5482 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeMemSizeInfo is not found") 

5483 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeMemSizeInfo_t*) noexcept nogil>__nvmlDeviceGetConfComputeMemSizeInfo)( 

5484 device, memInfo) 

5485  

5486  

5487cdef nvmlReturn_t _nvmlSystemGetConfComputeGpusReadyState(unsigned int* isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5488 global __nvmlSystemGetConfComputeGpusReadyState 

5489 _check_or_init_nvml() 

5490 if __nvmlSystemGetConfComputeGpusReadyState == NULL: 

5491 with gil: 

5492 raise FunctionNotFoundError("function nvmlSystemGetConfComputeGpusReadyState is not found") 

5493 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetConfComputeGpusReadyState)( 

5494 isAcceptingWork) 

5495  

5496  

5497cdef nvmlReturn_t _nvmlDeviceGetConfComputeProtectedMemoryUsage(nvmlDevice_t device, nvmlMemory_t* memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5498 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

5499 _check_or_init_nvml() 

5500 if __nvmlDeviceGetConfComputeProtectedMemoryUsage == NULL: 

5501 with gil: 

5502 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeProtectedMemoryUsage is not found") 

5503 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_t*) noexcept nogil>__nvmlDeviceGetConfComputeProtectedMemoryUsage)( 

5504 device, memory) 

5505  

5506  

5507cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuCertificate(nvmlDevice_t device, nvmlConfComputeGpuCertificate_t* gpuCert) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5508 global __nvmlDeviceGetConfComputeGpuCertificate 

5509 _check_or_init_nvml() 1v

5510 if __nvmlDeviceGetConfComputeGpuCertificate == NULL: 1v

5511 with gil: 

5512 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuCertificate is not found") 

5513 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuCertificate_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuCertificate)( 1v

5514 device, gpuCert) 

5515  

5516  

5517cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuAttestationReport(nvmlDevice_t device, nvmlConfComputeGpuAttestationReport_t* gpuAtstReport) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5518 global __nvmlDeviceGetConfComputeGpuAttestationReport 

5519 _check_or_init_nvml() 1w

5520 if __nvmlDeviceGetConfComputeGpuAttestationReport == NULL: 1w

5521 with gil: 

5522 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuAttestationReport is not found") 

5523 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuAttestationReport_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuAttestationReport)( 1w

5524 device, gpuAtstReport) 

5525  

5526  

5527cdef nvmlReturn_t _nvmlSystemGetConfComputeKeyRotationThresholdInfo(nvmlConfComputeGetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5528 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

5529 _check_or_init_nvml() 

5530 if __nvmlSystemGetConfComputeKeyRotationThresholdInfo == NULL: 

5531 with gil: 

5532 raise FunctionNotFoundError("function nvmlSystemGetConfComputeKeyRotationThresholdInfo is not found") 

5533 return (<nvmlReturn_t (*)(nvmlConfComputeGetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemGetConfComputeKeyRotationThresholdInfo)( 

5534 pKeyRotationThrInfo) 

5535  

5536  

5537cdef nvmlReturn_t _nvmlDeviceSetConfComputeUnprotectedMemSize(nvmlDevice_t device, unsigned long long sizeKiB) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5538 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

5539 _check_or_init_nvml() 

5540 if __nvmlDeviceSetConfComputeUnprotectedMemSize == NULL: 

5541 with gil: 

5542 raise FunctionNotFoundError("function nvmlDeviceSetConfComputeUnprotectedMemSize is not found") 

5543 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long) noexcept nogil>__nvmlDeviceSetConfComputeUnprotectedMemSize)( 

5544 device, sizeKiB) 

5545  

5546  

5547cdef nvmlReturn_t _nvmlSystemSetConfComputeGpusReadyState(unsigned int isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5548 global __nvmlSystemSetConfComputeGpusReadyState 

5549 _check_or_init_nvml() 

5550 if __nvmlSystemSetConfComputeGpusReadyState == NULL: 

5551 with gil: 

5552 raise FunctionNotFoundError("function nvmlSystemSetConfComputeGpusReadyState is not found") 

5553 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetConfComputeGpusReadyState)( 

5554 isAcceptingWork) 

5555  

5556  

5557cdef nvmlReturn_t _nvmlSystemSetConfComputeKeyRotationThresholdInfo(nvmlConfComputeSetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5558 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

5559 _check_or_init_nvml() 

5560 if __nvmlSystemSetConfComputeKeyRotationThresholdInfo == NULL: 

5561 with gil: 

5562 raise FunctionNotFoundError("function nvmlSystemSetConfComputeKeyRotationThresholdInfo is not found") 

5563 return (<nvmlReturn_t (*)(nvmlConfComputeSetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemSetConfComputeKeyRotationThresholdInfo)( 

5564 pKeyRotationThrInfo) 

5565  

5566  

5567cdef nvmlReturn_t _nvmlSystemGetConfComputeSettings(nvmlSystemConfComputeSettings_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5568 global __nvmlSystemGetConfComputeSettings 

5569 _check_or_init_nvml() 

5570 if __nvmlSystemGetConfComputeSettings == NULL: 

5571 with gil: 

5572 raise FunctionNotFoundError("function nvmlSystemGetConfComputeSettings is not found") 

5573 return (<nvmlReturn_t (*)(nvmlSystemConfComputeSettings_t*) noexcept nogil>__nvmlSystemGetConfComputeSettings)( 

5574 settings) 

5575  

5576  

5577cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareVersion(nvmlDevice_t device, char* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5578 global __nvmlDeviceGetGspFirmwareVersion 

5579 _check_or_init_nvml() 

5580 if __nvmlDeviceGetGspFirmwareVersion == NULL: 

5581 with gil: 

5582 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareVersion is not found") 

5583 return (<nvmlReturn_t (*)(nvmlDevice_t, char*) noexcept nogil>__nvmlDeviceGetGspFirmwareVersion)( 

5584 device, version) 

5585  

5586  

5587cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareMode(nvmlDevice_t device, unsigned int* isEnabled, unsigned int* defaultMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5588 global __nvmlDeviceGetGspFirmwareMode 

5589 _check_or_init_nvml() 

5590 if __nvmlDeviceGetGspFirmwareMode == NULL: 

5591 with gil: 

5592 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareMode is not found") 

5593 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetGspFirmwareMode)( 

5594 device, isEnabled, defaultMode) 

5595  

5596  

5597cdef nvmlReturn_t _nvmlDeviceGetSramEccErrorStatus(nvmlDevice_t device, nvmlEccSramErrorStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5598 global __nvmlDeviceGetSramEccErrorStatus 

5599 _check_or_init_nvml() 

5600 if __nvmlDeviceGetSramEccErrorStatus == NULL: 

5601 with gil: 

5602 raise FunctionNotFoundError("function nvmlDeviceGetSramEccErrorStatus is not found") 

5603 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramErrorStatus_t*) noexcept nogil>__nvmlDeviceGetSramEccErrorStatus)( 

5604 device, status) 

5605  

5606  

5607cdef nvmlReturn_t _nvmlDeviceGetAccountingMode(nvmlDevice_t device, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5608 global __nvmlDeviceGetAccountingMode 

5609 _check_or_init_nvml() 

5610 if __nvmlDeviceGetAccountingMode == NULL: 

5611 with gil: 

5612 raise FunctionNotFoundError("function nvmlDeviceGetAccountingMode is not found") 

5613 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAccountingMode)( 

5614 device, mode) 

5615  

5616  

5617cdef nvmlReturn_t _nvmlDeviceGetAccountingStats(nvmlDevice_t device, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5618 global __nvmlDeviceGetAccountingStats 

5619 _check_or_init_nvml() 

5620 if __nvmlDeviceGetAccountingStats == NULL: 

5621 with gil: 

5622 raise FunctionNotFoundError("function nvmlDeviceGetAccountingStats is not found") 

5623 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlDeviceGetAccountingStats)( 

5624 device, pid, stats) 

5625  

5626  

5627cdef nvmlReturn_t _nvmlDeviceGetAccountingPids(nvmlDevice_t device, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5628 global __nvmlDeviceGetAccountingPids 

5629 _check_or_init_nvml() 

5630 if __nvmlDeviceGetAccountingPids == NULL: 

5631 with gil: 

5632 raise FunctionNotFoundError("function nvmlDeviceGetAccountingPids is not found") 

5633 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingPids)( 

5634 device, count, pids) 

5635  

5636  

5637cdef nvmlReturn_t _nvmlDeviceGetAccountingBufferSize(nvmlDevice_t device, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5638 global __nvmlDeviceGetAccountingBufferSize 

5639 _check_or_init_nvml() 

5640 if __nvmlDeviceGetAccountingBufferSize == NULL: 

5641 with gil: 

5642 raise FunctionNotFoundError("function nvmlDeviceGetAccountingBufferSize is not found") 

5643 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingBufferSize)( 

5644 device, bufferSize) 

5645  

5646  

5647cdef nvmlReturn_t _nvmlDeviceGetRetiredPages(nvmlDevice_t device, nvmlPageRetirementCause_t cause, unsigned int* pageCount, unsigned long long* addresses) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5648 global __nvmlDeviceGetRetiredPages 

5649 _check_or_init_nvml() 1n%

5650 if __nvmlDeviceGetRetiredPages == NULL: 1n%

5651 with gil: 

5652 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages is not found") 

5653 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages)( 1n%

5654 device, cause, pageCount, addresses) 

5655  

5656  

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

5658 global __nvmlDeviceGetRetiredPages_v2 

5659 _check_or_init_nvml() 

5660 if __nvmlDeviceGetRetiredPages_v2 == NULL: 

5661 with gil: 

5662 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages_v2 is not found") 

5663 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages_v2)( 

5664 device, cause, pageCount, addresses, timestamps) 

5665  

5666  

5667cdef nvmlReturn_t _nvmlDeviceGetRetiredPagesPendingStatus(nvmlDevice_t device, nvmlEnableState_t* isPending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5668 global __nvmlDeviceGetRetiredPagesPendingStatus 

5669 _check_or_init_nvml() 1n

5670 if __nvmlDeviceGetRetiredPagesPendingStatus == NULL: 1n

5671 with gil: 

5672 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPagesPendingStatus is not found") 

5673 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetRetiredPagesPendingStatus)( 1n

5674 device, isPending) 

5675  

5676  

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

5678 global __nvmlDeviceGetRemappedRows 

5679 _check_or_init_nvml() 

5680 if __nvmlDeviceGetRemappedRows == NULL: 

5681 with gil: 

5682 raise FunctionNotFoundError("function nvmlDeviceGetRemappedRows is not found") 

5683 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetRemappedRows)( 

5684 device, corrRows, uncRows, isPending, failureOccurred) 

5685  

5686  

5687cdef nvmlReturn_t _nvmlDeviceGetRowRemapperHistogram(nvmlDevice_t device, nvmlRowRemapperHistogramValues_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5688 global __nvmlDeviceGetRowRemapperHistogram 

5689 _check_or_init_nvml() 

5690 if __nvmlDeviceGetRowRemapperHistogram == NULL: 

5691 with gil: 

5692 raise FunctionNotFoundError("function nvmlDeviceGetRowRemapperHistogram is not found") 

5693 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRowRemapperHistogramValues_t*) noexcept nogil>__nvmlDeviceGetRowRemapperHistogram)( 

5694 device, values) 

5695  

5696  

5697cdef nvmlReturn_t _nvmlDeviceGetArchitecture(nvmlDevice_t device, nvmlDeviceArchitecture_t* arch) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5698 global __nvmlDeviceGetArchitecture 

5699 _check_or_init_nvml() 2' xbtbk l m ~ M u F p v w d N 'bg o i rcsctcucubG H I J K L qbrbvbsb) 7 x y 8 b z DbA * + , c - Ib! Kbf B / C D E ; r ?

5700 if __nvmlDeviceGetArchitecture == NULL: 2' xbtbk l m ~ M u F p v w d N 'bg o i rcsctcucubG H I J K L qbrbvbsb) 7 x y 8 b z DbA * + , c - Ib! Kbf B / C D E ; r ?

5701 with gil: 

5702 raise FunctionNotFoundError("function nvmlDeviceGetArchitecture is not found") 

5703 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceArchitecture_t*) noexcept nogil>__nvmlDeviceGetArchitecture)( 2' xbtbk l m ~ M u F p v w d N 'bg o i rcsctcucubG H I J K L qbrbvbsb) 7 x y 8 b z DbA * + , c - Ib! Kbf B / C D E ; r ?

5704 device, arch) 

5705  

5706  

5707cdef nvmlReturn_t _nvmlDeviceGetClkMonStatus(nvmlDevice_t device, nvmlClkMonStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5708 global __nvmlDeviceGetClkMonStatus 

5709 _check_or_init_nvml() 

5710 if __nvmlDeviceGetClkMonStatus == NULL: 

5711 with gil: 

5712 raise FunctionNotFoundError("function nvmlDeviceGetClkMonStatus is not found") 

5713 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClkMonStatus_t*) noexcept nogil>__nvmlDeviceGetClkMonStatus)( 

5714 device, status) 

5715  

5716  

5717cdef nvmlReturn_t _nvmlDeviceGetProcessUtilization(nvmlDevice_t device, nvmlProcessUtilizationSample_t* utilization, unsigned int* processSamplesCount, unsigned long long lastSeenTimeStamp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5718 global __nvmlDeviceGetProcessUtilization 

5719 _check_or_init_nvml() 

5720 if __nvmlDeviceGetProcessUtilization == NULL: 

5721 with gil: 

5722 raise FunctionNotFoundError("function nvmlDeviceGetProcessUtilization is not found") 

5723 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessUtilizationSample_t*, unsigned int*, unsigned long long) noexcept nogil>__nvmlDeviceGetProcessUtilization)( 

5724 device, utilization, processSamplesCount, lastSeenTimeStamp) 

5725  

5726  

5727cdef nvmlReturn_t _nvmlDeviceGetProcessesUtilizationInfo(nvmlDevice_t device, nvmlProcessesUtilizationInfo_t* procesesUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5728 global __nvmlDeviceGetProcessesUtilizationInfo 

5729 _check_or_init_nvml() 

5730 if __nvmlDeviceGetProcessesUtilizationInfo == NULL: 

5731 with gil: 

5732 raise FunctionNotFoundError("function nvmlDeviceGetProcessesUtilizationInfo is not found") 

5733 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetProcessesUtilizationInfo)( 

5734 device, procesesUtilInfo) 

5735  

5736  

5737cdef nvmlReturn_t _nvmlDeviceGetPlatformInfo(nvmlDevice_t device, nvmlPlatformInfo_t* platformInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5738 global __nvmlDeviceGetPlatformInfo 

5739 _check_or_init_nvml() 1N

5740 if __nvmlDeviceGetPlatformInfo == NULL: 1N

5741 with gil: 

5742 raise FunctionNotFoundError("function nvmlDeviceGetPlatformInfo is not found") 

5743 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPlatformInfo_t*) noexcept nogil>__nvmlDeviceGetPlatformInfo)( 1N

5744 device, platformInfo) 

5745  

5746  

5747cdef nvmlReturn_t _nvmlUnitSetLedState(nvmlUnit_t unit, nvmlLedColor_t color) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5748 global __nvmlUnitSetLedState 

5749 _check_or_init_nvml() 

5750 if __nvmlUnitSetLedState == NULL: 

5751 with gil: 

5752 raise FunctionNotFoundError("function nvmlUnitSetLedState is not found") 

5753 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlLedColor_t) noexcept nogil>__nvmlUnitSetLedState)( 

5754 unit, color) 

5755  

5756  

5757cdef nvmlReturn_t _nvmlDeviceSetPersistenceMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5758 global __nvmlDeviceSetPersistenceMode 

5759 _check_or_init_nvml() 1:

5760 if __nvmlDeviceSetPersistenceMode == NULL: 1:

5761 with gil: 

5762 raise FunctionNotFoundError("function nvmlDeviceSetPersistenceMode is not found") 

5763 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetPersistenceMode)( 1:

5764 device, mode) 

5765  

5766  

5767cdef nvmlReturn_t _nvmlDeviceSetComputeMode(nvmlDevice_t device, nvmlComputeMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5768 global __nvmlDeviceSetComputeMode 

5769 _check_or_init_nvml() 1'

5770 if __nvmlDeviceSetComputeMode == NULL: 1'

5771 with gil: 

5772 raise FunctionNotFoundError("function nvmlDeviceSetComputeMode is not found") 

5773 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t) noexcept nogil>__nvmlDeviceSetComputeMode)( 1'

5774 device, mode) 

5775  

5776  

5777cdef nvmlReturn_t _nvmlDeviceSetEccMode(nvmlDevice_t device, nvmlEnableState_t ecc) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5778 global __nvmlDeviceSetEccMode 

5779 _check_or_init_nvml() 

5780 if __nvmlDeviceSetEccMode == NULL: 

5781 with gil: 

5782 raise FunctionNotFoundError("function nvmlDeviceSetEccMode is not found") 

5783 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetEccMode)( 

5784 device, ecc) 

5785  

5786  

5787cdef nvmlReturn_t _nvmlDeviceClearEccErrorCounts(nvmlDevice_t device, nvmlEccCounterType_t counterType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5788 global __nvmlDeviceClearEccErrorCounts 

5789 _check_or_init_nvml() 

5790 if __nvmlDeviceClearEccErrorCounts == NULL: 

5791 with gil: 

5792 raise FunctionNotFoundError("function nvmlDeviceClearEccErrorCounts is not found") 

5793 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccCounterType_t) noexcept nogil>__nvmlDeviceClearEccErrorCounts)( 

5794 device, counterType) 

5795  

5796  

5797cdef nvmlReturn_t _nvmlDeviceSetDriverModel(nvmlDevice_t device, nvmlDriverModel_t driverModel, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5798 global __nvmlDeviceSetDriverModel 

5799 _check_or_init_nvml() 

5800 if __nvmlDeviceSetDriverModel == NULL: 

5801 with gil: 

5802 raise FunctionNotFoundError("function nvmlDeviceSetDriverModel is not found") 

5803 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDriverModel_t, unsigned int) noexcept nogil>__nvmlDeviceSetDriverModel)( 

5804 device, driverModel, flags) 

5805  

5806  

5807cdef nvmlReturn_t _nvmlDeviceSetGpuLockedClocks(nvmlDevice_t device, unsigned int minGpuClockMHz, unsigned int maxGpuClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5808 global __nvmlDeviceSetGpuLockedClocks 

5809 _check_or_init_nvml() 

5810 if __nvmlDeviceSetGpuLockedClocks == NULL: 

5811 with gil: 

5812 raise FunctionNotFoundError("function nvmlDeviceSetGpuLockedClocks is not found") 

5813 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetGpuLockedClocks)( 

5814 device, minGpuClockMHz, maxGpuClockMHz) 

5815  

5816  

5817cdef nvmlReturn_t _nvmlDeviceResetGpuLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5818 global __nvmlDeviceResetGpuLockedClocks 

5819 _check_or_init_nvml() 

5820 if __nvmlDeviceResetGpuLockedClocks == NULL: 

5821 with gil: 

5822 raise FunctionNotFoundError("function nvmlDeviceResetGpuLockedClocks is not found") 

5823 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetGpuLockedClocks)( 

5824 device) 

5825  

5826  

5827cdef nvmlReturn_t _nvmlDeviceSetMemoryLockedClocks(nvmlDevice_t device, unsigned int minMemClockMHz, unsigned int maxMemClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5828 global __nvmlDeviceSetMemoryLockedClocks 

5829 _check_or_init_nvml() 1h

5830 if __nvmlDeviceSetMemoryLockedClocks == NULL: 

5831 with gil: 

5832 raise FunctionNotFoundError("function nvmlDeviceSetMemoryLockedClocks is not found") 1h

5833 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetMemoryLockedClocks)( 

5834 device, minMemClockMHz, maxMemClockMHz) 

5835  

5836  

5837cdef nvmlReturn_t _nvmlDeviceResetMemoryLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5838 global __nvmlDeviceResetMemoryLockedClocks 

5839 _check_or_init_nvml() 

5840 if __nvmlDeviceResetMemoryLockedClocks == NULL: 

5841 with gil: 

5842 raise FunctionNotFoundError("function nvmlDeviceResetMemoryLockedClocks is not found") 

5843 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetMemoryLockedClocks)( 

5844 device) 

5845  

5846  

5847cdef nvmlReturn_t _nvmlDeviceSetAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5848 global __nvmlDeviceSetAutoBoostedClocksEnabled 

5849 _check_or_init_nvml() 

5850 if __nvmlDeviceSetAutoBoostedClocksEnabled == NULL: 

5851 with gil: 

5852 raise FunctionNotFoundError("function nvmlDeviceSetAutoBoostedClocksEnabled is not found") 

5853 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAutoBoostedClocksEnabled)( 

5854 device, enabled) 

5855  

5856  

5857cdef nvmlReturn_t _nvmlDeviceSetDefaultAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5858 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

5859 _check_or_init_nvml() 2Tb

5860 if __nvmlDeviceSetDefaultAutoBoostedClocksEnabled == NULL: 

5861 with gil: 

5862 raise FunctionNotFoundError("function nvmlDeviceSetDefaultAutoBoostedClocksEnabled is not found") 2Tb

5863 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultAutoBoostedClocksEnabled)( 

5864 device, enabled, flags) 

5865  

5866  

5867cdef nvmlReturn_t _nvmlDeviceSetDefaultFanSpeed_v2(nvmlDevice_t device, unsigned int fan) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5868 global __nvmlDeviceSetDefaultFanSpeed_v2 

5869 _check_or_init_nvml() 

5870 if __nvmlDeviceSetDefaultFanSpeed_v2 == NULL: 

5871 with gil: 

5872 raise FunctionNotFoundError("function nvmlDeviceSetDefaultFanSpeed_v2 is not found") 

5873 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultFanSpeed_v2)( 

5874 device, fan) 

5875  

5876  

5877cdef nvmlReturn_t _nvmlDeviceSetFanControlPolicy(nvmlDevice_t device, unsigned int fan, nvmlFanControlPolicy_t policy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5878 global __nvmlDeviceSetFanControlPolicy 

5879 _check_or_init_nvml() 

5880 if __nvmlDeviceSetFanControlPolicy == NULL: 

5881 with gil: 

5882 raise FunctionNotFoundError("function nvmlDeviceSetFanControlPolicy is not found") 

5883 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlFanControlPolicy_t) noexcept nogil>__nvmlDeviceSetFanControlPolicy)( 

5884 device, fan, policy) 

5885  

5886  

5887cdef nvmlReturn_t _nvmlDeviceSetTemperatureThreshold(nvmlDevice_t device, nvmlTemperatureThresholds_t thresholdType, int* temp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5888 global __nvmlDeviceSetTemperatureThreshold 

5889 _check_or_init_nvml() 

5890 if __nvmlDeviceSetTemperatureThreshold == NULL: 

5891 with gil: 

5892 raise FunctionNotFoundError("function nvmlDeviceSetTemperatureThreshold is not found") 

5893 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperatureThresholds_t, int*) noexcept nogil>__nvmlDeviceSetTemperatureThreshold)( 

5894 device, thresholdType, temp) 

5895  

5896  

5897cdef nvmlReturn_t _nvmlDeviceSetGpuOperationMode(nvmlDevice_t device, nvmlGpuOperationMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5898 global __nvmlDeviceSetGpuOperationMode 

5899 _check_or_init_nvml() 

5900 if __nvmlDeviceSetGpuOperationMode == NULL: 

5901 with gil: 

5902 raise FunctionNotFoundError("function nvmlDeviceSetGpuOperationMode is not found") 

5903 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuOperationMode_t) noexcept nogil>__nvmlDeviceSetGpuOperationMode)( 

5904 device, mode) 

5905  

5906  

5907cdef nvmlReturn_t _nvmlDeviceSetAPIRestriction(nvmlDevice_t device, nvmlRestrictedAPI_t apiType, nvmlEnableState_t isRestricted) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5908 global __nvmlDeviceSetAPIRestriction 

5909 _check_or_init_nvml() 

5910 if __nvmlDeviceSetAPIRestriction == NULL: 

5911 with gil: 

5912 raise FunctionNotFoundError("function nvmlDeviceSetAPIRestriction is not found") 

5913 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAPIRestriction)( 

5914 device, apiType, isRestricted) 

5915  

5916  

5917cdef nvmlReturn_t _nvmlDeviceSetFanSpeed_v2(nvmlDevice_t device, unsigned int fan, unsigned int speed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5918 global __nvmlDeviceSetFanSpeed_v2 

5919 _check_or_init_nvml() 

5920 if __nvmlDeviceSetFanSpeed_v2 == NULL: 

5921 with gil: 

5922 raise FunctionNotFoundError("function nvmlDeviceSetFanSpeed_v2 is not found") 

5923 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetFanSpeed_v2)( 

5924 device, fan, speed) 

5925  

5926  

5927cdef nvmlReturn_t _nvmlDeviceSetAccountingMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5928 global __nvmlDeviceSetAccountingMode 

5929 _check_or_init_nvml() 

5930 if __nvmlDeviceSetAccountingMode == NULL: 

5931 with gil: 

5932 raise FunctionNotFoundError("function nvmlDeviceSetAccountingMode is not found") 

5933 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAccountingMode)( 

5934 device, mode) 

5935  

5936  

5937cdef nvmlReturn_t _nvmlDeviceClearAccountingPids(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5938 global __nvmlDeviceClearAccountingPids 

5939 _check_or_init_nvml() 2Vb

5940 if __nvmlDeviceClearAccountingPids == NULL: 

5941 with gil: 

5942 raise FunctionNotFoundError("function nvmlDeviceClearAccountingPids is not found") 2Vb

5943 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceClearAccountingPids)( 

5944 device) 

5945  

5946  

5947cdef nvmlReturn_t _nvmlDeviceSetPowerManagementLimit_v2(nvmlDevice_t device, nvmlPowerValue_v2_t* powerValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5948 global __nvmlDeviceSetPowerManagementLimit_v2 

5949 _check_or_init_nvml() 1F

5950 if __nvmlDeviceSetPowerManagementLimit_v2 == NULL: 1F

5951 with gil: 

5952 raise FunctionNotFoundError("function nvmlDeviceSetPowerManagementLimit_v2 is not found") 

5953 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerValue_v2_t*) noexcept nogil>__nvmlDeviceSetPowerManagementLimit_v2)( 1F

5954 device, powerValue) 

5955  

5956  

5957cdef nvmlReturn_t _nvmlDeviceGetNvLinkState(nvmlDevice_t device, unsigned int link, nvmlEnableState_t* isActive) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5958 global __nvmlDeviceGetNvLinkState 

5959 _check_or_init_nvml() 

5960 if __nvmlDeviceGetNvLinkState == NULL: 

5961 with gil: 

5962 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkState is not found") 

5963 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetNvLinkState)( 

5964 device, link, isActive) 

5965  

5966  

5967cdef nvmlReturn_t _nvmlDeviceGetNvLinkVersion(nvmlDevice_t device, unsigned int link, unsigned int* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5968 global __nvmlDeviceGetNvLinkVersion 

5969 _check_or_init_nvml() 

5970 if __nvmlDeviceGetNvLinkVersion == NULL: 

5971 with gil: 

5972 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkVersion is not found") 

5973 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkVersion)( 

5974 device, link, version) 

5975  

5976  

5977cdef nvmlReturn_t _nvmlDeviceGetNvLinkCapability(nvmlDevice_t device, unsigned int link, nvmlNvLinkCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5978 global __nvmlDeviceGetNvLinkCapability 

5979 _check_or_init_nvml() 1uGHIJKL

5980 if __nvmlDeviceGetNvLinkCapability == NULL: 1GHIJKL

5981 with gil: 

5982 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkCapability is not found") 1u

5983 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkCapability)( 1GHIJKL

5984 device, link, capability, capResult) 

5985  

5986  

5987cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemotePciInfo_v2(nvmlDevice_t device, unsigned int link, nvmlPciInfo_t* pci) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5988 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

5989 _check_or_init_nvml() 

5990 if __nvmlDeviceGetNvLinkRemotePciInfo_v2 == NULL: 

5991 with gil: 

5992 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemotePciInfo_v2 is not found") 

5993 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemotePciInfo_v2)( 

5994 device, link, pci) 

5995  

5996  

5997cdef nvmlReturn_t _nvmlDeviceGetNvLinkErrorCounter(nvmlDevice_t device, unsigned int link, nvmlNvLinkErrorCounter_t counter, unsigned long long* counterValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5998 global __nvmlDeviceGetNvLinkErrorCounter 

5999 _check_or_init_nvml() 

6000 if __nvmlDeviceGetNvLinkErrorCounter == NULL: 

6001 with gil: 

6002 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkErrorCounter is not found") 

6003 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkErrorCounter_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetNvLinkErrorCounter)( 

6004 device, link, counter, counterValue) 

6005  

6006  

6007cdef nvmlReturn_t _nvmlDeviceResetNvLinkErrorCounters(nvmlDevice_t device, unsigned int link) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6008 global __nvmlDeviceResetNvLinkErrorCounters 

6009 _check_or_init_nvml() 1k

6010 if __nvmlDeviceResetNvLinkErrorCounters == NULL: 

6011 with gil: 

6012 raise FunctionNotFoundError("function nvmlDeviceResetNvLinkErrorCounters is not found") 1k

6013 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceResetNvLinkErrorCounters)( 

6014 device, link) 

6015  

6016  

6017cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemoteDeviceType(nvmlDevice_t device, unsigned int link, nvmlIntNvLinkDeviceType_t* pNvLinkDeviceType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6018 global __nvmlDeviceGetNvLinkRemoteDeviceType 

6019 _check_or_init_nvml() 1M

6020 if __nvmlDeviceGetNvLinkRemoteDeviceType == NULL: 

6021 with gil: 

6022 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemoteDeviceType is not found") 1M

6023 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlIntNvLinkDeviceType_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemoteDeviceType)( 

6024 device, link, pNvLinkDeviceType) 

6025  

6026  

6027cdef nvmlReturn_t _nvmlDeviceSetNvLinkDeviceLowPowerThreshold(nvmlDevice_t device, nvmlNvLinkPowerThres_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6028 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

6029 _check_or_init_nvml() 

6030 if __nvmlDeviceSetNvLinkDeviceLowPowerThreshold == NULL: 

6031 with gil: 

6032 raise FunctionNotFoundError("function nvmlDeviceSetNvLinkDeviceLowPowerThreshold is not found") 

6033 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkPowerThres_t*) noexcept nogil>__nvmlDeviceSetNvLinkDeviceLowPowerThreshold)( 

6034 device, info) 

6035  

6036  

6037cdef nvmlReturn_t _nvmlSystemSetNvlinkBwMode(unsigned int nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6038 global __nvmlSystemSetNvlinkBwMode 

6039 _check_or_init_nvml() 

6040 if __nvmlSystemSetNvlinkBwMode == NULL: 

6041 with gil: 

6042 raise FunctionNotFoundError("function nvmlSystemSetNvlinkBwMode is not found") 

6043 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetNvlinkBwMode)( 

6044 nvlinkBwMode) 

6045  

6046  

6047cdef nvmlReturn_t _nvmlSystemGetNvlinkBwMode(unsigned int* nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6048 global __nvmlSystemGetNvlinkBwMode 

6049 _check_or_init_nvml() 

6050 if __nvmlSystemGetNvlinkBwMode == NULL: 

6051 with gil: 

6052 raise FunctionNotFoundError("function nvmlSystemGetNvlinkBwMode is not found") 

6053 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetNvlinkBwMode)( 

6054 nvlinkBwMode) 

6055  

6056  

6057cdef nvmlReturn_t _nvmlDeviceGetNvlinkSupportedBwModes(nvmlDevice_t device, nvmlNvlinkSupportedBwModes_t* supportedBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6058 global __nvmlDeviceGetNvlinkSupportedBwModes 

6059 _check_or_init_nvml() 1m

6060 if __nvmlDeviceGetNvlinkSupportedBwModes == NULL: 1m

6061 with gil: 

6062 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkSupportedBwModes is not found") 

6063 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSupportedBwModes_t*) noexcept nogil>__nvmlDeviceGetNvlinkSupportedBwModes)( 1m

6064 device, supportedBwMode) 

6065  

6066  

6067cdef nvmlReturn_t _nvmlDeviceGetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkGetBwMode_t* getBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6068 global __nvmlDeviceGetNvlinkBwMode 

6069 _check_or_init_nvml() 

6070 if __nvmlDeviceGetNvlinkBwMode == NULL: 

6071 with gil: 

6072 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkBwMode is not found") 

6073 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkGetBwMode_t*) noexcept nogil>__nvmlDeviceGetNvlinkBwMode)( 

6074 device, getBwMode) 

6075  

6076  

6077cdef nvmlReturn_t _nvmlDeviceSetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkSetBwMode_t* setBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6078 global __nvmlDeviceSetNvlinkBwMode 

6079 _check_or_init_nvml() 

6080 if __nvmlDeviceSetNvlinkBwMode == NULL: 

6081 with gil: 

6082 raise FunctionNotFoundError("function nvmlDeviceSetNvlinkBwMode is not found") 

6083 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSetBwMode_t*) noexcept nogil>__nvmlDeviceSetNvlinkBwMode)( 

6084 device, setBwMode) 

6085  

6086  

6087cdef nvmlReturn_t _nvmlEventSetCreate(nvmlEventSet_t* set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6088 global __nvmlEventSetCreate 

6089 _check_or_init_nvml() 1j

6090 if __nvmlEventSetCreate == NULL: 1j

6091 with gil: 

6092 raise FunctionNotFoundError("function nvmlEventSetCreate is not found") 

6093 return (<nvmlReturn_t (*)(nvmlEventSet_t*) noexcept nogil>__nvmlEventSetCreate)( 1j

6094 set) 

6095  

6096  

6097cdef nvmlReturn_t _nvmlDeviceRegisterEvents(nvmlDevice_t device, unsigned long long eventTypes, nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6098 global __nvmlDeviceRegisterEvents 

6099 _check_or_init_nvml() 1j

6100 if __nvmlDeviceRegisterEvents == NULL: 1j

6101 with gil: 

6102 raise FunctionNotFoundError("function nvmlDeviceRegisterEvents is not found") 

6103 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlEventSet_t) noexcept nogil>__nvmlDeviceRegisterEvents)( 1j

6104 device, eventTypes, set) 

6105  

6106  

6107cdef nvmlReturn_t _nvmlDeviceGetSupportedEventTypes(nvmlDevice_t device, unsigned long long* eventTypes) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6108 global __nvmlDeviceGetSupportedEventTypes 

6109 _check_or_init_nvml() 1j

6110 if __nvmlDeviceGetSupportedEventTypes == NULL: 1j

6111 with gil: 

6112 raise FunctionNotFoundError("function nvmlDeviceGetSupportedEventTypes is not found") 

6113 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedEventTypes)( 1j

6114 device, eventTypes) 

6115  

6116  

6117cdef nvmlReturn_t _nvmlEventSetWait_v2(nvmlEventSet_t set, nvmlEventData_t* data, unsigned int timeoutms) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6118 global __nvmlEventSetWait_v2 

6119 _check_or_init_nvml() 1j

6120 if __nvmlEventSetWait_v2 == NULL: 1j

6121 with gil: 

6122 raise FunctionNotFoundError("function nvmlEventSetWait_v2 is not found") 

6123 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventData_t*, unsigned int) noexcept nogil>__nvmlEventSetWait_v2)( 1j

6124 set, data, timeoutms) 

6125  

6126  

6127cdef nvmlReturn_t _nvmlEventSetFree(nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6128 global __nvmlEventSetFree 

6129 _check_or_init_nvml() 1j

6130 if __nvmlEventSetFree == NULL: 1j

6131 with gil: 

6132 raise FunctionNotFoundError("function nvmlEventSetFree is not found") 

6133 return (<nvmlReturn_t (*)(nvmlEventSet_t) noexcept nogil>__nvmlEventSetFree)( 1j

6134 set) 

6135  

6136  

6137cdef nvmlReturn_t _nvmlSystemEventSetCreate(nvmlSystemEventSetCreateRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6138 global __nvmlSystemEventSetCreate 

6139 _check_or_init_nvml() 1#

6140 if __nvmlSystemEventSetCreate == NULL: 1#

6141 with gil: 

6142 raise FunctionNotFoundError("function nvmlSystemEventSetCreate is not found") 

6143 return (<nvmlReturn_t (*)(nvmlSystemEventSetCreateRequest_t*) noexcept nogil>__nvmlSystemEventSetCreate)( 1#

6144 request) 

6145  

6146  

6147cdef nvmlReturn_t _nvmlSystemEventSetFree(nvmlSystemEventSetFreeRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6148 global __nvmlSystemEventSetFree 

6149 _check_or_init_nvml() 1#

6150 if __nvmlSystemEventSetFree == NULL: 1#

6151 with gil: 

6152 raise FunctionNotFoundError("function nvmlSystemEventSetFree is not found") 

6153 return (<nvmlReturn_t (*)(nvmlSystemEventSetFreeRequest_t*) noexcept nogil>__nvmlSystemEventSetFree)( 1#

6154 request) 

6155  

6156  

6157cdef nvmlReturn_t _nvmlSystemRegisterEvents(nvmlSystemRegisterEventRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6158 global __nvmlSystemRegisterEvents 

6159 _check_or_init_nvml() 1#

6160 if __nvmlSystemRegisterEvents == NULL: 1#

6161 with gil: 

6162 raise FunctionNotFoundError("function nvmlSystemRegisterEvents is not found") 

6163 return (<nvmlReturn_t (*)(nvmlSystemRegisterEventRequest_t*) noexcept nogil>__nvmlSystemRegisterEvents)( 1#

6164 request) 

6165  

6166  

6167cdef nvmlReturn_t _nvmlSystemEventSetWait(nvmlSystemEventSetWaitRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6168 global __nvmlSystemEventSetWait 

6169 _check_or_init_nvml() 1#

6170 if __nvmlSystemEventSetWait == NULL: 1#

6171 with gil: 

6172 raise FunctionNotFoundError("function nvmlSystemEventSetWait is not found") 

6173 return (<nvmlReturn_t (*)(nvmlSystemEventSetWaitRequest_t*) noexcept nogil>__nvmlSystemEventSetWait)( 1#

6174 request) 

6175  

6176  

6177cdef nvmlReturn_t _nvmlDeviceModifyDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t newState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6178 global __nvmlDeviceModifyDrainState 

6179 _check_or_init_nvml() 

6180 if __nvmlDeviceModifyDrainState == NULL: 

6181 with gil: 

6182 raise FunctionNotFoundError("function nvmlDeviceModifyDrainState is not found") 

6183 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t) noexcept nogil>__nvmlDeviceModifyDrainState)( 

6184 pciInfo, newState) 

6185  

6186  

6187cdef nvmlReturn_t _nvmlDeviceQueryDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t* currentState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6188 global __nvmlDeviceQueryDrainState 

6189 _check_or_init_nvml() 

6190 if __nvmlDeviceQueryDrainState == NULL: 

6191 with gil: 

6192 raise FunctionNotFoundError("function nvmlDeviceQueryDrainState is not found") 

6193 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceQueryDrainState)( 

6194 pciInfo, currentState) 

6195  

6196  

6197cdef nvmlReturn_t _nvmlDeviceRemoveGpu_v2(nvmlPciInfo_t* pciInfo, nvmlDetachGpuState_t gpuState, nvmlPcieLinkState_t linkState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6198 global __nvmlDeviceRemoveGpu_v2 

6199 _check_or_init_nvml() 

6200 if __nvmlDeviceRemoveGpu_v2 == NULL: 

6201 with gil: 

6202 raise FunctionNotFoundError("function nvmlDeviceRemoveGpu_v2 is not found") 

6203 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlDetachGpuState_t, nvmlPcieLinkState_t) noexcept nogil>__nvmlDeviceRemoveGpu_v2)( 

6204 pciInfo, gpuState, linkState) 

6205  

6206  

6207cdef nvmlReturn_t _nvmlDeviceDiscoverGpus(nvmlPciInfo_t* pciInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6208 global __nvmlDeviceDiscoverGpus 

6209 _check_or_init_nvml() 1i

6210 if __nvmlDeviceDiscoverGpus == NULL: 1i

6211 with gil: 

6212 raise FunctionNotFoundError("function nvmlDeviceDiscoverGpus is not found") 

6213 return (<nvmlReturn_t (*)(nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceDiscoverGpus)( 1i

6214 pciInfo) 

6215  

6216  

6217cdef nvmlReturn_t _nvmlDeviceGetFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6218 global __nvmlDeviceGetFieldValues 

6219 _check_or_init_nvml() 2*b! D

6220 if __nvmlDeviceGetFieldValues == NULL: 2*b! D

6221 with gil: 

6222 raise FunctionNotFoundError("function nvmlDeviceGetFieldValues is not found") 

6223 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceGetFieldValues)( 2*b! D

6224 device, valuesCount, values) 

6225  

6226  

6227cdef nvmlReturn_t _nvmlDeviceClearFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6228 global __nvmlDeviceClearFieldValues 

6229 _check_or_init_nvml() 1!

6230 if __nvmlDeviceClearFieldValues == NULL: 1!

6231 with gil: 

6232 raise FunctionNotFoundError("function nvmlDeviceClearFieldValues is not found") 

6233 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceClearFieldValues)( 1!

6234 device, valuesCount, values) 

6235  

6236  

6237cdef nvmlReturn_t _nvmlDeviceGetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t* pVirtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6238 global __nvmlDeviceGetVirtualizationMode 

6239 _check_or_init_nvml() 1dN

6240 if __nvmlDeviceGetVirtualizationMode == NULL: 1dN

6241 with gil: 

6242 raise FunctionNotFoundError("function nvmlDeviceGetVirtualizationMode is not found") 

6243 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t*) noexcept nogil>__nvmlDeviceGetVirtualizationMode)( 1dN

6244 device, pVirtualMode) 

6245  

6246  

6247cdef nvmlReturn_t _nvmlDeviceGetHostVgpuMode(nvmlDevice_t device, nvmlHostVgpuMode_t* pHostVgpuMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6248 global __nvmlDeviceGetHostVgpuMode 

6249 _check_or_init_nvml() 

6250 if __nvmlDeviceGetHostVgpuMode == NULL: 

6251 with gil: 

6252 raise FunctionNotFoundError("function nvmlDeviceGetHostVgpuMode is not found") 

6253 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostVgpuMode_t*) noexcept nogil>__nvmlDeviceGetHostVgpuMode)( 

6254 device, pHostVgpuMode) 

6255  

6256  

6257cdef nvmlReturn_t _nvmlDeviceSetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t virtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6258 global __nvmlDeviceSetVirtualizationMode 

6259 _check_or_init_nvml() 

6260 if __nvmlDeviceSetVirtualizationMode == NULL: 

6261 with gil: 

6262 raise FunctionNotFoundError("function nvmlDeviceSetVirtualizationMode is not found") 

6263 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t) noexcept nogil>__nvmlDeviceSetVirtualizationMode)( 

6264 device, virtualMode) 

6265  

6266  

6267cdef nvmlReturn_t _nvmlDeviceGetVgpuHeterogeneousMode(nvmlDevice_t device, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6268 global __nvmlDeviceGetVgpuHeterogeneousMode 

6269 _check_or_init_nvml() 1l

6270 if __nvmlDeviceGetVgpuHeterogeneousMode == NULL: 1l

6271 with gil: 

6272 raise FunctionNotFoundError("function nvmlDeviceGetVgpuHeterogeneousMode is not found") 

6273 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceGetVgpuHeterogeneousMode)( 1l

6274 device, pHeterogeneousMode) 

6275  

6276  

6277cdef nvmlReturn_t _nvmlDeviceSetVgpuHeterogeneousMode(nvmlDevice_t device, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6278 global __nvmlDeviceSetVgpuHeterogeneousMode 

6279 _check_or_init_nvml() 

6280 if __nvmlDeviceSetVgpuHeterogeneousMode == NULL: 

6281 with gil: 

6282 raise FunctionNotFoundError("function nvmlDeviceSetVgpuHeterogeneousMode is not found") 

6283 return (<nvmlReturn_t (*)(nvmlDevice_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceSetVgpuHeterogeneousMode)( 

6284 device, pHeterogeneousMode) 

6285  

6286  

6287cdef nvmlReturn_t _nvmlVgpuInstanceGetPlacementId(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuPlacementId_t* pPlacement) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6288 global __nvmlVgpuInstanceGetPlacementId 

6289 _check_or_init_nvml() 

6290 if __nvmlVgpuInstanceGetPlacementId == NULL: 

6291 with gil: 

6292 raise FunctionNotFoundError("function nvmlVgpuInstanceGetPlacementId is not found") 

6293 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuPlacementId_t*) noexcept nogil>__nvmlVgpuInstanceGetPlacementId)( 

6294 vgpuInstance, pPlacement) 

6295  

6296  

6297cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeSupportedPlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6298 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

6299 _check_or_init_nvml() 

6300 if __nvmlDeviceGetVgpuTypeSupportedPlacements == NULL: 

6301 with gil: 

6302 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeSupportedPlacements is not found") 

6303 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeSupportedPlacements)( 

6304 device, vgpuTypeId, pPlacementList) 

6305  

6306  

6307cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeCreatablePlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6308 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

6309 _check_or_init_nvml() 

6310 if __nvmlDeviceGetVgpuTypeCreatablePlacements == NULL: 

6311 with gil: 

6312 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeCreatablePlacements is not found") 

6313 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeCreatablePlacements)( 

6314 device, vgpuTypeId, pPlacementList) 

6315  

6316  

6317cdef nvmlReturn_t _nvmlVgpuTypeGetGspHeapSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* gspHeapSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6318 global __nvmlVgpuTypeGetGspHeapSize 

6319 _check_or_init_nvml() 

6320 if __nvmlVgpuTypeGetGspHeapSize == NULL: 

6321 with gil: 

6322 raise FunctionNotFoundError("function nvmlVgpuTypeGetGspHeapSize is not found") 

6323 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetGspHeapSize)( 

6324 vgpuTypeId, gspHeapSize) 

6325  

6326  

6327cdef nvmlReturn_t _nvmlVgpuTypeGetFbReservation(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbReservation) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6328 global __nvmlVgpuTypeGetFbReservation 

6329 _check_or_init_nvml() 

6330 if __nvmlVgpuTypeGetFbReservation == NULL: 

6331 with gil: 

6332 raise FunctionNotFoundError("function nvmlVgpuTypeGetFbReservation is not found") 

6333 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFbReservation)( 

6334 vgpuTypeId, fbReservation) 

6335  

6336  

6337cdef nvmlReturn_t _nvmlVgpuInstanceGetRuntimeStateSize(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuRuntimeState_t* pState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6338 global __nvmlVgpuInstanceGetRuntimeStateSize 

6339 _check_or_init_nvml() 

6340 if __nvmlVgpuInstanceGetRuntimeStateSize == NULL: 

6341 with gil: 

6342 raise FunctionNotFoundError("function nvmlVgpuInstanceGetRuntimeStateSize is not found") 

6343 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuRuntimeState_t*) noexcept nogil>__nvmlVgpuInstanceGetRuntimeStateSize)( 

6344 vgpuInstance, pState) 

6345  

6346  

6347cdef nvmlReturn_t _nvmlDeviceSetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, nvmlEnableState_t state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6348 global __nvmlDeviceSetVgpuCapabilities 

6349 _check_or_init_nvml() 

6350 if __nvmlDeviceSetVgpuCapabilities == NULL: 

6351 with gil: 

6352 raise FunctionNotFoundError("function nvmlDeviceSetVgpuCapabilities is not found") 

6353 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetVgpuCapabilities)( 

6354 device, capability, state) 

6355  

6356  

6357cdef nvmlReturn_t _nvmlDeviceGetGridLicensableFeatures_v4(nvmlDevice_t device, nvmlGridLicensableFeatures_t* pGridLicensableFeatures) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6358 global __nvmlDeviceGetGridLicensableFeatures_v4 

6359 _check_or_init_nvml() 23b

6360 if __nvmlDeviceGetGridLicensableFeatures_v4 == NULL: 23b

6361 with gil: 

6362 raise FunctionNotFoundError("function nvmlDeviceGetGridLicensableFeatures_v4 is not found") 

6363 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGridLicensableFeatures_t*) noexcept nogil>__nvmlDeviceGetGridLicensableFeatures_v4)( 23b

6364 device, pGridLicensableFeatures) 

6365  

6366  

6367cdef nvmlReturn_t _nvmlGetVgpuDriverCapabilities(nvmlVgpuDriverCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6368 global __nvmlGetVgpuDriverCapabilities 

6369 _check_or_init_nvml() 

6370 if __nvmlGetVgpuDriverCapabilities == NULL: 

6371 with gil: 

6372 raise FunctionNotFoundError("function nvmlGetVgpuDriverCapabilities is not found") 

6373 return (<nvmlReturn_t (*)(nvmlVgpuDriverCapability_t, unsigned int*) noexcept nogil>__nvmlGetVgpuDriverCapabilities)( 

6374 capability, capResult) 

6375  

6376  

6377cdef nvmlReturn_t _nvmlDeviceGetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6378 global __nvmlDeviceGetVgpuCapabilities 

6379 _check_or_init_nvml() 

6380 if __nvmlDeviceGetVgpuCapabilities == NULL: 

6381 with gil: 

6382 raise FunctionNotFoundError("function nvmlDeviceGetVgpuCapabilities is not found") 

6383 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuCapabilities)( 

6384 device, capability, capResult) 

6385  

6386  

6387cdef nvmlReturn_t _nvmlDeviceGetSupportedVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6388 global __nvmlDeviceGetSupportedVgpus 

6389 _check_or_init_nvml() 

6390 if __nvmlDeviceGetSupportedVgpus == NULL: 

6391 with gil: 

6392 raise FunctionNotFoundError("function nvmlDeviceGetSupportedVgpus is not found") 

6393 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetSupportedVgpus)( 

6394 device, vgpuCount, vgpuTypeIds) 

6395  

6396  

6397cdef nvmlReturn_t _nvmlDeviceGetCreatableVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6398 global __nvmlDeviceGetCreatableVgpus 

6399 _check_or_init_nvml() 

6400 if __nvmlDeviceGetCreatableVgpus == NULL: 

6401 with gil: 

6402 raise FunctionNotFoundError("function nvmlDeviceGetCreatableVgpus is not found") 

6403 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetCreatableVgpus)( 

6404 device, vgpuCount, vgpuTypeIds) 

6405  

6406  

6407cdef nvmlReturn_t _nvmlVgpuTypeGetClass(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeClass, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6408 global __nvmlVgpuTypeGetClass 

6409 _check_or_init_nvml() 

6410 if __nvmlVgpuTypeGetClass == NULL: 

6411 with gil: 

6412 raise FunctionNotFoundError("function nvmlVgpuTypeGetClass is not found") 

6413 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetClass)( 

6414 vgpuTypeId, vgpuTypeClass, size) 

6415  

6416  

6417cdef nvmlReturn_t _nvmlVgpuTypeGetName(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeName, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6418 global __nvmlVgpuTypeGetName 

6419 _check_or_init_nvml() 

6420 if __nvmlVgpuTypeGetName == NULL: 

6421 with gil: 

6422 raise FunctionNotFoundError("function nvmlVgpuTypeGetName is not found") 

6423 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetName)( 

6424 vgpuTypeId, vgpuTypeName, size) 

6425  

6426  

6427cdef nvmlReturn_t _nvmlVgpuTypeGetGpuInstanceProfileId(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* gpuInstanceProfileId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6428 global __nvmlVgpuTypeGetGpuInstanceProfileId 

6429 _check_or_init_nvml() 

6430 if __nvmlVgpuTypeGetGpuInstanceProfileId == NULL: 

6431 with gil: 

6432 raise FunctionNotFoundError("function nvmlVgpuTypeGetGpuInstanceProfileId is not found") 

6433 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetGpuInstanceProfileId)( 

6434 vgpuTypeId, gpuInstanceProfileId) 

6435  

6436  

6437cdef nvmlReturn_t _nvmlVgpuTypeGetDeviceID(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* deviceID, unsigned long long* subsystemID) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6438 global __nvmlVgpuTypeGetDeviceID 

6439 _check_or_init_nvml() 

6440 if __nvmlVgpuTypeGetDeviceID == NULL: 

6441 with gil: 

6442 raise FunctionNotFoundError("function nvmlVgpuTypeGetDeviceID is not found") 

6443 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetDeviceID)( 

6444 vgpuTypeId, deviceID, subsystemID) 

6445  

6446  

6447cdef nvmlReturn_t _nvmlVgpuTypeGetFramebufferSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6448 global __nvmlVgpuTypeGetFramebufferSize 

6449 _check_or_init_nvml() 

6450 if __nvmlVgpuTypeGetFramebufferSize == NULL: 

6451 with gil: 

6452 raise FunctionNotFoundError("function nvmlVgpuTypeGetFramebufferSize is not found") 

6453 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFramebufferSize)( 

6454 vgpuTypeId, fbSize) 

6455  

6456  

6457cdef nvmlReturn_t _nvmlVgpuTypeGetNumDisplayHeads(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* numDisplayHeads) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6458 global __nvmlVgpuTypeGetNumDisplayHeads 

6459 _check_or_init_nvml() 

6460 if __nvmlVgpuTypeGetNumDisplayHeads == NULL: 

6461 with gil: 

6462 raise FunctionNotFoundError("function nvmlVgpuTypeGetNumDisplayHeads is not found") 

6463 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetNumDisplayHeads)( 

6464 vgpuTypeId, numDisplayHeads) 

6465  

6466  

6467cdef nvmlReturn_t _nvmlVgpuTypeGetResolution(nvmlVgpuTypeId_t vgpuTypeId, unsigned int displayIndex, unsigned int* xdim, unsigned int* ydim) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6468 global __nvmlVgpuTypeGetResolution 

6469 _check_or_init_nvml() 

6470 if __nvmlVgpuTypeGetResolution == NULL: 

6471 with gil: 

6472 raise FunctionNotFoundError("function nvmlVgpuTypeGetResolution is not found") 

6473 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetResolution)( 

6474 vgpuTypeId, displayIndex, xdim, ydim) 

6475  

6476  

6477cdef nvmlReturn_t _nvmlVgpuTypeGetLicense(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeLicenseString, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6478 global __nvmlVgpuTypeGetLicense 

6479 _check_or_init_nvml() 

6480 if __nvmlVgpuTypeGetLicense == NULL: 

6481 with gil: 

6482 raise FunctionNotFoundError("function nvmlVgpuTypeGetLicense is not found") 

6483 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int) noexcept nogil>__nvmlVgpuTypeGetLicense)( 

6484 vgpuTypeId, vgpuTypeLicenseString, size) 

6485  

6486  

6487cdef nvmlReturn_t _nvmlVgpuTypeGetFrameRateLimit(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6488 global __nvmlVgpuTypeGetFrameRateLimit 

6489 _check_or_init_nvml() 

6490 if __nvmlVgpuTypeGetFrameRateLimit == NULL: 

6491 with gil: 

6492 raise FunctionNotFoundError("function nvmlVgpuTypeGetFrameRateLimit is not found") 

6493 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetFrameRateLimit)( 

6494 vgpuTypeId, frameRateLimit) 

6495  

6496  

6497cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstances(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6498 global __nvmlVgpuTypeGetMaxInstances 

6499 _check_or_init_nvml() 

6500 if __nvmlVgpuTypeGetMaxInstances == NULL: 

6501 with gil: 

6502 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstances is not found") 

6503 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstances)( 

6504 device, vgpuTypeId, vgpuInstanceCount) 

6505  

6506  

6507cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerVm(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCountPerVm) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6508 global __nvmlVgpuTypeGetMaxInstancesPerVm 

6509 _check_or_init_nvml() 

6510 if __nvmlVgpuTypeGetMaxInstancesPerVm == NULL: 

6511 with gil: 

6512 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerVm is not found") 

6513 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerVm)( 

6514 vgpuTypeId, vgpuInstanceCountPerVm) 

6515  

6516  

6517cdef nvmlReturn_t _nvmlVgpuTypeGetBAR1Info(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuTypeBar1Info_t* bar1Info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6518 global __nvmlVgpuTypeGetBAR1Info 

6519 _check_or_init_nvml() 

6520 if __nvmlVgpuTypeGetBAR1Info == NULL: 

6521 with gil: 

6522 raise FunctionNotFoundError("function nvmlVgpuTypeGetBAR1Info is not found") 

6523 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuTypeBar1Info_t*) noexcept nogil>__nvmlVgpuTypeGetBAR1Info)( 

6524 vgpuTypeId, bar1Info) 

6525  

6526  

6527cdef nvmlReturn_t _nvmlDeviceGetActiveVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuInstance_t* vgpuInstances) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6528 global __nvmlDeviceGetActiveVgpus 

6529 _check_or_init_nvml() 

6530 if __nvmlDeviceGetActiveVgpus == NULL: 

6531 with gil: 

6532 raise FunctionNotFoundError("function nvmlDeviceGetActiveVgpus is not found") 

6533 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuInstance_t*) noexcept nogil>__nvmlDeviceGetActiveVgpus)( 

6534 device, vgpuCount, vgpuInstances) 

6535  

6536  

6537cdef nvmlReturn_t _nvmlVgpuInstanceGetVmID(nvmlVgpuInstance_t vgpuInstance, char* vmId, unsigned int size, nvmlVgpuVmIdType_t* vmIdType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6538 global __nvmlVgpuInstanceGetVmID 

6539 _check_or_init_nvml() 

6540 if __nvmlVgpuInstanceGetVmID == NULL: 

6541 with gil: 

6542 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmID is not found") 

6543 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int, nvmlVgpuVmIdType_t*) noexcept nogil>__nvmlVgpuInstanceGetVmID)( 

6544 vgpuInstance, vmId, size, vmIdType) 

6545  

6546  

6547cdef nvmlReturn_t _nvmlVgpuInstanceGetUUID(nvmlVgpuInstance_t vgpuInstance, char* uuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6548 global __nvmlVgpuInstanceGetUUID 

6549 _check_or_init_nvml() 

6550 if __nvmlVgpuInstanceGetUUID == NULL: 

6551 with gil: 

6552 raise FunctionNotFoundError("function nvmlVgpuInstanceGetUUID is not found") 

6553 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetUUID)( 

6554 vgpuInstance, uuid, size) 

6555  

6556  

6557cdef nvmlReturn_t _nvmlVgpuInstanceGetVmDriverVersion(nvmlVgpuInstance_t vgpuInstance, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6558 global __nvmlVgpuInstanceGetVmDriverVersion 

6559 _check_or_init_nvml() 

6560 if __nvmlVgpuInstanceGetVmDriverVersion == NULL: 

6561 with gil: 

6562 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmDriverVersion is not found") 

6563 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetVmDriverVersion)( 

6564 vgpuInstance, version, length) 

6565  

6566  

6567cdef nvmlReturn_t _nvmlVgpuInstanceGetFbUsage(nvmlVgpuInstance_t vgpuInstance, unsigned long long* fbUsage) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6568 global __nvmlVgpuInstanceGetFbUsage 

6569 _check_or_init_nvml() 

6570 if __nvmlVgpuInstanceGetFbUsage == NULL: 

6571 with gil: 

6572 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFbUsage is not found") 

6573 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned long long*) noexcept nogil>__nvmlVgpuInstanceGetFbUsage)( 

6574 vgpuInstance, fbUsage) 

6575  

6576  

6577cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseStatus(nvmlVgpuInstance_t vgpuInstance, unsigned int* licensed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6578 global __nvmlVgpuInstanceGetLicenseStatus 

6579 _check_or_init_nvml() 

6580 if __nvmlVgpuInstanceGetLicenseStatus == NULL: 

6581 with gil: 

6582 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseStatus is not found") 

6583 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetLicenseStatus)( 

6584 vgpuInstance, licensed) 

6585  

6586  

6587cdef nvmlReturn_t _nvmlVgpuInstanceGetType(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuTypeId_t* vgpuTypeId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6588 global __nvmlVgpuInstanceGetType 

6589 _check_or_init_nvml() 

6590 if __nvmlVgpuInstanceGetType == NULL: 

6591 with gil: 

6592 raise FunctionNotFoundError("function nvmlVgpuInstanceGetType is not found") 

6593 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlVgpuInstanceGetType)( 

6594 vgpuInstance, vgpuTypeId) 

6595  

6596  

6597cdef nvmlReturn_t _nvmlVgpuInstanceGetFrameRateLimit(nvmlVgpuInstance_t vgpuInstance, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6598 global __nvmlVgpuInstanceGetFrameRateLimit 

6599 _check_or_init_nvml() 

6600 if __nvmlVgpuInstanceGetFrameRateLimit == NULL: 

6601 with gil: 

6602 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFrameRateLimit is not found") 

6603 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetFrameRateLimit)( 

6604 vgpuInstance, frameRateLimit) 

6605  

6606  

6607cdef nvmlReturn_t _nvmlVgpuInstanceGetEccMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* eccMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6608 global __nvmlVgpuInstanceGetEccMode 

6609 _check_or_init_nvml() 

6610 if __nvmlVgpuInstanceGetEccMode == NULL: 

6611 with gil: 

6612 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEccMode is not found") 

6613 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetEccMode)( 

6614 vgpuInstance, eccMode) 

6615  

6616  

6617cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int* encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6618 global __nvmlVgpuInstanceGetEncoderCapacity 

6619 _check_or_init_nvml() 

6620 if __nvmlVgpuInstanceGetEncoderCapacity == NULL: 

6621 with gil: 

6622 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderCapacity is not found") 

6623 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderCapacity)( 

6624 vgpuInstance, encoderCapacity) 

6625  

6626  

6627cdef nvmlReturn_t _nvmlVgpuInstanceSetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6628 global __nvmlVgpuInstanceSetEncoderCapacity 

6629 _check_or_init_nvml() 

6630 if __nvmlVgpuInstanceSetEncoderCapacity == NULL: 

6631 with gil: 

6632 raise FunctionNotFoundError("function nvmlVgpuInstanceSetEncoderCapacity is not found") 

6633 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int) noexcept nogil>__nvmlVgpuInstanceSetEncoderCapacity)( 

6634 vgpuInstance, encoderCapacity) 

6635  

6636  

6637cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderStats(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, unsigned int* averageFps, unsigned int* averageLatency) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6638 global __nvmlVgpuInstanceGetEncoderStats 

6639 _check_or_init_nvml() 

6640 if __nvmlVgpuInstanceGetEncoderStats == NULL: 

6641 with gil: 

6642 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderStats is not found") 

6643 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderStats)( 

6644 vgpuInstance, sessionCount, averageFps, averageLatency) 

6645  

6646  

6647cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlEncoderSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6648 global __nvmlVgpuInstanceGetEncoderSessions 

6649 _check_or_init_nvml() 

6650 if __nvmlVgpuInstanceGetEncoderSessions == NULL: 

6651 with gil: 

6652 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderSessions is not found") 

6653 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlEncoderSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetEncoderSessions)( 

6654 vgpuInstance, sessionCount, sessionInfo) 

6655  

6656  

6657cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCStats(nvmlVgpuInstance_t vgpuInstance, nvmlFBCStats_t* fbcStats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6658 global __nvmlVgpuInstanceGetFBCStats 

6659 _check_or_init_nvml() 

6660 if __nvmlVgpuInstanceGetFBCStats == NULL: 

6661 with gil: 

6662 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCStats is not found") 

6663 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlFBCStats_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCStats)( 

6664 vgpuInstance, fbcStats) 

6665  

6666  

6667cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlFBCSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6668 global __nvmlVgpuInstanceGetFBCSessions 

6669 _check_or_init_nvml() 

6670 if __nvmlVgpuInstanceGetFBCSessions == NULL: 

6671 with gil: 

6672 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCSessions is not found") 

6673 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlFBCSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCSessions)( 

6674 vgpuInstance, sessionCount, sessionInfo) 

6675  

6676  

6677cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuInstanceId(nvmlVgpuInstance_t vgpuInstance, unsigned int* gpuInstanceId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6678 global __nvmlVgpuInstanceGetGpuInstanceId 

6679 _check_or_init_nvml() 

6680 if __nvmlVgpuInstanceGetGpuInstanceId == NULL: 

6681 with gil: 

6682 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuInstanceId is not found") 

6683 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuInstanceId)( 

6684 vgpuInstance, gpuInstanceId) 

6685  

6686  

6687cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuPciId(nvmlVgpuInstance_t vgpuInstance, char* vgpuPciId, unsigned int* length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6688 global __nvmlVgpuInstanceGetGpuPciId 

6689 _check_or_init_nvml() 

6690 if __nvmlVgpuInstanceGetGpuPciId == NULL: 

6691 with gil: 

6692 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuPciId is not found") 

6693 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuPciId)( 

6694 vgpuInstance, vgpuPciId, length) 

6695  

6696  

6697cdef nvmlReturn_t _nvmlVgpuTypeGetCapabilities(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6698 global __nvmlVgpuTypeGetCapabilities 

6699 _check_or_init_nvml() 

6700 if __nvmlVgpuTypeGetCapabilities == NULL: 

6701 with gil: 

6702 raise FunctionNotFoundError("function nvmlVgpuTypeGetCapabilities is not found") 

6703 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetCapabilities)( 

6704 vgpuTypeId, capability, capResult) 

6705  

6706  

6707cdef nvmlReturn_t _nvmlVgpuInstanceGetMdevUUID(nvmlVgpuInstance_t vgpuInstance, char* mdevUuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6708 global __nvmlVgpuInstanceGetMdevUUID 

6709 _check_or_init_nvml() 

6710 if __nvmlVgpuInstanceGetMdevUUID == NULL: 

6711 with gil: 

6712 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMdevUUID is not found") 

6713 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetMdevUUID)( 

6714 vgpuInstance, mdevUuid, size) 

6715  

6716  

6717cdef nvmlReturn_t _nvmlGpuInstanceGetCreatableVgpus(nvmlGpuInstance_t gpuInstance, nvmlVgpuTypeIdInfo_t* pVgpus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6718 global __nvmlGpuInstanceGetCreatableVgpus 

6719 _check_or_init_nvml() 

6720 if __nvmlGpuInstanceGetCreatableVgpus == NULL: 

6721 with gil: 

6722 raise FunctionNotFoundError("function nvmlGpuInstanceGetCreatableVgpus is not found") 

6723 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuTypeIdInfo_t*) noexcept nogil>__nvmlGpuInstanceGetCreatableVgpus)( 

6724 gpuInstance, pVgpus) 

6725  

6726  

6727cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerGpuInstance(nvmlVgpuTypeMaxInstance_t* pMaxInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6728 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

6729 _check_or_init_nvml() 

6730 if __nvmlVgpuTypeGetMaxInstancesPerGpuInstance == NULL: 

6731 with gil: 

6732 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerGpuInstance is not found") 

6733 return (<nvmlReturn_t (*)(nvmlVgpuTypeMaxInstance_t*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerGpuInstance)( 

6734 pMaxInstance) 

6735  

6736  

6737cdef nvmlReturn_t _nvmlGpuInstanceGetActiveVgpus(nvmlGpuInstance_t gpuInstance, nvmlActiveVgpuInstanceInfo_t* pVgpuInstanceInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6738 global __nvmlGpuInstanceGetActiveVgpus 

6739 _check_or_init_nvml() 

6740 if __nvmlGpuInstanceGetActiveVgpus == NULL: 

6741 with gil: 

6742 raise FunctionNotFoundError("function nvmlGpuInstanceGetActiveVgpus is not found") 

6743 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlActiveVgpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetActiveVgpus)( 

6744 gpuInstance, pVgpuInstanceInfo) 

6745  

6746  

6747cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_t* pScheduler) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6748 global __nvmlGpuInstanceSetVgpuSchedulerState 

6749 _check_or_init_nvml() 

6750 if __nvmlGpuInstanceSetVgpuSchedulerState == NULL: 

6751 with gil: 

6752 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState is not found") 

6753 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerState_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuSchedulerState)( 

6754 gpuInstance, pScheduler) 

6755  

6756  

6757cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerStateInfo_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6758 global __nvmlGpuInstanceGetVgpuSchedulerState 

6759 _check_or_init_nvml() 

6760 if __nvmlGpuInstanceGetVgpuSchedulerState == NULL: 

6761 with gil: 

6762 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerState is not found") 

6763 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerStateInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerState)( 

6764 gpuInstance, pSchedulerStateInfo) 

6765  

6766  

6767cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6768 global __nvmlGpuInstanceGetVgpuSchedulerLog 

6769 _check_or_init_nvml() 

6770 if __nvmlGpuInstanceGetVgpuSchedulerLog == NULL: 

6771 with gil: 

6772 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerLog is not found") 

6773 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerLogInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerLog)( 

6774 gpuInstance, pSchedulerLogInfo) 

6775  

6776  

6777cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuTypeCreatablePlacements(nvmlGpuInstance_t gpuInstance, nvmlVgpuCreatablePlacementInfo_t* pCreatablePlacementInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6778 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

6779 _check_or_init_nvml() 

6780 if __nvmlGpuInstanceGetVgpuTypeCreatablePlacements == NULL: 

6781 with gil: 

6782 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuTypeCreatablePlacements is not found") 

6783 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuCreatablePlacementInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuTypeCreatablePlacements)( 

6784 gpuInstance, pCreatablePlacementInfo) 

6785  

6786  

6787cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6788 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

6789 _check_or_init_nvml() 

6790 if __nvmlGpuInstanceGetVgpuHeterogeneousMode == NULL: 

6791 with gil: 

6792 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuHeterogeneousMode is not found") 

6793 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuHeterogeneousMode)( 

6794 gpuInstance, pHeterogeneousMode) 

6795  

6796  

6797cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6798 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

6799 _check_or_init_nvml() 

6800 if __nvmlGpuInstanceSetVgpuHeterogeneousMode == NULL: 

6801 with gil: 

6802 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuHeterogeneousMode is not found") 

6803 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuHeterogeneousMode)( 

6804 gpuInstance, pHeterogeneousMode) 

6805  

6806  

6807cdef nvmlReturn_t _nvmlVgpuInstanceGetMetadata(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuMetadata_t* vgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6808 global __nvmlVgpuInstanceGetMetadata 

6809 _check_or_init_nvml() 

6810 if __nvmlVgpuInstanceGetMetadata == NULL: 

6811 with gil: 

6812 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMetadata is not found") 

6813 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetMetadata)( 

6814 vgpuInstance, vgpuMetadata, bufferSize) 

6815  

6816  

6817cdef nvmlReturn_t _nvmlDeviceGetVgpuMetadata(nvmlDevice_t device, nvmlVgpuPgpuMetadata_t* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6818 global __nvmlDeviceGetVgpuMetadata 

6819 _check_or_init_nvml() 

6820 if __nvmlDeviceGetVgpuMetadata == NULL: 

6821 with gil: 

6822 raise FunctionNotFoundError("function nvmlDeviceGetVgpuMetadata is not found") 

6823 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuPgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuMetadata)( 

6824 device, pgpuMetadata, bufferSize) 

6825  

6826  

6827cdef nvmlReturn_t _nvmlGetVgpuCompatibility(nvmlVgpuMetadata_t* vgpuMetadata, nvmlVgpuPgpuMetadata_t* pgpuMetadata, nvmlVgpuPgpuCompatibility_t* compatibilityInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6828 global __nvmlGetVgpuCompatibility 

6829 _check_or_init_nvml() 

6830 if __nvmlGetVgpuCompatibility == NULL: 

6831 with gil: 

6832 raise FunctionNotFoundError("function nvmlGetVgpuCompatibility is not found") 

6833 return (<nvmlReturn_t (*)(nvmlVgpuMetadata_t*, nvmlVgpuPgpuMetadata_t*, nvmlVgpuPgpuCompatibility_t*) noexcept nogil>__nvmlGetVgpuCompatibility)( 

6834 vgpuMetadata, pgpuMetadata, compatibilityInfo) 

6835  

6836  

6837cdef nvmlReturn_t _nvmlDeviceGetPgpuMetadataString(nvmlDevice_t device, char* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6838 global __nvmlDeviceGetPgpuMetadataString 

6839 _check_or_init_nvml() 

6840 if __nvmlDeviceGetPgpuMetadataString == NULL: 

6841 with gil: 

6842 raise FunctionNotFoundError("function nvmlDeviceGetPgpuMetadataString is not found") 

6843 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int*) noexcept nogil>__nvmlDeviceGetPgpuMetadataString)( 

6844 device, pgpuMetadata, bufferSize) 

6845  

6846  

6847cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog(nvmlDevice_t device, nvmlVgpuSchedulerLog_t* pSchedulerLog) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6848 global __nvmlDeviceGetVgpuSchedulerLog 

6849 _check_or_init_nvml() 

6850 if __nvmlDeviceGetVgpuSchedulerLog == NULL: 

6851 with gil: 

6852 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerLog is not found") 

6853 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerLog_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerLog)( 

6854 device, pSchedulerLog) 

6855  

6856  

6857cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerGetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6858 global __nvmlDeviceGetVgpuSchedulerState 

6859 _check_or_init_nvml() 

6860 if __nvmlDeviceGetVgpuSchedulerState == NULL: 

6861 with gil: 

6862 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerState is not found") 

6863 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerGetState_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerState)( 

6864 device, pSchedulerState) 

6865  

6866  

6867cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerCapabilities(nvmlDevice_t device, nvmlVgpuSchedulerCapabilities_t* pCapabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6868 global __nvmlDeviceGetVgpuSchedulerCapabilities 

6869 _check_or_init_nvml() 

6870 if __nvmlDeviceGetVgpuSchedulerCapabilities == NULL: 

6871 with gil: 

6872 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerCapabilities is not found") 

6873 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerCapabilities_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerCapabilities)( 

6874 device, pCapabilities) 

6875  

6876  

6877cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerSetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6878 global __nvmlDeviceSetVgpuSchedulerState 

6879 _check_or_init_nvml() 

6880 if __nvmlDeviceSetVgpuSchedulerState == NULL: 

6881 with gil: 

6882 raise FunctionNotFoundError("function nvmlDeviceSetVgpuSchedulerState is not found") 

6883 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerSetState_t*) noexcept nogil>__nvmlDeviceSetVgpuSchedulerState)( 

6884 device, pSchedulerState) 

6885  

6886  

6887cdef nvmlReturn_t _nvmlGetVgpuVersion(nvmlVgpuVersion_t* supported, nvmlVgpuVersion_t* current) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6888 global __nvmlGetVgpuVersion 

6889 _check_or_init_nvml() 

6890 if __nvmlGetVgpuVersion == NULL: 

6891 with gil: 

6892 raise FunctionNotFoundError("function nvmlGetVgpuVersion is not found") 

6893 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*, nvmlVgpuVersion_t*) noexcept nogil>__nvmlGetVgpuVersion)( 

6894 supported, current) 

6895  

6896  

6897cdef nvmlReturn_t _nvmlSetVgpuVersion(nvmlVgpuVersion_t* vgpuVersion) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6898 global __nvmlSetVgpuVersion 

6899 _check_or_init_nvml() 

6900 if __nvmlSetVgpuVersion == NULL: 

6901 with gil: 

6902 raise FunctionNotFoundError("function nvmlSetVgpuVersion is not found") 

6903 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*) noexcept nogil>__nvmlSetVgpuVersion)( 

6904 vgpuVersion) 

6905  

6906  

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

6908 global __nvmlDeviceGetVgpuUtilization 

6909 _check_or_init_nvml() 

6910 if __nvmlDeviceGetVgpuUtilization == NULL: 

6911 with gil: 

6912 raise FunctionNotFoundError("function nvmlDeviceGetVgpuUtilization is not found") 

6913 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlVgpuInstanceUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuUtilization)( 

6914 device, lastSeenTimeStamp, sampleValType, vgpuInstanceSamplesCount, utilizationSamples) 

6915  

6916  

6917cdef nvmlReturn_t _nvmlDeviceGetVgpuInstancesUtilizationInfo(nvmlDevice_t device, nvmlVgpuInstancesUtilizationInfo_t* vgpuUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6918 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

6919 _check_or_init_nvml() 

6920 if __nvmlDeviceGetVgpuInstancesUtilizationInfo == NULL: 

6921 with gil: 

6922 raise FunctionNotFoundError("function nvmlDeviceGetVgpuInstancesUtilizationInfo is not found") 

6923 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuInstancesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuInstancesUtilizationInfo)( 

6924 device, vgpuUtilInfo) 

6925  

6926  

6927cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessUtilization(nvmlDevice_t device, unsigned long long lastSeenTimeStamp, unsigned int* vgpuProcessSamplesCount, nvmlVgpuProcessUtilizationSample_t* utilizationSamples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6928 global __nvmlDeviceGetVgpuProcessUtilization 

6929 _check_or_init_nvml() 

6930 if __nvmlDeviceGetVgpuProcessUtilization == NULL: 

6931 with gil: 

6932 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessUtilization is not found") 

6933 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, unsigned int*, nvmlVgpuProcessUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessUtilization)( 

6934 device, lastSeenTimeStamp, vgpuProcessSamplesCount, utilizationSamples) 

6935  

6936  

6937cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessesUtilizationInfo(nvmlDevice_t device, nvmlVgpuProcessesUtilizationInfo_t* vgpuProcUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6938 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

6939 _check_or_init_nvml() 

6940 if __nvmlDeviceGetVgpuProcessesUtilizationInfo == NULL: 

6941 with gil: 

6942 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessesUtilizationInfo is not found") 

6943 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessesUtilizationInfo)( 

6944 device, vgpuProcUtilInfo) 

6945  

6946  

6947cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6948 global __nvmlVgpuInstanceGetAccountingMode 

6949 _check_or_init_nvml() 

6950 if __nvmlVgpuInstanceGetAccountingMode == NULL: 

6951 with gil: 

6952 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingMode is not found") 

6953 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingMode)( 

6954 vgpuInstance, mode) 

6955  

6956  

6957cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingPids(nvmlVgpuInstance_t vgpuInstance, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6958 global __nvmlVgpuInstanceGetAccountingPids 

6959 _check_or_init_nvml() 

6960 if __nvmlVgpuInstanceGetAccountingPids == NULL: 

6961 with gil: 

6962 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingPids is not found") 

6963 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetAccountingPids)( 

6964 vgpuInstance, count, pids) 

6965  

6966  

6967cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingStats(nvmlVgpuInstance_t vgpuInstance, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6968 global __nvmlVgpuInstanceGetAccountingStats 

6969 _check_or_init_nvml() 

6970 if __nvmlVgpuInstanceGetAccountingStats == NULL: 

6971 with gil: 

6972 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingStats is not found") 

6973 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingStats)( 

6974 vgpuInstance, pid, stats) 

6975  

6976  

6977cdef nvmlReturn_t _nvmlVgpuInstanceClearAccountingPids(nvmlVgpuInstance_t vgpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6978 global __nvmlVgpuInstanceClearAccountingPids 

6979 _check_or_init_nvml() 

6980 if __nvmlVgpuInstanceClearAccountingPids == NULL: 

6981 with gil: 

6982 raise FunctionNotFoundError("function nvmlVgpuInstanceClearAccountingPids is not found") 

6983 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t) noexcept nogil>__nvmlVgpuInstanceClearAccountingPids)( 

6984 vgpuInstance) 

6985  

6986  

6987cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseInfo_v2(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuLicenseInfo_t* licenseInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6988 global __nvmlVgpuInstanceGetLicenseInfo_v2 

6989 _check_or_init_nvml() 

6990 if __nvmlVgpuInstanceGetLicenseInfo_v2 == NULL: 

6991 with gil: 

6992 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseInfo_v2 is not found") 

6993 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuLicenseInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetLicenseInfo_v2)( 

6994 vgpuInstance, licenseInfo) 

6995  

6996  

6997cdef nvmlReturn_t _nvmlGetExcludedDeviceCount(unsigned int* deviceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6998 global __nvmlGetExcludedDeviceCount 

6999 _check_or_init_nvml() 

7000 if __nvmlGetExcludedDeviceCount == NULL: 

7001 with gil: 

7002 raise FunctionNotFoundError("function nvmlGetExcludedDeviceCount is not found") 

7003 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlGetExcludedDeviceCount)( 

7004 deviceCount) 

7005  

7006  

7007cdef nvmlReturn_t _nvmlGetExcludedDeviceInfoByIndex(unsigned int index, nvmlExcludedDeviceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7008 global __nvmlGetExcludedDeviceInfoByIndex 

7009 _check_or_init_nvml() 

7010 if __nvmlGetExcludedDeviceInfoByIndex == NULL: 

7011 with gil: 

7012 raise FunctionNotFoundError("function nvmlGetExcludedDeviceInfoByIndex is not found") 

7013 return (<nvmlReturn_t (*)(unsigned int, nvmlExcludedDeviceInfo_t*) noexcept nogil>__nvmlGetExcludedDeviceInfoByIndex)( 

7014 index, info) 

7015  

7016  

7017cdef nvmlReturn_t _nvmlDeviceSetMigMode(nvmlDevice_t device, unsigned int mode, nvmlReturn_t* activationStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7018 global __nvmlDeviceSetMigMode 

7019 _check_or_init_nvml() 

7020 if __nvmlDeviceSetMigMode == NULL: 

7021 with gil: 

7022 raise FunctionNotFoundError("function nvmlDeviceSetMigMode is not found") 

7023 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlReturn_t*) noexcept nogil>__nvmlDeviceSetMigMode)( 

7024 device, mode, activationStatus) 

7025  

7026  

7027cdef nvmlReturn_t _nvmlDeviceGetMigMode(nvmlDevice_t device, unsigned int* currentMode, unsigned int* pendingMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7028 global __nvmlDeviceGetMigMode 

7029 _check_or_init_nvml() 1B

7030 if __nvmlDeviceGetMigMode == NULL: 1B

7031 with gil: 

7032 raise FunctionNotFoundError("function nvmlDeviceGetMigMode is not found") 

7033 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetMigMode)( 1B

7034 device, currentMode, pendingMode) 

7035  

7036  

7037cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoV(nvmlDevice_t device, unsigned int profile, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7038 global __nvmlDeviceGetGpuInstanceProfileInfoV 

7039 _check_or_init_nvml() 

7040 if __nvmlDeviceGetGpuInstanceProfileInfoV == NULL: 

7041 with gil: 

7042 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoV is not found") 

7043 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoV)( 

7044 device, profile, info) 

7045  

7046  

7047cdef nvmlReturn_t _nvmlDeviceGetGpuInstancePossiblePlacements_v2(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7048 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

7049 _check_or_init_nvml() 

7050 if __nvmlDeviceGetGpuInstancePossiblePlacements_v2 == NULL: 

7051 with gil: 

7052 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstancePossiblePlacements_v2 is not found") 

7053 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstancePossiblePlacements_v2)( 

7054 device, profileId, placements, count) 

7055  

7056  

7057cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceRemainingCapacity(nvmlDevice_t device, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7058 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

7059 _check_or_init_nvml() 

7060 if __nvmlDeviceGetGpuInstanceRemainingCapacity == NULL: 

7061 with gil: 

7062 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceRemainingCapacity is not found") 

7063 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceRemainingCapacity)( 

7064 device, profileId, count) 

7065  

7066  

7067cdef nvmlReturn_t _nvmlDeviceCreateGpuInstance(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7068 global __nvmlDeviceCreateGpuInstance 

7069 _check_or_init_nvml() 

7070 if __nvmlDeviceCreateGpuInstance == NULL: 

7071 with gil: 

7072 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstance is not found") 

7073 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstance)( 

7074 device, profileId, gpuInstance) 

7075  

7076  

7077cdef nvmlReturn_t _nvmlDeviceCreateGpuInstanceWithPlacement(nvmlDevice_t device, unsigned int profileId, const nvmlGpuInstancePlacement_t* placement, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7078 global __nvmlDeviceCreateGpuInstanceWithPlacement 

7079 _check_or_init_nvml() 

7080 if __nvmlDeviceCreateGpuInstanceWithPlacement == NULL: 

7081 with gil: 

7082 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstanceWithPlacement is not found") 

7083 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, const nvmlGpuInstancePlacement_t*, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstanceWithPlacement)( 

7084 device, profileId, placement, gpuInstance) 

7085  

7086  

7087cdef nvmlReturn_t _nvmlGpuInstanceDestroy(nvmlGpuInstance_t gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7088 global __nvmlGpuInstanceDestroy 

7089 _check_or_init_nvml() 

7090 if __nvmlGpuInstanceDestroy == NULL: 

7091 with gil: 

7092 raise FunctionNotFoundError("function nvmlGpuInstanceDestroy is not found") 

7093 return (<nvmlReturn_t (*)(nvmlGpuInstance_t) noexcept nogil>__nvmlGpuInstanceDestroy)( 

7094 gpuInstance) 

7095  

7096  

7097cdef nvmlReturn_t _nvmlDeviceGetGpuInstances(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7098 global __nvmlDeviceGetGpuInstances 

7099 _check_or_init_nvml() 

7100 if __nvmlDeviceGetGpuInstances == NULL: 

7101 with gil: 

7102 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstances is not found") 

7103 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstances)( 

7104 device, profileId, gpuInstances, count) 

7105  

7106  

7107cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceById(nvmlDevice_t device, unsigned int id, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7108 global __nvmlDeviceGetGpuInstanceById 

7109 _check_or_init_nvml() 

7110 if __nvmlDeviceGetGpuInstanceById == NULL: 

7111 with gil: 

7112 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceById is not found") 

7113 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceById)( 

7114 device, id, gpuInstance) 

7115  

7116  

7117cdef nvmlReturn_t _nvmlGpuInstanceGetInfo(nvmlGpuInstance_t gpuInstance, nvmlGpuInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7118 global __nvmlGpuInstanceGetInfo 

7119 _check_or_init_nvml() 

7120 if __nvmlGpuInstanceGetInfo == NULL: 

7121 with gil: 

7122 raise FunctionNotFoundError("function nvmlGpuInstanceGetInfo is not found") 

7123 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlGpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetInfo)( 

7124 gpuInstance, info) 

7125  

7126  

7127cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceProfileInfoV(nvmlGpuInstance_t gpuInstance, unsigned int profile, unsigned int engProfile, nvmlComputeInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7128 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

7129 _check_or_init_nvml() 

7130 if __nvmlGpuInstanceGetComputeInstanceProfileInfoV == NULL: 

7131 with gil: 

7132 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceProfileInfoV is not found") 

7133 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int, nvmlComputeInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceProfileInfoV)( 

7134 gpuInstance, profile, engProfile, info) 

7135  

7136  

7137cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceRemainingCapacity(nvmlGpuInstance_t gpuInstance, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7138 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

7139 _check_or_init_nvml() 

7140 if __nvmlGpuInstanceGetComputeInstanceRemainingCapacity == NULL: 

7141 with gil: 

7142 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceRemainingCapacity is not found") 

7143 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceRemainingCapacity)( 

7144 gpuInstance, profileId, count) 

7145  

7146  

7147cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstancePossiblePlacements(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7148 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

7149 _check_or_init_nvml() 

7150 if __nvmlGpuInstanceGetComputeInstancePossiblePlacements == NULL: 

7151 with gil: 

7152 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstancePossiblePlacements is not found") 

7153 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstancePossiblePlacements)( 

7154 gpuInstance, profileId, placements, count) 

7155  

7156  

7157cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstance(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7158 global __nvmlGpuInstanceCreateComputeInstance 

7159 _check_or_init_nvml() 

7160 if __nvmlGpuInstanceCreateComputeInstance == NULL: 

7161 with gil: 

7162 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstance is not found") 

7163 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstance)( 

7164 gpuInstance, profileId, computeInstance) 

7165  

7166  

7167cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstanceWithPlacement(nvmlGpuInstance_t gpuInstance, unsigned int profileId, const nvmlComputeInstancePlacement_t* placement, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7168 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

7169 _check_or_init_nvml() 

7170 if __nvmlGpuInstanceCreateComputeInstanceWithPlacement == NULL: 

7171 with gil: 

7172 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstanceWithPlacement is not found") 

7173 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, const nvmlComputeInstancePlacement_t*, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstanceWithPlacement)( 

7174 gpuInstance, profileId, placement, computeInstance) 

7175  

7176  

7177cdef nvmlReturn_t _nvmlComputeInstanceDestroy(nvmlComputeInstance_t computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7178 global __nvmlComputeInstanceDestroy 

7179 _check_or_init_nvml() 

7180 if __nvmlComputeInstanceDestroy == NULL: 

7181 with gil: 

7182 raise FunctionNotFoundError("function nvmlComputeInstanceDestroy is not found") 

7183 return (<nvmlReturn_t (*)(nvmlComputeInstance_t) noexcept nogil>__nvmlComputeInstanceDestroy)( 

7184 computeInstance) 

7185  

7186  

7187cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstances(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7188 global __nvmlGpuInstanceGetComputeInstances 

7189 _check_or_init_nvml() 

7190 if __nvmlGpuInstanceGetComputeInstances == NULL: 

7191 with gil: 

7192 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstances is not found") 

7193 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstances)( 

7194 gpuInstance, profileId, computeInstances, count) 

7195  

7196  

7197cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceById(nvmlGpuInstance_t gpuInstance, unsigned int id, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7198 global __nvmlGpuInstanceGetComputeInstanceById 

7199 _check_or_init_nvml() 

7200 if __nvmlGpuInstanceGetComputeInstanceById == NULL: 

7201 with gil: 

7202 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceById is not found") 

7203 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceById)( 

7204 gpuInstance, id, computeInstance) 

7205  

7206  

7207cdef nvmlReturn_t _nvmlComputeInstanceGetInfo_v2(nvmlComputeInstance_t computeInstance, nvmlComputeInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7208 global __nvmlComputeInstanceGetInfo_v2 

7209 _check_or_init_nvml() 

7210 if __nvmlComputeInstanceGetInfo_v2 == NULL: 

7211 with gil: 

7212 raise FunctionNotFoundError("function nvmlComputeInstanceGetInfo_v2 is not found") 

7213 return (<nvmlReturn_t (*)(nvmlComputeInstance_t, nvmlComputeInstanceInfo_t*) noexcept nogil>__nvmlComputeInstanceGetInfo_v2)( 

7214 computeInstance, info) 

7215  

7216  

7217cdef nvmlReturn_t _nvmlDeviceIsMigDeviceHandle(nvmlDevice_t device, unsigned int* isMigDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7218 global __nvmlDeviceIsMigDeviceHandle 

7219 _check_or_init_nvml() 1zB

7220 if __nvmlDeviceIsMigDeviceHandle == NULL: 1zB

7221 with gil: 

7222 raise FunctionNotFoundError("function nvmlDeviceIsMigDeviceHandle is not found") 

7223 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceIsMigDeviceHandle)( 1zB

7224 device, isMigDevice) 

7225  

7226  

7227cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7228 global __nvmlDeviceGetGpuInstanceId 

7229 _check_or_init_nvml() 

7230 if __nvmlDeviceGetGpuInstanceId == NULL: 

7231 with gil: 

7232 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceId is not found") 

7233 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceId)( 

7234 device, id) 

7235  

7236  

7237cdef nvmlReturn_t _nvmlDeviceGetComputeInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7238 global __nvmlDeviceGetComputeInstanceId 

7239 _check_or_init_nvml() 

7240 if __nvmlDeviceGetComputeInstanceId == NULL: 

7241 with gil: 

7242 raise FunctionNotFoundError("function nvmlDeviceGetComputeInstanceId is not found") 

7243 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetComputeInstanceId)( 

7244 device, id) 

7245  

7246  

7247cdef nvmlReturn_t _nvmlDeviceGetMaxMigDeviceCount(nvmlDevice_t device, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7248 global __nvmlDeviceGetMaxMigDeviceCount 

7249 _check_or_init_nvml() 1hB

7250 if __nvmlDeviceGetMaxMigDeviceCount == NULL: 1hB

7251 with gil: 

7252 raise FunctionNotFoundError("function nvmlDeviceGetMaxMigDeviceCount is not found") 

7253 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxMigDeviceCount)( 1hB

7254 device, count) 

7255  

7256  

7257cdef nvmlReturn_t _nvmlDeviceGetMigDeviceHandleByIndex(nvmlDevice_t device, unsigned int index, nvmlDevice_t* migDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7258 global __nvmlDeviceGetMigDeviceHandleByIndex 

7259 _check_or_init_nvml() 

7260 if __nvmlDeviceGetMigDeviceHandleByIndex == NULL: 

7261 with gil: 

7262 raise FunctionNotFoundError("function nvmlDeviceGetMigDeviceHandleByIndex is not found") 

7263 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetMigDeviceHandleByIndex)( 

7264 device, index, migDevice) 

7265  

7266  

7267cdef nvmlReturn_t _nvmlDeviceGetDeviceHandleFromMigDeviceHandle(nvmlDevice_t migDevice, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7268 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

7269 _check_or_init_nvml() 

7270 if __nvmlDeviceGetDeviceHandleFromMigDeviceHandle == NULL: 

7271 with gil: 

7272 raise FunctionNotFoundError("function nvmlDeviceGetDeviceHandleFromMigDeviceHandle is not found") 

7273 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetDeviceHandleFromMigDeviceHandle)( 

7274 migDevice, device) 

7275  

7276  

7277cdef nvmlReturn_t _nvmlDeviceGetCapabilities(nvmlDevice_t device, nvmlDeviceCapabilities_t* caps) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7278 global __nvmlDeviceGetCapabilities 

7279 _check_or_init_nvml() 2Tb

7280 if __nvmlDeviceGetCapabilities == NULL: 2Tb

7281 with gil: 

7282 raise FunctionNotFoundError("function nvmlDeviceGetCapabilities is not found") 

7283 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCapabilities_t*) noexcept nogil>__nvmlDeviceGetCapabilities)( 2Tb

7284 device, caps) 

7285  

7286  

7287cdef nvmlReturn_t _nvmlDevicePowerSmoothingActivatePresetProfile(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7288 global __nvmlDevicePowerSmoothingActivatePresetProfile 

7289 _check_or_init_nvml() 

7290 if __nvmlDevicePowerSmoothingActivatePresetProfile == NULL: 

7291 with gil: 

7292 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingActivatePresetProfile is not found") 

7293 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingActivatePresetProfile)( 

7294 device, profile) 

7295  

7296  

7297cdef nvmlReturn_t _nvmlDevicePowerSmoothingUpdatePresetProfileParam(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7298 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

7299 _check_or_init_nvml() 

7300 if __nvmlDevicePowerSmoothingUpdatePresetProfileParam == NULL: 

7301 with gil: 

7302 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingUpdatePresetProfileParam is not found") 

7303 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingUpdatePresetProfileParam)( 

7304 device, profile) 

7305  

7306  

7307cdef nvmlReturn_t _nvmlDevicePowerSmoothingSetState(nvmlDevice_t device, nvmlPowerSmoothingState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7308 global __nvmlDevicePowerSmoothingSetState 

7309 _check_or_init_nvml() 

7310 if __nvmlDevicePowerSmoothingSetState == NULL: 

7311 with gil: 

7312 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingSetState is not found") 

7313 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingState_t*) noexcept nogil>__nvmlDevicePowerSmoothingSetState)( 

7314 device, state) 

7315  

7316  

7317cdef nvmlReturn_t _nvmlDeviceGetAddressingMode(nvmlDevice_t device, nvmlDeviceAddressingMode_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7318 global __nvmlDeviceGetAddressingMode 

7319 _check_or_init_nvml() 1)

7320 if __nvmlDeviceGetAddressingMode == NULL: 1)

7321 with gil: 

7322 raise FunctionNotFoundError("function nvmlDeviceGetAddressingMode is not found") 

7323 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceAddressingMode_t*) noexcept nogil>__nvmlDeviceGetAddressingMode)( 1)

7324 device, mode) 

7325  

7326  

7327cdef nvmlReturn_t _nvmlDeviceGetRepairStatus(nvmlDevice_t device, nvmlRepairStatus_t* repairStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7328 global __nvmlDeviceGetRepairStatus 

7329 _check_or_init_nvml() 1;

7330 if __nvmlDeviceGetRepairStatus == NULL: 1;

7331 with gil: 

7332 raise FunctionNotFoundError("function nvmlDeviceGetRepairStatus is not found") 

7333 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRepairStatus_t*) noexcept nogil>__nvmlDeviceGetRepairStatus)( 1;

7334 device, repairStatus) 

7335  

7336  

7337cdef nvmlReturn_t _nvmlDeviceGetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7338 global __nvmlDeviceGetPowerMizerMode_v1 

7339 _check_or_init_nvml() 

7340 if __nvmlDeviceGetPowerMizerMode_v1 == NULL: 

7341 with gil: 

7342 raise FunctionNotFoundError("function nvmlDeviceGetPowerMizerMode_v1 is not found") 

7343 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceGetPowerMizerMode_v1)( 

7344 device, powerMizerMode) 

7345  

7346  

7347cdef nvmlReturn_t _nvmlDeviceSetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7348 global __nvmlDeviceSetPowerMizerMode_v1 

7349 _check_or_init_nvml() 

7350 if __nvmlDeviceSetPowerMizerMode_v1 == NULL: 

7351 with gil: 

7352 raise FunctionNotFoundError("function nvmlDeviceSetPowerMizerMode_v1 is not found") 

7353 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceSetPowerMizerMode_v1)( 

7354 device, powerMizerMode) 

7355  

7356  

7357cdef nvmlReturn_t _nvmlDeviceGetPdi(nvmlDevice_t device, nvmlPdi_t* pdi) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7358 global __nvmlDeviceGetPdi 

7359 _check_or_init_nvml() 2Vb

7360 if __nvmlDeviceGetPdi == NULL: 2Vb

7361 with gil: 

7362 raise FunctionNotFoundError("function nvmlDeviceGetPdi is not found") 

7363 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPdi_t*) noexcept nogil>__nvmlDeviceGetPdi)( 2Vb

7364 device, pdi) 

7365  

7366  

7367cdef nvmlReturn_t _nvmlDeviceSetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7368 global __nvmlDeviceSetHostname_v1 

7369 _check_or_init_nvml() 

7370 if __nvmlDeviceSetHostname_v1 == NULL: 

7371 with gil: 

7372 raise FunctionNotFoundError("function nvmlDeviceSetHostname_v1 is not found") 

7373 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceSetHostname_v1)( 

7374 device, hostname) 

7375  

7376  

7377cdef nvmlReturn_t _nvmlDeviceGetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7378 global __nvmlDeviceGetHostname_v1 

7379 _check_or_init_nvml() 

7380 if __nvmlDeviceGetHostname_v1 == NULL: 

7381 with gil: 

7382 raise FunctionNotFoundError("function nvmlDeviceGetHostname_v1 is not found") 

7383 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceGetHostname_v1)( 

7384 device, hostname) 

7385  

7386  

7387cdef nvmlReturn_t _nvmlDeviceGetNvLinkInfo(nvmlDevice_t device, nvmlNvLinkInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7388 global __nvmlDeviceGetNvLinkInfo 

7389 _check_or_init_nvml() 

7390 if __nvmlDeviceGetNvLinkInfo == NULL: 

7391 with gil: 

7392 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkInfo is not found") 

7393 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkInfo)( 

7394 device, info) 

7395  

7396  

7397cdef nvmlReturn_t _nvmlDeviceReadWritePRM_v1(nvmlDevice_t device, nvmlPRMTLV_v1_t* buffer) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7398 global __nvmlDeviceReadWritePRM_v1 

7399 _check_or_init_nvml() 1u

7400 if __nvmlDeviceReadWritePRM_v1 == NULL: 1u

7401 with gil: 

7402 raise FunctionNotFoundError("function nvmlDeviceReadWritePRM_v1 is not found") 

7403 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMTLV_v1_t*) noexcept nogil>__nvmlDeviceReadWritePRM_v1)( 1u

7404 device, buffer) 

7405  

7406  

7407cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoByIdV(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7408 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

7409 _check_or_init_nvml() 

7410 if __nvmlDeviceGetGpuInstanceProfileInfoByIdV == NULL: 

7411 with gil: 

7412 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoByIdV is not found") 

7413 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoByIdV)( 

7414 device, profileId, info) 

7415  

7416  

7417cdef nvmlReturn_t _nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts(nvmlDevice_t device, nvmlEccSramUniqueUncorrectedErrorCounts_t* errorCounts) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7418 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

7419 _check_or_init_nvml() 

7420 if __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts == NULL: 

7421 with gil: 

7422 raise FunctionNotFoundError("function nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts is not found") 

7423 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramUniqueUncorrectedErrorCounts_t*) noexcept nogil>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts)( 

7424 device, errorCounts) 

7425  

7426  

7427cdef nvmlReturn_t _nvmlDeviceGetUnrepairableMemoryFlag_v1(nvmlDevice_t device, nvmlUnrepairableMemoryStatus_v1_t* unrepairableMemoryStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7428 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

7429 _check_or_init_nvml() 1k

7430 if __nvmlDeviceGetUnrepairableMemoryFlag_v1 == NULL: 1k

7431 with gil: 

7432 raise FunctionNotFoundError("function nvmlDeviceGetUnrepairableMemoryFlag_v1 is not found") 

7433 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUnrepairableMemoryStatus_v1_t*) noexcept nogil>__nvmlDeviceGetUnrepairableMemoryFlag_v1)( 1k

7434 device, unrepairableMemoryStatus) 

7435  

7436  

7437cdef nvmlReturn_t _nvmlDeviceReadPRMCounters_v1(nvmlDevice_t device, nvmlPRMCounterList_v1_t* counterList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7438 global __nvmlDeviceReadPRMCounters_v1 

7439 _check_or_init_nvml() 1M

7440 if __nvmlDeviceReadPRMCounters_v1 == NULL: 1M

7441 with gil: 

7442 raise FunctionNotFoundError("function nvmlDeviceReadPRMCounters_v1 is not found") 

7443 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMCounterList_v1_t*) noexcept nogil>__nvmlDeviceReadPRMCounters_v1)( 1M

7444 device, counterList) 

7445  

7446  

7447cdef nvmlReturn_t _nvmlDeviceSetRusdSettings_v1(nvmlDevice_t device, nvmlRusdSettings_v1_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7448 global __nvmlDeviceSetRusdSettings_v1 

7449 _check_or_init_nvml() 

7450 if __nvmlDeviceSetRusdSettings_v1 == NULL: 

7451 with gil: 

7452 raise FunctionNotFoundError("function nvmlDeviceSetRusdSettings_v1 is not found") 

7453 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRusdSettings_v1_t*) noexcept nogil>__nvmlDeviceSetRusdSettings_v1)( 

7454 device, settings) 

7455  

7456  

7457cdef nvmlReturn_t _nvmlDeviceVgpuForceGspUnload(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7458 global __nvmlDeviceVgpuForceGspUnload 

7459 _check_or_init_nvml() 

7460 if __nvmlDeviceVgpuForceGspUnload == NULL: 

7461 with gil: 

7462 raise FunctionNotFoundError("function nvmlDeviceVgpuForceGspUnload is not found") 

7463 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceVgpuForceGspUnload)( 

7464 device) 

7465  

7466  

7467cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerStateInfo_v2_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7468 global __nvmlDeviceGetVgpuSchedulerState_v2 

7469 _check_or_init_nvml() 

7470 if __nvmlDeviceGetVgpuSchedulerState_v2 == NULL: 

7471 with gil: 

7472 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerState_v2 is not found") 

7473 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerStateInfo_v2_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerState_v2)( 

7474 device, pSchedulerStateInfo) 

7475  

7476  

7477cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerStateInfo_v2_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7478 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 

7479 _check_or_init_nvml() 

7480 if __nvmlGpuInstanceGetVgpuSchedulerState_v2 == NULL: 

7481 with gil: 

7482 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerState_v2 is not found") 

7483 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerStateInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerState_v2)( 

7484 gpuInstance, pSchedulerStateInfo) 

7485  

7486  

7487cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog_v2(nvmlDevice_t device, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7488 global __nvmlDeviceGetVgpuSchedulerLog_v2 

7489 _check_or_init_nvml() 

7490 if __nvmlDeviceGetVgpuSchedulerLog_v2 == NULL: 

7491 with gil: 

7492 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerLog_v2 is not found") 

7493 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerLogInfo_v2_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerLog_v2)( 

7494 device, pSchedulerLogInfo) 

7495  

7496  

7497cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7498 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 

7499 _check_or_init_nvml() 

7500 if __nvmlGpuInstanceGetVgpuSchedulerLog_v2 == NULL: 

7501 with gil: 

7502 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerLog_v2 is not found") 

7503 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerLogInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerLog_v2)( 

7504 gpuInstance, pSchedulerLogInfo) 

7505  

7506  

7507cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7508 global __nvmlDeviceSetVgpuSchedulerState_v2 

7509 _check_or_init_nvml() 

7510 if __nvmlDeviceSetVgpuSchedulerState_v2 == NULL: 

7511 with gil: 

7512 raise FunctionNotFoundError("function nvmlDeviceSetVgpuSchedulerState_v2 is not found") 

7513 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerState_v2_t*) noexcept nogil>__nvmlDeviceSetVgpuSchedulerState_v2)( 

7514 device, pSchedulerState) 

7515  

7516  

7517cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7518 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 

7519 _check_or_init_nvml() 

7520 if __nvmlGpuInstanceSetVgpuSchedulerState_v2 == NULL: 

7521 with gil: 

7522 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState_v2 is not found") 

7523 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerState_v2_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuSchedulerState_v2)( 

7524 gpuInstance, pSchedulerState) 

7525  

7526  

7527cdef nvmlReturn_t _nvmlSystemGetCPER_v1(nvmlGetCPER_v1_t* cper) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7528 global __nvmlSystemGetCPER_v1 

7529 _check_or_init_nvml() 

7530 if __nvmlSystemGetCPER_v1 == NULL: 

7531 with gil: 

7532 raise FunctionNotFoundError("function nvmlSystemGetCPER_v1 is not found") 

7533 return (<nvmlReturn_t (*)(nvmlGetCPER_v1_t*) noexcept nogil>__nvmlSystemGetCPER_v1)( 

7534 cper) 

7535  

7536  

7537cdef nvmlReturn_t _nvmlDeviceGetBBXTimeData_v1(nvmlDevice_t device, nvmlBBXTimeData_v1_t* timeData) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7538 global __nvmlDeviceGetBBXTimeData_v1 

7539 _check_or_init_nvml() 

7540 if __nvmlDeviceGetBBXTimeData_v1 == NULL: 

7541 with gil: 

7542 raise FunctionNotFoundError("function nvmlDeviceGetBBXTimeData_v1 is not found") 

7543 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBBXTimeData_v1_t*) noexcept nogil>__nvmlDeviceGetBBXTimeData_v1)( 

7544 device, timeData) 

7545  

7546  

7547cdef nvmlReturn_t _nvmlDeviceGetAccountingStats_v2(nvmlDevice_t device, nvmlAccountingStats_v2_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7548 global __nvmlDeviceGetAccountingStats_v2 

7549 _check_or_init_nvml() 

7550 if __nvmlDeviceGetAccountingStats_v2 == NULL: 

7551 with gil: 

7552 raise FunctionNotFoundError("function nvmlDeviceGetAccountingStats_v2 is not found") 

7553 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlAccountingStats_v2_t*) noexcept nogil>__nvmlDeviceGetAccountingStats_v2)( 

7554 device, stats) 

7555  

7556  

7557cdef nvmlReturn_t _nvmlDeviceGetRemappedRows_v2(nvmlDevice_t device, nvmlRemappedRowsInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7558 global __nvmlDeviceGetRemappedRows_v2 

7559 _check_or_init_nvml() 

7560 if __nvmlDeviceGetRemappedRows_v2 == NULL: 

7561 with gil: 

7562 raise FunctionNotFoundError("function nvmlDeviceGetRemappedRows_v2 is not found") 

7563 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRemappedRowsInfo_v2_t*) noexcept nogil>__nvmlDeviceGetRemappedRows_v2)( 

7564 device, info)