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

3063 statements  

« prev     ^ index     » next       coverage.py v7.18.0, created at 2026-12-03 01:06 +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.5.0. Do not modify it directly. 

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

7  

8  

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

10  

11from libc.stdint cimport intptr_t 

12  

13cdef extern from * nogil: 

14 """ 

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

16 #include <intrin.h> 

17 static __forceinline int atomic_int_load(int *p) { 

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

19 } 

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

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

22 } 

23 #elif defined(__cplusplus) 

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

25 static inline int atomic_int_load(int *p) { 

26 return __atomic_load_n(p, __ATOMIC_ACQUIRE); 

27 } 

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

29 __atomic_store_n(p, v, __ATOMIC_RELEASE); 

30 } 

31 #else 

32 #include <stdatomic.h> 

33 static inline int atomic_int_load(int *p) { 

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

35 } 

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

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

38 } 

39 #endif 

40  

41 """ 

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

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

44  

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

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

47 const void * _cyb_RTLD_DEFAULT "RTLD_DEFAULT" 

48  

49import threading as _cyb_threading 

50  

51cdef int _cyb___py_nvml_init = 0 

52cdef dict _cyb_func_ptrs = None 

53cdef object _cyb_symbol_lock = _cyb_threading.Lock() 

54  

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

56  

57from libc.stdint cimport uintptr_t 

58  

59from .utils import FunctionNotFoundError, NotSupportedError 

60from cuda.pathfinder import load_nvidia_dynamic_lib 

61  

62  

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

64# Wrapper init 

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

66  

67cdef void* __nvmlInit_v2 = NULL 

68cdef void* __nvmlInitWithFlags = NULL 

69cdef void* __nvmlShutdown = NULL 

70cdef void* __nvmlErrorString = NULL 

71cdef void* __nvmlSystemGetDriverVersion = NULL 

72cdef void* __nvmlSystemGetNVMLVersion = NULL 

73cdef void* __nvmlSystemGetCudaDriverVersion = NULL 

74cdef void* __nvmlSystemGetCudaDriverVersion_v2 = NULL 

75cdef void* __nvmlSystemGetProcessName = NULL 

76cdef void* __nvmlSystemGetHicVersion = NULL 

77cdef void* __nvmlSystemGetTopologyGpuSet = NULL 

78cdef void* __nvmlSystemGetDriverBranch = NULL 

79cdef void* __nvmlUnitGetCount = NULL 

80cdef void* __nvmlUnitGetHandleByIndex = NULL 

81cdef void* __nvmlUnitGetUnitInfo = NULL 

82cdef void* __nvmlUnitGetLedState = NULL 

83cdef void* __nvmlUnitGetPsuInfo = NULL 

84cdef void* __nvmlUnitGetTemperature = NULL 

85cdef void* __nvmlUnitGetFanSpeedInfo = NULL 

86cdef void* __nvmlUnitGetDevices = NULL 

87cdef void* __nvmlDeviceGetCount_v2 = NULL 

88cdef void* __nvmlDeviceGetAttributes_v2 = NULL 

89cdef void* __nvmlDeviceGetHandleByIndex_v2 = NULL 

90cdef void* __nvmlDeviceGetHandleBySerial = NULL 

91cdef void* __nvmlDeviceGetHandleByUUID = NULL 

92cdef void* __nvmlDeviceGetHandleByUUIDV = NULL 

93cdef void* __nvmlDeviceGetHandleByPciBusId_v2 = NULL 

94cdef void* __nvmlDeviceGetName = NULL 

95cdef void* __nvmlDeviceGetBrand = NULL 

96cdef void* __nvmlDeviceGetIndex = NULL 

97cdef void* __nvmlDeviceGetSerial = NULL 

98cdef void* __nvmlDeviceGetModuleId = NULL 

99cdef void* __nvmlDeviceGetC2cModeInfoV = NULL 

100cdef void* __nvmlDeviceGetMemoryAffinity = NULL 

101cdef void* __nvmlDeviceGetCpuAffinityWithinScope = NULL 

102cdef void* __nvmlDeviceGetCpuAffinity = NULL 

103cdef void* __nvmlDeviceSetCpuAffinity = NULL 

104cdef void* __nvmlDeviceClearCpuAffinity = NULL 

105cdef void* __nvmlDeviceGetNumaNodeId = NULL 

106cdef void* __nvmlDeviceGetTopologyCommonAncestor = NULL 

107cdef void* __nvmlDeviceGetTopologyNearestGpus = NULL 

108cdef void* __nvmlDeviceGetP2PStatus = NULL 

109cdef void* __nvmlDeviceGetUUID = NULL 

110cdef void* __nvmlDeviceGetMinorNumber = NULL 

111cdef void* __nvmlDeviceGetBoardPartNumber = NULL 

112cdef void* __nvmlDeviceGetInforomVersion = NULL 

113cdef void* __nvmlDeviceGetInforomImageVersion = NULL 

114cdef void* __nvmlDeviceGetInforomConfigurationChecksum = NULL 

115cdef void* __nvmlDeviceValidateInforom = NULL 

116cdef void* __nvmlDeviceGetLastBBXFlushTime = NULL 

117cdef void* __nvmlDeviceGetDisplayMode = NULL 

118cdef void* __nvmlDeviceGetDisplayActive = NULL 

119cdef void* __nvmlDeviceGetPersistenceMode = NULL 

120cdef void* __nvmlDeviceGetPciInfoExt = NULL 

121cdef void* __nvmlDeviceGetPciInfo_v3 = NULL 

122cdef void* __nvmlDeviceGetMaxPcieLinkGeneration = NULL 

123cdef void* __nvmlDeviceGetGpuMaxPcieLinkGeneration = NULL 

124cdef void* __nvmlDeviceGetMaxPcieLinkWidth = NULL 

125cdef void* __nvmlDeviceGetCurrPcieLinkGeneration = NULL 

126cdef void* __nvmlDeviceGetCurrPcieLinkWidth = NULL 

127cdef void* __nvmlDeviceGetPcieThroughput = NULL 

128cdef void* __nvmlDeviceGetPcieReplayCounter = NULL 

129cdef void* __nvmlDeviceGetClockInfo = NULL 

130cdef void* __nvmlDeviceGetMaxClockInfo = NULL 

131cdef void* __nvmlDeviceGetGpcClkVfOffset = NULL 

132cdef void* __nvmlDeviceGetClock = NULL 

133cdef void* __nvmlDeviceGetMaxCustomerBoostClock = NULL 

134cdef void* __nvmlDeviceGetSupportedMemoryClocks = NULL 

135cdef void* __nvmlDeviceGetSupportedGraphicsClocks = NULL 

136cdef void* __nvmlDeviceGetAutoBoostedClocksEnabled = NULL 

137cdef void* __nvmlDeviceGetFanSpeed = NULL 

138cdef void* __nvmlDeviceGetFanSpeed_v2 = NULL 

139cdef void* __nvmlDeviceGetFanSpeedRPM = NULL 

140cdef void* __nvmlDeviceGetTargetFanSpeed = NULL 

141cdef void* __nvmlDeviceGetMinMaxFanSpeed = NULL 

142cdef void* __nvmlDeviceGetFanControlPolicy_v2 = NULL 

143cdef void* __nvmlDeviceGetNumFans = NULL 

144cdef void* __nvmlDeviceGetCoolerInfo = NULL 

145cdef void* __nvmlDeviceGetTemperatureV = NULL 

146cdef void* __nvmlDeviceGetTemperatureThreshold = NULL 

147cdef void* __nvmlDeviceGetMarginTemperature = NULL 

148cdef void* __nvmlDeviceGetThermalSettings = NULL 

149cdef void* __nvmlDeviceGetPerformanceState = NULL 

150cdef void* __nvmlDeviceGetCurrentClocksEventReasons = NULL 

151cdef void* __nvmlDeviceGetSupportedClocksEventReasons = NULL 

152cdef void* __nvmlDeviceGetPowerState = NULL 

153cdef void* __nvmlDeviceGetDynamicPstatesInfo = NULL 

154cdef void* __nvmlDeviceGetMemClkVfOffset = NULL 

155cdef void* __nvmlDeviceGetMinMaxClockOfPState = NULL 

156cdef void* __nvmlDeviceGetSupportedPerformanceStates = NULL 

157cdef void* __nvmlDeviceGetGpcClkMinMaxVfOffset = NULL 

158cdef void* __nvmlDeviceGetMemClkMinMaxVfOffset = NULL 

159cdef void* __nvmlDeviceGetClockOffsets = NULL 

160cdef void* __nvmlDeviceSetClockOffsets = NULL 

161cdef void* __nvmlDeviceGetPerformanceModes = NULL 

162cdef void* __nvmlDeviceGetCurrentClockFreqs = NULL 

163cdef void* __nvmlDeviceGetPowerManagementLimit = NULL 

164cdef void* __nvmlDeviceGetPowerManagementLimitConstraints = NULL 

165cdef void* __nvmlDeviceGetPowerManagementDefaultLimit = NULL 

166cdef void* __nvmlDeviceGetPowerUsage = NULL 

167cdef void* __nvmlDeviceGetTotalEnergyConsumption = NULL 

168cdef void* __nvmlDeviceGetEnforcedPowerLimit = NULL 

169cdef void* __nvmlDeviceGetGpuOperationMode = NULL 

170cdef void* __nvmlDeviceGetMemoryInfo_v2 = NULL 

171cdef void* __nvmlDeviceGetComputeMode = NULL 

172cdef void* __nvmlDeviceGetCudaComputeCapability = NULL 

173cdef void* __nvmlDeviceGetDramEncryptionMode = NULL 

174cdef void* __nvmlDeviceSetDramEncryptionMode = NULL 

175cdef void* __nvmlDeviceGetEccMode = NULL 

176cdef void* __nvmlDeviceGetDefaultEccMode = NULL 

177cdef void* __nvmlDeviceGetBoardId = NULL 

178cdef void* __nvmlDeviceGetMultiGpuBoard = NULL 

179cdef void* __nvmlDeviceGetTotalEccErrors = NULL 

180cdef void* __nvmlDeviceGetMemoryErrorCounter = NULL 

181cdef void* __nvmlDeviceGetUtilizationRates = NULL 

182cdef void* __nvmlDeviceGetEncoderUtilization = NULL 

183cdef void* __nvmlDeviceGetEncoderCapacity = NULL 

184cdef void* __nvmlDeviceGetEncoderStats = NULL 

185cdef void* __nvmlDeviceGetEncoderSessions = NULL 

186cdef void* __nvmlDeviceGetDecoderUtilization = NULL 

187cdef void* __nvmlDeviceGetJpgUtilization = NULL 

188cdef void* __nvmlDeviceGetOfaUtilization = NULL 

189cdef void* __nvmlDeviceGetFBCStats = NULL 

190cdef void* __nvmlDeviceGetFBCSessions = NULL 

191cdef void* __nvmlDeviceGetDriverModel_v2 = NULL 

192cdef void* __nvmlDeviceGetVbiosVersion = NULL 

193cdef void* __nvmlDeviceGetBridgeChipInfo = NULL 

194cdef void* __nvmlDeviceGetComputeRunningProcesses_v3 = NULL 

195cdef void* __nvmlDeviceGetGraphicsRunningProcesses_v3 = NULL 

196cdef void* __nvmlDeviceGetMPSComputeRunningProcesses_v3 = NULL 

197cdef void* __nvmlDeviceGetRunningProcessDetailList = NULL 

198cdef void* __nvmlDeviceOnSameBoard = NULL 

199cdef void* __nvmlDeviceGetAPIRestriction = NULL 

200cdef void* __nvmlDeviceGetSamples = NULL 

201cdef void* __nvmlDeviceGetBAR1MemoryInfo = NULL 

202cdef void* __nvmlDeviceGetIrqNum = NULL 

203cdef void* __nvmlDeviceGetNumGpuCores = NULL 

204cdef void* __nvmlDeviceGetPowerSource = NULL 

205cdef void* __nvmlDeviceGetMemoryBusWidth = NULL 

206cdef void* __nvmlDeviceGetPcieLinkMaxSpeed = NULL 

207cdef void* __nvmlDeviceGetPcieSpeed = NULL 

208cdef void* __nvmlDeviceGetAdaptiveClockInfoStatus = NULL 

209cdef void* __nvmlDeviceGetBusType = NULL 

210cdef void* __nvmlDeviceGetGpuFabricInfoV = NULL 

211cdef void* __nvmlSystemGetConfComputeCapabilities = NULL 

212cdef void* __nvmlSystemGetConfComputeState = NULL 

213cdef void* __nvmlDeviceGetConfComputeMemSizeInfo = NULL 

214cdef void* __nvmlSystemGetConfComputeGpusReadyState = NULL 

215cdef void* __nvmlDeviceGetConfComputeProtectedMemoryUsage = NULL 

216cdef void* __nvmlDeviceGetConfComputeGpuCertificate = NULL 

217cdef void* __nvmlDeviceGetConfComputeGpuAttestationReport = NULL 

218cdef void* __nvmlSystemGetConfComputeKeyRotationThresholdInfo = NULL 

219cdef void* __nvmlDeviceSetConfComputeUnprotectedMemSize = NULL 

220cdef void* __nvmlSystemSetConfComputeGpusReadyState = NULL 

221cdef void* __nvmlSystemSetConfComputeKeyRotationThresholdInfo = NULL 

222cdef void* __nvmlSystemGetConfComputeSettings = NULL 

223cdef void* __nvmlDeviceGetGspFirmwareVersion = NULL 

224cdef void* __nvmlDeviceGetGspFirmwareMode = NULL 

225cdef void* __nvmlDeviceGetSramEccErrorStatus = NULL 

226cdef void* __nvmlDeviceGetAccountingMode = NULL 

227cdef void* __nvmlDeviceGetAccountingStats = NULL 

228cdef void* __nvmlDeviceGetAccountingPids = NULL 

229cdef void* __nvmlDeviceGetAccountingBufferSize = NULL 

230cdef void* __nvmlDeviceGetRetiredPages = NULL 

231cdef void* __nvmlDeviceGetRetiredPages_v2 = NULL 

232cdef void* __nvmlDeviceGetRetiredPagesPendingStatus = NULL 

233cdef void* __nvmlDeviceGetRemappedRows = NULL 

234cdef void* __nvmlDeviceGetRowRemapperHistogram = NULL 

235cdef void* __nvmlDeviceGetArchitecture = NULL 

236cdef void* __nvmlDeviceGetClkMonStatus = NULL 

237cdef void* __nvmlDeviceGetProcessUtilization = NULL 

238cdef void* __nvmlDeviceGetProcessesUtilizationInfo = NULL 

239cdef void* __nvmlDeviceGetPlatformInfo = NULL 

240cdef void* __nvmlUnitSetLedState = NULL 

241cdef void* __nvmlDeviceSetPersistenceMode = NULL 

242cdef void* __nvmlDeviceSetComputeMode = NULL 

243cdef void* __nvmlDeviceSetEccMode = NULL 

244cdef void* __nvmlDeviceClearEccErrorCounts = NULL 

245cdef void* __nvmlDeviceSetDriverModel = NULL 

246cdef void* __nvmlDeviceSetGpuLockedClocks = NULL 

247cdef void* __nvmlDeviceResetGpuLockedClocks = NULL 

248cdef void* __nvmlDeviceSetMemoryLockedClocks = NULL 

249cdef void* __nvmlDeviceResetMemoryLockedClocks = NULL 

250cdef void* __nvmlDeviceSetAutoBoostedClocksEnabled = NULL 

251cdef void* __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = NULL 

252cdef void* __nvmlDeviceSetDefaultFanSpeed_v2 = NULL 

253cdef void* __nvmlDeviceSetFanControlPolicy = NULL 

254cdef void* __nvmlDeviceSetTemperatureThreshold = NULL 

255cdef void* __nvmlDeviceSetGpuOperationMode = NULL 

256cdef void* __nvmlDeviceSetAPIRestriction = NULL 

257cdef void* __nvmlDeviceSetFanSpeed_v2 = NULL 

258cdef void* __nvmlDeviceSetAccountingMode = NULL 

259cdef void* __nvmlDeviceClearAccountingPids = NULL 

260cdef void* __nvmlDeviceSetPowerManagementLimit_v2 = NULL 

261cdef void* __nvmlDeviceGetNvLinkState = NULL 

262cdef void* __nvmlDeviceGetNvLinkVersion = NULL 

263cdef void* __nvmlDeviceGetNvLinkCapability = NULL 

264cdef void* __nvmlDeviceGetNvLinkRemotePciInfo_v2 = NULL 

265cdef void* __nvmlDeviceGetNvLinkErrorCounter = NULL 

266cdef void* __nvmlDeviceResetNvLinkErrorCounters = NULL 

267cdef void* __nvmlDeviceGetNvLinkRemoteDeviceType = NULL 

268cdef void* __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = NULL 

269cdef void* __nvmlSystemSetNvlinkBwMode = NULL 

270cdef void* __nvmlSystemGetNvlinkBwMode = NULL 

271cdef void* __nvmlDeviceGetNvlinkSupportedBwModes = NULL 

272cdef void* __nvmlDeviceGetNvlinkBwMode = NULL 

273cdef void* __nvmlDeviceSetNvlinkBwMode = NULL 

274cdef void* __nvmlEventSetCreate = NULL 

275cdef void* __nvmlDeviceRegisterEvents = NULL 

276cdef void* __nvmlDeviceGetSupportedEventTypes = NULL 

277cdef void* __nvmlEventSetWait_v2 = NULL 

278cdef void* __nvmlEventSetFree = NULL 

279cdef void* __nvmlSystemEventSetCreate = NULL 

280cdef void* __nvmlSystemEventSetFree = NULL 

281cdef void* __nvmlSystemRegisterEvents = NULL 

282cdef void* __nvmlSystemEventSetWait = NULL 

283cdef void* __nvmlDeviceModifyDrainState = NULL 

284cdef void* __nvmlDeviceQueryDrainState = NULL 

285cdef void* __nvmlDeviceRemoveGpu_v2 = NULL 

286cdef void* __nvmlDeviceDiscoverGpus = NULL 

287cdef void* __nvmlDeviceGetFieldValues = NULL 

288cdef void* __nvmlDeviceClearFieldValues = NULL 

289cdef void* __nvmlDeviceGetVirtualizationMode = NULL 

290cdef void* __nvmlDeviceGetHostVgpuMode = NULL 

291cdef void* __nvmlDeviceSetVirtualizationMode = NULL 

292cdef void* __nvmlDeviceGetVgpuHeterogeneousMode = NULL 

293cdef void* __nvmlDeviceSetVgpuHeterogeneousMode = NULL 

294cdef void* __nvmlVgpuInstanceGetPlacementId = NULL 

295cdef void* __nvmlDeviceGetVgpuTypeSupportedPlacements = NULL 

296cdef void* __nvmlDeviceGetVgpuTypeCreatablePlacements = NULL 

297cdef void* __nvmlVgpuTypeGetGspHeapSize = NULL 

298cdef void* __nvmlVgpuTypeGetFbReservation = NULL 

299cdef void* __nvmlVgpuInstanceGetRuntimeStateSize = NULL 

300cdef void* __nvmlDeviceSetVgpuCapabilities = NULL 

301cdef void* __nvmlDeviceGetGridLicensableFeatures_v4 = NULL 

302cdef void* __nvmlGetVgpuDriverCapabilities = NULL 

303cdef void* __nvmlDeviceGetVgpuCapabilities = NULL 

304cdef void* __nvmlDeviceGetSupportedVgpus = NULL 

305cdef void* __nvmlDeviceGetCreatableVgpus = NULL 

306cdef void* __nvmlVgpuTypeGetClass = NULL 

307cdef void* __nvmlVgpuTypeGetName = NULL 

308cdef void* __nvmlVgpuTypeGetGpuInstanceProfileId = NULL 

309cdef void* __nvmlVgpuTypeGetDeviceID = NULL 

310cdef void* __nvmlVgpuTypeGetFramebufferSize = NULL 

311cdef void* __nvmlVgpuTypeGetNumDisplayHeads = NULL 

312cdef void* __nvmlVgpuTypeGetResolution = NULL 

313cdef void* __nvmlVgpuTypeGetLicense = NULL 

314cdef void* __nvmlVgpuTypeGetFrameRateLimit = NULL 

315cdef void* __nvmlVgpuTypeGetMaxInstances = NULL 

316cdef void* __nvmlVgpuTypeGetMaxInstancesPerVm = NULL 

317cdef void* __nvmlVgpuTypeGetBAR1Info = NULL 

318cdef void* __nvmlDeviceGetActiveVgpus = NULL 

319cdef void* __nvmlVgpuInstanceGetVmID = NULL 

320cdef void* __nvmlVgpuInstanceGetUUID = NULL 

321cdef void* __nvmlVgpuInstanceGetVmDriverVersion = NULL 

322cdef void* __nvmlVgpuInstanceGetFbUsage = NULL 

323cdef void* __nvmlVgpuInstanceGetLicenseStatus = NULL 

324cdef void* __nvmlVgpuInstanceGetType = NULL 

325cdef void* __nvmlVgpuInstanceGetFrameRateLimit = NULL 

326cdef void* __nvmlVgpuInstanceGetEccMode = NULL 

327cdef void* __nvmlVgpuInstanceGetEncoderCapacity = NULL 

328cdef void* __nvmlVgpuInstanceSetEncoderCapacity = NULL 

329cdef void* __nvmlVgpuInstanceGetEncoderStats = NULL 

330cdef void* __nvmlVgpuInstanceGetEncoderSessions = NULL 

331cdef void* __nvmlVgpuInstanceGetFBCStats = NULL 

332cdef void* __nvmlVgpuInstanceGetFBCSessions = NULL 

333cdef void* __nvmlVgpuInstanceGetGpuInstanceId = NULL 

334cdef void* __nvmlVgpuInstanceGetGpuPciId = NULL 

335cdef void* __nvmlVgpuTypeGetCapabilities = NULL 

336cdef void* __nvmlVgpuInstanceGetMdevUUID = NULL 

337cdef void* __nvmlGpuInstanceGetCreatableVgpus = NULL 

338cdef void* __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = NULL 

339cdef void* __nvmlGpuInstanceGetActiveVgpus = NULL 

340cdef void* __nvmlGpuInstanceSetVgpuSchedulerState = NULL 

341cdef void* __nvmlGpuInstanceGetVgpuSchedulerState = NULL 

342cdef void* __nvmlGpuInstanceGetVgpuSchedulerLog = NULL 

343cdef void* __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = NULL 

344cdef void* __nvmlGpuInstanceGetVgpuHeterogeneousMode = NULL 

345cdef void* __nvmlGpuInstanceSetVgpuHeterogeneousMode = NULL 

346cdef void* __nvmlVgpuInstanceGetMetadata = NULL 

347cdef void* __nvmlDeviceGetVgpuMetadata = NULL 

348cdef void* __nvmlGetVgpuCompatibility = NULL 

349cdef void* __nvmlDeviceGetPgpuMetadataString = NULL 

350cdef void* __nvmlDeviceGetVgpuSchedulerLog = NULL 

351cdef void* __nvmlDeviceGetVgpuSchedulerState = NULL 

352cdef void* __nvmlDeviceGetVgpuSchedulerCapabilities = NULL 

353cdef void* __nvmlDeviceSetVgpuSchedulerState = NULL 

354cdef void* __nvmlGetVgpuVersion = NULL 

355cdef void* __nvmlSetVgpuVersion = NULL 

356cdef void* __nvmlDeviceGetVgpuUtilization = NULL 

357cdef void* __nvmlDeviceGetVgpuInstancesUtilizationInfo = NULL 

358cdef void* __nvmlDeviceGetVgpuProcessUtilization = NULL 

359cdef void* __nvmlDeviceGetVgpuProcessesUtilizationInfo = NULL 

360cdef void* __nvmlVgpuInstanceGetAccountingMode = NULL 

361cdef void* __nvmlVgpuInstanceGetAccountingPids = NULL 

362cdef void* __nvmlVgpuInstanceGetAccountingStats = NULL 

363cdef void* __nvmlVgpuInstanceClearAccountingPids = NULL 

364cdef void* __nvmlVgpuInstanceGetLicenseInfo_v2 = NULL 

365cdef void* __nvmlGetExcludedDeviceCount = NULL 

366cdef void* __nvmlGetExcludedDeviceInfoByIndex = NULL 

367cdef void* __nvmlDeviceSetMigMode = NULL 

368cdef void* __nvmlDeviceGetMigMode = NULL 

369cdef void* __nvmlDeviceGetGpuInstanceProfileInfoV = NULL 

370cdef void* __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = NULL 

371cdef void* __nvmlDeviceGetGpuInstanceRemainingCapacity = NULL 

372cdef void* __nvmlDeviceCreateGpuInstance = NULL 

373cdef void* __nvmlDeviceCreateGpuInstanceWithPlacement = NULL 

374cdef void* __nvmlGpuInstanceDestroy = NULL 

375cdef void* __nvmlDeviceGetGpuInstances = NULL 

376cdef void* __nvmlDeviceGetGpuInstanceById = NULL 

377cdef void* __nvmlGpuInstanceGetInfo = NULL 

378cdef void* __nvmlGpuInstanceGetComputeInstanceProfileInfoV = NULL 

379cdef void* __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = NULL 

380cdef void* __nvmlGpuInstanceGetComputeInstancePossiblePlacements = NULL 

381cdef void* __nvmlGpuInstanceCreateComputeInstance = NULL 

382cdef void* __nvmlGpuInstanceCreateComputeInstanceWithPlacement = NULL 

383cdef void* __nvmlComputeInstanceDestroy = NULL 

384cdef void* __nvmlGpuInstanceGetComputeInstances = NULL 

385cdef void* __nvmlGpuInstanceGetComputeInstanceById = NULL 

386cdef void* __nvmlComputeInstanceGetInfo_v2 = NULL 

387cdef void* __nvmlDeviceIsMigDeviceHandle = NULL 

388cdef void* __nvmlDeviceGetGpuInstanceId = NULL 

389cdef void* __nvmlDeviceGetComputeInstanceId = NULL 

390cdef void* __nvmlDeviceGetMaxMigDeviceCount = NULL 

391cdef void* __nvmlDeviceGetMigDeviceHandleByIndex = NULL 

392cdef void* __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = NULL 

393cdef void* __nvmlDeviceGetCapabilities = NULL 

394cdef void* __nvmlDevicePowerSmoothingActivatePresetProfile = NULL 

395cdef void* __nvmlDevicePowerSmoothingUpdatePresetProfileParam = NULL 

396cdef void* __nvmlDevicePowerSmoothingSetState = NULL 

397cdef void* __nvmlDeviceGetAddressingMode = NULL 

398cdef void* __nvmlDeviceGetRepairStatus = NULL 

399cdef void* __nvmlDeviceGetPowerMizerMode_v1 = NULL 

400cdef void* __nvmlDeviceSetPowerMizerMode_v1 = NULL 

401cdef void* __nvmlDeviceGetPdi = NULL 

402cdef void* __nvmlDeviceSetHostname_v1 = NULL 

403cdef void* __nvmlDeviceGetHostname_v1 = NULL 

404cdef void* __nvmlDeviceGetNvLinkInfo = NULL 

405cdef void* __nvmlDeviceReadWritePRM_v1 = NULL 

406cdef void* __nvmlDeviceGetGpuInstanceProfileInfoByIdV = NULL 

407cdef void* __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = NULL 

408cdef void* __nvmlDeviceGetUnrepairableMemoryFlag_v1 = NULL 

409cdef void* __nvmlDeviceReadPRMCounters_v1 = NULL 

410cdef void* __nvmlDeviceSetRusdSettings_v1 = NULL 

411cdef void* __nvmlDeviceVgpuForceGspUnload = NULL 

412cdef void* __nvmlDeviceGetVgpuSchedulerState_v2 = NULL 

413cdef void* __nvmlGpuInstanceGetVgpuSchedulerState_v2 = NULL 

414cdef void* __nvmlDeviceGetVgpuSchedulerLog_v2 = NULL 

415cdef void* __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = NULL 

416cdef void* __nvmlDeviceSetVgpuSchedulerState_v2 = NULL 

417cdef void* __nvmlGpuInstanceSetVgpuSchedulerState_v2 = NULL 

418cdef void* __nvmlSystemGetCPER_v1 = NULL 

419cdef void* __nvmlDeviceGetBBXTimeData_v1 = NULL 

420cdef void* __nvmlDeviceGetAccountingStats_v2 = NULL 

421cdef void* __nvmlDeviceGetRemappedRows_v2 = NULL 

422cdef void* __nvmlDeviceSetAdaptiveTgpMode_v1 = NULL 

423cdef void* __nvmlDeviceGetAdaptiveTgpModeInfo_v1 = NULL 

424cdef void* __nvmlDeviceSetMemoryLimits_v1 = NULL 

425cdef void* __nvmlDeviceGetMemoryLimits_v1 = NULL 

426cdef void* __nvmlDeviceGetGpuFabricInfo_v4 = NULL 

427cdef void* __nvmlDevicePerfMetricsGetSamples_v1 = NULL 

428cdef void* __nvmlDeviceSetNvlinkBwModeAsync_v1 = NULL 

429cdef void* __nvmlDeviceGetNvLinkTelemetrySamples_v1 = NULL 

430cdef void* __nvmlEventSetRegisterGpuOperationalEvents_v1 = NULL 

431cdef void* __nvmlEventSetWait_v3 = NULL 

432cdef void* __nvmlEventSetGetContextCount_v1 = NULL 

433cdef void* __nvmlEventSetGetContextInfo_v1 = NULL 

434cdef void* __nvmlEventSetGetContextData_v1 = NULL 

435cdef void* __nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 = NULL 

436cdef void* __nvmlDeviceGetBankRemapperStatus_v1 = NULL 

437cdef void* __nvmlDeviceGetGpuUptime_v1 = NULL 

438cdef void* __nvmlSystemGetConfComputeSettings_v2 = NULL 

439cdef void* __nvmlDeviceGetNvLinkInfo_v3 = NULL 

440cdef void* __nvmlDeviceGetNvlinkRemapTableInfo_v1 = NULL 

441cdef void* __nvmlDeviceSetNvlinkNvleReady_v1 = NULL 

442cdef void* __nvmlDeviceLockNvlinkRemapTable_v1 = NULL 

443cdef void* __nvmlDeviceSetupNvlinkNvleEncryptionKey_v1 = NULL 

444cdef void* __nvmlDeviceGetNvlinkNvlePrivateInfo_v1 = NULL 

445  

446cdef enum: _cyb_nvml_n_functions = 378 

447cdef void** _cyb_nvml_slots[_cyb_nvml_n_functions] 

448cdef const char* _cyb_nvml_names[_cyb_nvml_n_functions] 

449_cyb_nvml_slots[0] = &__nvmlInit_v2; _cyb_nvml_names[0] = b'nvmlInit_v2' 

450_cyb_nvml_slots[1] = &__nvmlInitWithFlags; _cyb_nvml_names[1] = b'nvmlInitWithFlags' 

451_cyb_nvml_slots[2] = &__nvmlShutdown; _cyb_nvml_names[2] = b'nvmlShutdown' 

452_cyb_nvml_slots[3] = &__nvmlErrorString; _cyb_nvml_names[3] = b'nvmlErrorString' 

453_cyb_nvml_slots[4] = &__nvmlSystemGetDriverVersion; _cyb_nvml_names[4] = b'nvmlSystemGetDriverVersion' 

454_cyb_nvml_slots[5] = &__nvmlSystemGetNVMLVersion; _cyb_nvml_names[5] = b'nvmlSystemGetNVMLVersion' 

455_cyb_nvml_slots[6] = &__nvmlSystemGetCudaDriverVersion; _cyb_nvml_names[6] = b'nvmlSystemGetCudaDriverVersion' 

456_cyb_nvml_slots[7] = &__nvmlSystemGetCudaDriverVersion_v2; _cyb_nvml_names[7] = b'nvmlSystemGetCudaDriverVersion_v2' 

457_cyb_nvml_slots[8] = &__nvmlSystemGetProcessName; _cyb_nvml_names[8] = b'nvmlSystemGetProcessName' 

458_cyb_nvml_slots[9] = &__nvmlSystemGetHicVersion; _cyb_nvml_names[9] = b'nvmlSystemGetHicVersion' 

459_cyb_nvml_slots[10] = &__nvmlSystemGetTopologyGpuSet; _cyb_nvml_names[10] = b'nvmlSystemGetTopologyGpuSet' 

460_cyb_nvml_slots[11] = &__nvmlSystemGetDriverBranch; _cyb_nvml_names[11] = b'nvmlSystemGetDriverBranch' 

461_cyb_nvml_slots[12] = &__nvmlUnitGetCount; _cyb_nvml_names[12] = b'nvmlUnitGetCount' 

462_cyb_nvml_slots[13] = &__nvmlUnitGetHandleByIndex; _cyb_nvml_names[13] = b'nvmlUnitGetHandleByIndex' 

463_cyb_nvml_slots[14] = &__nvmlUnitGetUnitInfo; _cyb_nvml_names[14] = b'nvmlUnitGetUnitInfo' 

464_cyb_nvml_slots[15] = &__nvmlUnitGetLedState; _cyb_nvml_names[15] = b'nvmlUnitGetLedState' 

465_cyb_nvml_slots[16] = &__nvmlUnitGetPsuInfo; _cyb_nvml_names[16] = b'nvmlUnitGetPsuInfo' 

466_cyb_nvml_slots[17] = &__nvmlUnitGetTemperature; _cyb_nvml_names[17] = b'nvmlUnitGetTemperature' 

467_cyb_nvml_slots[18] = &__nvmlUnitGetFanSpeedInfo; _cyb_nvml_names[18] = b'nvmlUnitGetFanSpeedInfo' 

468_cyb_nvml_slots[19] = &__nvmlUnitGetDevices; _cyb_nvml_names[19] = b'nvmlUnitGetDevices' 

469_cyb_nvml_slots[20] = &__nvmlDeviceGetCount_v2; _cyb_nvml_names[20] = b'nvmlDeviceGetCount_v2' 

470_cyb_nvml_slots[21] = &__nvmlDeviceGetAttributes_v2; _cyb_nvml_names[21] = b'nvmlDeviceGetAttributes_v2' 

471_cyb_nvml_slots[22] = &__nvmlDeviceGetHandleByIndex_v2; _cyb_nvml_names[22] = b'nvmlDeviceGetHandleByIndex_v2' 

472_cyb_nvml_slots[23] = &__nvmlDeviceGetHandleBySerial; _cyb_nvml_names[23] = b'nvmlDeviceGetHandleBySerial' 

473_cyb_nvml_slots[24] = &__nvmlDeviceGetHandleByUUID; _cyb_nvml_names[24] = b'nvmlDeviceGetHandleByUUID' 

474_cyb_nvml_slots[25] = &__nvmlDeviceGetHandleByUUIDV; _cyb_nvml_names[25] = b'nvmlDeviceGetHandleByUUIDV' 

475_cyb_nvml_slots[26] = &__nvmlDeviceGetHandleByPciBusId_v2; _cyb_nvml_names[26] = b'nvmlDeviceGetHandleByPciBusId_v2' 

476_cyb_nvml_slots[27] = &__nvmlDeviceGetName; _cyb_nvml_names[27] = b'nvmlDeviceGetName' 

477_cyb_nvml_slots[28] = &__nvmlDeviceGetBrand; _cyb_nvml_names[28] = b'nvmlDeviceGetBrand' 

478_cyb_nvml_slots[29] = &__nvmlDeviceGetIndex; _cyb_nvml_names[29] = b'nvmlDeviceGetIndex' 

479_cyb_nvml_slots[30] = &__nvmlDeviceGetSerial; _cyb_nvml_names[30] = b'nvmlDeviceGetSerial' 

480_cyb_nvml_slots[31] = &__nvmlDeviceGetModuleId; _cyb_nvml_names[31] = b'nvmlDeviceGetModuleId' 

481_cyb_nvml_slots[32] = &__nvmlDeviceGetC2cModeInfoV; _cyb_nvml_names[32] = b'nvmlDeviceGetC2cModeInfoV' 

482_cyb_nvml_slots[33] = &__nvmlDeviceGetMemoryAffinity; _cyb_nvml_names[33] = b'nvmlDeviceGetMemoryAffinity' 

483_cyb_nvml_slots[34] = &__nvmlDeviceGetCpuAffinityWithinScope; _cyb_nvml_names[34] = b'nvmlDeviceGetCpuAffinityWithinScope' 

484_cyb_nvml_slots[35] = &__nvmlDeviceGetCpuAffinity; _cyb_nvml_names[35] = b'nvmlDeviceGetCpuAffinity' 

485_cyb_nvml_slots[36] = &__nvmlDeviceSetCpuAffinity; _cyb_nvml_names[36] = b'nvmlDeviceSetCpuAffinity' 

486_cyb_nvml_slots[37] = &__nvmlDeviceClearCpuAffinity; _cyb_nvml_names[37] = b'nvmlDeviceClearCpuAffinity' 

487_cyb_nvml_slots[38] = &__nvmlDeviceGetNumaNodeId; _cyb_nvml_names[38] = b'nvmlDeviceGetNumaNodeId' 

488_cyb_nvml_slots[39] = &__nvmlDeviceGetTopologyCommonAncestor; _cyb_nvml_names[39] = b'nvmlDeviceGetTopologyCommonAncestor' 

489_cyb_nvml_slots[40] = &__nvmlDeviceGetTopologyNearestGpus; _cyb_nvml_names[40] = b'nvmlDeviceGetTopologyNearestGpus' 

490_cyb_nvml_slots[41] = &__nvmlDeviceGetP2PStatus; _cyb_nvml_names[41] = b'nvmlDeviceGetP2PStatus' 

491_cyb_nvml_slots[42] = &__nvmlDeviceGetUUID; _cyb_nvml_names[42] = b'nvmlDeviceGetUUID' 

492_cyb_nvml_slots[43] = &__nvmlDeviceGetMinorNumber; _cyb_nvml_names[43] = b'nvmlDeviceGetMinorNumber' 

493_cyb_nvml_slots[44] = &__nvmlDeviceGetBoardPartNumber; _cyb_nvml_names[44] = b'nvmlDeviceGetBoardPartNumber' 

494_cyb_nvml_slots[45] = &__nvmlDeviceGetInforomVersion; _cyb_nvml_names[45] = b'nvmlDeviceGetInforomVersion' 

495_cyb_nvml_slots[46] = &__nvmlDeviceGetInforomImageVersion; _cyb_nvml_names[46] = b'nvmlDeviceGetInforomImageVersion' 

496_cyb_nvml_slots[47] = &__nvmlDeviceGetInforomConfigurationChecksum; _cyb_nvml_names[47] = b'nvmlDeviceGetInforomConfigurationChecksum' 

497_cyb_nvml_slots[48] = &__nvmlDeviceValidateInforom; _cyb_nvml_names[48] = b'nvmlDeviceValidateInforom' 

498_cyb_nvml_slots[49] = &__nvmlDeviceGetLastBBXFlushTime; _cyb_nvml_names[49] = b'nvmlDeviceGetLastBBXFlushTime' 

499_cyb_nvml_slots[50] = &__nvmlDeviceGetDisplayMode; _cyb_nvml_names[50] = b'nvmlDeviceGetDisplayMode' 

500_cyb_nvml_slots[51] = &__nvmlDeviceGetDisplayActive; _cyb_nvml_names[51] = b'nvmlDeviceGetDisplayActive' 

501_cyb_nvml_slots[52] = &__nvmlDeviceGetPersistenceMode; _cyb_nvml_names[52] = b'nvmlDeviceGetPersistenceMode' 

502_cyb_nvml_slots[53] = &__nvmlDeviceGetPciInfoExt; _cyb_nvml_names[53] = b'nvmlDeviceGetPciInfoExt' 

503_cyb_nvml_slots[54] = &__nvmlDeviceGetPciInfo_v3; _cyb_nvml_names[54] = b'nvmlDeviceGetPciInfo_v3' 

504_cyb_nvml_slots[55] = &__nvmlDeviceGetMaxPcieLinkGeneration; _cyb_nvml_names[55] = b'nvmlDeviceGetMaxPcieLinkGeneration' 

505_cyb_nvml_slots[56] = &__nvmlDeviceGetGpuMaxPcieLinkGeneration; _cyb_nvml_names[56] = b'nvmlDeviceGetGpuMaxPcieLinkGeneration' 

506_cyb_nvml_slots[57] = &__nvmlDeviceGetMaxPcieLinkWidth; _cyb_nvml_names[57] = b'nvmlDeviceGetMaxPcieLinkWidth' 

507_cyb_nvml_slots[58] = &__nvmlDeviceGetCurrPcieLinkGeneration; _cyb_nvml_names[58] = b'nvmlDeviceGetCurrPcieLinkGeneration' 

508_cyb_nvml_slots[59] = &__nvmlDeviceGetCurrPcieLinkWidth; _cyb_nvml_names[59] = b'nvmlDeviceGetCurrPcieLinkWidth' 

509_cyb_nvml_slots[60] = &__nvmlDeviceGetPcieThroughput; _cyb_nvml_names[60] = b'nvmlDeviceGetPcieThroughput' 

510_cyb_nvml_slots[61] = &__nvmlDeviceGetPcieReplayCounter; _cyb_nvml_names[61] = b'nvmlDeviceGetPcieReplayCounter' 

511_cyb_nvml_slots[62] = &__nvmlDeviceGetClockInfo; _cyb_nvml_names[62] = b'nvmlDeviceGetClockInfo' 

512_cyb_nvml_slots[63] = &__nvmlDeviceGetMaxClockInfo; _cyb_nvml_names[63] = b'nvmlDeviceGetMaxClockInfo' 

513_cyb_nvml_slots[64] = &__nvmlDeviceGetGpcClkVfOffset; _cyb_nvml_names[64] = b'nvmlDeviceGetGpcClkVfOffset' 

514_cyb_nvml_slots[65] = &__nvmlDeviceGetClock; _cyb_nvml_names[65] = b'nvmlDeviceGetClock' 

515_cyb_nvml_slots[66] = &__nvmlDeviceGetMaxCustomerBoostClock; _cyb_nvml_names[66] = b'nvmlDeviceGetMaxCustomerBoostClock' 

516_cyb_nvml_slots[67] = &__nvmlDeviceGetSupportedMemoryClocks; _cyb_nvml_names[67] = b'nvmlDeviceGetSupportedMemoryClocks' 

517_cyb_nvml_slots[68] = &__nvmlDeviceGetSupportedGraphicsClocks; _cyb_nvml_names[68] = b'nvmlDeviceGetSupportedGraphicsClocks' 

518_cyb_nvml_slots[69] = &__nvmlDeviceGetAutoBoostedClocksEnabled; _cyb_nvml_names[69] = b'nvmlDeviceGetAutoBoostedClocksEnabled' 

519_cyb_nvml_slots[70] = &__nvmlDeviceGetFanSpeed; _cyb_nvml_names[70] = b'nvmlDeviceGetFanSpeed' 

520_cyb_nvml_slots[71] = &__nvmlDeviceGetFanSpeed_v2; _cyb_nvml_names[71] = b'nvmlDeviceGetFanSpeed_v2' 

521_cyb_nvml_slots[72] = &__nvmlDeviceGetFanSpeedRPM; _cyb_nvml_names[72] = b'nvmlDeviceGetFanSpeedRPM' 

522_cyb_nvml_slots[73] = &__nvmlDeviceGetTargetFanSpeed; _cyb_nvml_names[73] = b'nvmlDeviceGetTargetFanSpeed' 

523_cyb_nvml_slots[74] = &__nvmlDeviceGetMinMaxFanSpeed; _cyb_nvml_names[74] = b'nvmlDeviceGetMinMaxFanSpeed' 

524_cyb_nvml_slots[75] = &__nvmlDeviceGetFanControlPolicy_v2; _cyb_nvml_names[75] = b'nvmlDeviceGetFanControlPolicy_v2' 

525_cyb_nvml_slots[76] = &__nvmlDeviceGetNumFans; _cyb_nvml_names[76] = b'nvmlDeviceGetNumFans' 

526_cyb_nvml_slots[77] = &__nvmlDeviceGetCoolerInfo; _cyb_nvml_names[77] = b'nvmlDeviceGetCoolerInfo' 

527_cyb_nvml_slots[78] = &__nvmlDeviceGetTemperatureV; _cyb_nvml_names[78] = b'nvmlDeviceGetTemperatureV' 

528_cyb_nvml_slots[79] = &__nvmlDeviceGetTemperatureThreshold; _cyb_nvml_names[79] = b'nvmlDeviceGetTemperatureThreshold' 

529_cyb_nvml_slots[80] = &__nvmlDeviceGetMarginTemperature; _cyb_nvml_names[80] = b'nvmlDeviceGetMarginTemperature' 

530_cyb_nvml_slots[81] = &__nvmlDeviceGetThermalSettings; _cyb_nvml_names[81] = b'nvmlDeviceGetThermalSettings' 

531_cyb_nvml_slots[82] = &__nvmlDeviceGetPerformanceState; _cyb_nvml_names[82] = b'nvmlDeviceGetPerformanceState' 

532_cyb_nvml_slots[83] = &__nvmlDeviceGetCurrentClocksEventReasons; _cyb_nvml_names[83] = b'nvmlDeviceGetCurrentClocksEventReasons' 

533_cyb_nvml_slots[84] = &__nvmlDeviceGetSupportedClocksEventReasons; _cyb_nvml_names[84] = b'nvmlDeviceGetSupportedClocksEventReasons' 

534_cyb_nvml_slots[85] = &__nvmlDeviceGetPowerState; _cyb_nvml_names[85] = b'nvmlDeviceGetPowerState' 

535_cyb_nvml_slots[86] = &__nvmlDeviceGetDynamicPstatesInfo; _cyb_nvml_names[86] = b'nvmlDeviceGetDynamicPstatesInfo' 

536_cyb_nvml_slots[87] = &__nvmlDeviceGetMemClkVfOffset; _cyb_nvml_names[87] = b'nvmlDeviceGetMemClkVfOffset' 

537_cyb_nvml_slots[88] = &__nvmlDeviceGetMinMaxClockOfPState; _cyb_nvml_names[88] = b'nvmlDeviceGetMinMaxClockOfPState' 

538_cyb_nvml_slots[89] = &__nvmlDeviceGetSupportedPerformanceStates; _cyb_nvml_names[89] = b'nvmlDeviceGetSupportedPerformanceStates' 

539_cyb_nvml_slots[90] = &__nvmlDeviceGetGpcClkMinMaxVfOffset; _cyb_nvml_names[90] = b'nvmlDeviceGetGpcClkMinMaxVfOffset' 

540_cyb_nvml_slots[91] = &__nvmlDeviceGetMemClkMinMaxVfOffset; _cyb_nvml_names[91] = b'nvmlDeviceGetMemClkMinMaxVfOffset' 

541_cyb_nvml_slots[92] = &__nvmlDeviceGetClockOffsets; _cyb_nvml_names[92] = b'nvmlDeviceGetClockOffsets' 

542_cyb_nvml_slots[93] = &__nvmlDeviceSetClockOffsets; _cyb_nvml_names[93] = b'nvmlDeviceSetClockOffsets' 

543_cyb_nvml_slots[94] = &__nvmlDeviceGetPerformanceModes; _cyb_nvml_names[94] = b'nvmlDeviceGetPerformanceModes' 

544_cyb_nvml_slots[95] = &__nvmlDeviceGetCurrentClockFreqs; _cyb_nvml_names[95] = b'nvmlDeviceGetCurrentClockFreqs' 

545_cyb_nvml_slots[96] = &__nvmlDeviceGetPowerManagementLimit; _cyb_nvml_names[96] = b'nvmlDeviceGetPowerManagementLimit' 

546_cyb_nvml_slots[97] = &__nvmlDeviceGetPowerManagementLimitConstraints; _cyb_nvml_names[97] = b'nvmlDeviceGetPowerManagementLimitConstraints' 

547_cyb_nvml_slots[98] = &__nvmlDeviceGetPowerManagementDefaultLimit; _cyb_nvml_names[98] = b'nvmlDeviceGetPowerManagementDefaultLimit' 

548_cyb_nvml_slots[99] = &__nvmlDeviceGetPowerUsage; _cyb_nvml_names[99] = b'nvmlDeviceGetPowerUsage' 

549_cyb_nvml_slots[100] = &__nvmlDeviceGetTotalEnergyConsumption; _cyb_nvml_names[100] = b'nvmlDeviceGetTotalEnergyConsumption' 

550_cyb_nvml_slots[101] = &__nvmlDeviceGetEnforcedPowerLimit; _cyb_nvml_names[101] = b'nvmlDeviceGetEnforcedPowerLimit' 

551_cyb_nvml_slots[102] = &__nvmlDeviceGetGpuOperationMode; _cyb_nvml_names[102] = b'nvmlDeviceGetGpuOperationMode' 

552_cyb_nvml_slots[103] = &__nvmlDeviceGetMemoryInfo_v2; _cyb_nvml_names[103] = b'nvmlDeviceGetMemoryInfo_v2' 

553_cyb_nvml_slots[104] = &__nvmlDeviceGetComputeMode; _cyb_nvml_names[104] = b'nvmlDeviceGetComputeMode' 

554_cyb_nvml_slots[105] = &__nvmlDeviceGetCudaComputeCapability; _cyb_nvml_names[105] = b'nvmlDeviceGetCudaComputeCapability' 

555_cyb_nvml_slots[106] = &__nvmlDeviceGetDramEncryptionMode; _cyb_nvml_names[106] = b'nvmlDeviceGetDramEncryptionMode' 

556_cyb_nvml_slots[107] = &__nvmlDeviceSetDramEncryptionMode; _cyb_nvml_names[107] = b'nvmlDeviceSetDramEncryptionMode' 

557_cyb_nvml_slots[108] = &__nvmlDeviceGetEccMode; _cyb_nvml_names[108] = b'nvmlDeviceGetEccMode' 

558_cyb_nvml_slots[109] = &__nvmlDeviceGetDefaultEccMode; _cyb_nvml_names[109] = b'nvmlDeviceGetDefaultEccMode' 

559_cyb_nvml_slots[110] = &__nvmlDeviceGetBoardId; _cyb_nvml_names[110] = b'nvmlDeviceGetBoardId' 

560_cyb_nvml_slots[111] = &__nvmlDeviceGetMultiGpuBoard; _cyb_nvml_names[111] = b'nvmlDeviceGetMultiGpuBoard' 

561_cyb_nvml_slots[112] = &__nvmlDeviceGetTotalEccErrors; _cyb_nvml_names[112] = b'nvmlDeviceGetTotalEccErrors' 

562_cyb_nvml_slots[113] = &__nvmlDeviceGetMemoryErrorCounter; _cyb_nvml_names[113] = b'nvmlDeviceGetMemoryErrorCounter' 

563_cyb_nvml_slots[114] = &__nvmlDeviceGetUtilizationRates; _cyb_nvml_names[114] = b'nvmlDeviceGetUtilizationRates' 

564_cyb_nvml_slots[115] = &__nvmlDeviceGetEncoderUtilization; _cyb_nvml_names[115] = b'nvmlDeviceGetEncoderUtilization' 

565_cyb_nvml_slots[116] = &__nvmlDeviceGetEncoderCapacity; _cyb_nvml_names[116] = b'nvmlDeviceGetEncoderCapacity' 

566_cyb_nvml_slots[117] = &__nvmlDeviceGetEncoderStats; _cyb_nvml_names[117] = b'nvmlDeviceGetEncoderStats' 

567_cyb_nvml_slots[118] = &__nvmlDeviceGetEncoderSessions; _cyb_nvml_names[118] = b'nvmlDeviceGetEncoderSessions' 

568_cyb_nvml_slots[119] = &__nvmlDeviceGetDecoderUtilization; _cyb_nvml_names[119] = b'nvmlDeviceGetDecoderUtilization' 

569_cyb_nvml_slots[120] = &__nvmlDeviceGetJpgUtilization; _cyb_nvml_names[120] = b'nvmlDeviceGetJpgUtilization' 

570_cyb_nvml_slots[121] = &__nvmlDeviceGetOfaUtilization; _cyb_nvml_names[121] = b'nvmlDeviceGetOfaUtilization' 

571_cyb_nvml_slots[122] = &__nvmlDeviceGetFBCStats; _cyb_nvml_names[122] = b'nvmlDeviceGetFBCStats' 

572_cyb_nvml_slots[123] = &__nvmlDeviceGetFBCSessions; _cyb_nvml_names[123] = b'nvmlDeviceGetFBCSessions' 

573_cyb_nvml_slots[124] = &__nvmlDeviceGetDriverModel_v2; _cyb_nvml_names[124] = b'nvmlDeviceGetDriverModel_v2' 

574_cyb_nvml_slots[125] = &__nvmlDeviceGetVbiosVersion; _cyb_nvml_names[125] = b'nvmlDeviceGetVbiosVersion' 

575_cyb_nvml_slots[126] = &__nvmlDeviceGetBridgeChipInfo; _cyb_nvml_names[126] = b'nvmlDeviceGetBridgeChipInfo' 

576_cyb_nvml_slots[127] = &__nvmlDeviceGetComputeRunningProcesses_v3; _cyb_nvml_names[127] = b'nvmlDeviceGetComputeRunningProcesses_v3' 

577_cyb_nvml_slots[128] = &__nvmlDeviceGetGraphicsRunningProcesses_v3; _cyb_nvml_names[128] = b'nvmlDeviceGetGraphicsRunningProcesses_v3' 

578_cyb_nvml_slots[129] = &__nvmlDeviceGetMPSComputeRunningProcesses_v3; _cyb_nvml_names[129] = b'nvmlDeviceGetMPSComputeRunningProcesses_v3' 

579_cyb_nvml_slots[130] = &__nvmlDeviceGetRunningProcessDetailList; _cyb_nvml_names[130] = b'nvmlDeviceGetRunningProcessDetailList' 

580_cyb_nvml_slots[131] = &__nvmlDeviceOnSameBoard; _cyb_nvml_names[131] = b'nvmlDeviceOnSameBoard' 

581_cyb_nvml_slots[132] = &__nvmlDeviceGetAPIRestriction; _cyb_nvml_names[132] = b'nvmlDeviceGetAPIRestriction' 

582_cyb_nvml_slots[133] = &__nvmlDeviceGetSamples; _cyb_nvml_names[133] = b'nvmlDeviceGetSamples' 

583_cyb_nvml_slots[134] = &__nvmlDeviceGetBAR1MemoryInfo; _cyb_nvml_names[134] = b'nvmlDeviceGetBAR1MemoryInfo' 

584_cyb_nvml_slots[135] = &__nvmlDeviceGetIrqNum; _cyb_nvml_names[135] = b'nvmlDeviceGetIrqNum' 

585_cyb_nvml_slots[136] = &__nvmlDeviceGetNumGpuCores; _cyb_nvml_names[136] = b'nvmlDeviceGetNumGpuCores' 

586_cyb_nvml_slots[137] = &__nvmlDeviceGetPowerSource; _cyb_nvml_names[137] = b'nvmlDeviceGetPowerSource' 

587_cyb_nvml_slots[138] = &__nvmlDeviceGetMemoryBusWidth; _cyb_nvml_names[138] = b'nvmlDeviceGetMemoryBusWidth' 

588_cyb_nvml_slots[139] = &__nvmlDeviceGetPcieLinkMaxSpeed; _cyb_nvml_names[139] = b'nvmlDeviceGetPcieLinkMaxSpeed' 

589_cyb_nvml_slots[140] = &__nvmlDeviceGetPcieSpeed; _cyb_nvml_names[140] = b'nvmlDeviceGetPcieSpeed' 

590_cyb_nvml_slots[141] = &__nvmlDeviceGetAdaptiveClockInfoStatus; _cyb_nvml_names[141] = b'nvmlDeviceGetAdaptiveClockInfoStatus' 

591_cyb_nvml_slots[142] = &__nvmlDeviceGetBusType; _cyb_nvml_names[142] = b'nvmlDeviceGetBusType' 

592_cyb_nvml_slots[143] = &__nvmlDeviceGetGpuFabricInfoV; _cyb_nvml_names[143] = b'nvmlDeviceGetGpuFabricInfoV' 

593_cyb_nvml_slots[144] = &__nvmlSystemGetConfComputeCapabilities; _cyb_nvml_names[144] = b'nvmlSystemGetConfComputeCapabilities' 

594_cyb_nvml_slots[145] = &__nvmlSystemGetConfComputeState; _cyb_nvml_names[145] = b'nvmlSystemGetConfComputeState' 

595_cyb_nvml_slots[146] = &__nvmlDeviceGetConfComputeMemSizeInfo; _cyb_nvml_names[146] = b'nvmlDeviceGetConfComputeMemSizeInfo' 

596_cyb_nvml_slots[147] = &__nvmlSystemGetConfComputeGpusReadyState; _cyb_nvml_names[147] = b'nvmlSystemGetConfComputeGpusReadyState' 

597_cyb_nvml_slots[148] = &__nvmlDeviceGetConfComputeProtectedMemoryUsage; _cyb_nvml_names[148] = b'nvmlDeviceGetConfComputeProtectedMemoryUsage' 

598_cyb_nvml_slots[149] = &__nvmlDeviceGetConfComputeGpuCertificate; _cyb_nvml_names[149] = b'nvmlDeviceGetConfComputeGpuCertificate' 

599_cyb_nvml_slots[150] = &__nvmlDeviceGetConfComputeGpuAttestationReport; _cyb_nvml_names[150] = b'nvmlDeviceGetConfComputeGpuAttestationReport' 

600_cyb_nvml_slots[151] = &__nvmlSystemGetConfComputeKeyRotationThresholdInfo; _cyb_nvml_names[151] = b'nvmlSystemGetConfComputeKeyRotationThresholdInfo' 

601_cyb_nvml_slots[152] = &__nvmlDeviceSetConfComputeUnprotectedMemSize; _cyb_nvml_names[152] = b'nvmlDeviceSetConfComputeUnprotectedMemSize' 

602_cyb_nvml_slots[153] = &__nvmlSystemSetConfComputeGpusReadyState; _cyb_nvml_names[153] = b'nvmlSystemSetConfComputeGpusReadyState' 

603_cyb_nvml_slots[154] = &__nvmlSystemSetConfComputeKeyRotationThresholdInfo; _cyb_nvml_names[154] = b'nvmlSystemSetConfComputeKeyRotationThresholdInfo' 

604_cyb_nvml_slots[155] = &__nvmlSystemGetConfComputeSettings; _cyb_nvml_names[155] = b'nvmlSystemGetConfComputeSettings' 

605_cyb_nvml_slots[156] = &__nvmlDeviceGetGspFirmwareVersion; _cyb_nvml_names[156] = b'nvmlDeviceGetGspFirmwareVersion' 

606_cyb_nvml_slots[157] = &__nvmlDeviceGetGspFirmwareMode; _cyb_nvml_names[157] = b'nvmlDeviceGetGspFirmwareMode' 

607_cyb_nvml_slots[158] = &__nvmlDeviceGetSramEccErrorStatus; _cyb_nvml_names[158] = b'nvmlDeviceGetSramEccErrorStatus' 

608_cyb_nvml_slots[159] = &__nvmlDeviceGetAccountingMode; _cyb_nvml_names[159] = b'nvmlDeviceGetAccountingMode' 

609_cyb_nvml_slots[160] = &__nvmlDeviceGetAccountingStats; _cyb_nvml_names[160] = b'nvmlDeviceGetAccountingStats' 

610_cyb_nvml_slots[161] = &__nvmlDeviceGetAccountingPids; _cyb_nvml_names[161] = b'nvmlDeviceGetAccountingPids' 

611_cyb_nvml_slots[162] = &__nvmlDeviceGetAccountingBufferSize; _cyb_nvml_names[162] = b'nvmlDeviceGetAccountingBufferSize' 

612_cyb_nvml_slots[163] = &__nvmlDeviceGetRetiredPages; _cyb_nvml_names[163] = b'nvmlDeviceGetRetiredPages' 

613_cyb_nvml_slots[164] = &__nvmlDeviceGetRetiredPages_v2; _cyb_nvml_names[164] = b'nvmlDeviceGetRetiredPages_v2' 

614_cyb_nvml_slots[165] = &__nvmlDeviceGetRetiredPagesPendingStatus; _cyb_nvml_names[165] = b'nvmlDeviceGetRetiredPagesPendingStatus' 

615_cyb_nvml_slots[166] = &__nvmlDeviceGetRemappedRows; _cyb_nvml_names[166] = b'nvmlDeviceGetRemappedRows' 

616_cyb_nvml_slots[167] = &__nvmlDeviceGetRowRemapperHistogram; _cyb_nvml_names[167] = b'nvmlDeviceGetRowRemapperHistogram' 

617_cyb_nvml_slots[168] = &__nvmlDeviceGetArchitecture; _cyb_nvml_names[168] = b'nvmlDeviceGetArchitecture' 

618_cyb_nvml_slots[169] = &__nvmlDeviceGetClkMonStatus; _cyb_nvml_names[169] = b'nvmlDeviceGetClkMonStatus' 

619_cyb_nvml_slots[170] = &__nvmlDeviceGetProcessUtilization; _cyb_nvml_names[170] = b'nvmlDeviceGetProcessUtilization' 

620_cyb_nvml_slots[171] = &__nvmlDeviceGetProcessesUtilizationInfo; _cyb_nvml_names[171] = b'nvmlDeviceGetProcessesUtilizationInfo' 

621_cyb_nvml_slots[172] = &__nvmlDeviceGetPlatformInfo; _cyb_nvml_names[172] = b'nvmlDeviceGetPlatformInfo' 

622_cyb_nvml_slots[173] = &__nvmlUnitSetLedState; _cyb_nvml_names[173] = b'nvmlUnitSetLedState' 

623_cyb_nvml_slots[174] = &__nvmlDeviceSetPersistenceMode; _cyb_nvml_names[174] = b'nvmlDeviceSetPersistenceMode' 

624_cyb_nvml_slots[175] = &__nvmlDeviceSetComputeMode; _cyb_nvml_names[175] = b'nvmlDeviceSetComputeMode' 

625_cyb_nvml_slots[176] = &__nvmlDeviceSetEccMode; _cyb_nvml_names[176] = b'nvmlDeviceSetEccMode' 

626_cyb_nvml_slots[177] = &__nvmlDeviceClearEccErrorCounts; _cyb_nvml_names[177] = b'nvmlDeviceClearEccErrorCounts' 

627_cyb_nvml_slots[178] = &__nvmlDeviceSetDriverModel; _cyb_nvml_names[178] = b'nvmlDeviceSetDriverModel' 

628_cyb_nvml_slots[179] = &__nvmlDeviceSetGpuLockedClocks; _cyb_nvml_names[179] = b'nvmlDeviceSetGpuLockedClocks' 

629_cyb_nvml_slots[180] = &__nvmlDeviceResetGpuLockedClocks; _cyb_nvml_names[180] = b'nvmlDeviceResetGpuLockedClocks' 

630_cyb_nvml_slots[181] = &__nvmlDeviceSetMemoryLockedClocks; _cyb_nvml_names[181] = b'nvmlDeviceSetMemoryLockedClocks' 

631_cyb_nvml_slots[182] = &__nvmlDeviceResetMemoryLockedClocks; _cyb_nvml_names[182] = b'nvmlDeviceResetMemoryLockedClocks' 

632_cyb_nvml_slots[183] = &__nvmlDeviceSetAutoBoostedClocksEnabled; _cyb_nvml_names[183] = b'nvmlDeviceSetAutoBoostedClocksEnabled' 

633_cyb_nvml_slots[184] = &__nvmlDeviceSetDefaultAutoBoostedClocksEnabled; _cyb_nvml_names[184] = b'nvmlDeviceSetDefaultAutoBoostedClocksEnabled' 

634_cyb_nvml_slots[185] = &__nvmlDeviceSetDefaultFanSpeed_v2; _cyb_nvml_names[185] = b'nvmlDeviceSetDefaultFanSpeed_v2' 

635_cyb_nvml_slots[186] = &__nvmlDeviceSetFanControlPolicy; _cyb_nvml_names[186] = b'nvmlDeviceSetFanControlPolicy' 

636_cyb_nvml_slots[187] = &__nvmlDeviceSetTemperatureThreshold; _cyb_nvml_names[187] = b'nvmlDeviceSetTemperatureThreshold' 

637_cyb_nvml_slots[188] = &__nvmlDeviceSetGpuOperationMode; _cyb_nvml_names[188] = b'nvmlDeviceSetGpuOperationMode' 

638_cyb_nvml_slots[189] = &__nvmlDeviceSetAPIRestriction; _cyb_nvml_names[189] = b'nvmlDeviceSetAPIRestriction' 

639_cyb_nvml_slots[190] = &__nvmlDeviceSetFanSpeed_v2; _cyb_nvml_names[190] = b'nvmlDeviceSetFanSpeed_v2' 

640_cyb_nvml_slots[191] = &__nvmlDeviceSetAccountingMode; _cyb_nvml_names[191] = b'nvmlDeviceSetAccountingMode' 

641_cyb_nvml_slots[192] = &__nvmlDeviceClearAccountingPids; _cyb_nvml_names[192] = b'nvmlDeviceClearAccountingPids' 

642_cyb_nvml_slots[193] = &__nvmlDeviceSetPowerManagementLimit_v2; _cyb_nvml_names[193] = b'nvmlDeviceSetPowerManagementLimit_v2' 

643_cyb_nvml_slots[194] = &__nvmlDeviceGetNvLinkState; _cyb_nvml_names[194] = b'nvmlDeviceGetNvLinkState' 

644_cyb_nvml_slots[195] = &__nvmlDeviceGetNvLinkVersion; _cyb_nvml_names[195] = b'nvmlDeviceGetNvLinkVersion' 

645_cyb_nvml_slots[196] = &__nvmlDeviceGetNvLinkCapability; _cyb_nvml_names[196] = b'nvmlDeviceGetNvLinkCapability' 

646_cyb_nvml_slots[197] = &__nvmlDeviceGetNvLinkRemotePciInfo_v2; _cyb_nvml_names[197] = b'nvmlDeviceGetNvLinkRemotePciInfo_v2' 

647_cyb_nvml_slots[198] = &__nvmlDeviceGetNvLinkErrorCounter; _cyb_nvml_names[198] = b'nvmlDeviceGetNvLinkErrorCounter' 

648_cyb_nvml_slots[199] = &__nvmlDeviceResetNvLinkErrorCounters; _cyb_nvml_names[199] = b'nvmlDeviceResetNvLinkErrorCounters' 

649_cyb_nvml_slots[200] = &__nvmlDeviceGetNvLinkRemoteDeviceType; _cyb_nvml_names[200] = b'nvmlDeviceGetNvLinkRemoteDeviceType' 

650_cyb_nvml_slots[201] = &__nvmlDeviceSetNvLinkDeviceLowPowerThreshold; _cyb_nvml_names[201] = b'nvmlDeviceSetNvLinkDeviceLowPowerThreshold' 

651_cyb_nvml_slots[202] = &__nvmlSystemSetNvlinkBwMode; _cyb_nvml_names[202] = b'nvmlSystemSetNvlinkBwMode' 

652_cyb_nvml_slots[203] = &__nvmlSystemGetNvlinkBwMode; _cyb_nvml_names[203] = b'nvmlSystemGetNvlinkBwMode' 

653_cyb_nvml_slots[204] = &__nvmlDeviceGetNvlinkSupportedBwModes; _cyb_nvml_names[204] = b'nvmlDeviceGetNvlinkSupportedBwModes' 

654_cyb_nvml_slots[205] = &__nvmlDeviceGetNvlinkBwMode; _cyb_nvml_names[205] = b'nvmlDeviceGetNvlinkBwMode' 

655_cyb_nvml_slots[206] = &__nvmlDeviceSetNvlinkBwMode; _cyb_nvml_names[206] = b'nvmlDeviceSetNvlinkBwMode' 

656_cyb_nvml_slots[207] = &__nvmlEventSetCreate; _cyb_nvml_names[207] = b'nvmlEventSetCreate' 

657_cyb_nvml_slots[208] = &__nvmlDeviceRegisterEvents; _cyb_nvml_names[208] = b'nvmlDeviceRegisterEvents' 

658_cyb_nvml_slots[209] = &__nvmlDeviceGetSupportedEventTypes; _cyb_nvml_names[209] = b'nvmlDeviceGetSupportedEventTypes' 

659_cyb_nvml_slots[210] = &__nvmlEventSetWait_v2; _cyb_nvml_names[210] = b'nvmlEventSetWait_v2' 

660_cyb_nvml_slots[211] = &__nvmlEventSetFree; _cyb_nvml_names[211] = b'nvmlEventSetFree' 

661_cyb_nvml_slots[212] = &__nvmlSystemEventSetCreate; _cyb_nvml_names[212] = b'nvmlSystemEventSetCreate' 

662_cyb_nvml_slots[213] = &__nvmlSystemEventSetFree; _cyb_nvml_names[213] = b'nvmlSystemEventSetFree' 

663_cyb_nvml_slots[214] = &__nvmlSystemRegisterEvents; _cyb_nvml_names[214] = b'nvmlSystemRegisterEvents' 

664_cyb_nvml_slots[215] = &__nvmlSystemEventSetWait; _cyb_nvml_names[215] = b'nvmlSystemEventSetWait' 

665_cyb_nvml_slots[216] = &__nvmlDeviceModifyDrainState; _cyb_nvml_names[216] = b'nvmlDeviceModifyDrainState' 

666_cyb_nvml_slots[217] = &__nvmlDeviceQueryDrainState; _cyb_nvml_names[217] = b'nvmlDeviceQueryDrainState' 

667_cyb_nvml_slots[218] = &__nvmlDeviceRemoveGpu_v2; _cyb_nvml_names[218] = b'nvmlDeviceRemoveGpu_v2' 

668_cyb_nvml_slots[219] = &__nvmlDeviceDiscoverGpus; _cyb_nvml_names[219] = b'nvmlDeviceDiscoverGpus' 

669_cyb_nvml_slots[220] = &__nvmlDeviceGetFieldValues; _cyb_nvml_names[220] = b'nvmlDeviceGetFieldValues' 

670_cyb_nvml_slots[221] = &__nvmlDeviceClearFieldValues; _cyb_nvml_names[221] = b'nvmlDeviceClearFieldValues' 

671_cyb_nvml_slots[222] = &__nvmlDeviceGetVirtualizationMode; _cyb_nvml_names[222] = b'nvmlDeviceGetVirtualizationMode' 

672_cyb_nvml_slots[223] = &__nvmlDeviceGetHostVgpuMode; _cyb_nvml_names[223] = b'nvmlDeviceGetHostVgpuMode' 

673_cyb_nvml_slots[224] = &__nvmlDeviceSetVirtualizationMode; _cyb_nvml_names[224] = b'nvmlDeviceSetVirtualizationMode' 

674_cyb_nvml_slots[225] = &__nvmlDeviceGetVgpuHeterogeneousMode; _cyb_nvml_names[225] = b'nvmlDeviceGetVgpuHeterogeneousMode' 

675_cyb_nvml_slots[226] = &__nvmlDeviceSetVgpuHeterogeneousMode; _cyb_nvml_names[226] = b'nvmlDeviceSetVgpuHeterogeneousMode' 

676_cyb_nvml_slots[227] = &__nvmlVgpuInstanceGetPlacementId; _cyb_nvml_names[227] = b'nvmlVgpuInstanceGetPlacementId' 

677_cyb_nvml_slots[228] = &__nvmlDeviceGetVgpuTypeSupportedPlacements; _cyb_nvml_names[228] = b'nvmlDeviceGetVgpuTypeSupportedPlacements' 

678_cyb_nvml_slots[229] = &__nvmlDeviceGetVgpuTypeCreatablePlacements; _cyb_nvml_names[229] = b'nvmlDeviceGetVgpuTypeCreatablePlacements' 

679_cyb_nvml_slots[230] = &__nvmlVgpuTypeGetGspHeapSize; _cyb_nvml_names[230] = b'nvmlVgpuTypeGetGspHeapSize' 

680_cyb_nvml_slots[231] = &__nvmlVgpuTypeGetFbReservation; _cyb_nvml_names[231] = b'nvmlVgpuTypeGetFbReservation' 

681_cyb_nvml_slots[232] = &__nvmlVgpuInstanceGetRuntimeStateSize; _cyb_nvml_names[232] = b'nvmlVgpuInstanceGetRuntimeStateSize' 

682_cyb_nvml_slots[233] = &__nvmlDeviceSetVgpuCapabilities; _cyb_nvml_names[233] = b'nvmlDeviceSetVgpuCapabilities' 

683_cyb_nvml_slots[234] = &__nvmlDeviceGetGridLicensableFeatures_v4; _cyb_nvml_names[234] = b'nvmlDeviceGetGridLicensableFeatures_v4' 

684_cyb_nvml_slots[235] = &__nvmlGetVgpuDriverCapabilities; _cyb_nvml_names[235] = b'nvmlGetVgpuDriverCapabilities' 

685_cyb_nvml_slots[236] = &__nvmlDeviceGetVgpuCapabilities; _cyb_nvml_names[236] = b'nvmlDeviceGetVgpuCapabilities' 

686_cyb_nvml_slots[237] = &__nvmlDeviceGetSupportedVgpus; _cyb_nvml_names[237] = b'nvmlDeviceGetSupportedVgpus' 

687_cyb_nvml_slots[238] = &__nvmlDeviceGetCreatableVgpus; _cyb_nvml_names[238] = b'nvmlDeviceGetCreatableVgpus' 

688_cyb_nvml_slots[239] = &__nvmlVgpuTypeGetClass; _cyb_nvml_names[239] = b'nvmlVgpuTypeGetClass' 

689_cyb_nvml_slots[240] = &__nvmlVgpuTypeGetName; _cyb_nvml_names[240] = b'nvmlVgpuTypeGetName' 

690_cyb_nvml_slots[241] = &__nvmlVgpuTypeGetGpuInstanceProfileId; _cyb_nvml_names[241] = b'nvmlVgpuTypeGetGpuInstanceProfileId' 

691_cyb_nvml_slots[242] = &__nvmlVgpuTypeGetDeviceID; _cyb_nvml_names[242] = b'nvmlVgpuTypeGetDeviceID' 

692_cyb_nvml_slots[243] = &__nvmlVgpuTypeGetFramebufferSize; _cyb_nvml_names[243] = b'nvmlVgpuTypeGetFramebufferSize' 

693_cyb_nvml_slots[244] = &__nvmlVgpuTypeGetNumDisplayHeads; _cyb_nvml_names[244] = b'nvmlVgpuTypeGetNumDisplayHeads' 

694_cyb_nvml_slots[245] = &__nvmlVgpuTypeGetResolution; _cyb_nvml_names[245] = b'nvmlVgpuTypeGetResolution' 

695_cyb_nvml_slots[246] = &__nvmlVgpuTypeGetLicense; _cyb_nvml_names[246] = b'nvmlVgpuTypeGetLicense' 

696_cyb_nvml_slots[247] = &__nvmlVgpuTypeGetFrameRateLimit; _cyb_nvml_names[247] = b'nvmlVgpuTypeGetFrameRateLimit' 

697_cyb_nvml_slots[248] = &__nvmlVgpuTypeGetMaxInstances; _cyb_nvml_names[248] = b'nvmlVgpuTypeGetMaxInstances' 

698_cyb_nvml_slots[249] = &__nvmlVgpuTypeGetMaxInstancesPerVm; _cyb_nvml_names[249] = b'nvmlVgpuTypeGetMaxInstancesPerVm' 

699_cyb_nvml_slots[250] = &__nvmlVgpuTypeGetBAR1Info; _cyb_nvml_names[250] = b'nvmlVgpuTypeGetBAR1Info' 

700_cyb_nvml_slots[251] = &__nvmlDeviceGetActiveVgpus; _cyb_nvml_names[251] = b'nvmlDeviceGetActiveVgpus' 

701_cyb_nvml_slots[252] = &__nvmlVgpuInstanceGetVmID; _cyb_nvml_names[252] = b'nvmlVgpuInstanceGetVmID' 

702_cyb_nvml_slots[253] = &__nvmlVgpuInstanceGetUUID; _cyb_nvml_names[253] = b'nvmlVgpuInstanceGetUUID' 

703_cyb_nvml_slots[254] = &__nvmlVgpuInstanceGetVmDriverVersion; _cyb_nvml_names[254] = b'nvmlVgpuInstanceGetVmDriverVersion' 

704_cyb_nvml_slots[255] = &__nvmlVgpuInstanceGetFbUsage; _cyb_nvml_names[255] = b'nvmlVgpuInstanceGetFbUsage' 

705_cyb_nvml_slots[256] = &__nvmlVgpuInstanceGetLicenseStatus; _cyb_nvml_names[256] = b'nvmlVgpuInstanceGetLicenseStatus' 

706_cyb_nvml_slots[257] = &__nvmlVgpuInstanceGetType; _cyb_nvml_names[257] = b'nvmlVgpuInstanceGetType' 

707_cyb_nvml_slots[258] = &__nvmlVgpuInstanceGetFrameRateLimit; _cyb_nvml_names[258] = b'nvmlVgpuInstanceGetFrameRateLimit' 

708_cyb_nvml_slots[259] = &__nvmlVgpuInstanceGetEccMode; _cyb_nvml_names[259] = b'nvmlVgpuInstanceGetEccMode' 

709_cyb_nvml_slots[260] = &__nvmlVgpuInstanceGetEncoderCapacity; _cyb_nvml_names[260] = b'nvmlVgpuInstanceGetEncoderCapacity' 

710_cyb_nvml_slots[261] = &__nvmlVgpuInstanceSetEncoderCapacity; _cyb_nvml_names[261] = b'nvmlVgpuInstanceSetEncoderCapacity' 

711_cyb_nvml_slots[262] = &__nvmlVgpuInstanceGetEncoderStats; _cyb_nvml_names[262] = b'nvmlVgpuInstanceGetEncoderStats' 

712_cyb_nvml_slots[263] = &__nvmlVgpuInstanceGetEncoderSessions; _cyb_nvml_names[263] = b'nvmlVgpuInstanceGetEncoderSessions' 

713_cyb_nvml_slots[264] = &__nvmlVgpuInstanceGetFBCStats; _cyb_nvml_names[264] = b'nvmlVgpuInstanceGetFBCStats' 

714_cyb_nvml_slots[265] = &__nvmlVgpuInstanceGetFBCSessions; _cyb_nvml_names[265] = b'nvmlVgpuInstanceGetFBCSessions' 

715_cyb_nvml_slots[266] = &__nvmlVgpuInstanceGetGpuInstanceId; _cyb_nvml_names[266] = b'nvmlVgpuInstanceGetGpuInstanceId' 

716_cyb_nvml_slots[267] = &__nvmlVgpuInstanceGetGpuPciId; _cyb_nvml_names[267] = b'nvmlVgpuInstanceGetGpuPciId' 

717_cyb_nvml_slots[268] = &__nvmlVgpuTypeGetCapabilities; _cyb_nvml_names[268] = b'nvmlVgpuTypeGetCapabilities' 

718_cyb_nvml_slots[269] = &__nvmlVgpuInstanceGetMdevUUID; _cyb_nvml_names[269] = b'nvmlVgpuInstanceGetMdevUUID' 

719_cyb_nvml_slots[270] = &__nvmlGpuInstanceGetCreatableVgpus; _cyb_nvml_names[270] = b'nvmlGpuInstanceGetCreatableVgpus' 

720_cyb_nvml_slots[271] = &__nvmlVgpuTypeGetMaxInstancesPerGpuInstance; _cyb_nvml_names[271] = b'nvmlVgpuTypeGetMaxInstancesPerGpuInstance' 

721_cyb_nvml_slots[272] = &__nvmlGpuInstanceGetActiveVgpus; _cyb_nvml_names[272] = b'nvmlGpuInstanceGetActiveVgpus' 

722_cyb_nvml_slots[273] = &__nvmlGpuInstanceSetVgpuSchedulerState; _cyb_nvml_names[273] = b'nvmlGpuInstanceSetVgpuSchedulerState' 

723_cyb_nvml_slots[274] = &__nvmlGpuInstanceGetVgpuSchedulerState; _cyb_nvml_names[274] = b'nvmlGpuInstanceGetVgpuSchedulerState' 

724_cyb_nvml_slots[275] = &__nvmlGpuInstanceGetVgpuSchedulerLog; _cyb_nvml_names[275] = b'nvmlGpuInstanceGetVgpuSchedulerLog' 

725_cyb_nvml_slots[276] = &__nvmlGpuInstanceGetVgpuTypeCreatablePlacements; _cyb_nvml_names[276] = b'nvmlGpuInstanceGetVgpuTypeCreatablePlacements' 

726_cyb_nvml_slots[277] = &__nvmlGpuInstanceGetVgpuHeterogeneousMode; _cyb_nvml_names[277] = b'nvmlGpuInstanceGetVgpuHeterogeneousMode' 

727_cyb_nvml_slots[278] = &__nvmlGpuInstanceSetVgpuHeterogeneousMode; _cyb_nvml_names[278] = b'nvmlGpuInstanceSetVgpuHeterogeneousMode' 

728_cyb_nvml_slots[279] = &__nvmlVgpuInstanceGetMetadata; _cyb_nvml_names[279] = b'nvmlVgpuInstanceGetMetadata' 

729_cyb_nvml_slots[280] = &__nvmlDeviceGetVgpuMetadata; _cyb_nvml_names[280] = b'nvmlDeviceGetVgpuMetadata' 

730_cyb_nvml_slots[281] = &__nvmlGetVgpuCompatibility; _cyb_nvml_names[281] = b'nvmlGetVgpuCompatibility' 

731_cyb_nvml_slots[282] = &__nvmlDeviceGetPgpuMetadataString; _cyb_nvml_names[282] = b'nvmlDeviceGetPgpuMetadataString' 

732_cyb_nvml_slots[283] = &__nvmlDeviceGetVgpuSchedulerLog; _cyb_nvml_names[283] = b'nvmlDeviceGetVgpuSchedulerLog' 

733_cyb_nvml_slots[284] = &__nvmlDeviceGetVgpuSchedulerState; _cyb_nvml_names[284] = b'nvmlDeviceGetVgpuSchedulerState' 

734_cyb_nvml_slots[285] = &__nvmlDeviceGetVgpuSchedulerCapabilities; _cyb_nvml_names[285] = b'nvmlDeviceGetVgpuSchedulerCapabilities' 

735_cyb_nvml_slots[286] = &__nvmlDeviceSetVgpuSchedulerState; _cyb_nvml_names[286] = b'nvmlDeviceSetVgpuSchedulerState' 

736_cyb_nvml_slots[287] = &__nvmlGetVgpuVersion; _cyb_nvml_names[287] = b'nvmlGetVgpuVersion' 

737_cyb_nvml_slots[288] = &__nvmlSetVgpuVersion; _cyb_nvml_names[288] = b'nvmlSetVgpuVersion' 

738_cyb_nvml_slots[289] = &__nvmlDeviceGetVgpuUtilization; _cyb_nvml_names[289] = b'nvmlDeviceGetVgpuUtilization' 

739_cyb_nvml_slots[290] = &__nvmlDeviceGetVgpuInstancesUtilizationInfo; _cyb_nvml_names[290] = b'nvmlDeviceGetVgpuInstancesUtilizationInfo' 

740_cyb_nvml_slots[291] = &__nvmlDeviceGetVgpuProcessUtilization; _cyb_nvml_names[291] = b'nvmlDeviceGetVgpuProcessUtilization' 

741_cyb_nvml_slots[292] = &__nvmlDeviceGetVgpuProcessesUtilizationInfo; _cyb_nvml_names[292] = b'nvmlDeviceGetVgpuProcessesUtilizationInfo' 

742_cyb_nvml_slots[293] = &__nvmlVgpuInstanceGetAccountingMode; _cyb_nvml_names[293] = b'nvmlVgpuInstanceGetAccountingMode' 

743_cyb_nvml_slots[294] = &__nvmlVgpuInstanceGetAccountingPids; _cyb_nvml_names[294] = b'nvmlVgpuInstanceGetAccountingPids' 

744_cyb_nvml_slots[295] = &__nvmlVgpuInstanceGetAccountingStats; _cyb_nvml_names[295] = b'nvmlVgpuInstanceGetAccountingStats' 

745_cyb_nvml_slots[296] = &__nvmlVgpuInstanceClearAccountingPids; _cyb_nvml_names[296] = b'nvmlVgpuInstanceClearAccountingPids' 

746_cyb_nvml_slots[297] = &__nvmlVgpuInstanceGetLicenseInfo_v2; _cyb_nvml_names[297] = b'nvmlVgpuInstanceGetLicenseInfo_v2' 

747_cyb_nvml_slots[298] = &__nvmlGetExcludedDeviceCount; _cyb_nvml_names[298] = b'nvmlGetExcludedDeviceCount' 

748_cyb_nvml_slots[299] = &__nvmlGetExcludedDeviceInfoByIndex; _cyb_nvml_names[299] = b'nvmlGetExcludedDeviceInfoByIndex' 

749_cyb_nvml_slots[300] = &__nvmlDeviceSetMigMode; _cyb_nvml_names[300] = b'nvmlDeviceSetMigMode' 

750_cyb_nvml_slots[301] = &__nvmlDeviceGetMigMode; _cyb_nvml_names[301] = b'nvmlDeviceGetMigMode' 

751_cyb_nvml_slots[302] = &__nvmlDeviceGetGpuInstanceProfileInfoV; _cyb_nvml_names[302] = b'nvmlDeviceGetGpuInstanceProfileInfoV' 

752_cyb_nvml_slots[303] = &__nvmlDeviceGetGpuInstancePossiblePlacements_v2; _cyb_nvml_names[303] = b'nvmlDeviceGetGpuInstancePossiblePlacements_v2' 

753_cyb_nvml_slots[304] = &__nvmlDeviceGetGpuInstanceRemainingCapacity; _cyb_nvml_names[304] = b'nvmlDeviceGetGpuInstanceRemainingCapacity' 

754_cyb_nvml_slots[305] = &__nvmlDeviceCreateGpuInstance; _cyb_nvml_names[305] = b'nvmlDeviceCreateGpuInstance' 

755_cyb_nvml_slots[306] = &__nvmlDeviceCreateGpuInstanceWithPlacement; _cyb_nvml_names[306] = b'nvmlDeviceCreateGpuInstanceWithPlacement' 

756_cyb_nvml_slots[307] = &__nvmlGpuInstanceDestroy; _cyb_nvml_names[307] = b'nvmlGpuInstanceDestroy' 

757_cyb_nvml_slots[308] = &__nvmlDeviceGetGpuInstances; _cyb_nvml_names[308] = b'nvmlDeviceGetGpuInstances' 

758_cyb_nvml_slots[309] = &__nvmlDeviceGetGpuInstanceById; _cyb_nvml_names[309] = b'nvmlDeviceGetGpuInstanceById' 

759_cyb_nvml_slots[310] = &__nvmlGpuInstanceGetInfo; _cyb_nvml_names[310] = b'nvmlGpuInstanceGetInfo' 

760_cyb_nvml_slots[311] = &__nvmlGpuInstanceGetComputeInstanceProfileInfoV; _cyb_nvml_names[311] = b'nvmlGpuInstanceGetComputeInstanceProfileInfoV' 

761_cyb_nvml_slots[312] = &__nvmlGpuInstanceGetComputeInstanceRemainingCapacity; _cyb_nvml_names[312] = b'nvmlGpuInstanceGetComputeInstanceRemainingCapacity' 

762_cyb_nvml_slots[313] = &__nvmlGpuInstanceGetComputeInstancePossiblePlacements; _cyb_nvml_names[313] = b'nvmlGpuInstanceGetComputeInstancePossiblePlacements' 

763_cyb_nvml_slots[314] = &__nvmlGpuInstanceCreateComputeInstance; _cyb_nvml_names[314] = b'nvmlGpuInstanceCreateComputeInstance' 

764_cyb_nvml_slots[315] = &__nvmlGpuInstanceCreateComputeInstanceWithPlacement; _cyb_nvml_names[315] = b'nvmlGpuInstanceCreateComputeInstanceWithPlacement' 

765_cyb_nvml_slots[316] = &__nvmlComputeInstanceDestroy; _cyb_nvml_names[316] = b'nvmlComputeInstanceDestroy' 

766_cyb_nvml_slots[317] = &__nvmlGpuInstanceGetComputeInstances; _cyb_nvml_names[317] = b'nvmlGpuInstanceGetComputeInstances' 

767_cyb_nvml_slots[318] = &__nvmlGpuInstanceGetComputeInstanceById; _cyb_nvml_names[318] = b'nvmlGpuInstanceGetComputeInstanceById' 

768_cyb_nvml_slots[319] = &__nvmlComputeInstanceGetInfo_v2; _cyb_nvml_names[319] = b'nvmlComputeInstanceGetInfo_v2' 

769_cyb_nvml_slots[320] = &__nvmlDeviceIsMigDeviceHandle; _cyb_nvml_names[320] = b'nvmlDeviceIsMigDeviceHandle' 

770_cyb_nvml_slots[321] = &__nvmlDeviceGetGpuInstanceId; _cyb_nvml_names[321] = b'nvmlDeviceGetGpuInstanceId' 

771_cyb_nvml_slots[322] = &__nvmlDeviceGetComputeInstanceId; _cyb_nvml_names[322] = b'nvmlDeviceGetComputeInstanceId' 

772_cyb_nvml_slots[323] = &__nvmlDeviceGetMaxMigDeviceCount; _cyb_nvml_names[323] = b'nvmlDeviceGetMaxMigDeviceCount' 

773_cyb_nvml_slots[324] = &__nvmlDeviceGetMigDeviceHandleByIndex; _cyb_nvml_names[324] = b'nvmlDeviceGetMigDeviceHandleByIndex' 

774_cyb_nvml_slots[325] = &__nvmlDeviceGetDeviceHandleFromMigDeviceHandle; _cyb_nvml_names[325] = b'nvmlDeviceGetDeviceHandleFromMigDeviceHandle' 

775_cyb_nvml_slots[326] = &__nvmlDeviceGetCapabilities; _cyb_nvml_names[326] = b'nvmlDeviceGetCapabilities' 

776_cyb_nvml_slots[327] = &__nvmlDevicePowerSmoothingActivatePresetProfile; _cyb_nvml_names[327] = b'nvmlDevicePowerSmoothingActivatePresetProfile' 

777_cyb_nvml_slots[328] = &__nvmlDevicePowerSmoothingUpdatePresetProfileParam; _cyb_nvml_names[328] = b'nvmlDevicePowerSmoothingUpdatePresetProfileParam' 

778_cyb_nvml_slots[329] = &__nvmlDevicePowerSmoothingSetState; _cyb_nvml_names[329] = b'nvmlDevicePowerSmoothingSetState' 

779_cyb_nvml_slots[330] = &__nvmlDeviceGetAddressingMode; _cyb_nvml_names[330] = b'nvmlDeviceGetAddressingMode' 

780_cyb_nvml_slots[331] = &__nvmlDeviceGetRepairStatus; _cyb_nvml_names[331] = b'nvmlDeviceGetRepairStatus' 

781_cyb_nvml_slots[332] = &__nvmlDeviceGetPowerMizerMode_v1; _cyb_nvml_names[332] = b'nvmlDeviceGetPowerMizerMode_v1' 

782_cyb_nvml_slots[333] = &__nvmlDeviceSetPowerMizerMode_v1; _cyb_nvml_names[333] = b'nvmlDeviceSetPowerMizerMode_v1' 

783_cyb_nvml_slots[334] = &__nvmlDeviceGetPdi; _cyb_nvml_names[334] = b'nvmlDeviceGetPdi' 

784_cyb_nvml_slots[335] = &__nvmlDeviceSetHostname_v1; _cyb_nvml_names[335] = b'nvmlDeviceSetHostname_v1' 

785_cyb_nvml_slots[336] = &__nvmlDeviceGetHostname_v1; _cyb_nvml_names[336] = b'nvmlDeviceGetHostname_v1' 

786_cyb_nvml_slots[337] = &__nvmlDeviceGetNvLinkInfo; _cyb_nvml_names[337] = b'nvmlDeviceGetNvLinkInfo' 

787_cyb_nvml_slots[338] = &__nvmlDeviceReadWritePRM_v1; _cyb_nvml_names[338] = b'nvmlDeviceReadWritePRM_v1' 

788_cyb_nvml_slots[339] = &__nvmlDeviceGetGpuInstanceProfileInfoByIdV; _cyb_nvml_names[339] = b'nvmlDeviceGetGpuInstanceProfileInfoByIdV' 

789_cyb_nvml_slots[340] = &__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts; _cyb_nvml_names[340] = b'nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts' 

790_cyb_nvml_slots[341] = &__nvmlDeviceGetUnrepairableMemoryFlag_v1; _cyb_nvml_names[341] = b'nvmlDeviceGetUnrepairableMemoryFlag_v1' 

791_cyb_nvml_slots[342] = &__nvmlDeviceReadPRMCounters_v1; _cyb_nvml_names[342] = b'nvmlDeviceReadPRMCounters_v1' 

792_cyb_nvml_slots[343] = &__nvmlDeviceSetRusdSettings_v1; _cyb_nvml_names[343] = b'nvmlDeviceSetRusdSettings_v1' 

793_cyb_nvml_slots[344] = &__nvmlDeviceVgpuForceGspUnload; _cyb_nvml_names[344] = b'nvmlDeviceVgpuForceGspUnload' 

794_cyb_nvml_slots[345] = &__nvmlDeviceGetVgpuSchedulerState_v2; _cyb_nvml_names[345] = b'nvmlDeviceGetVgpuSchedulerState_v2' 

795_cyb_nvml_slots[346] = &__nvmlGpuInstanceGetVgpuSchedulerState_v2; _cyb_nvml_names[346] = b'nvmlGpuInstanceGetVgpuSchedulerState_v2' 

796_cyb_nvml_slots[347] = &__nvmlDeviceGetVgpuSchedulerLog_v2; _cyb_nvml_names[347] = b'nvmlDeviceGetVgpuSchedulerLog_v2' 

797_cyb_nvml_slots[348] = &__nvmlGpuInstanceGetVgpuSchedulerLog_v2; _cyb_nvml_names[348] = b'nvmlGpuInstanceGetVgpuSchedulerLog_v2' 

798_cyb_nvml_slots[349] = &__nvmlDeviceSetVgpuSchedulerState_v2; _cyb_nvml_names[349] = b'nvmlDeviceSetVgpuSchedulerState_v2' 

799_cyb_nvml_slots[350] = &__nvmlGpuInstanceSetVgpuSchedulerState_v2; _cyb_nvml_names[350] = b'nvmlGpuInstanceSetVgpuSchedulerState_v2' 

800_cyb_nvml_slots[351] = &__nvmlSystemGetCPER_v1; _cyb_nvml_names[351] = b'nvmlSystemGetCPER_v1' 

801_cyb_nvml_slots[352] = &__nvmlDeviceGetBBXTimeData_v1; _cyb_nvml_names[352] = b'nvmlDeviceGetBBXTimeData_v1' 

802_cyb_nvml_slots[353] = &__nvmlDeviceGetAccountingStats_v2; _cyb_nvml_names[353] = b'nvmlDeviceGetAccountingStats_v2' 

803_cyb_nvml_slots[354] = &__nvmlDeviceGetRemappedRows_v2; _cyb_nvml_names[354] = b'nvmlDeviceGetRemappedRows_v2' 

804_cyb_nvml_slots[355] = &__nvmlDeviceSetAdaptiveTgpMode_v1; _cyb_nvml_names[355] = b'nvmlDeviceSetAdaptiveTgpMode_v1' 

805_cyb_nvml_slots[356] = &__nvmlDeviceGetAdaptiveTgpModeInfo_v1; _cyb_nvml_names[356] = b'nvmlDeviceGetAdaptiveTgpModeInfo_v1' 

806_cyb_nvml_slots[357] = &__nvmlDeviceSetMemoryLimits_v1; _cyb_nvml_names[357] = b'nvmlDeviceSetMemoryLimits_v1' 

807_cyb_nvml_slots[358] = &__nvmlDeviceGetMemoryLimits_v1; _cyb_nvml_names[358] = b'nvmlDeviceGetMemoryLimits_v1' 

808_cyb_nvml_slots[359] = &__nvmlDeviceGetGpuFabricInfo_v4; _cyb_nvml_names[359] = b'nvmlDeviceGetGpuFabricInfo_v4' 

809_cyb_nvml_slots[360] = &__nvmlDevicePerfMetricsGetSamples_v1; _cyb_nvml_names[360] = b'nvmlDevicePerfMetricsGetSamples_v1' 

810_cyb_nvml_slots[361] = &__nvmlDeviceSetNvlinkBwModeAsync_v1; _cyb_nvml_names[361] = b'nvmlDeviceSetNvlinkBwModeAsync_v1' 

811_cyb_nvml_slots[362] = &__nvmlDeviceGetNvLinkTelemetrySamples_v1; _cyb_nvml_names[362] = b'nvmlDeviceGetNvLinkTelemetrySamples_v1' 

812_cyb_nvml_slots[363] = &__nvmlEventSetRegisterGpuOperationalEvents_v1; _cyb_nvml_names[363] = b'nvmlEventSetRegisterGpuOperationalEvents_v1' 

813_cyb_nvml_slots[364] = &__nvmlEventSetWait_v3; _cyb_nvml_names[364] = b'nvmlEventSetWait_v3' 

814_cyb_nvml_slots[365] = &__nvmlEventSetGetContextCount_v1; _cyb_nvml_names[365] = b'nvmlEventSetGetContextCount_v1' 

815_cyb_nvml_slots[366] = &__nvmlEventSetGetContextInfo_v1; _cyb_nvml_names[366] = b'nvmlEventSetGetContextInfo_v1' 

816_cyb_nvml_slots[367] = &__nvmlEventSetGetContextData_v1; _cyb_nvml_names[367] = b'nvmlEventSetGetContextData_v1' 

817_cyb_nvml_slots[368] = &__nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1; _cyb_nvml_names[368] = b'nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1' 

818_cyb_nvml_slots[369] = &__nvmlDeviceGetBankRemapperStatus_v1; _cyb_nvml_names[369] = b'nvmlDeviceGetBankRemapperStatus_v1' 

819_cyb_nvml_slots[370] = &__nvmlDeviceGetGpuUptime_v1; _cyb_nvml_names[370] = b'nvmlDeviceGetGpuUptime_v1' 

820_cyb_nvml_slots[371] = &__nvmlSystemGetConfComputeSettings_v2; _cyb_nvml_names[371] = b'nvmlSystemGetConfComputeSettings_v2' 

821_cyb_nvml_slots[372] = &__nvmlDeviceGetNvLinkInfo_v3; _cyb_nvml_names[372] = b'nvmlDeviceGetNvLinkInfo_v3' 

822_cyb_nvml_slots[373] = &__nvmlDeviceGetNvlinkRemapTableInfo_v1; _cyb_nvml_names[373] = b'nvmlDeviceGetNvlinkRemapTableInfo_v1' 

823_cyb_nvml_slots[374] = &__nvmlDeviceSetNvlinkNvleReady_v1; _cyb_nvml_names[374] = b'nvmlDeviceSetNvlinkNvleReady_v1' 

824_cyb_nvml_slots[375] = &__nvmlDeviceLockNvlinkRemapTable_v1; _cyb_nvml_names[375] = b'nvmlDeviceLockNvlinkRemapTable_v1' 

825_cyb_nvml_slots[376] = &__nvmlDeviceSetupNvlinkNvleEncryptionKey_v1; _cyb_nvml_names[376] = b'nvmlDeviceSetupNvlinkNvleEncryptionKey_v1' 

826_cyb_nvml_slots[377] = &__nvmlDeviceGetNvlinkNvlePrivateInfo_v1; _cyb_nvml_names[377] = b'nvmlDeviceGetNvlinkNvlePrivateInfo_v1' 

827  

828cdef int _init_nvml() except -1 nogil: 

829 global _cyb___py_nvml_init 

830 cdef void* handle = NULL 

831 cdef Py_ssize_t i 

832 with gil, _cyb_symbol_lock: 

833 if _cyb___py_nvml_init: return 0 

834  

835 for i in range(_cyb_nvml_n_functions): 

836 _cyb_nvml_slots[i][0] = _cyb_dlsym(_cyb_RTLD_DEFAULT, _cyb_nvml_names[i]) 

837 if _cyb_nvml_slots[i][0] == NULL: 

838 if handle == NULL: 

839 handle = load_library() 

840 _cyb_nvml_slots[i][0] = _cyb_dlsym(handle, _cyb_nvml_names[i]) 

841  

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

843 return 0 

844  

845cdef inline int _check_or_init_nvml() except -1 nogil: 2a k l 3 4 YbEb5 Zbu 6 0bv 7 1b8 9 2bFb! 3b# $ 4bP % 5bw ' 6bx ( 7b) * 8b+ , 9by - !bz . #bA / $b: ; %b= ? 'bGb@ (b1 [ )bM ] *bs ^ +bB _ ,b` -bN { .bO | /bm :b;bQ } =b?b~ @bab[b]bHbbb^bR cb_bIbdb`bC eb{bt fb|bD }bS Jb~bKbT acLbgbbchbccibdcjbeckbfclbgcmbhcnbicMbobjcNbpbkcObqblcmcncocpcqcrcsctcucvcwcxcPbycr f g n b o U rbzcE sbAcQbF tbV Scc G ubW X p d vbH h j i I BcCce q J wbK DcEcFcGcHcIcY JcKcLcMcNcxb

846 if _cyb_atomic_int_load(<int *>&_cyb___py_nvml_init): 2a k ybRbTcl 3 4 YbEb5 Zbu 6 0bv 7 1b8 9 2bFb! 3b# $ 4bP % 5bw ' 6bx ( 7b) * 8b+ , 9by - !bz . #bA / $b: ; %b= ? 'bGb@ (b1 [ )bM ] *bs ^ +bB _ ,b` -bN { .bO | /bm :b;bQ } =b?b~ @bab[b]bCbHbbb^bR cb_bIbdb`bC eb{bt fb|bD }bOcSbUcPcTbVcS Jb~bKbT acQcUbWcRcVbXcLbgbbchbccibdcjbeckbfclbgcmbhcnbicMbobjcNbpbkcObqblcmcncocpcqcrcsctcucvcwcxcPbycr 2 f Ycg n b o U rbzcZ E sbAczbQbF tbV Scc G ubW X p Dbd WbXbZc0cvb0 H h j Abi L I BcCce q J wbBbK DcEcFcGcHcIcY JcKcLcMcNcxb

847 return 0 2a k ybRbTcl 3 4 YbEb5 Zbu 6 0bv 7 1b8 9 2bFb! 3b# $ 4bP % 5bw ' 6bx ( 7b) * 8b+ , 9by - !bz . #bA / $b: ; %b= ? 'bGb@ (b1 [ )bM ] *bs ^ +bB _ ,b` -bN { .bO | /bm :b;bQ } =b?b~ @bab[b]bCbHbbb^bR cb_bIbdb`bC eb{bt fb|bD }bOcSbUcPcTbVcS Jb~bKbT acQcUbWcRcVbXcLbgbbchbccibdcjbeckbfclbgcmbhcnbicMbobjcNbpbkcObqblcmcncocpcqcrcsctcucvcwcxcPbycr 2 f Ycg n b o U rbzcZ E sbAczbQbF tbV c G ubW X p Dbd WbXbZc0cvb0 H h j Abi L I BcCce q J wbBbK DcEcFcGcHcIcY JcKcLcMcNcxb

848  

849 return _init_nvml() 

850  

851  

852cpdef dict _inspect_function_pointers(): 

853 global _cyb_func_ptrs 

854 if _cyb_func_ptrs is not None: 

855 return _cyb_func_ptrs 

856  

857 _check_or_init_nvml() 

858 cdef dict data = {} 

859 cdef Py_ssize_t i 

860 for i in range(_cyb_nvml_n_functions): 

861 data['__' + _cyb_nvml_names[i].decode()] = <intptr_t>_cyb_nvml_slots[i][0] 

862 _cyb_func_ptrs = data 

863 return data 

864  

865  

866cpdef _inspect_function_pointer(str name): 

867 global _cyb_func_ptrs 

868 if _cyb_func_ptrs is None: 

869 _cyb_func_ptrs = _inspect_function_pointers() 

870 return _cyb_func_ptrs[name] 

871  

872  

873  

874  

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

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

877 return <void*>handle 

878  

879  

880############################################################################### 

881# Wrapper functions 

882############################################################################### 

883  

884cdef nvmlReturn_t _nvmlInit_v2() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a k l 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | :b} ~ [bbbcbdbebfbD JbT gbhbibjbkblbmbnbobpbqbncqctcwcPbSc

885 global __nvmlInit_v2 

886 _check_or_init_nvml() 2a k Rbl 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | :b} ~ [bCbbbcbdbebfbD SbTbJbT UbVbgbhbibjbkblbmbnbobpbqbncqctcwcPbK

887 if __nvmlInit_v2 == NULL: 2a k Rbl 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | :b} ~ [bCbbbcbdbebfbD SbTbJbT UbVbgbhbibjbkblbmbnbobpbqbncqctcwcPbK

888 with gil: 2a k l 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | :b} ~ [bbbcbdbebfbD JbT gbhbibjbkblbmbnbobpbqbncqctcwcPbSc

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

890 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlInit_v2)( 2a k Rbl 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | :b} ~ [bCbbbcbdbebfbD SbTbJbT UbVbgbhbibjbkblbmbnbobpbqbncqctcwcPbK

891 ) 

892  

893  

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

895 global __nvmlInitWithFlags 

896 _check_or_init_nvml() 

897 if __nvmlInitWithFlags == NULL: 

898 with gil: 

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

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

901 flags) 

902  

903  

904cdef nvmlReturn_t _nvmlShutdown() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a k l YbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b;b=b@b]b^b_b`b{b|bD }b~bacbcccdcecfcgchcicjckclcocrcucxcyc

905 global __nvmlShutdown 

906 _check_or_init_nvml() 2a k Tcl YbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b;b=b@b]bCb^b_b`b{b|bD }bUcVc~bacWcXcbcccdcecfcgchcicjckclcocrcucxcyc

907 if __nvmlShutdown == NULL: 2a k Tcl YbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b;b=b@b]bCb^b_b`b{b|bD }bUcVc~bacWcXcbcccdcecfcgchcicjckclcocrcucxcyc

908 with gil: 2a k l YbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b;b=b@b]b^b_b`b{b|bD }b~bacbcccdcecfcgchcicjckclcocrcucxcyc

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

910 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlShutdown)( 2a k Tcl YbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b;b=b@b]bCb^b_b`b{b|bD }bUcVc~bacWcXcbcccdcecfcgchcicjckclcocrcucxcyc

911 ) 

912  

913  

914cdef const char* _nvmlErrorString(nvmlReturn_t result) except?NULL nogil: 2a u v P w x ) + y A 1 M B N O R IbC t r f g b o d h e DcEcFcGcMcNc

915 global __nvmlErrorString 

916 _check_or_init_nvml() 2ybu v P w x ) + y A M s B N O CbR IbC t f g b o Z d h j L e BbDcEcFcGcMcNc

917 if __nvmlErrorString == NULL: 2ybu v P w x ) + y A M s B N O CbR IbC t f g b o Z d h j L e BbDcEcFcGcMcNc

918 with gil: 2u v P w x ) + y A 1 M B N O R IbC t r f g b o d h e DcEcFcGcMcNc

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

920 return (<const char* (*)(nvmlReturn_t) noexcept nogil>__nvmlErrorString)( 2ybu v P w x ) + y A M s B N O CbR IbC t f g b o Z d h j L e BbDcEcFcGcMcNc

921 result) 

922  

923  

924cdef nvmlReturn_t _nvmlSystemGetDriverVersion(char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a scJc

925 global __nvmlSystemGetDriverVersion 

926 _check_or_init_nvml() 2scJc

927 if __nvmlSystemGetDriverVersion == NULL: 2scJc

928 with gil: 2scJc

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

930 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetDriverVersion)( 2scJc

931 version, length) 

932  

933  

934cdef nvmlReturn_t _nvmlSystemGetNVMLVersion(char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a vcKc

935 global __nvmlSystemGetNVMLVersion 

936 _check_or_init_nvml() 2vcKc

937 if __nvmlSystemGetNVMLVersion == NULL: 2vcKc

938 with gil: 2vcKc

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

940 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetNVMLVersion)( 2vcKc

941 version, length) 

942  

943  

944cdef nvmlReturn_t _nvmlSystemGetCudaDriverVersion(int* cudaDriverVersion) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a pcLc

945 global __nvmlSystemGetCudaDriverVersion 

946 _check_or_init_nvml() 2a pcLc

947 if __nvmlSystemGetCudaDriverVersion == NULL: 2a pcLc

948 with gil: 2a pcLc

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

950 return (<nvmlReturn_t (*)(int*) noexcept nogil>__nvmlSystemGetCudaDriverVersion)( 2a pcLc

951 cudaDriverVersion) 

952  

953  

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

955 global __nvmlSystemGetCudaDriverVersion_v2 

956 _check_or_init_nvml() 

957 if __nvmlSystemGetCudaDriverVersion_v2 == NULL: 

958 with gil: 

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

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

961 cudaDriverVersion) 

962  

963  

964cdef nvmlReturn_t _nvmlSystemGetProcessName(unsigned int pid, char* name, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a mcY

965 global __nvmlSystemGetProcessName 

966 _check_or_init_nvml() 2mcY

967 if __nvmlSystemGetProcessName == NULL: 2mcY

968 with gil: 2mcY

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

970 return (<nvmlReturn_t (*)(unsigned int, char*, unsigned int) noexcept nogil>__nvmlSystemGetProcessName)( 2mcY

971 pid, name, length) 

972  

973  

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

975 global __nvmlSystemGetHicVersion 

976 _check_or_init_nvml() 

977 if __nvmlSystemGetHicVersion == NULL: 

978 with gil: 

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

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

981 hwbcCount, hwbcEntries) 

982  

983  

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

985 global __nvmlSystemGetTopologyGpuSet 

986 _check_or_init_nvml() 2Db

987 if __nvmlSystemGetTopologyGpuSet == NULL: 2Db

988 with gil: 

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

990 return (<nvmlReturn_t (*)(unsigned int, unsigned int*, nvmlDevice_t*) noexcept nogil>__nvmlSystemGetTopologyGpuSet)( 2Db

991 cpuNumber, count, deviceArray) 

992  

993  

994cdef nvmlReturn_t _nvmlSystemGetDriverBranch(nvmlSystemDriverBranchInfo_t* branchInfo, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Ic

995 global __nvmlSystemGetDriverBranch 

996 _check_or_init_nvml() 2a Ic

997 if __nvmlSystemGetDriverBranch == NULL: 2a Ic

998 with gil: 2a Ic

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

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

1001 branchInfo, length) 

1002  

1003  

1004cdef nvmlReturn_t _nvmlUnitGetCount(unsigned int* unitCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Pb

1005 global __nvmlUnitGetCount 

1006 _check_or_init_nvml() 2Pb

1007 if __nvmlUnitGetCount == NULL: 2Pb

1008 with gil: 2Pb

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

1010 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlUnitGetCount)( 2Pb

1011 unitCount) 

1012  

1013  

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

1015 global __nvmlUnitGetHandleByIndex 

1016 _check_or_init_nvml() 

1017 if __nvmlUnitGetHandleByIndex == NULL: 

1018 with gil: 

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

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

1021 index, unit) 

1022  

1023  

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

1025 global __nvmlUnitGetUnitInfo 

1026 _check_or_init_nvml() 

1027 if __nvmlUnitGetUnitInfo == NULL: 

1028 with gil: 

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

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

1031 unit, info) 

1032  

1033  

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

1035 global __nvmlUnitGetLedState 

1036 _check_or_init_nvml() 

1037 if __nvmlUnitGetLedState == NULL: 

1038 with gil: 

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

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

1041 unit, state) 

1042  

1043  

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

1045 global __nvmlUnitGetPsuInfo 

1046 _check_or_init_nvml() 

1047 if __nvmlUnitGetPsuInfo == NULL: 

1048 with gil: 

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

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

1051 unit, psu) 

1052  

1053  

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

1055 global __nvmlUnitGetTemperature 

1056 _check_or_init_nvml() 

1057 if __nvmlUnitGetTemperature == NULL: 

1058 with gil: 

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

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

1061 unit, type, temp) 

1062  

1063  

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

1065 global __nvmlUnitGetFanSpeedInfo 

1066 _check_or_init_nvml() 

1067 if __nvmlUnitGetFanSpeedInfo == NULL: 

1068 with gil: 

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

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

1071 unit, fanSpeeds) 

1072  

1073  

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

1075 global __nvmlUnitGetDevices 

1076 _check_or_init_nvml() 

1077 if __nvmlUnitGetDevices == NULL: 

1078 with gil: 

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

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

1081 unit, deviceCount, devices) 

1082  

1083  

1084cdef nvmlReturn_t _nvmlDeviceGetCount_v2(unsigned int* deviceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a k l 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | m } ~ abbbcbdbebfbD JbT gbhbibjbkblbmbnbobpbqbr f g n b rbE sbAcF tbScG ubW p d vbH h j i I e q J wbHcY

1085 global __nvmlDeviceGetCount_v2 

1086 _check_or_init_nvml() 2a k Rbl 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | m } ~ abCbbbcbdbebfbD SbTbJbT UbVbgbhbibjbkblbmbnbobpbqbr 2 f Ycg n b rbZ E sbAczbF tbG ubW p d WbXbZc0cvb0 H h j Abi L I e q J wbHcY

1087 if __nvmlDeviceGetCount_v2 == NULL: 2a k Rbl 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | m } ~ abCbbbcbdbebfbD SbTbJbT UbVbgbhbibjbkblbmbnbobpbqbr 2 f Ycg n b rbZ E sbAczbF tbG ubW p d WbXbZc0cvb0 H h j Abi L I e q J wbHcY

1088 with gil: 2a k l 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | m } ~ abbbcbdbebfbD JbT gbhbibjbkblbmbnbobpbqbr f g n b rbE sbAcF tbScG ubW p d vbH h j i I e q J wbHcY

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

1090 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlDeviceGetCount_v2)( 2a k Rbl 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | m } ~ abCbbbcbdbebfbD SbTbJbT UbVbgbhbibjbkblbmbnbobpbqbr 2 f Ycg n b rbZ E sbAczbF tbG ubW p d WbXbZc0cvb0 H h j Abi L I e q J wbHcY

1091 deviceCount) 

1092  

1093  

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

1095 global __nvmlDeviceGetAttributes_v2 

1096 _check_or_init_nvml() 1Z

1097 if __nvmlDeviceGetAttributes_v2 == NULL: 1Z

1098 with gil: 

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

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

1101 device, attributes) 

1102  

1103  

1104cdef nvmlReturn_t _nvmlDeviceGetHandleByIndex_v2(unsigned int index, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a k l 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | m } ~ abbbcbdbebfbD S T gbhbibjbkblbmbnbobpbqbr f g n b rbzcE sbF tbG ubW p d vbH h j i I BcCce q J wbY

1105 global __nvmlDeviceGetHandleByIndex_v2 

1106 _check_or_init_nvml() 2a k Rbl 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | m } ~ abbbcbdbebfbD SbTbS T UbVbgbhbibjbkblbmbnbobpbqbr 2 f g n b rbzcZ E sbzbF tbG ubW p d WbXbvb0 H h j Abi L I BcCce q J wbY

1107 if __nvmlDeviceGetHandleByIndex_v2 == NULL: 2a k Rbl 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | m } ~ abbbcbdbebfbD SbTbS T UbVbgbhbibjbkblbmbnbobpbqbr 2 f g n b rbzcZ E sbzbF tbG ubW p d WbXbvb0 H h j Abi L I BcCce q J wbY

1108 with gil: 2a k l 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | m } ~ abbbcbdbebfbD S T gbhbibjbkblbmbnbobpbqbr f g n b rbzcE sbF tbG ubW p d vbH h j i I BcCce q J wbY

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

1110 return (<nvmlReturn_t (*)(unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByIndex_v2)( 2a k Rbl 4 5 6 7 9 ! $ % ' ( * , - . / ; ? @ [ ] ^ _ ` { | m } ~ abbbcbdbebfbD SbTbS T UbVbgbhbibjbkblbmbnbobpbqbr 2 f g n b rbzcZ E sbzbF tbG ubW p d WbXbvb0 H h j Abi L I BcCce q J wbY

1111 index, device) 

1112  

1113  

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

1115 global __nvmlDeviceGetHandleBySerial 

1116 _check_or_init_nvml() 

1117 if __nvmlDeviceGetHandleBySerial == NULL: 

1118 with gil: 

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

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

1121 serial, device) 

1122  

1123  

1124cdef nvmlReturn_t _nvmlDeviceGetHandleByUUID(const char* uuid, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Kbo U QbV c X K xb

1125 global __nvmlDeviceGetHandleByUUID 

1126 _check_or_init_nvml() 2a Kbo U QbV c X K xb

1127 if __nvmlDeviceGetHandleByUUID == NULL: 2a Kbo U QbV c X K xb

1128 with gil: 2a Kbo U QbV c X K xb

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

1130 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUID)( 2a Kbo U QbV c X K xb

1131 uuid, device) 

1132  

1133  

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

1135 global __nvmlDeviceGetHandleByUUIDV 

1136 _check_or_init_nvml() 1z

1137 if __nvmlDeviceGetHandleByUUIDV == NULL: 1z

1138 with gil: 1z

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

1140 return (<nvmlReturn_t (*)(const nvmlUUID_t*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUIDV)( 1z

1141 uuid, device) 

1142  

1143  

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

1145 global __nvmlDeviceGetHandleByPciBusId_v2 

1146 _check_or_init_nvml() 1SVK

1147 if __nvmlDeviceGetHandleByPciBusId_v2 == NULL: 1SVK

1148 with gil: 1SVK

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

1150 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByPciBusId_v2)( 1SVK

1151 pciBusId, device) 

1152  

1153  

1154cdef nvmlReturn_t _nvmlDeviceGetName(nvmlDevice_t device, char* name, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a k l u v w x y z A 1 M B N O HbC t Kbr f g b tbh e

1155 global __nvmlDeviceGetName 

1156 _check_or_init_nvml() 2k l u v w x y z A B HbC Kbf g b Z tbh j e

1157 if __nvmlDeviceGetName == NULL: 2k l u v w x y z A B HbC Kbf g b Z tbh j e

1158 with gil: 2k l u v w x y z A 1 M B N O HbC t Kbr f g b tbh e

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

1160 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetName)( 2k l u v w x y z A B HbC Kbf g b Z tbh j e

1161 device, name, length) 

1162  

1163  

1164cdef nvmlReturn_t _nvmlDeviceGetBrand(nvmlDevice_t device, nvmlBrandType_t* type) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a sb

1165 global __nvmlDeviceGetBrand 

1166 _check_or_init_nvml() 2sb

1167 if __nvmlDeviceGetBrand == NULL: 2sb

1168 with gil: 2sb

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

1170 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBrandType_t*) noexcept nogil>__nvmlDeviceGetBrand)( 2sb

1171 device, type) 

1172  

1173  

1174cdef nvmlReturn_t _nvmlDeviceGetIndex(nvmlDevice_t device, unsigned int* index) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a 3 u v 8 # P w x ) + y z A : = 1 M s B N O Q abC t r f g n b o U E F V c G X p d vbH h j i I e q J K

1175 global __nvmlDeviceGetIndex 

1176 _check_or_init_nvml() 2yb3 u v 8 # P w x ) + y z A : = 1 M s B N O Q abC t r 2 f g n b o U Z E zbF V c G X p Dbd vb0 H h j Abi I e q J K

1177 if __nvmlDeviceGetIndex == NULL: 2yb3 u v 8 # P w x ) + y z A : = 1 M s B N O Q abC t r 2 f g n b o U Z E zbF V c G X p Dbd vb0 H h j Abi I e q J K

1178 with gil: 23 u v 8 # P w x ) + y z A : = 1 M s B N O Q abC t r f g n b o U E F V c G X p d vbH h j i I e q J K

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

1180 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIndex)( 2yb3 u v 8 # P w x ) + y z A : = 1 M s B N O Q abC t r 2 f g n b o U Z E zbF V c G X p Dbd vb0 H h j Abi I e q J K

1181 device, index) 

1182  

1183  

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

1185 global __nvmlDeviceGetSerial 

1186 _check_or_init_nvml() 1G

1187 if __nvmlDeviceGetSerial == NULL: 1G

1188 with gil: 1G

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

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

1191 device, serial, length) 

1192  

1193  

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

1195 global __nvmlDeviceGetModuleId 

1196 _check_or_init_nvml() 1mH

1197 if __nvmlDeviceGetModuleId == NULL: 1mH

1198 with gil: 1mH

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

1200 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetModuleId)( 1mH

1201 device, moduleId) 

1202  

1203  

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

1205 global __nvmlDeviceGetC2cModeInfoV 

1206 _check_or_init_nvml() 1g

1207 if __nvmlDeviceGetC2cModeInfoV == NULL: 1g

1208 with gil: 1g

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

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

1211 device, c2cModeInfo) 

1212  

1213  

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

1215 global __nvmlDeviceGetMemoryAffinity 

1216 _check_or_init_nvml() 2QcRc2

1217 if __nvmlDeviceGetMemoryAffinity == NULL: 2QcRc2

1218 with gil: 

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

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

1221 device, nodeSetSize, nodeSet, scope) 

1222  

1223  

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

1225 global __nvmlDeviceGetCpuAffinityWithinScope 

1226 _check_or_init_nvml() 2OcPc2 zbDb

1227 if __nvmlDeviceGetCpuAffinityWithinScope == NULL: 2OcPc2 zbDb

1228 with gil: 

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

1230 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*, nvmlAffinityScope_t) noexcept nogil>__nvmlDeviceGetCpuAffinityWithinScope)( 2OcPc2 zbDb

1231 device, cpuSetSize, cpuSet, scope) 

1232  

1233  

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

1235 global __nvmlDeviceGetCpuAffinity 

1236 _check_or_init_nvml() 

1237 if __nvmlDeviceGetCpuAffinity == NULL: 

1238 with gil: 

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

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

1241 device, cpuSetSize, cpuSet) 

1242  

1243  

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

1245 global __nvmlDeviceSetCpuAffinity 

1246 _check_or_init_nvml() 

1247 if __nvmlDeviceSetCpuAffinity == NULL: 

1248 with gil: 

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

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

1251 device) 

1252  

1253  

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

1255 global __nvmlDeviceClearCpuAffinity 

1256 _check_or_init_nvml() 

1257 if __nvmlDeviceClearCpuAffinity == NULL: 

1258 with gil: 

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

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

1261 device) 

1262  

1263  

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

1265 global __nvmlDeviceGetNumaNodeId 

1266 _check_or_init_nvml() 1h

1267 if __nvmlDeviceGetNumaNodeId == NULL: 1h

1268 with gil: 1h

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

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

1271 device, node) 

1272  

1273  

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

1275 global __nvmlDeviceGetTopologyCommonAncestor 

1276 _check_or_init_nvml() 

1277 if __nvmlDeviceGetTopologyCommonAncestor == NULL: 

1278 with gil: 

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

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

1281 device1, device2, pathInfo) 

1282  

1283  

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

1285 global __nvmlDeviceGetTopologyNearestGpus 

1286 _check_or_init_nvml() 2Xb

1287 if __nvmlDeviceGetTopologyNearestGpus == NULL: 2Xb

1288 with gil: 

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

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

1291 device, level, count, deviceArray) 

1292  

1293  

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

1295 global __nvmlDeviceGetP2PStatus 

1296 _check_or_init_nvml() 

1297 if __nvmlDeviceGetP2PStatus == NULL: 

1298 with gil: 

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

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

1301 device1, device2, p2pIndex, p2pStatus) 

1302  

1303  

1304cdef nvmlReturn_t _nvmlDeviceGetUUID(nvmlDevice_t device, char* uuid, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a z m T ubq wbxb

1305 global __nvmlDeviceGetUUID 

1306 _check_or_init_nvml() 2a z m T ubq wbxb

1307 if __nvmlDeviceGetUUID == NULL: 2a z m T ubq wbxb

1308 with gil: 2a z m T ubq wbxb

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

1310 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetUUID)( 2a z m T ubq wbxb

1311 device, uuid, length) 

1312  

1313  

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

1315 global __nvmlDeviceGetMinorNumber 

1316 _check_or_init_nvml() 2Wb

1317 if __nvmlDeviceGetMinorNumber == NULL: 2Wb

1318 with gil: 

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

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

1321 device, minorNumber) 

1322  

1323  

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

1325 global __nvmlDeviceGetBoardPartNumber 

1326 _check_or_init_nvml() 1d

1327 if __nvmlDeviceGetBoardPartNumber == NULL: 1d

1328 with gil: 1d

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

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

1331 device, partNumber, length) 

1332  

1333  

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

1335 global __nvmlDeviceGetInforomVersion 

1336 _check_or_init_nvml() 1d

1337 if __nvmlDeviceGetInforomVersion == NULL: 1d

1338 with gil: 1d

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

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

1341 device, object, version, length) 

1342  

1343  

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

1345 global __nvmlDeviceGetInforomImageVersion 

1346 _check_or_init_nvml() 1d

1347 if __nvmlDeviceGetInforomImageVersion == NULL: 1d

1348 with gil: 1d

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

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

1351 device, version, length) 

1352  

1353  

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

1355 global __nvmlDeviceGetInforomConfigurationChecksum 

1356 _check_or_init_nvml() 1d

1357 if __nvmlDeviceGetInforomConfigurationChecksum == NULL: 1d

1358 with gil: 1d

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

1360 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetInforomConfigurationChecksum)( 1d

1361 device, checksum) 

1362  

1363  

1364cdef nvmlReturn_t _nvmlDeviceValidateInforom(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1ad

1365 global __nvmlDeviceValidateInforom 

1366 _check_or_init_nvml() 1d

1367 if __nvmlDeviceValidateInforom == NULL: 1d

1368 with gil: 1d

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

1370 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceValidateInforom)( 1d

1371 device) 

1372  

1373  

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

1375 global __nvmlDeviceGetLastBBXFlushTime 

1376 _check_or_init_nvml() 1d

1377 if __nvmlDeviceGetLastBBXFlushTime == NULL: 1d

1378 with gil: 1d

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

1380 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*, unsigned long*) noexcept nogil>__nvmlDeviceGetLastBBXFlushTime)( 1d

1381 device, timestamp, durationUs) 

1382  

1383  

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

1385 global __nvmlDeviceGetDisplayMode 

1386 _check_or_init_nvml() 1W

1387 if __nvmlDeviceGetDisplayMode == NULL: 1W

1388 with gil: 1W

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

1390 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetDisplayMode)( 1W

1391 device, display) 

1392  

1393  

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

1395 global __nvmlDeviceGetDisplayActive 

1396 _check_or_init_nvml() 1W

1397 if __nvmlDeviceGetDisplayActive == NULL: 1W

1398 with gil: 1W

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

1400 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetDisplayActive)( 1W

1401 device, isActive) 

1402  

1403  

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

1405 global __nvmlDeviceGetPersistenceMode 

1406 _check_or_init_nvml() 2Ab

1407 if __nvmlDeviceGetPersistenceMode == NULL: 2Ab

1408 with gil: 

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

1410 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetPersistenceMode)( 2Ab

1411 device, mode) 

1412  

1413  

1414cdef nvmlReturn_t _nvmlDeviceGetPciInfoExt(nvmlDevice_t device, nvmlPciInfoExt_t* pci) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a V c q K xb

1415 global __nvmlDeviceGetPciInfoExt 

1416 _check_or_init_nvml() 2V c q K xb

1417 if __nvmlDeviceGetPciInfoExt == NULL: 2V c q K xb

1418 with gil: 2V c q K xb

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

1420 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfoExt_t*) noexcept nogil>__nvmlDeviceGetPciInfoExt)( 2V c q K xb

1421 device, pci) 

1422  

1423  

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

1425 global __nvmlDeviceGetPciInfo_v3 

1426 _check_or_init_nvml() 1kltS

1427 if __nvmlDeviceGetPciInfo_v3 == NULL: 1kltS

1428 with gil: 1kltS

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

1430 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetPciInfo_v3)( 1kltS

1431 device, pci) 

1432  

1433  

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

1435 global __nvmlDeviceGetMaxPcieLinkGeneration 

1436 _check_or_init_nvml() 1c

1437 if __nvmlDeviceGetMaxPcieLinkGeneration == NULL: 1c

1438 with gil: 1c

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

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

1441 device, maxLinkGen) 

1442  

1443  

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

1445 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

1446 _check_or_init_nvml() 1c

1447 if __nvmlDeviceGetGpuMaxPcieLinkGeneration == NULL: 1c

1448 with gil: 1c

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

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

1451 device, maxLinkGenDevice) 

1452  

1453  

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

1455 global __nvmlDeviceGetMaxPcieLinkWidth 

1456 _check_or_init_nvml() 1c

1457 if __nvmlDeviceGetMaxPcieLinkWidth == NULL: 1c

1458 with gil: 1c

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

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

1461 device, maxLinkWidth) 

1462  

1463  

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

1465 global __nvmlDeviceGetCurrPcieLinkGeneration 

1466 _check_or_init_nvml() 1c

1467 if __nvmlDeviceGetCurrPcieLinkGeneration == NULL: 1c

1468 with gil: 1c

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

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

1471 device, currLinkGen) 

1472  

1473  

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

1475 global __nvmlDeviceGetCurrPcieLinkWidth 

1476 _check_or_init_nvml() 1c

1477 if __nvmlDeviceGetCurrPcieLinkWidth == NULL: 1c

1478 with gil: 1c

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

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

1481 device, currLinkWidth) 

1482  

1483  

1484cdef nvmlReturn_t _nvmlDeviceGetPcieThroughput(nvmlDevice_t device, nvmlPcieUtilCounter_t counter, unsigned int* value) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Mbc

1485 global __nvmlDeviceGetPcieThroughput 

1486 _check_or_init_nvml() 2Mbc

1487 if __nvmlDeviceGetPcieThroughput == NULL: 2Mbc

1488 with gil: 2Mbc

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

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

1491 device, counter, value) 

1492  

1493  

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

1495 global __nvmlDeviceGetPcieReplayCounter 

1496 _check_or_init_nvml() 1c

1497 if __nvmlDeviceGetPcieReplayCounter == NULL: 1c

1498 with gil: 1c

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

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

1501 device, value) 

1502  

1503  

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

1505 global __nvmlDeviceGetClockInfo 

1506 _check_or_init_nvml() 

1507 if __nvmlDeviceGetClockInfo == NULL: 

1508 with gil: 

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

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

1511 device, type, clock) 

1512  

1513  

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

1515 global __nvmlDeviceGetMaxClockInfo 

1516 _check_or_init_nvml() 1b

1517 if __nvmlDeviceGetMaxClockInfo == NULL: 1b

1518 with gil: 1b

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

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

1521 device, type, clock) 

1522  

1523  

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

1525 global __nvmlDeviceGetGpcClkVfOffset 

1526 _check_or_init_nvml() 

1527 if __nvmlDeviceGetGpcClkVfOffset == NULL: 

1528 with gil: 

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

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

1531 device, offset) 

1532  

1533  

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

1535 global __nvmlDeviceGetClock 

1536 _check_or_init_nvml() 1b

1537 if __nvmlDeviceGetClock == NULL: 1b

1538 with gil: 1b

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

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

1541 device, clockType, clockId, clockMHz) 

1542  

1543  

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

1545 global __nvmlDeviceGetMaxCustomerBoostClock 

1546 _check_or_init_nvml() 1b

1547 if __nvmlDeviceGetMaxCustomerBoostClock == NULL: 1b

1548 with gil: 1b

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

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

1551 device, clockType, clockMHz) 

1552  

1553  

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

1555 global __nvmlDeviceGetSupportedMemoryClocks 

1556 _check_or_init_nvml() 

1557 if __nvmlDeviceGetSupportedMemoryClocks == NULL: 

1558 with gil: 

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

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

1561 device, count, clocksMHz) 

1562  

1563  

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

1565 global __nvmlDeviceGetSupportedGraphicsClocks 

1566 _check_or_init_nvml() 

1567 if __nvmlDeviceGetSupportedGraphicsClocks == NULL: 

1568 with gil: 

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

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

1571 device, memoryClockMHz, count, clocksMHz) 

1572  

1573  

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

1575 global __nvmlDeviceGetAutoBoostedClocksEnabled 

1576 _check_or_init_nvml() 1f

1577 if __nvmlDeviceGetAutoBoostedClocksEnabled == NULL: 1f

1578 with gil: 1f

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

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

1581 device, isEnabled, defaultIsEnabled) 

1582  

1583  

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

1585 global __nvmlDeviceGetFanSpeed 

1586 _check_or_init_nvml() 

1587 if __nvmlDeviceGetFanSpeed == NULL: 

1588 with gil: 

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

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

1591 device, speed) 

1592  

1593  

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

1595 global __nvmlDeviceGetFanSpeed_v2 

1596 _check_or_init_nvml() 

1597 if __nvmlDeviceGetFanSpeed_v2 == NULL: 

1598 with gil: 

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

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

1601 device, fan, speed) 

1602  

1603  

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

1605 global __nvmlDeviceGetFanSpeedRPM 

1606 _check_or_init_nvml() 

1607 if __nvmlDeviceGetFanSpeedRPM == NULL: 

1608 with gil: 

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

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

1611 device, fanSpeed) 

1612  

1613  

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

1615 global __nvmlDeviceGetTargetFanSpeed 

1616 _check_or_init_nvml() 

1617 if __nvmlDeviceGetTargetFanSpeed == NULL: 

1618 with gil: 

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

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

1621 device, fan, targetSpeed) 

1622  

1623  

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

1625 global __nvmlDeviceGetMinMaxFanSpeed 

1626 _check_or_init_nvml() 

1627 if __nvmlDeviceGetMinMaxFanSpeed == NULL: 

1628 with gil: 

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

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

1631 device, minSpeed, maxSpeed) 

1632  

1633  

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

1635 global __nvmlDeviceGetFanControlPolicy_v2 

1636 _check_or_init_nvml() 

1637 if __nvmlDeviceGetFanControlPolicy_v2 == NULL: 

1638 with gil: 

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

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

1641 device, fan, policy) 

1642  

1643  

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

1645 global __nvmlDeviceGetNumFans 

1646 _check_or_init_nvml() 1UX

1647 if __nvmlDeviceGetNumFans == NULL: 1UX

1648 with gil: 1UX

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

1650 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumFans)( 1UX

1651 device, numFans) 

1652  

1653  

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

1655 global __nvmlDeviceGetCoolerInfo 

1656 _check_or_init_nvml() 

1657 if __nvmlDeviceGetCoolerInfo == NULL: 

1658 with gil: 

1659 raise FunctionNotFoundError("function nvmlDeviceGetCoolerInfo is not found") 

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

1661 device, coolerInfo) 

1662  

1663  

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

1665 global __nvmlDeviceGetTemperatureV 

1666 _check_or_init_nvml() 1e

1667 if __nvmlDeviceGetTemperatureV == NULL: 1e

1668 with gil: 1e

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

1670 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperature_t*) noexcept nogil>__nvmlDeviceGetTemperatureV)( 1e

1671 device, temperature) 

1672  

1673  

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

1675 global __nvmlDeviceGetTemperatureThreshold 

1676 _check_or_init_nvml() 1Be

1677 if __nvmlDeviceGetTemperatureThreshold == NULL: 1Be

1678 with gil: 1Be

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

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

1681 device, thresholdType, temp) 

1682  

1683  

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

1685 global __nvmlDeviceGetMarginTemperature 

1686 _check_or_init_nvml() 1e

1687 if __nvmlDeviceGetMarginTemperature == NULL: 1e

1688 with gil: 1e

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

1690 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMarginTemperature_t*) noexcept nogil>__nvmlDeviceGetMarginTemperature)( 1e

1691 device, marginTempInfo) 

1692  

1693  

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

1695 global __nvmlDeviceGetThermalSettings 

1696 _check_or_init_nvml() 1e

1697 if __nvmlDeviceGetThermalSettings == NULL: 1e

1698 with gil: 1e

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

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

1701 device, sensorIndex, pThermalSettings) 

1702  

1703  

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

1705 global __nvmlDeviceGetPerformanceState 

1706 _check_or_init_nvml() 1bi

1707 if __nvmlDeviceGetPerformanceState == NULL: 1bi

1708 with gil: 1bi

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

1710 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t*) noexcept nogil>__nvmlDeviceGetPerformanceState)( 1bi

1711 device, pState) 

1712  

1713  

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

1715 global __nvmlDeviceGetCurrentClocksEventReasons 

1716 _check_or_init_nvml() 1n

1717 if __nvmlDeviceGetCurrentClocksEventReasons == NULL: 1n

1718 with gil: 1n

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

1720 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetCurrentClocksEventReasons)( 1n

1721 device, clocksEventReasons) 

1722  

1723  

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

1725 global __nvmlDeviceGetSupportedClocksEventReasons 

1726 _check_or_init_nvml() 1n

1727 if __nvmlDeviceGetSupportedClocksEventReasons == NULL: 1n

1728 with gil: 1n

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

1730 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedClocksEventReasons)( 1n

1731 device, supportedClocksEventReasons) 

1732  

1733  

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

1735 global __nvmlDeviceGetPowerState 

1736 _check_or_init_nvml() 

1737 if __nvmlDeviceGetPowerState == NULL: 

1738 with gil: 

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

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

1741 device, pState) 

1742  

1743  

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

1745 global __nvmlDeviceGetDynamicPstatesInfo 

1746 _check_or_init_nvml() 1i

1747 if __nvmlDeviceGetDynamicPstatesInfo == NULL: 1i

1748 with gil: 1i

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

1750 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuDynamicPstatesInfo_t*) noexcept nogil>__nvmlDeviceGetDynamicPstatesInfo)( 1i

1751 device, pDynamicPstatesInfo) 

1752  

1753  

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

1755 global __nvmlDeviceGetMemClkVfOffset 

1756 _check_or_init_nvml() 

1757 if __nvmlDeviceGetMemClkVfOffset == NULL: 

1758 with gil: 

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

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

1761 device, offset) 

1762  

1763  

1764cdef 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: 1ab

1765 global __nvmlDeviceGetMinMaxClockOfPState 

1766 _check_or_init_nvml() 1b

1767 if __nvmlDeviceGetMinMaxClockOfPState == NULL: 1b

1768 with gil: 1b

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

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

1771 device, type, pstate, minClockMHz, maxClockMHz) 

1772  

1773  

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

1775 global __nvmlDeviceGetSupportedPerformanceStates 

1776 _check_or_init_nvml() 1i

1777 if __nvmlDeviceGetSupportedPerformanceStates == NULL: 1i

1778 with gil: 1i

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

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

1781 device, pstates, size) 

1782  

1783  

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

1785 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

1786 _check_or_init_nvml() 

1787 if __nvmlDeviceGetGpcClkMinMaxVfOffset == NULL: 

1788 with gil: 

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

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

1791 device, minOffset, maxOffset) 

1792  

1793  

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

1795 global __nvmlDeviceGetMemClkMinMaxVfOffset 

1796 _check_or_init_nvml() 

1797 if __nvmlDeviceGetMemClkMinMaxVfOffset == NULL: 

1798 with gil: 

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

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

1801 device, minOffset, maxOffset) 

1802  

1803  

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

1805 global __nvmlDeviceGetClockOffsets 

1806 _check_or_init_nvml() 1b

1807 if __nvmlDeviceGetClockOffsets == NULL: 1b

1808 with gil: 1b

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

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

1811 device, info) 

1812  

1813  

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

1815 global __nvmlDeviceSetClockOffsets 

1816 _check_or_init_nvml() 

1817 if __nvmlDeviceSetClockOffsets == NULL: 

1818 with gil: 

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

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

1821 device, info) 

1822  

1823  

1824cdef nvmlReturn_t _nvmlDeviceGetPerformanceModes(nvmlDevice_t device, nvmlDevicePerfModes_t* perfModes) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1a#

1825 global __nvmlDeviceGetPerformanceModes 

1826 _check_or_init_nvml() 1#

1827 if __nvmlDeviceGetPerformanceModes == NULL: 1#

1828 with gil: 1#

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

1830 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePerfModes_t*) noexcept nogil>__nvmlDeviceGetPerformanceModes)( 1#

1831 device, perfModes) 

1832  

1833  

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

1835 global __nvmlDeviceGetCurrentClockFreqs 

1836 _check_or_init_nvml() 13

1837 if __nvmlDeviceGetCurrentClockFreqs == NULL: 13

1838 with gil: 13

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

1840 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCurrentClockFreqs_t*) noexcept nogil>__nvmlDeviceGetCurrentClockFreqs)( 13

1841 device, currentClockFreqs) 

1842  

1843  

1844cdef nvmlReturn_t _nvmlDeviceGetPowerManagementLimit(nvmlDevice_t device, unsigned int* limit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1a:s

1845 global __nvmlDeviceGetPowerManagementLimit 

1846 _check_or_init_nvml() 1:s

1847 if __nvmlDeviceGetPowerManagementLimit == NULL: 1:s

1848 with gil: 1:s

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

1850 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerManagementLimit)( 1:s

1851 device, limit) 

1852  

1853  

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

1855 global __nvmlDeviceGetPowerManagementLimitConstraints 

1856 _check_or_init_nvml() 1s

1857 if __nvmlDeviceGetPowerManagementLimitConstraints == NULL: 1s

1858 with gil: 1s

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

1860 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerManagementLimitConstraints)( 1s

1861 device, minLimit, maxLimit) 

1862  

1863  

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

1865 global __nvmlDeviceGetPowerManagementDefaultLimit 

1866 _check_or_init_nvml() 

1867 if __nvmlDeviceGetPowerManagementDefaultLimit == NULL: 

1868 with gil: 

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

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

1871 device, defaultLimit) 

1872  

1873  

1874cdef nvmlReturn_t _nvmlDeviceGetPowerUsage(nvmlDevice_t device, unsigned int* power) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Nb

1875 global __nvmlDeviceGetPowerUsage 

1876 _check_or_init_nvml() 2Nb

1877 if __nvmlDeviceGetPowerUsage == NULL: 2Nb

1878 with gil: 2Nb

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

1880 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerUsage)( 2Nb

1881 device, power) 

1882  

1883  

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

1885 global __nvmlDeviceGetTotalEnergyConsumption 

1886 _check_or_init_nvml() 

1887 if __nvmlDeviceGetTotalEnergyConsumption == NULL: 

1888 with gil: 

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

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

1891 device, energy) 

1892  

1893  

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

1895 global __nvmlDeviceGetEnforcedPowerLimit 

1896 _check_or_init_nvml() 

1897 if __nvmlDeviceGetEnforcedPowerLimit == NULL: 

1898 with gil: 

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

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

1901 device, limit) 

1902  

1903  

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

1905 global __nvmlDeviceGetGpuOperationMode 

1906 _check_or_init_nvml() 

1907 if __nvmlDeviceGetGpuOperationMode == NULL: 

1908 with gil: 

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

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

1911 device, current, pending) 

1912  

1913  

1914cdef nvmlReturn_t _nvmlDeviceGetMemoryInfo_v2(nvmlDevice_t device, nvmlMemory_v2_t* memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a LbF

1915 global __nvmlDeviceGetMemoryInfo_v2 

1916 _check_or_init_nvml() 2LbF

1917 if __nvmlDeviceGetMemoryInfo_v2 == NULL: 2LbF

1918 with gil: 2LbF

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

1920 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_v2_t*) noexcept nogil>__nvmlDeviceGetMemoryInfo_v2)( 2LbF

1921 device, memory) 

1922  

1923  

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

1925 global __nvmlDeviceGetComputeMode 

1926 _check_or_init_nvml() 2yb

1927 if __nvmlDeviceGetComputeMode == NULL: 2yb

1928 with gil: 

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

1930 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t*) noexcept nogil>__nvmlDeviceGetComputeMode)( 2yb

1931 device, mode) 

1932  

1933  

1934cdef nvmlReturn_t _nvmlDeviceGetCudaComputeCapability(nvmlDevice_t device, int* major, int* minor) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Qb

1935 global __nvmlDeviceGetCudaComputeCapability 

1936 _check_or_init_nvml() 2Qb

1937 if __nvmlDeviceGetCudaComputeCapability == NULL: 2Qb

1938 with gil: 2Qb

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

1940 return (<nvmlReturn_t (*)(nvmlDevice_t, int*, int*) noexcept nogil>__nvmlDeviceGetCudaComputeCapability)( 2Qb

1941 device, major, minor) 

1942  

1943  

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

1945 global __nvmlDeviceGetDramEncryptionMode 

1946 _check_or_init_nvml() 

1947 if __nvmlDeviceGetDramEncryptionMode == NULL: 

1948 with gil: 

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

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

1951 device, current, pending) 

1952  

1953  

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

1955 global __nvmlDeviceSetDramEncryptionMode 

1956 _check_or_init_nvml() 

1957 if __nvmlDeviceSetDramEncryptionMode == NULL: 

1958 with gil: 

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

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

1961 device, dramEncryption) 

1962  

1963  

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

1965 global __nvmlDeviceGetEccMode 

1966 _check_or_init_nvml() 1R

1967 if __nvmlDeviceGetEccMode == NULL: 1R

1968 with gil: 1R

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

1970 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetEccMode)( 1R

1971 device, current, pending) 

1972  

1973  

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

1975 global __nvmlDeviceGetDefaultEccMode 

1976 _check_or_init_nvml() 

1977 if __nvmlDeviceGetDefaultEccMode == NULL: 

1978 with gil: 

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

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

1981 device, defaultMode) 

1982  

1983  

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

1985 global __nvmlDeviceGetBoardId 

1986 _check_or_init_nvml() 

1987 if __nvmlDeviceGetBoardId == NULL: 

1988 with gil: 

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

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

1991 device, boardId) 

1992  

1993  

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

1995 global __nvmlDeviceGetMultiGpuBoard 

1996 _check_or_init_nvml() 

1997 if __nvmlDeviceGetMultiGpuBoard == NULL: 

1998 with gil: 

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

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

2001 device, multiGpuBool) 

2002  

2003  

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

2005 global __nvmlDeviceGetTotalEccErrors 

2006 _check_or_init_nvml() 

2007 if __nvmlDeviceGetTotalEccErrors == NULL: 

2008 with gil: 

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

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

2011 device, errorType, counterType, eccCounts) 

2012  

2013  

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

2015 global __nvmlDeviceGetMemoryErrorCounter 

2016 _check_or_init_nvml() 

2017 if __nvmlDeviceGetMemoryErrorCounter == NULL: 

2018 with gil: 

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

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

2021 device, errorType, counterType, locationType, count) 

2022  

2023  

2024cdef nvmlReturn_t _nvmlDeviceGetUtilizationRates(nvmlDevice_t device, nvmlUtilization_t* utilization) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a ObJ

2025 global __nvmlDeviceGetUtilizationRates 

2026 _check_or_init_nvml() 2ObJ

2027 if __nvmlDeviceGetUtilizationRates == NULL: 2ObJ

2028 with gil: 2ObJ

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

2030 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUtilization_t*) noexcept nogil>__nvmlDeviceGetUtilizationRates)( 2ObJ

2031 device, utilization) 

2032  

2033  

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

2035 global __nvmlDeviceGetEncoderUtilization 

2036 _check_or_init_nvml() 

2037 if __nvmlDeviceGetEncoderUtilization == NULL: 

2038 with gil: 

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

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

2041 device, utilization, samplingPeriodUs) 

2042  

2043  

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

2045 global __nvmlDeviceGetEncoderCapacity 

2046 _check_or_init_nvml() 

2047 if __nvmlDeviceGetEncoderCapacity == NULL: 

2048 with gil: 

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

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

2051 device, encoderQueryType, encoderCapacity) 

2052  

2053  

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

2055 global __nvmlDeviceGetEncoderStats 

2056 _check_or_init_nvml() 

2057 if __nvmlDeviceGetEncoderStats == NULL: 

2058 with gil: 

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

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

2061 device, sessionCount, averageFps, averageLatency) 

2062  

2063  

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

2065 global __nvmlDeviceGetEncoderSessions 

2066 _check_or_init_nvml() 

2067 if __nvmlDeviceGetEncoderSessions == NULL: 

2068 with gil: 

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

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

2071 device, sessionCount, sessionInfos) 

2072  

2073  

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

2075 global __nvmlDeviceGetDecoderUtilization 

2076 _check_or_init_nvml() 

2077 if __nvmlDeviceGetDecoderUtilization == NULL: 

2078 with gil: 

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

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

2081 device, utilization, samplingPeriodUs) 

2082  

2083  

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

2085 global __nvmlDeviceGetJpgUtilization 

2086 _check_or_init_nvml() 

2087 if __nvmlDeviceGetJpgUtilization == NULL: 

2088 with gil: 

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

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

2091 device, utilization, samplingPeriodUs) 

2092  

2093  

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

2095 global __nvmlDeviceGetOfaUtilization 

2096 _check_or_init_nvml() 

2097 if __nvmlDeviceGetOfaUtilization == NULL: 

2098 with gil: 

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

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

2101 device, utilization, samplingPeriodUs) 

2102  

2103  

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

2105 global __nvmlDeviceGetFBCStats 

2106 _check_or_init_nvml() 

2107 if __nvmlDeviceGetFBCStats == NULL: 

2108 with gil: 

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

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

2111 device, fbcStats) 

2112  

2113  

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

2115 global __nvmlDeviceGetFBCSessions 

2116 _check_or_init_nvml() 

2117 if __nvmlDeviceGetFBCSessions == NULL: 

2118 with gil: 

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

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

2121 device, sessionCount, sessionInfo) 

2122  

2123  

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

2125 global __nvmlDeviceGetDriverModel_v2 

2126 _check_or_init_nvml() 

2127 if __nvmlDeviceGetDriverModel_v2 == NULL: 

2128 with gil: 

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

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

2131 device, current, pending) 

2132  

2133  

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

2135 global __nvmlDeviceGetVbiosVersion 

2136 _check_or_init_nvml() 

2137 if __nvmlDeviceGetVbiosVersion == NULL: 

2138 with gil: 

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

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

2141 device, version, length) 

2142  

2143  

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

2145 global __nvmlDeviceGetBridgeChipInfo 

2146 _check_or_init_nvml() 1C

2147 if __nvmlDeviceGetBridgeChipInfo == NULL: 1C

2148 with gil: 1C

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

2150 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBridgeChipHierarchy_t*) noexcept nogil>__nvmlDeviceGetBridgeChipInfo)( 1C

2151 device, bridgeHierarchy) 

2152  

2153  

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

2155 global __nvmlDeviceGetComputeRunningProcesses_v3 

2156 _check_or_init_nvml() 1oY

2157 if __nvmlDeviceGetComputeRunningProcesses_v3 == NULL: 1oY

2158 with gil: 1oY

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

2160 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetComputeRunningProcesses_v3)( 1oY

2161 device, infoCount, infos) 

2162  

2163  

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

2165 global __nvmlDeviceGetGraphicsRunningProcesses_v3 

2166 _check_or_init_nvml() 

2167 if __nvmlDeviceGetGraphicsRunningProcesses_v3 == NULL: 

2168 with gil: 

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

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

2171 device, infoCount, infos) 

2172  

2173  

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

2175 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

2176 _check_or_init_nvml() 

2177 if __nvmlDeviceGetMPSComputeRunningProcesses_v3 == NULL: 

2178 with gil: 

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

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

2181 device, infoCount, infos) 

2182  

2183  

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

2185 global __nvmlDeviceGetRunningProcessDetailList 

2186 _check_or_init_nvml() 

2187 if __nvmlDeviceGetRunningProcessDetailList == NULL: 

2188 with gil: 

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

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

2191 device, plist) 

2192  

2193  

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

2195 global __nvmlDeviceOnSameBoard 

2196 _check_or_init_nvml() 

2197 if __nvmlDeviceOnSameBoard == NULL: 

2198 with gil: 

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

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

2201 device1, device2, onSameBoard) 

2202  

2203  

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

2205 global __nvmlDeviceGetAPIRestriction 

2206 _check_or_init_nvml() 

2207 if __nvmlDeviceGetAPIRestriction == NULL: 

2208 with gil: 

2209 raise FunctionNotFoundError("function nvmlDeviceGetAPIRestriction is not found") 

2210 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAPIRestriction)( 

2211 device, apiType, isRestricted) 

2212  

2213  

2214cdef 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: 1aP

2215 global __nvmlDeviceGetSamples 

2216 _check_or_init_nvml() 1P

2217 if __nvmlDeviceGetSamples == NULL: 1P

2218 with gil: 1P

2219 raise FunctionNotFoundError("function nvmlDeviceGetSamples is not found") 

2220 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlSamplingType_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlSample_t*) noexcept nogil>__nvmlDeviceGetSamples)( 1P

2221 device, type, lastSeenTimeStamp, sampleValType, sampleCount, samples) 

2222  

2223  

2224cdef nvmlReturn_t _nvmlDeviceGetBAR1MemoryInfo(nvmlDevice_t device, nvmlBAR1Memory_t* bar1Memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1aE

2225 global __nvmlDeviceGetBAR1MemoryInfo 

2226 _check_or_init_nvml() 1E

2227 if __nvmlDeviceGetBAR1MemoryInfo == NULL: 1E

2228 with gil: 1E

2229 raise FunctionNotFoundError("function nvmlDeviceGetBAR1MemoryInfo is not found") 

2230 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBAR1Memory_t*) noexcept nogil>__nvmlDeviceGetBAR1MemoryInfo)( 1E

2231 device, bar1Memory) 

2232  

2233  

2234cdef nvmlReturn_t _nvmlDeviceGetIrqNum(nvmlDevice_t device, unsigned int* irqNum) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2235 global __nvmlDeviceGetIrqNum 

2236 _check_or_init_nvml() 

2237 if __nvmlDeviceGetIrqNum == NULL: 

2238 with gil: 

2239 raise FunctionNotFoundError("function nvmlDeviceGetIrqNum is not found") 

2240 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIrqNum)( 

2241 device, irqNum) 

2242  

2243  

2244cdef nvmlReturn_t _nvmlDeviceGetNumGpuCores(nvmlDevice_t device, unsigned int* numCores) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2245 global __nvmlDeviceGetNumGpuCores 

2246 _check_or_init_nvml() 

2247 if __nvmlDeviceGetNumGpuCores == NULL: 

2248 with gil: 

2249 raise FunctionNotFoundError("function nvmlDeviceGetNumGpuCores is not found") 

2250 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumGpuCores)( 

2251 device, numCores) 

2252  

2253  

2254cdef nvmlReturn_t _nvmlDeviceGetPowerSource(nvmlDevice_t device, nvmlPowerSource_t* powerSource) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2255 global __nvmlDeviceGetPowerSource 

2256 _check_or_init_nvml() 

2257 if __nvmlDeviceGetPowerSource == NULL: 

2258 with gil: 

2259 raise FunctionNotFoundError("function nvmlDeviceGetPowerSource is not found") 

2260 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSource_t*) noexcept nogil>__nvmlDeviceGetPowerSource)( 

2261 device, powerSource) 

2262  

2263  

2264cdef nvmlReturn_t _nvmlDeviceGetMemoryBusWidth(nvmlDevice_t device, unsigned int* busWidth) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2265 global __nvmlDeviceGetMemoryBusWidth 

2266 _check_or_init_nvml() 

2267 if __nvmlDeviceGetMemoryBusWidth == NULL: 

2268 with gil: 

2269 raise FunctionNotFoundError("function nvmlDeviceGetMemoryBusWidth is not found") 

2270 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMemoryBusWidth)( 

2271 device, busWidth) 

2272  

2273  

2274cdef nvmlReturn_t _nvmlDeviceGetPcieLinkMaxSpeed(nvmlDevice_t device, unsigned int* maxSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2275 global __nvmlDeviceGetPcieLinkMaxSpeed 

2276 _check_or_init_nvml() 

2277 if __nvmlDeviceGetPcieLinkMaxSpeed == NULL: 

2278 with gil: 

2279 raise FunctionNotFoundError("function nvmlDeviceGetPcieLinkMaxSpeed is not found") 

2280 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieLinkMaxSpeed)( 

2281 device, maxSpeed) 

2282  

2283  

2284cdef nvmlReturn_t _nvmlDeviceGetPcieSpeed(nvmlDevice_t device, unsigned int* pcieSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2285 global __nvmlDeviceGetPcieSpeed 

2286 _check_or_init_nvml() 

2287 if __nvmlDeviceGetPcieSpeed == NULL: 

2288 with gil: 

2289 raise FunctionNotFoundError("function nvmlDeviceGetPcieSpeed is not found") 

2290 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieSpeed)( 

2291 device, pcieSpeed) 

2292  

2293  

2294cdef nvmlReturn_t _nvmlDeviceGetAdaptiveClockInfoStatus(nvmlDevice_t device, unsigned int* adaptiveClockStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2295 global __nvmlDeviceGetAdaptiveClockInfoStatus 

2296 _check_or_init_nvml() 

2297 if __nvmlDeviceGetAdaptiveClockInfoStatus == NULL: 

2298 with gil: 

2299 raise FunctionNotFoundError("function nvmlDeviceGetAdaptiveClockInfoStatus is not found") 

2300 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAdaptiveClockInfoStatus)( 

2301 device, adaptiveClockStatus) 

2302  

2303  

2304cdef nvmlReturn_t _nvmlDeviceGetBusType(nvmlDevice_t device, nvmlBusType_t* type) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2305 global __nvmlDeviceGetBusType 

2306 _check_or_init_nvml() 

2307 if __nvmlDeviceGetBusType == NULL: 

2308 with gil: 

2309 raise FunctionNotFoundError("function nvmlDeviceGetBusType is not found") 

2310 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBusType_t*) noexcept nogil>__nvmlDeviceGetBusType)( 

2311 device, type) 

2312  

2313  

2314cdef nvmlReturn_t _nvmlDeviceGetGpuFabricInfoV(nvmlDevice_t device, nvmlGpuFabricInfoV_t* gpuFabricInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2315 global __nvmlDeviceGetGpuFabricInfoV 

2316 _check_or_init_nvml() 

2317 if __nvmlDeviceGetGpuFabricInfoV == NULL: 

2318 with gil: 

2319 raise FunctionNotFoundError("function nvmlDeviceGetGpuFabricInfoV is not found") 

2320 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuFabricInfoV_t*) noexcept nogil>__nvmlDeviceGetGpuFabricInfoV)( 

2321 device, gpuFabricInfo) 

2322  

2323  

2324cdef nvmlReturn_t _nvmlSystemGetConfComputeCapabilities(nvmlConfComputeSystemCaps_t* capabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2325 global __nvmlSystemGetConfComputeCapabilities 

2326 _check_or_init_nvml() 

2327 if __nvmlSystemGetConfComputeCapabilities == NULL: 

2328 with gil: 

2329 raise FunctionNotFoundError("function nvmlSystemGetConfComputeCapabilities is not found") 

2330 return (<nvmlReturn_t (*)(nvmlConfComputeSystemCaps_t*) noexcept nogil>__nvmlSystemGetConfComputeCapabilities)( 

2331 capabilities) 

2332  

2333  

2334cdef nvmlReturn_t _nvmlSystemGetConfComputeState(nvmlConfComputeSystemState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2335 global __nvmlSystemGetConfComputeState 

2336 _check_or_init_nvml() 

2337 if __nvmlSystemGetConfComputeState == NULL: 

2338 with gil: 

2339 raise FunctionNotFoundError("function nvmlSystemGetConfComputeState is not found") 

2340 return (<nvmlReturn_t (*)(nvmlConfComputeSystemState_t*) noexcept nogil>__nvmlSystemGetConfComputeState)( 

2341 state) 

2342  

2343  

2344cdef nvmlReturn_t _nvmlDeviceGetConfComputeMemSizeInfo(nvmlDevice_t device, nvmlConfComputeMemSizeInfo_t* memInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2345 global __nvmlDeviceGetConfComputeMemSizeInfo 

2346 _check_or_init_nvml() 

2347 if __nvmlDeviceGetConfComputeMemSizeInfo == NULL: 

2348 with gil: 

2349 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeMemSizeInfo is not found") 

2350 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeMemSizeInfo_t*) noexcept nogil>__nvmlDeviceGetConfComputeMemSizeInfo)( 

2351 device, memInfo) 

2352  

2353  

2354cdef nvmlReturn_t _nvmlSystemGetConfComputeGpusReadyState(unsigned int* isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2355 global __nvmlSystemGetConfComputeGpusReadyState 

2356 _check_or_init_nvml() 

2357 if __nvmlSystemGetConfComputeGpusReadyState == NULL: 

2358 with gil: 

2359 raise FunctionNotFoundError("function nvmlSystemGetConfComputeGpusReadyState is not found") 

2360 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetConfComputeGpusReadyState)( 

2361 isAcceptingWork) 

2362  

2363  

2364cdef nvmlReturn_t _nvmlDeviceGetConfComputeProtectedMemoryUsage(nvmlDevice_t device, nvmlMemory_t* memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2365 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

2366 _check_or_init_nvml() 

2367 if __nvmlDeviceGetConfComputeProtectedMemoryUsage == NULL: 

2368 with gil: 

2369 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeProtectedMemoryUsage is not found") 

2370 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_t*) noexcept nogil>__nvmlDeviceGetConfComputeProtectedMemoryUsage)( 

2371 device, memory) 

2372  

2373  

2374cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuCertificate(nvmlDevice_t device, nvmlConfComputeGpuCertificate_t* gpuCert) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1aN

2375 global __nvmlDeviceGetConfComputeGpuCertificate 

2376 _check_or_init_nvml() 1N

2377 if __nvmlDeviceGetConfComputeGpuCertificate == NULL: 1N

2378 with gil: 1N

2379 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuCertificate is not found") 

2380 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuCertificate_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuCertificate)( 1N

2381 device, gpuCert) 

2382  

2383  

2384cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuAttestationReport(nvmlDevice_t device, nvmlConfComputeGpuAttestationReport_t* gpuAtstReport) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1aO

2385 global __nvmlDeviceGetConfComputeGpuAttestationReport 

2386 _check_or_init_nvml() 1O

2387 if __nvmlDeviceGetConfComputeGpuAttestationReport == NULL: 1O

2388 with gil: 1O

2389 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuAttestationReport is not found") 

2390 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuAttestationReport_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuAttestationReport)( 1O

2391 device, gpuAtstReport) 

2392  

2393  

2394cdef nvmlReturn_t _nvmlSystemGetConfComputeKeyRotationThresholdInfo(nvmlConfComputeGetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2395 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

2396 _check_or_init_nvml() 

2397 if __nvmlSystemGetConfComputeKeyRotationThresholdInfo == NULL: 

2398 with gil: 

2399 raise FunctionNotFoundError("function nvmlSystemGetConfComputeKeyRotationThresholdInfo is not found") 

2400 return (<nvmlReturn_t (*)(nvmlConfComputeGetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemGetConfComputeKeyRotationThresholdInfo)( 

2401 pKeyRotationThrInfo) 

2402  

2403  

2404cdef nvmlReturn_t _nvmlDeviceSetConfComputeUnprotectedMemSize(nvmlDevice_t device, unsigned long long sizeKiB) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2405 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

2406 _check_or_init_nvml() 

2407 if __nvmlDeviceSetConfComputeUnprotectedMemSize == NULL: 

2408 with gil: 

2409 raise FunctionNotFoundError("function nvmlDeviceSetConfComputeUnprotectedMemSize is not found") 

2410 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long) noexcept nogil>__nvmlDeviceSetConfComputeUnprotectedMemSize)( 

2411 device, sizeKiB) 

2412  

2413  

2414cdef nvmlReturn_t _nvmlSystemSetConfComputeGpusReadyState(unsigned int isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2415 global __nvmlSystemSetConfComputeGpusReadyState 

2416 _check_or_init_nvml() 

2417 if __nvmlSystemSetConfComputeGpusReadyState == NULL: 

2418 with gil: 

2419 raise FunctionNotFoundError("function nvmlSystemSetConfComputeGpusReadyState is not found") 

2420 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetConfComputeGpusReadyState)( 

2421 isAcceptingWork) 

2422  

2423  

2424cdef nvmlReturn_t _nvmlSystemSetConfComputeKeyRotationThresholdInfo(nvmlConfComputeSetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2425 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

2426 _check_or_init_nvml() 

2427 if __nvmlSystemSetConfComputeKeyRotationThresholdInfo == NULL: 

2428 with gil: 

2429 raise FunctionNotFoundError("function nvmlSystemSetConfComputeKeyRotationThresholdInfo is not found") 

2430 return (<nvmlReturn_t (*)(nvmlConfComputeSetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemSetConfComputeKeyRotationThresholdInfo)( 

2431 pKeyRotationThrInfo) 

2432  

2433  

2434cdef nvmlReturn_t _nvmlSystemGetConfComputeSettings(nvmlSystemConfComputeSettings_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2435 global __nvmlSystemGetConfComputeSettings 

2436 _check_or_init_nvml() 

2437 if __nvmlSystemGetConfComputeSettings == NULL: 

2438 with gil: 

2439 raise FunctionNotFoundError("function nvmlSystemGetConfComputeSettings is not found") 

2440 return (<nvmlReturn_t (*)(nvmlSystemConfComputeSettings_t*) noexcept nogil>__nvmlSystemGetConfComputeSettings)( 

2441 settings) 

2442  

2443  

2444cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareVersion(nvmlDevice_t device, char* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2445 global __nvmlDeviceGetGspFirmwareVersion 

2446 _check_or_init_nvml() 

2447 if __nvmlDeviceGetGspFirmwareVersion == NULL: 

2448 with gil: 

2449 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareVersion is not found") 

2450 return (<nvmlReturn_t (*)(nvmlDevice_t, char*) noexcept nogil>__nvmlDeviceGetGspFirmwareVersion)( 

2451 device, version) 

2452  

2453  

2454cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareMode(nvmlDevice_t device, unsigned int* isEnabled, unsigned int* defaultMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2455 global __nvmlDeviceGetGspFirmwareMode 

2456 _check_or_init_nvml() 

2457 if __nvmlDeviceGetGspFirmwareMode == NULL: 

2458 with gil: 

2459 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareMode is not found") 

2460 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetGspFirmwareMode)( 

2461 device, isEnabled, defaultMode) 

2462  

2463  

2464cdef nvmlReturn_t _nvmlDeviceGetSramEccErrorStatus(nvmlDevice_t device, nvmlEccSramErrorStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2465 global __nvmlDeviceGetSramEccErrorStatus 

2466 _check_or_init_nvml() 

2467 if __nvmlDeviceGetSramEccErrorStatus == NULL: 

2468 with gil: 

2469 raise FunctionNotFoundError("function nvmlDeviceGetSramEccErrorStatus is not found") 

2470 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramErrorStatus_t*) noexcept nogil>__nvmlDeviceGetSramEccErrorStatus)( 

2471 device, status) 

2472  

2473  

2474cdef nvmlReturn_t _nvmlDeviceGetAccountingMode(nvmlDevice_t device, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2475 global __nvmlDeviceGetAccountingMode 

2476 _check_or_init_nvml() 

2477 if __nvmlDeviceGetAccountingMode == NULL: 

2478 with gil: 

2479 raise FunctionNotFoundError("function nvmlDeviceGetAccountingMode is not found") 

2480 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAccountingMode)( 

2481 device, mode) 

2482  

2483  

2484cdef nvmlReturn_t _nvmlDeviceGetAccountingStats(nvmlDevice_t device, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2485 global __nvmlDeviceGetAccountingStats 

2486 _check_or_init_nvml() 

2487 if __nvmlDeviceGetAccountingStats == NULL: 

2488 with gil: 

2489 raise FunctionNotFoundError("function nvmlDeviceGetAccountingStats is not found") 

2490 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlDeviceGetAccountingStats)( 

2491 device, pid, stats) 

2492  

2493  

2494cdef nvmlReturn_t _nvmlDeviceGetAccountingPids(nvmlDevice_t device, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2495 global __nvmlDeviceGetAccountingPids 

2496 _check_or_init_nvml() 

2497 if __nvmlDeviceGetAccountingPids == NULL: 

2498 with gil: 

2499 raise FunctionNotFoundError("function nvmlDeviceGetAccountingPids is not found") 

2500 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingPids)( 

2501 device, count, pids) 

2502  

2503  

2504cdef nvmlReturn_t _nvmlDeviceGetAccountingBufferSize(nvmlDevice_t device, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2505 global __nvmlDeviceGetAccountingBufferSize 

2506 _check_or_init_nvml() 

2507 if __nvmlDeviceGetAccountingBufferSize == NULL: 

2508 with gil: 

2509 raise FunctionNotFoundError("function nvmlDeviceGetAccountingBufferSize is not found") 

2510 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingBufferSize)( 

2511 device, bufferSize) 

2512  

2513  

2514cdef nvmlReturn_t _nvmlDeviceGetRetiredPages(nvmlDevice_t device, nvmlPageRetirementCause_t cause, unsigned int* pageCount, unsigned long long* addresses) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a R Ib

2515 global __nvmlDeviceGetRetiredPages 

2516 _check_or_init_nvml() 2R Ib

2517 if __nvmlDeviceGetRetiredPages == NULL: 2R Ib

2518 with gil: 2R Ib

2519 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages is not found") 

2520 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages)( 2R Ib

2521 device, cause, pageCount, addresses) 

2522  

2523  

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

2525 global __nvmlDeviceGetRetiredPages_v2 

2526 _check_or_init_nvml() 

2527 if __nvmlDeviceGetRetiredPages_v2 == NULL: 

2528 with gil: 

2529 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages_v2 is not found") 

2530 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages_v2)( 

2531 device, cause, pageCount, addresses, timestamps) 

2532  

2533  

2534cdef nvmlReturn_t _nvmlDeviceGetRetiredPagesPendingStatus(nvmlDevice_t device, nvmlEnableState_t* isPending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1aR

2535 global __nvmlDeviceGetRetiredPagesPendingStatus 

2536 _check_or_init_nvml() 1R

2537 if __nvmlDeviceGetRetiredPagesPendingStatus == NULL: 1R

2538 with gil: 1R

2539 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPagesPendingStatus is not found") 

2540 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetRetiredPagesPendingStatus)( 1R

2541 device, isPending) 

2542  

2543  

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

2545 global __nvmlDeviceGetRemappedRows 

2546 _check_or_init_nvml() 

2547 if __nvmlDeviceGetRemappedRows == NULL: 

2548 with gil: 

2549 raise FunctionNotFoundError("function nvmlDeviceGetRemappedRows is not found") 

2550 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetRemappedRows)( 

2551 device, corrRows, uncRows, isPending, failureOccurred) 

2552  

2553  

2554cdef nvmlReturn_t _nvmlDeviceGetRowRemapperHistogram(nvmlDevice_t device, nvmlRowRemapperHistogramValues_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2555 global __nvmlDeviceGetRowRemapperHistogram 

2556 _check_or_init_nvml() 

2557 if __nvmlDeviceGetRowRemapperHistogram == NULL: 

2558 with gil: 

2559 raise FunctionNotFoundError("function nvmlDeviceGetRowRemapperHistogram is not found") 

2560 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRowRemapperHistogramValues_t*) noexcept nogil>__nvmlDeviceGetRowRemapperHistogram)( 

2561 device, values) 

2562  

2563  

2564cdef nvmlReturn_t _nvmlDeviceGetArchitecture(nvmlDevice_t device, nvmlDeviceArchitecture_t* arch) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a 3 Ebu v Fb# P w x y z A : Gb1 M s B N O m Q ?bC t S LbMbNbObr f g n b o U rbE F c G X p d H h j i I e q J

2565 global __nvmlDeviceGetArchitecture 

2566 _check_or_init_nvml() 2yb3 Ebu v Fb# P w x y z A : Gb1 M s B N O m Q ?bC t OcPcS QcRcLbMbNbObr 2 f g n b o U rbZ E zbF c G X p Dbd 0 H h j i I e q J

2567 if __nvmlDeviceGetArchitecture == NULL: 2yb3 Ebu v Fb# P w x y z A : Gb1 M s B N O m Q ?bC t OcPcS QcRcLbMbNbObr 2 f g n b o U rbZ E zbF c G X p Dbd 0 H h j i I e q J

2568 with gil: 23 Ebu v Fb# P w x y z A : Gb1 M s B N O m Q ?bC t S LbMbNbObr f g n b o U rbE F c G X p d H h j i I e q J

2569 raise FunctionNotFoundError("function nvmlDeviceGetArchitecture is not found") 

2570 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceArchitecture_t*) noexcept nogil>__nvmlDeviceGetArchitecture)( 2yb3 Ebu v Fb# P w x y z A : Gb1 M s B N O m Q ?bC t OcPcS QcRcLbMbNbObr 2 f g n b o U rbZ E zbF c G X p Dbd 0 H h j i I e q J

2571 device, arch) 

2572  

2573  

2574cdef nvmlReturn_t _nvmlDeviceGetClkMonStatus(nvmlDevice_t device, nvmlClkMonStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2575 global __nvmlDeviceGetClkMonStatus 

2576 _check_or_init_nvml() 

2577 if __nvmlDeviceGetClkMonStatus == NULL: 

2578 with gil: 

2579 raise FunctionNotFoundError("function nvmlDeviceGetClkMonStatus is not found") 

2580 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClkMonStatus_t*) noexcept nogil>__nvmlDeviceGetClkMonStatus)( 

2581 device, status) 

2582  

2583  

2584cdef nvmlReturn_t _nvmlDeviceGetProcessUtilization(nvmlDevice_t device, nvmlProcessUtilizationSample_t* utilization, unsigned int* processSamplesCount, unsigned long long lastSeenTimeStamp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2585 global __nvmlDeviceGetProcessUtilization 

2586 _check_or_init_nvml() 

2587 if __nvmlDeviceGetProcessUtilization == NULL: 

2588 with gil: 

2589 raise FunctionNotFoundError("function nvmlDeviceGetProcessUtilization is not found") 

2590 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessUtilizationSample_t*, unsigned int*, unsigned long long) noexcept nogil>__nvmlDeviceGetProcessUtilization)( 

2591 device, utilization, processSamplesCount, lastSeenTimeStamp) 

2592  

2593  

2594cdef nvmlReturn_t _nvmlDeviceGetProcessesUtilizationInfo(nvmlDevice_t device, nvmlProcessesUtilizationInfo_t* procesesUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2595 global __nvmlDeviceGetProcessesUtilizationInfo 

2596 _check_or_init_nvml() 

2597 if __nvmlDeviceGetProcessesUtilizationInfo == NULL: 

2598 with gil: 

2599 raise FunctionNotFoundError("function nvmlDeviceGetProcessesUtilizationInfo is not found") 

2600 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetProcessesUtilizationInfo)( 

2601 device, procesesUtilInfo) 

2602  

2603  

2604cdef nvmlReturn_t _nvmlDeviceGetPlatformInfo(nvmlDevice_t device, nvmlPlatformInfo_t* platformInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1aQ

2605 global __nvmlDeviceGetPlatformInfo 

2606 _check_or_init_nvml() 1Q

2607 if __nvmlDeviceGetPlatformInfo == NULL: 1Q

2608 with gil: 1Q

2609 raise FunctionNotFoundError("function nvmlDeviceGetPlatformInfo is not found") 

2610 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPlatformInfo_t*) noexcept nogil>__nvmlDeviceGetPlatformInfo)( 1Q

2611 device, platformInfo) 

2612  

2613  

2614cdef nvmlReturn_t _nvmlUnitSetLedState(nvmlUnit_t unit, nvmlLedColor_t color) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2615 global __nvmlUnitSetLedState 

2616 _check_or_init_nvml() 

2617 if __nvmlUnitSetLedState == NULL: 

2618 with gil: 

2619 raise FunctionNotFoundError("function nvmlUnitSetLedState is not found") 

2620 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlLedColor_t) noexcept nogil>__nvmlUnitSetLedState)( 

2621 unit, color) 

2622  

2623  

2624cdef nvmlReturn_t _nvmlDeviceSetPersistenceMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2625 global __nvmlDeviceSetPersistenceMode 

2626 _check_or_init_nvml() 2Ab

2627 if __nvmlDeviceSetPersistenceMode == NULL: 2Ab

2628 with gil: 

2629 raise FunctionNotFoundError("function nvmlDeviceSetPersistenceMode is not found") 

2630 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetPersistenceMode)( 2Ab

2631 device, mode) 

2632  

2633  

2634cdef nvmlReturn_t _nvmlDeviceSetComputeMode(nvmlDevice_t device, nvmlComputeMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2635 global __nvmlDeviceSetComputeMode 

2636 _check_or_init_nvml() 2yb

2637 if __nvmlDeviceSetComputeMode == NULL: 2yb

2638 with gil: 

2639 raise FunctionNotFoundError("function nvmlDeviceSetComputeMode is not found") 

2640 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t) noexcept nogil>__nvmlDeviceSetComputeMode)( 2yb

2641 device, mode) 

2642  

2643  

2644cdef nvmlReturn_t _nvmlDeviceSetEccMode(nvmlDevice_t device, nvmlEnableState_t ecc) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2645 global __nvmlDeviceSetEccMode 

2646 _check_or_init_nvml() 

2647 if __nvmlDeviceSetEccMode == NULL: 

2648 with gil: 

2649 raise FunctionNotFoundError("function nvmlDeviceSetEccMode is not found") 

2650 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetEccMode)( 

2651 device, ecc) 

2652  

2653  

2654cdef nvmlReturn_t _nvmlDeviceClearEccErrorCounts(nvmlDevice_t device, nvmlEccCounterType_t counterType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2655 global __nvmlDeviceClearEccErrorCounts 

2656 _check_or_init_nvml() 

2657 if __nvmlDeviceClearEccErrorCounts == NULL: 

2658 with gil: 

2659 raise FunctionNotFoundError("function nvmlDeviceClearEccErrorCounts is not found") 

2660 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccCounterType_t) noexcept nogil>__nvmlDeviceClearEccErrorCounts)( 

2661 device, counterType) 

2662  

2663  

2664cdef nvmlReturn_t _nvmlDeviceSetDriverModel(nvmlDevice_t device, nvmlDriverModel_t driverModel, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2665 global __nvmlDeviceSetDriverModel 

2666 _check_or_init_nvml() 

2667 if __nvmlDeviceSetDriverModel == NULL: 

2668 with gil: 

2669 raise FunctionNotFoundError("function nvmlDeviceSetDriverModel is not found") 

2670 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDriverModel_t, unsigned int) noexcept nogil>__nvmlDeviceSetDriverModel)( 

2671 device, driverModel, flags) 

2672  

2673  

2674cdef nvmlReturn_t _nvmlDeviceSetGpuLockedClocks(nvmlDevice_t device, unsigned int minGpuClockMHz, unsigned int maxGpuClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2675 global __nvmlDeviceSetGpuLockedClocks 

2676 _check_or_init_nvml() 

2677 if __nvmlDeviceSetGpuLockedClocks == NULL: 

2678 with gil: 

2679 raise FunctionNotFoundError("function nvmlDeviceSetGpuLockedClocks is not found") 

2680 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetGpuLockedClocks)( 

2681 device, minGpuClockMHz, maxGpuClockMHz) 

2682  

2683  

2684cdef nvmlReturn_t _nvmlDeviceResetGpuLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2685 global __nvmlDeviceResetGpuLockedClocks 

2686 _check_or_init_nvml() 

2687 if __nvmlDeviceResetGpuLockedClocks == NULL: 

2688 with gil: 

2689 raise FunctionNotFoundError("function nvmlDeviceResetGpuLockedClocks is not found") 

2690 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetGpuLockedClocks)( 

2691 device) 

2692  

2693  

2694cdef nvmlReturn_t _nvmlDeviceSetMemoryLockedClocks(nvmlDevice_t device, unsigned int minMemClockMHz, unsigned int maxMemClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2695 global __nvmlDeviceSetMemoryLockedClocks 

2696 _check_or_init_nvml() 

2697 if __nvmlDeviceSetMemoryLockedClocks == NULL: 

2698 with gil: 

2699 raise FunctionNotFoundError("function nvmlDeviceSetMemoryLockedClocks is not found") 

2700 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetMemoryLockedClocks)( 

2701 device, minMemClockMHz, maxMemClockMHz) 

2702  

2703  

2704cdef nvmlReturn_t _nvmlDeviceResetMemoryLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2705 global __nvmlDeviceResetMemoryLockedClocks 

2706 _check_or_init_nvml() 

2707 if __nvmlDeviceResetMemoryLockedClocks == NULL: 

2708 with gil: 

2709 raise FunctionNotFoundError("function nvmlDeviceResetMemoryLockedClocks is not found") 

2710 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetMemoryLockedClocks)( 

2711 device) 

2712  

2713  

2714cdef nvmlReturn_t _nvmlDeviceSetAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2715 global __nvmlDeviceSetAutoBoostedClocksEnabled 

2716 _check_or_init_nvml() 

2717 if __nvmlDeviceSetAutoBoostedClocksEnabled == NULL: 

2718 with gil: 

2719 raise FunctionNotFoundError("function nvmlDeviceSetAutoBoostedClocksEnabled is not found") 

2720 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAutoBoostedClocksEnabled)( 

2721 device, enabled) 

2722  

2723  

2724cdef nvmlReturn_t _nvmlDeviceSetDefaultAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2725 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

2726 _check_or_init_nvml() 

2727 if __nvmlDeviceSetDefaultAutoBoostedClocksEnabled == NULL: 

2728 with gil: 

2729 raise FunctionNotFoundError("function nvmlDeviceSetDefaultAutoBoostedClocksEnabled is not found") 

2730 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultAutoBoostedClocksEnabled)( 

2731 device, enabled, flags) 

2732  

2733  

2734cdef nvmlReturn_t _nvmlDeviceSetDefaultFanSpeed_v2(nvmlDevice_t device, unsigned int fan) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2735 global __nvmlDeviceSetDefaultFanSpeed_v2 

2736 _check_or_init_nvml() 

2737 if __nvmlDeviceSetDefaultFanSpeed_v2 == NULL: 

2738 with gil: 

2739 raise FunctionNotFoundError("function nvmlDeviceSetDefaultFanSpeed_v2 is not found") 

2740 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultFanSpeed_v2)( 

2741 device, fan) 

2742  

2743  

2744cdef nvmlReturn_t _nvmlDeviceSetFanControlPolicy(nvmlDevice_t device, unsigned int fan, nvmlFanControlPolicy_t policy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2745 global __nvmlDeviceSetFanControlPolicy 

2746 _check_or_init_nvml() 

2747 if __nvmlDeviceSetFanControlPolicy == NULL: 

2748 with gil: 

2749 raise FunctionNotFoundError("function nvmlDeviceSetFanControlPolicy is not found") 

2750 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlFanControlPolicy_t) noexcept nogil>__nvmlDeviceSetFanControlPolicy)( 

2751 device, fan, policy) 

2752  

2753  

2754cdef nvmlReturn_t _nvmlDeviceSetTemperatureThreshold(nvmlDevice_t device, nvmlTemperatureThresholds_t thresholdType, int* temp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2755 global __nvmlDeviceSetTemperatureThreshold 

2756 _check_or_init_nvml() 

2757 if __nvmlDeviceSetTemperatureThreshold == NULL: 

2758 with gil: 

2759 raise FunctionNotFoundError("function nvmlDeviceSetTemperatureThreshold is not found") 

2760 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperatureThresholds_t, int*) noexcept nogil>__nvmlDeviceSetTemperatureThreshold)( 

2761 device, thresholdType, temp) 

2762  

2763  

2764cdef nvmlReturn_t _nvmlDeviceSetGpuOperationMode(nvmlDevice_t device, nvmlGpuOperationMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2765 global __nvmlDeviceSetGpuOperationMode 

2766 _check_or_init_nvml() 

2767 if __nvmlDeviceSetGpuOperationMode == NULL: 

2768 with gil: 

2769 raise FunctionNotFoundError("function nvmlDeviceSetGpuOperationMode is not found") 

2770 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuOperationMode_t) noexcept nogil>__nvmlDeviceSetGpuOperationMode)( 

2771 device, mode) 

2772  

2773  

2774cdef nvmlReturn_t _nvmlDeviceSetAPIRestriction(nvmlDevice_t device, nvmlRestrictedAPI_t apiType, nvmlEnableState_t isRestricted) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2775 global __nvmlDeviceSetAPIRestriction 

2776 _check_or_init_nvml() 

2777 if __nvmlDeviceSetAPIRestriction == NULL: 

2778 with gil: 

2779 raise FunctionNotFoundError("function nvmlDeviceSetAPIRestriction is not found") 

2780 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAPIRestriction)( 

2781 device, apiType, isRestricted) 

2782  

2783  

2784cdef nvmlReturn_t _nvmlDeviceSetFanSpeed_v2(nvmlDevice_t device, unsigned int fan, unsigned int speed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2785 global __nvmlDeviceSetFanSpeed_v2 

2786 _check_or_init_nvml() 

2787 if __nvmlDeviceSetFanSpeed_v2 == NULL: 

2788 with gil: 

2789 raise FunctionNotFoundError("function nvmlDeviceSetFanSpeed_v2 is not found") 

2790 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetFanSpeed_v2)( 

2791 device, fan, speed) 

2792  

2793  

2794cdef nvmlReturn_t _nvmlDeviceSetAccountingMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2795 global __nvmlDeviceSetAccountingMode 

2796 _check_or_init_nvml() 

2797 if __nvmlDeviceSetAccountingMode == NULL: 

2798 with gil: 

2799 raise FunctionNotFoundError("function nvmlDeviceSetAccountingMode is not found") 

2800 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAccountingMode)( 

2801 device, mode) 

2802  

2803  

2804cdef nvmlReturn_t _nvmlDeviceClearAccountingPids(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2805 global __nvmlDeviceClearAccountingPids 

2806 _check_or_init_nvml() 

2807 if __nvmlDeviceClearAccountingPids == NULL: 

2808 with gil: 

2809 raise FunctionNotFoundError("function nvmlDeviceClearAccountingPids is not found") 

2810 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceClearAccountingPids)( 

2811 device) 

2812  

2813  

2814cdef nvmlReturn_t _nvmlDeviceSetPowerManagementLimit_v2(nvmlDevice_t device, nvmlPowerValue_v2_t* powerValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1as

2815 global __nvmlDeviceSetPowerManagementLimit_v2 

2816 _check_or_init_nvml() 1s

2817 if __nvmlDeviceSetPowerManagementLimit_v2 == NULL: 1s

2818 with gil: 1s

2819 raise FunctionNotFoundError("function nvmlDeviceSetPowerManagementLimit_v2 is not found") 

2820 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerValue_v2_t*) noexcept nogil>__nvmlDeviceSetPowerManagementLimit_v2)( 1s

2821 device, powerValue) 

2822  

2823  

2824cdef nvmlReturn_t _nvmlDeviceGetNvLinkState(nvmlDevice_t device, unsigned int link, nvmlEnableState_t* isActive) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1aj

2825 global __nvmlDeviceGetNvLinkState 

2826 _check_or_init_nvml() 

2827 if __nvmlDeviceGetNvLinkState == NULL: 

2828 with gil: 1j

2829 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkState is not found") 

2830 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetNvLinkState)( 

2831 device, link, isActive) 

2832  

2833  

2834cdef nvmlReturn_t _nvmlDeviceGetNvLinkVersion(nvmlDevice_t device, unsigned int link, unsigned int* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2835 global __nvmlDeviceGetNvLinkVersion 

2836 _check_or_init_nvml() 

2837 if __nvmlDeviceGetNvLinkVersion == NULL: 

2838 with gil: 

2839 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkVersion is not found") 

2840 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkVersion)( 

2841 device, link, version) 

2842  

2843  

2844cdef nvmlReturn_t _nvmlDeviceGetNvLinkCapability(nvmlDevice_t device, unsigned int link, nvmlNvLinkCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2845 global __nvmlDeviceGetNvLinkCapability 

2846 _check_or_init_nvml() 

2847 if __nvmlDeviceGetNvLinkCapability == NULL: 

2848 with gil: 

2849 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkCapability is not found") 

2850 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkCapability)( 

2851 device, link, capability, capResult) 

2852  

2853  

2854cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemotePciInfo_v2(nvmlDevice_t device, unsigned int link, nvmlPciInfo_t* pci) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2855 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

2856 _check_or_init_nvml() 

2857 if __nvmlDeviceGetNvLinkRemotePciInfo_v2 == NULL: 

2858 with gil: 

2859 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemotePciInfo_v2 is not found") 

2860 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemotePciInfo_v2)( 

2861 device, link, pci) 

2862  

2863  

2864cdef nvmlReturn_t _nvmlDeviceGetNvLinkErrorCounter(nvmlDevice_t device, unsigned int link, nvmlNvLinkErrorCounter_t counter, unsigned long long* counterValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2865 global __nvmlDeviceGetNvLinkErrorCounter 

2866 _check_or_init_nvml() 

2867 if __nvmlDeviceGetNvLinkErrorCounter == NULL: 

2868 with gil: 

2869 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkErrorCounter is not found") 

2870 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkErrorCounter_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetNvLinkErrorCounter)( 

2871 device, link, counter, counterValue) 

2872  

2873  

2874cdef nvmlReturn_t _nvmlDeviceResetNvLinkErrorCounters(nvmlDevice_t device, unsigned int link) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2875 global __nvmlDeviceResetNvLinkErrorCounters 

2876 _check_or_init_nvml() 

2877 if __nvmlDeviceResetNvLinkErrorCounters == NULL: 

2878 with gil: 

2879 raise FunctionNotFoundError("function nvmlDeviceResetNvLinkErrorCounters is not found") 

2880 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceResetNvLinkErrorCounters)( 

2881 device, link) 

2882  

2883  

2884cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemoteDeviceType(nvmlDevice_t device, unsigned int link, nvmlIntNvLinkDeviceType_t* pNvLinkDeviceType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2885 global __nvmlDeviceGetNvLinkRemoteDeviceType 

2886 _check_or_init_nvml() 

2887 if __nvmlDeviceGetNvLinkRemoteDeviceType == NULL: 

2888 with gil: 

2889 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemoteDeviceType is not found") 

2890 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlIntNvLinkDeviceType_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemoteDeviceType)( 

2891 device, link, pNvLinkDeviceType) 

2892  

2893  

2894cdef nvmlReturn_t _nvmlDeviceSetNvLinkDeviceLowPowerThreshold(nvmlDevice_t device, nvmlNvLinkPowerThres_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2895 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

2896 _check_or_init_nvml() 

2897 if __nvmlDeviceSetNvLinkDeviceLowPowerThreshold == NULL: 

2898 with gil: 

2899 raise FunctionNotFoundError("function nvmlDeviceSetNvLinkDeviceLowPowerThreshold is not found") 

2900 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkPowerThres_t*) noexcept nogil>__nvmlDeviceSetNvLinkDeviceLowPowerThreshold)( 

2901 device, info) 

2902  

2903  

2904cdef nvmlReturn_t _nvmlSystemSetNvlinkBwMode(unsigned int nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2905 global __nvmlSystemSetNvlinkBwMode 

2906 _check_or_init_nvml() 

2907 if __nvmlSystemSetNvlinkBwMode == NULL: 

2908 with gil: 

2909 raise FunctionNotFoundError("function nvmlSystemSetNvlinkBwMode is not found") 

2910 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetNvlinkBwMode)( 

2911 nvlinkBwMode) 

2912  

2913  

2914cdef nvmlReturn_t _nvmlSystemGetNvlinkBwMode(unsigned int* nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2915 global __nvmlSystemGetNvlinkBwMode 

2916 _check_or_init_nvml() 

2917 if __nvmlSystemGetNvlinkBwMode == NULL: 

2918 with gil: 

2919 raise FunctionNotFoundError("function nvmlSystemGetNvlinkBwMode is not found") 

2920 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetNvlinkBwMode)( 

2921 nvlinkBwMode) 

2922  

2923  

2924cdef nvmlReturn_t _nvmlDeviceGetNvlinkSupportedBwModes(nvmlDevice_t device, nvmlNvlinkSupportedBwModes_t* supportedBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1aA

2925 global __nvmlDeviceGetNvlinkSupportedBwModes 

2926 _check_or_init_nvml() 1A

2927 if __nvmlDeviceGetNvlinkSupportedBwModes == NULL: 1A

2928 with gil: 1A

2929 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkSupportedBwModes is not found") 

2930 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSupportedBwModes_t*) noexcept nogil>__nvmlDeviceGetNvlinkSupportedBwModes)( 1A

2931 device, supportedBwMode) 

2932  

2933  

2934cdef nvmlReturn_t _nvmlDeviceGetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkGetBwMode_t* getBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2935 global __nvmlDeviceGetNvlinkBwMode 

2936 _check_or_init_nvml() 

2937 if __nvmlDeviceGetNvlinkBwMode == NULL: 

2938 with gil: 

2939 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkBwMode is not found") 

2940 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkGetBwMode_t*) noexcept nogil>__nvmlDeviceGetNvlinkBwMode)( 

2941 device, getBwMode) 

2942  

2943  

2944cdef nvmlReturn_t _nvmlDeviceSetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkSetBwMode_t* setBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2945 global __nvmlDeviceSetNvlinkBwMode 

2946 _check_or_init_nvml() 

2947 if __nvmlDeviceSetNvlinkBwMode == NULL: 

2948 with gil: 

2949 raise FunctionNotFoundError("function nvmlDeviceSetNvlinkBwMode is not found") 

2950 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSetBwMode_t*) noexcept nogil>__nvmlDeviceSetNvlinkBwMode)( 

2951 device, setBwMode) 

2952  

2953  

2954cdef nvmlReturn_t _nvmlEventSetCreate(nvmlEventSet_t* set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2955 global __nvmlEventSetCreate 

2956 _check_or_init_nvml() 1L

2957 if __nvmlEventSetCreate == NULL: 1L

2958 with gil: 

2959 raise FunctionNotFoundError("function nvmlEventSetCreate is not found") 

2960 return (<nvmlReturn_t (*)(nvmlEventSet_t*) noexcept nogil>__nvmlEventSetCreate)( 1L

2961 set) 

2962  

2963  

2964cdef nvmlReturn_t _nvmlDeviceRegisterEvents(nvmlDevice_t device, unsigned long long eventTypes, nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2965 global __nvmlDeviceRegisterEvents 

2966 _check_or_init_nvml() 1L

2967 if __nvmlDeviceRegisterEvents == NULL: 1L

2968 with gil: 

2969 raise FunctionNotFoundError("function nvmlDeviceRegisterEvents is not found") 

2970 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlEventSet_t) noexcept nogil>__nvmlDeviceRegisterEvents)( 1L

2971 device, eventTypes, set) 

2972  

2973  

2974cdef nvmlReturn_t _nvmlDeviceGetSupportedEventTypes(nvmlDevice_t device, unsigned long long* eventTypes) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2975 global __nvmlDeviceGetSupportedEventTypes 

2976 _check_or_init_nvml() 1L

2977 if __nvmlDeviceGetSupportedEventTypes == NULL: 1L

2978 with gil: 

2979 raise FunctionNotFoundError("function nvmlDeviceGetSupportedEventTypes is not found") 

2980 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedEventTypes)( 1L

2981 device, eventTypes) 

2982  

2983  

2984cdef nvmlReturn_t _nvmlEventSetWait_v2(nvmlEventSet_t set, nvmlEventData_t* data, unsigned int timeoutms) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2985 global __nvmlEventSetWait_v2 

2986 _check_or_init_nvml() 1L

2987 if __nvmlEventSetWait_v2 == NULL: 1L

2988 with gil: 

2989 raise FunctionNotFoundError("function nvmlEventSetWait_v2 is not found") 

2990 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventData_t*, unsigned int) noexcept nogil>__nvmlEventSetWait_v2)( 1L

2991 set, data, timeoutms) 

2992  

2993  

2994cdef nvmlReturn_t _nvmlEventSetFree(nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

2995 global __nvmlEventSetFree 

2996 _check_or_init_nvml() 1L

2997 if __nvmlEventSetFree == NULL: 1L

2998 with gil: 

2999 raise FunctionNotFoundError("function nvmlEventSetFree is not found") 

3000 return (<nvmlReturn_t (*)(nvmlEventSet_t) noexcept nogil>__nvmlEventSetFree)( 1L

3001 set) 

3002  

3003  

3004cdef nvmlReturn_t _nvmlSystemEventSetCreate(nvmlSystemEventSetCreateRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3005 global __nvmlSystemEventSetCreate 

3006 _check_or_init_nvml() 2Bb

3007 if __nvmlSystemEventSetCreate == NULL: 2Bb

3008 with gil: 

3009 raise FunctionNotFoundError("function nvmlSystemEventSetCreate is not found") 

3010 return (<nvmlReturn_t (*)(nvmlSystemEventSetCreateRequest_t*) noexcept nogil>__nvmlSystemEventSetCreate)( 2Bb

3011 request) 

3012  

3013  

3014cdef nvmlReturn_t _nvmlSystemEventSetFree(nvmlSystemEventSetFreeRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3015 global __nvmlSystemEventSetFree 

3016 _check_or_init_nvml() 2Bb

3017 if __nvmlSystemEventSetFree == NULL: 2Bb

3018 with gil: 

3019 raise FunctionNotFoundError("function nvmlSystemEventSetFree is not found") 

3020 return (<nvmlReturn_t (*)(nvmlSystemEventSetFreeRequest_t*) noexcept nogil>__nvmlSystemEventSetFree)( 2Bb

3021 request) 

3022  

3023  

3024cdef nvmlReturn_t _nvmlSystemRegisterEvents(nvmlSystemRegisterEventRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3025 global __nvmlSystemRegisterEvents 

3026 _check_or_init_nvml() 2Bb

3027 if __nvmlSystemRegisterEvents == NULL: 2Bb

3028 with gil: 

3029 raise FunctionNotFoundError("function nvmlSystemRegisterEvents is not found") 

3030 return (<nvmlReturn_t (*)(nvmlSystemRegisterEventRequest_t*) noexcept nogil>__nvmlSystemRegisterEvents)( 2Bb

3031 request) 

3032  

3033  

3034cdef nvmlReturn_t _nvmlSystemEventSetWait(nvmlSystemEventSetWaitRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3035 global __nvmlSystemEventSetWait 

3036 _check_or_init_nvml() 2Bb

3037 if __nvmlSystemEventSetWait == NULL: 2Bb

3038 with gil: 

3039 raise FunctionNotFoundError("function nvmlSystemEventSetWait is not found") 

3040 return (<nvmlReturn_t (*)(nvmlSystemEventSetWaitRequest_t*) noexcept nogil>__nvmlSystemEventSetWait)( 2Bb

3041 request) 

3042  

3043  

3044cdef nvmlReturn_t _nvmlDeviceModifyDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t newState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3045 global __nvmlDeviceModifyDrainState 

3046 _check_or_init_nvml() 

3047 if __nvmlDeviceModifyDrainState == NULL: 

3048 with gil: 

3049 raise FunctionNotFoundError("function nvmlDeviceModifyDrainState is not found") 

3050 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t) noexcept nogil>__nvmlDeviceModifyDrainState)( 

3051 pciInfo, newState) 

3052  

3053  

3054cdef nvmlReturn_t _nvmlDeviceQueryDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t* currentState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3055 global __nvmlDeviceQueryDrainState 

3056 _check_or_init_nvml() 

3057 if __nvmlDeviceQueryDrainState == NULL: 

3058 with gil: 

3059 raise FunctionNotFoundError("function nvmlDeviceQueryDrainState is not found") 

3060 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceQueryDrainState)( 

3061 pciInfo, currentState) 

3062  

3063  

3064cdef nvmlReturn_t _nvmlDeviceRemoveGpu_v2(nvmlPciInfo_t* pciInfo, nvmlDetachGpuState_t gpuState, nvmlPcieLinkState_t linkState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3065 global __nvmlDeviceRemoveGpu_v2 

3066 _check_or_init_nvml() 

3067 if __nvmlDeviceRemoveGpu_v2 == NULL: 

3068 with gil: 

3069 raise FunctionNotFoundError("function nvmlDeviceRemoveGpu_v2 is not found") 

3070 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlDetachGpuState_t, nvmlPcieLinkState_t) noexcept nogil>__nvmlDeviceRemoveGpu_v2)( 

3071 pciInfo, gpuState, linkState) 

3072  

3073  

3074cdef nvmlReturn_t _nvmlDeviceDiscoverGpus(nvmlPciInfo_t* pciInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1at

3075 global __nvmlDeviceDiscoverGpus 

3076 _check_or_init_nvml() 1t

3077 if __nvmlDeviceDiscoverGpus == NULL: 1t

3078 with gil: 1t

3079 raise FunctionNotFoundError("function nvmlDeviceDiscoverGpus is not found") 

3080 return (<nvmlReturn_t (*)(nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceDiscoverGpus)( 1t

3081 pciInfo) 

3082  

3083  

3084cdef nvmlReturn_t _nvmlDeviceGetFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Hbp j

3085 global __nvmlDeviceGetFieldValues 

3086 _check_or_init_nvml() 2Hbp j

3087 if __nvmlDeviceGetFieldValues == NULL: 2Hbp j

3088 with gil: 2Hbp j

3089 raise FunctionNotFoundError("function nvmlDeviceGetFieldValues is not found") 

3090 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceGetFieldValues)( 2Hbp j

3091 device, valuesCount, values) 

3092  

3093  

3094cdef nvmlReturn_t _nvmlDeviceClearFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1ap

3095 global __nvmlDeviceClearFieldValues 

3096 _check_or_init_nvml() 1p

3097 if __nvmlDeviceClearFieldValues == NULL: 1p

3098 with gil: 1p

3099 raise FunctionNotFoundError("function nvmlDeviceClearFieldValues is not found") 

3100 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceClearFieldValues)( 1p

3101 device, valuesCount, values) 

3102  

3103  

3104cdef nvmlReturn_t _nvmlDeviceGetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t* pVirtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1a8=mQ

3105 global __nvmlDeviceGetVirtualizationMode 

3106 _check_or_init_nvml() 18=mQ

3107 if __nvmlDeviceGetVirtualizationMode == NULL: 18=mQ

3108 with gil: 18=mQ

3109 raise FunctionNotFoundError("function nvmlDeviceGetVirtualizationMode is not found") 

3110 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t*) noexcept nogil>__nvmlDeviceGetVirtualizationMode)( 18=mQ

3111 device, pVirtualMode) 

3112  

3113  

3114cdef nvmlReturn_t _nvmlDeviceGetHostVgpuMode(nvmlDevice_t device, nvmlHostVgpuMode_t* pHostVgpuMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3115 global __nvmlDeviceGetHostVgpuMode 

3116 _check_or_init_nvml() 

3117 if __nvmlDeviceGetHostVgpuMode == NULL: 

3118 with gil: 

3119 raise FunctionNotFoundError("function nvmlDeviceGetHostVgpuMode is not found") 

3120 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostVgpuMode_t*) noexcept nogil>__nvmlDeviceGetHostVgpuMode)( 

3121 device, pHostVgpuMode) 

3122  

3123  

3124cdef nvmlReturn_t _nvmlDeviceSetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t virtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3125 global __nvmlDeviceSetVirtualizationMode 

3126 _check_or_init_nvml() 

3127 if __nvmlDeviceSetVirtualizationMode == NULL: 

3128 with gil: 

3129 raise FunctionNotFoundError("function nvmlDeviceSetVirtualizationMode is not found") 

3130 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t) noexcept nogil>__nvmlDeviceSetVirtualizationMode)( 

3131 device, virtualMode) 

3132  

3133  

3134cdef nvmlReturn_t _nvmlDeviceGetVgpuHeterogeneousMode(nvmlDevice_t device, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1ay

3135 global __nvmlDeviceGetVgpuHeterogeneousMode 

3136 _check_or_init_nvml() 1y

3137 if __nvmlDeviceGetVgpuHeterogeneousMode == NULL: 1y

3138 with gil: 1y

3139 raise FunctionNotFoundError("function nvmlDeviceGetVgpuHeterogeneousMode is not found") 

3140 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceGetVgpuHeterogeneousMode)( 1y

3141 device, pHeterogeneousMode) 

3142  

3143  

3144cdef nvmlReturn_t _nvmlDeviceSetVgpuHeterogeneousMode(nvmlDevice_t device, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3145 global __nvmlDeviceSetVgpuHeterogeneousMode 

3146 _check_or_init_nvml() 

3147 if __nvmlDeviceSetVgpuHeterogeneousMode == NULL: 

3148 with gil: 

3149 raise FunctionNotFoundError("function nvmlDeviceSetVgpuHeterogeneousMode is not found") 

3150 return (<nvmlReturn_t (*)(nvmlDevice_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceSetVgpuHeterogeneousMode)( 

3151 device, pHeterogeneousMode) 

3152  

3153  

3154cdef nvmlReturn_t _nvmlVgpuInstanceGetPlacementId(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuPlacementId_t* pPlacement) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3155 global __nvmlVgpuInstanceGetPlacementId 

3156 _check_or_init_nvml() 

3157 if __nvmlVgpuInstanceGetPlacementId == NULL: 

3158 with gil: 

3159 raise FunctionNotFoundError("function nvmlVgpuInstanceGetPlacementId is not found") 

3160 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuPlacementId_t*) noexcept nogil>__nvmlVgpuInstanceGetPlacementId)( 

3161 vgpuInstance, pPlacement) 

3162  

3163  

3164cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeSupportedPlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3165 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

3166 _check_or_init_nvml() 

3167 if __nvmlDeviceGetVgpuTypeSupportedPlacements == NULL: 

3168 with gil: 

3169 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeSupportedPlacements is not found") 

3170 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeSupportedPlacements)( 

3171 device, vgpuTypeId, pPlacementList) 

3172  

3173  

3174cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeCreatablePlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3175 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

3176 _check_or_init_nvml() 

3177 if __nvmlDeviceGetVgpuTypeCreatablePlacements == NULL: 

3178 with gil: 

3179 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeCreatablePlacements is not found") 

3180 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeCreatablePlacements)( 

3181 device, vgpuTypeId, pPlacementList) 

3182  

3183  

3184cdef nvmlReturn_t _nvmlVgpuTypeGetGspHeapSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* gspHeapSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3185 global __nvmlVgpuTypeGetGspHeapSize 

3186 _check_or_init_nvml() 

3187 if __nvmlVgpuTypeGetGspHeapSize == NULL: 

3188 with gil: 

3189 raise FunctionNotFoundError("function nvmlVgpuTypeGetGspHeapSize is not found") 

3190 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetGspHeapSize)( 

3191 vgpuTypeId, gspHeapSize) 

3192  

3193  

3194cdef nvmlReturn_t _nvmlVgpuTypeGetFbReservation(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbReservation) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3195 global __nvmlVgpuTypeGetFbReservation 

3196 _check_or_init_nvml() 

3197 if __nvmlVgpuTypeGetFbReservation == NULL: 

3198 with gil: 

3199 raise FunctionNotFoundError("function nvmlVgpuTypeGetFbReservation is not found") 

3200 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFbReservation)( 

3201 vgpuTypeId, fbReservation) 

3202  

3203  

3204cdef nvmlReturn_t _nvmlVgpuInstanceGetRuntimeStateSize(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuRuntimeState_t* pState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3205 global __nvmlVgpuInstanceGetRuntimeStateSize 

3206 _check_or_init_nvml() 

3207 if __nvmlVgpuInstanceGetRuntimeStateSize == NULL: 

3208 with gil: 

3209 raise FunctionNotFoundError("function nvmlVgpuInstanceGetRuntimeStateSize is not found") 

3210 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuRuntimeState_t*) noexcept nogil>__nvmlVgpuInstanceGetRuntimeStateSize)( 

3211 vgpuInstance, pState) 

3212  

3213  

3214cdef nvmlReturn_t _nvmlDeviceSetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, nvmlEnableState_t state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3215 global __nvmlDeviceSetVgpuCapabilities 

3216 _check_or_init_nvml() 

3217 if __nvmlDeviceSetVgpuCapabilities == NULL: 

3218 with gil: 

3219 raise FunctionNotFoundError("function nvmlDeviceSetVgpuCapabilities is not found") 

3220 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetVgpuCapabilities)( 

3221 device, capability, state) 

3222  

3223  

3224cdef nvmlReturn_t _nvmlDeviceGetGridLicensableFeatures_v4(nvmlDevice_t device, nvmlGridLicensableFeatures_t* pGridLicensableFeatures) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Gb

3225 global __nvmlDeviceGetGridLicensableFeatures_v4 

3226 _check_or_init_nvml() 2Gb

3227 if __nvmlDeviceGetGridLicensableFeatures_v4 == NULL: 2Gb

3228 with gil: 2Gb

3229 raise FunctionNotFoundError("function nvmlDeviceGetGridLicensableFeatures_v4 is not found") 

3230 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGridLicensableFeatures_t*) noexcept nogil>__nvmlDeviceGetGridLicensableFeatures_v4)( 2Gb

3231 device, pGridLicensableFeatures) 

3232  

3233  

3234cdef nvmlReturn_t _nvmlGetVgpuDriverCapabilities(nvmlVgpuDriverCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3235 global __nvmlGetVgpuDriverCapabilities 

3236 _check_or_init_nvml() 

3237 if __nvmlGetVgpuDriverCapabilities == NULL: 

3238 with gil: 

3239 raise FunctionNotFoundError("function nvmlGetVgpuDriverCapabilities is not found") 

3240 return (<nvmlReturn_t (*)(nvmlVgpuDriverCapability_t, unsigned int*) noexcept nogil>__nvmlGetVgpuDriverCapabilities)( 

3241 capability, capResult) 

3242  

3243  

3244cdef nvmlReturn_t _nvmlDeviceGetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3245 global __nvmlDeviceGetVgpuCapabilities 

3246 _check_or_init_nvml() 

3247 if __nvmlDeviceGetVgpuCapabilities == NULL: 

3248 with gil: 

3249 raise FunctionNotFoundError("function nvmlDeviceGetVgpuCapabilities is not found") 

3250 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuCapabilities)( 

3251 device, capability, capResult) 

3252  

3253  

3254cdef nvmlReturn_t _nvmlDeviceGetSupportedVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1aw

3255 global __nvmlDeviceGetSupportedVgpus 

3256 _check_or_init_nvml() 1w

3257 if __nvmlDeviceGetSupportedVgpus == NULL: 1w

3258 with gil: 1w

3259 raise FunctionNotFoundError("function nvmlDeviceGetSupportedVgpus is not found") 

3260 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetSupportedVgpus)( 1w

3261 device, vgpuCount, vgpuTypeIds) 

3262  

3263  

3264cdef nvmlReturn_t _nvmlDeviceGetCreatableVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1av

3265 global __nvmlDeviceGetCreatableVgpus 

3266 _check_or_init_nvml() 1v

3267 if __nvmlDeviceGetCreatableVgpus == NULL: 1v

3268 with gil: 1v

3269 raise FunctionNotFoundError("function nvmlDeviceGetCreatableVgpus is not found") 

3270 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetCreatableVgpus)( 1v

3271 device, vgpuCount, vgpuTypeIds) 

3272  

3273  

3274cdef nvmlReturn_t _nvmlVgpuTypeGetClass(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeClass, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3275 global __nvmlVgpuTypeGetClass 

3276 _check_or_init_nvml() 

3277 if __nvmlVgpuTypeGetClass == NULL: 

3278 with gil: 

3279 raise FunctionNotFoundError("function nvmlVgpuTypeGetClass is not found") 

3280 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetClass)( 

3281 vgpuTypeId, vgpuTypeClass, size) 

3282  

3283  

3284cdef nvmlReturn_t _nvmlVgpuTypeGetName(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeName, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3285 global __nvmlVgpuTypeGetName 

3286 _check_or_init_nvml() 

3287 if __nvmlVgpuTypeGetName == NULL: 

3288 with gil: 

3289 raise FunctionNotFoundError("function nvmlVgpuTypeGetName is not found") 

3290 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetName)( 

3291 vgpuTypeId, vgpuTypeName, size) 

3292  

3293  

3294cdef nvmlReturn_t _nvmlVgpuTypeGetGpuInstanceProfileId(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* gpuInstanceProfileId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3295 global __nvmlVgpuTypeGetGpuInstanceProfileId 

3296 _check_or_init_nvml() 

3297 if __nvmlVgpuTypeGetGpuInstanceProfileId == NULL: 

3298 with gil: 

3299 raise FunctionNotFoundError("function nvmlVgpuTypeGetGpuInstanceProfileId is not found") 

3300 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetGpuInstanceProfileId)( 

3301 vgpuTypeId, gpuInstanceProfileId) 

3302  

3303  

3304cdef nvmlReturn_t _nvmlVgpuTypeGetDeviceID(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* deviceID, unsigned long long* subsystemID) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3305 global __nvmlVgpuTypeGetDeviceID 

3306 _check_or_init_nvml() 

3307 if __nvmlVgpuTypeGetDeviceID == NULL: 

3308 with gil: 

3309 raise FunctionNotFoundError("function nvmlVgpuTypeGetDeviceID is not found") 

3310 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetDeviceID)( 

3311 vgpuTypeId, deviceID, subsystemID) 

3312  

3313  

3314cdef nvmlReturn_t _nvmlVgpuTypeGetFramebufferSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3315 global __nvmlVgpuTypeGetFramebufferSize 

3316 _check_or_init_nvml() 

3317 if __nvmlVgpuTypeGetFramebufferSize == NULL: 

3318 with gil: 

3319 raise FunctionNotFoundError("function nvmlVgpuTypeGetFramebufferSize is not found") 

3320 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFramebufferSize)( 

3321 vgpuTypeId, fbSize) 

3322  

3323  

3324cdef nvmlReturn_t _nvmlVgpuTypeGetNumDisplayHeads(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* numDisplayHeads) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3325 global __nvmlVgpuTypeGetNumDisplayHeads 

3326 _check_or_init_nvml() 

3327 if __nvmlVgpuTypeGetNumDisplayHeads == NULL: 

3328 with gil: 

3329 raise FunctionNotFoundError("function nvmlVgpuTypeGetNumDisplayHeads is not found") 

3330 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetNumDisplayHeads)( 

3331 vgpuTypeId, numDisplayHeads) 

3332  

3333  

3334cdef nvmlReturn_t _nvmlVgpuTypeGetResolution(nvmlVgpuTypeId_t vgpuTypeId, unsigned int displayIndex, unsigned int* xdim, unsigned int* ydim) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3335 global __nvmlVgpuTypeGetResolution 

3336 _check_or_init_nvml() 

3337 if __nvmlVgpuTypeGetResolution == NULL: 

3338 with gil: 

3339 raise FunctionNotFoundError("function nvmlVgpuTypeGetResolution is not found") 

3340 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetResolution)( 

3341 vgpuTypeId, displayIndex, xdim, ydim) 

3342  

3343  

3344cdef nvmlReturn_t _nvmlVgpuTypeGetLicense(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeLicenseString, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3345 global __nvmlVgpuTypeGetLicense 

3346 _check_or_init_nvml() 

3347 if __nvmlVgpuTypeGetLicense == NULL: 

3348 with gil: 

3349 raise FunctionNotFoundError("function nvmlVgpuTypeGetLicense is not found") 

3350 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int) noexcept nogil>__nvmlVgpuTypeGetLicense)( 

3351 vgpuTypeId, vgpuTypeLicenseString, size) 

3352  

3353  

3354cdef nvmlReturn_t _nvmlVgpuTypeGetFrameRateLimit(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3355 global __nvmlVgpuTypeGetFrameRateLimit 

3356 _check_or_init_nvml() 

3357 if __nvmlVgpuTypeGetFrameRateLimit == NULL: 

3358 with gil: 

3359 raise FunctionNotFoundError("function nvmlVgpuTypeGetFrameRateLimit is not found") 

3360 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetFrameRateLimit)( 

3361 vgpuTypeId, frameRateLimit) 

3362  

3363  

3364cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstances(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3365 global __nvmlVgpuTypeGetMaxInstances 

3366 _check_or_init_nvml() 

3367 if __nvmlVgpuTypeGetMaxInstances == NULL: 

3368 with gil: 

3369 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstances is not found") 

3370 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstances)( 

3371 device, vgpuTypeId, vgpuInstanceCount) 

3372  

3373  

3374cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerVm(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCountPerVm) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3375 global __nvmlVgpuTypeGetMaxInstancesPerVm 

3376 _check_or_init_nvml() 

3377 if __nvmlVgpuTypeGetMaxInstancesPerVm == NULL: 

3378 with gil: 

3379 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerVm is not found") 

3380 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerVm)( 

3381 vgpuTypeId, vgpuInstanceCountPerVm) 

3382  

3383  

3384cdef nvmlReturn_t _nvmlVgpuTypeGetBAR1Info(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuTypeBar1Info_t* bar1Info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3385 global __nvmlVgpuTypeGetBAR1Info 

3386 _check_or_init_nvml() 

3387 if __nvmlVgpuTypeGetBAR1Info == NULL: 

3388 with gil: 

3389 raise FunctionNotFoundError("function nvmlVgpuTypeGetBAR1Info is not found") 

3390 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuTypeBar1Info_t*) noexcept nogil>__nvmlVgpuTypeGetBAR1Info)( 

3391 vgpuTypeId, bar1Info) 

3392  

3393  

3394cdef nvmlReturn_t _nvmlDeviceGetActiveVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuInstance_t* vgpuInstances) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1au

3395 global __nvmlDeviceGetActiveVgpus 

3396 _check_or_init_nvml() 1u

3397 if __nvmlDeviceGetActiveVgpus == NULL: 1u

3398 with gil: 1u

3399 raise FunctionNotFoundError("function nvmlDeviceGetActiveVgpus is not found") 

3400 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuInstance_t*) noexcept nogil>__nvmlDeviceGetActiveVgpus)( 1u

3401 device, vgpuCount, vgpuInstances) 

3402  

3403  

3404cdef nvmlReturn_t _nvmlVgpuInstanceGetVmID(nvmlVgpuInstance_t vgpuInstance, char* vmId, unsigned int size, nvmlVgpuVmIdType_t* vmIdType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3405 global __nvmlVgpuInstanceGetVmID 

3406 _check_or_init_nvml() 

3407 if __nvmlVgpuInstanceGetVmID == NULL: 

3408 with gil: 

3409 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmID is not found") 

3410 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int, nvmlVgpuVmIdType_t*) noexcept nogil>__nvmlVgpuInstanceGetVmID)( 

3411 vgpuInstance, vmId, size, vmIdType) 

3412  

3413  

3414cdef nvmlReturn_t _nvmlVgpuInstanceGetUUID(nvmlVgpuInstance_t vgpuInstance, char* uuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3415 global __nvmlVgpuInstanceGetUUID 

3416 _check_or_init_nvml() 

3417 if __nvmlVgpuInstanceGetUUID == NULL: 

3418 with gil: 

3419 raise FunctionNotFoundError("function nvmlVgpuInstanceGetUUID is not found") 

3420 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetUUID)( 

3421 vgpuInstance, uuid, size) 

3422  

3423  

3424cdef nvmlReturn_t _nvmlVgpuInstanceGetVmDriverVersion(nvmlVgpuInstance_t vgpuInstance, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3425 global __nvmlVgpuInstanceGetVmDriverVersion 

3426 _check_or_init_nvml() 

3427 if __nvmlVgpuInstanceGetVmDriverVersion == NULL: 

3428 with gil: 

3429 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmDriverVersion is not found") 

3430 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetVmDriverVersion)( 

3431 vgpuInstance, version, length) 

3432  

3433  

3434cdef nvmlReturn_t _nvmlVgpuInstanceGetFbUsage(nvmlVgpuInstance_t vgpuInstance, unsigned long long* fbUsage) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3435 global __nvmlVgpuInstanceGetFbUsage 

3436 _check_or_init_nvml() 

3437 if __nvmlVgpuInstanceGetFbUsage == NULL: 

3438 with gil: 

3439 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFbUsage is not found") 

3440 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned long long*) noexcept nogil>__nvmlVgpuInstanceGetFbUsage)( 

3441 vgpuInstance, fbUsage) 

3442  

3443  

3444cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseStatus(nvmlVgpuInstance_t vgpuInstance, unsigned int* licensed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3445 global __nvmlVgpuInstanceGetLicenseStatus 

3446 _check_or_init_nvml() 

3447 if __nvmlVgpuInstanceGetLicenseStatus == NULL: 

3448 with gil: 

3449 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseStatus is not found") 

3450 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetLicenseStatus)( 

3451 vgpuInstance, licensed) 

3452  

3453  

3454cdef nvmlReturn_t _nvmlVgpuInstanceGetType(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuTypeId_t* vgpuTypeId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3455 global __nvmlVgpuInstanceGetType 

3456 _check_or_init_nvml() 

3457 if __nvmlVgpuInstanceGetType == NULL: 

3458 with gil: 

3459 raise FunctionNotFoundError("function nvmlVgpuInstanceGetType is not found") 

3460 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlVgpuInstanceGetType)( 

3461 vgpuInstance, vgpuTypeId) 

3462  

3463  

3464cdef nvmlReturn_t _nvmlVgpuInstanceGetFrameRateLimit(nvmlVgpuInstance_t vgpuInstance, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3465 global __nvmlVgpuInstanceGetFrameRateLimit 

3466 _check_or_init_nvml() 

3467 if __nvmlVgpuInstanceGetFrameRateLimit == NULL: 

3468 with gil: 

3469 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFrameRateLimit is not found") 

3470 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetFrameRateLimit)( 

3471 vgpuInstance, frameRateLimit) 

3472  

3473  

3474cdef nvmlReturn_t _nvmlVgpuInstanceGetEccMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* eccMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3475 global __nvmlVgpuInstanceGetEccMode 

3476 _check_or_init_nvml() 

3477 if __nvmlVgpuInstanceGetEccMode == NULL: 

3478 with gil: 

3479 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEccMode is not found") 

3480 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetEccMode)( 

3481 vgpuInstance, eccMode) 

3482  

3483  

3484cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int* encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3485 global __nvmlVgpuInstanceGetEncoderCapacity 

3486 _check_or_init_nvml() 

3487 if __nvmlVgpuInstanceGetEncoderCapacity == NULL: 

3488 with gil: 

3489 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderCapacity is not found") 

3490 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderCapacity)( 

3491 vgpuInstance, encoderCapacity) 

3492  

3493  

3494cdef nvmlReturn_t _nvmlVgpuInstanceSetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3495 global __nvmlVgpuInstanceSetEncoderCapacity 

3496 _check_or_init_nvml() 

3497 if __nvmlVgpuInstanceSetEncoderCapacity == NULL: 

3498 with gil: 

3499 raise FunctionNotFoundError("function nvmlVgpuInstanceSetEncoderCapacity is not found") 

3500 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int) noexcept nogil>__nvmlVgpuInstanceSetEncoderCapacity)( 

3501 vgpuInstance, encoderCapacity) 

3502  

3503  

3504cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderStats(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, unsigned int* averageFps, unsigned int* averageLatency) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3505 global __nvmlVgpuInstanceGetEncoderStats 

3506 _check_or_init_nvml() 

3507 if __nvmlVgpuInstanceGetEncoderStats == NULL: 

3508 with gil: 

3509 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderStats is not found") 

3510 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderStats)( 

3511 vgpuInstance, sessionCount, averageFps, averageLatency) 

3512  

3513  

3514cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlEncoderSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3515 global __nvmlVgpuInstanceGetEncoderSessions 

3516 _check_or_init_nvml() 

3517 if __nvmlVgpuInstanceGetEncoderSessions == NULL: 

3518 with gil: 

3519 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderSessions is not found") 

3520 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlEncoderSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetEncoderSessions)( 

3521 vgpuInstance, sessionCount, sessionInfo) 

3522  

3523  

3524cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCStats(nvmlVgpuInstance_t vgpuInstance, nvmlFBCStats_t* fbcStats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3525 global __nvmlVgpuInstanceGetFBCStats 

3526 _check_or_init_nvml() 

3527 if __nvmlVgpuInstanceGetFBCStats == NULL: 

3528 with gil: 

3529 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCStats is not found") 

3530 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlFBCStats_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCStats)( 

3531 vgpuInstance, fbcStats) 

3532  

3533  

3534cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlFBCSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3535 global __nvmlVgpuInstanceGetFBCSessions 

3536 _check_or_init_nvml() 

3537 if __nvmlVgpuInstanceGetFBCSessions == NULL: 

3538 with gil: 

3539 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCSessions is not found") 

3540 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlFBCSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCSessions)( 

3541 vgpuInstance, sessionCount, sessionInfo) 

3542  

3543  

3544cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuInstanceId(nvmlVgpuInstance_t vgpuInstance, unsigned int* gpuInstanceId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3545 global __nvmlVgpuInstanceGetGpuInstanceId 

3546 _check_or_init_nvml() 

3547 if __nvmlVgpuInstanceGetGpuInstanceId == NULL: 

3548 with gil: 

3549 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuInstanceId is not found") 

3550 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuInstanceId)( 

3551 vgpuInstance, gpuInstanceId) 

3552  

3553  

3554cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuPciId(nvmlVgpuInstance_t vgpuInstance, char* vgpuPciId, unsigned int* length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3555 global __nvmlVgpuInstanceGetGpuPciId 

3556 _check_or_init_nvml() 

3557 if __nvmlVgpuInstanceGetGpuPciId == NULL: 

3558 with gil: 

3559 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuPciId is not found") 

3560 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuPciId)( 

3561 vgpuInstance, vgpuPciId, length) 

3562  

3563  

3564cdef nvmlReturn_t _nvmlVgpuTypeGetCapabilities(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3565 global __nvmlVgpuTypeGetCapabilities 

3566 _check_or_init_nvml() 

3567 if __nvmlVgpuTypeGetCapabilities == NULL: 

3568 with gil: 

3569 raise FunctionNotFoundError("function nvmlVgpuTypeGetCapabilities is not found") 

3570 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetCapabilities)( 

3571 vgpuTypeId, capability, capResult) 

3572  

3573  

3574cdef nvmlReturn_t _nvmlVgpuInstanceGetMdevUUID(nvmlVgpuInstance_t vgpuInstance, char* mdevUuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3575 global __nvmlVgpuInstanceGetMdevUUID 

3576 _check_or_init_nvml() 

3577 if __nvmlVgpuInstanceGetMdevUUID == NULL: 

3578 with gil: 

3579 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMdevUUID is not found") 

3580 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetMdevUUID)( 

3581 vgpuInstance, mdevUuid, size) 

3582  

3583  

3584cdef nvmlReturn_t _nvmlGpuInstanceGetCreatableVgpus(nvmlGpuInstance_t gpuInstance, nvmlVgpuTypeIdInfo_t* pVgpus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3585 global __nvmlGpuInstanceGetCreatableVgpus 

3586 _check_or_init_nvml() 

3587 if __nvmlGpuInstanceGetCreatableVgpus == NULL: 

3588 with gil: 

3589 raise FunctionNotFoundError("function nvmlGpuInstanceGetCreatableVgpus is not found") 

3590 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuTypeIdInfo_t*) noexcept nogil>__nvmlGpuInstanceGetCreatableVgpus)( 

3591 gpuInstance, pVgpus) 

3592  

3593  

3594cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerGpuInstance(nvmlVgpuTypeMaxInstance_t* pMaxInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3595 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

3596 _check_or_init_nvml() 

3597 if __nvmlVgpuTypeGetMaxInstancesPerGpuInstance == NULL: 

3598 with gil: 

3599 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerGpuInstance is not found") 

3600 return (<nvmlReturn_t (*)(nvmlVgpuTypeMaxInstance_t*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerGpuInstance)( 

3601 pMaxInstance) 

3602  

3603  

3604cdef nvmlReturn_t _nvmlGpuInstanceGetActiveVgpus(nvmlGpuInstance_t gpuInstance, nvmlActiveVgpuInstanceInfo_t* pVgpuInstanceInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3605 global __nvmlGpuInstanceGetActiveVgpus 

3606 _check_or_init_nvml() 

3607 if __nvmlGpuInstanceGetActiveVgpus == NULL: 

3608 with gil: 

3609 raise FunctionNotFoundError("function nvmlGpuInstanceGetActiveVgpus is not found") 

3610 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlActiveVgpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetActiveVgpus)( 

3611 gpuInstance, pVgpuInstanceInfo) 

3612  

3613  

3614cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_t* pScheduler) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3615 global __nvmlGpuInstanceSetVgpuSchedulerState 

3616 _check_or_init_nvml() 

3617 if __nvmlGpuInstanceSetVgpuSchedulerState == NULL: 

3618 with gil: 

3619 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState is not found") 

3620 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerState_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuSchedulerState)( 

3621 gpuInstance, pScheduler) 

3622  

3623  

3624cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerStateInfo_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3625 global __nvmlGpuInstanceGetVgpuSchedulerState 

3626 _check_or_init_nvml() 

3627 if __nvmlGpuInstanceGetVgpuSchedulerState == NULL: 

3628 with gil: 

3629 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerState is not found") 

3630 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerStateInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerState)( 

3631 gpuInstance, pSchedulerStateInfo) 

3632  

3633  

3634cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3635 global __nvmlGpuInstanceGetVgpuSchedulerLog 

3636 _check_or_init_nvml() 

3637 if __nvmlGpuInstanceGetVgpuSchedulerLog == NULL: 

3638 with gil: 

3639 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerLog is not found") 

3640 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerLogInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerLog)( 

3641 gpuInstance, pSchedulerLogInfo) 

3642  

3643  

3644cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuTypeCreatablePlacements(nvmlGpuInstance_t gpuInstance, nvmlVgpuCreatablePlacementInfo_t* pCreatablePlacementInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3645 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

3646 _check_or_init_nvml() 

3647 if __nvmlGpuInstanceGetVgpuTypeCreatablePlacements == NULL: 

3648 with gil: 

3649 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuTypeCreatablePlacements is not found") 

3650 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuCreatablePlacementInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuTypeCreatablePlacements)( 

3651 gpuInstance, pCreatablePlacementInfo) 

3652  

3653  

3654cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3655 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

3656 _check_or_init_nvml() 

3657 if __nvmlGpuInstanceGetVgpuHeterogeneousMode == NULL: 

3658 with gil: 

3659 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuHeterogeneousMode is not found") 

3660 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuHeterogeneousMode)( 

3661 gpuInstance, pHeterogeneousMode) 

3662  

3663  

3664cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3665 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

3666 _check_or_init_nvml() 

3667 if __nvmlGpuInstanceSetVgpuHeterogeneousMode == NULL: 

3668 with gil: 

3669 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuHeterogeneousMode is not found") 

3670 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuHeterogeneousMode)( 

3671 gpuInstance, pHeterogeneousMode) 

3672  

3673  

3674cdef nvmlReturn_t _nvmlVgpuInstanceGetMetadata(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuMetadata_t* vgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3675 global __nvmlVgpuInstanceGetMetadata 

3676 _check_or_init_nvml() 

3677 if __nvmlVgpuInstanceGetMetadata == NULL: 

3678 with gil: 

3679 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMetadata is not found") 

3680 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetMetadata)( 

3681 vgpuInstance, vgpuMetadata, bufferSize) 

3682  

3683  

3684cdef nvmlReturn_t _nvmlDeviceGetVgpuMetadata(nvmlDevice_t device, nvmlVgpuPgpuMetadata_t* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3685 global __nvmlDeviceGetVgpuMetadata 

3686 _check_or_init_nvml() 

3687 if __nvmlDeviceGetVgpuMetadata == NULL: 

3688 with gil: 

3689 raise FunctionNotFoundError("function nvmlDeviceGetVgpuMetadata is not found") 

3690 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuPgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuMetadata)( 

3691 device, pgpuMetadata, bufferSize) 

3692  

3693  

3694cdef nvmlReturn_t _nvmlGetVgpuCompatibility(nvmlVgpuMetadata_t* vgpuMetadata, nvmlVgpuPgpuMetadata_t* pgpuMetadata, nvmlVgpuPgpuCompatibility_t* compatibilityInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3695 global __nvmlGetVgpuCompatibility 

3696 _check_or_init_nvml() 

3697 if __nvmlGetVgpuCompatibility == NULL: 

3698 with gil: 

3699 raise FunctionNotFoundError("function nvmlGetVgpuCompatibility is not found") 

3700 return (<nvmlReturn_t (*)(nvmlVgpuMetadata_t*, nvmlVgpuPgpuMetadata_t*, nvmlVgpuPgpuCompatibility_t*) noexcept nogil>__nvmlGetVgpuCompatibility)( 

3701 vgpuMetadata, pgpuMetadata, compatibilityInfo) 

3702  

3703  

3704cdef nvmlReturn_t _nvmlDeviceGetPgpuMetadataString(nvmlDevice_t device, char* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3705 global __nvmlDeviceGetPgpuMetadataString 

3706 _check_or_init_nvml() 

3707 if __nvmlDeviceGetPgpuMetadataString == NULL: 

3708 with gil: 

3709 raise FunctionNotFoundError("function nvmlDeviceGetPgpuMetadataString is not found") 

3710 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int*) noexcept nogil>__nvmlDeviceGetPgpuMetadataString)( 

3711 device, pgpuMetadata, bufferSize) 

3712  

3713  

3714cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog(nvmlDevice_t device, nvmlVgpuSchedulerLog_t* pSchedulerLog) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3715 global __nvmlDeviceGetVgpuSchedulerLog 

3716 _check_or_init_nvml() 

3717 if __nvmlDeviceGetVgpuSchedulerLog == NULL: 

3718 with gil: 

3719 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerLog is not found") 

3720 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerLog_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerLog)( 

3721 device, pSchedulerLog) 

3722  

3723  

3724cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerGetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3725 global __nvmlDeviceGetVgpuSchedulerState 

3726 _check_or_init_nvml() 

3727 if __nvmlDeviceGetVgpuSchedulerState == NULL: 

3728 with gil: 

3729 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerState is not found") 

3730 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerGetState_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerState)( 

3731 device, pSchedulerState) 

3732  

3733  

3734cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerCapabilities(nvmlDevice_t device, nvmlVgpuSchedulerCapabilities_t* pCapabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3735 global __nvmlDeviceGetVgpuSchedulerCapabilities 

3736 _check_or_init_nvml() 

3737 if __nvmlDeviceGetVgpuSchedulerCapabilities == NULL: 

3738 with gil: 

3739 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerCapabilities is not found") 

3740 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerCapabilities_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerCapabilities)( 

3741 device, pCapabilities) 

3742  

3743  

3744cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerSetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3745 global __nvmlDeviceSetVgpuSchedulerState 

3746 _check_or_init_nvml() 

3747 if __nvmlDeviceSetVgpuSchedulerState == NULL: 

3748 with gil: 

3749 raise FunctionNotFoundError("function nvmlDeviceSetVgpuSchedulerState is not found") 

3750 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerSetState_t*) noexcept nogil>__nvmlDeviceSetVgpuSchedulerState)( 

3751 device, pSchedulerState) 

3752  

3753  

3754cdef nvmlReturn_t _nvmlGetVgpuVersion(nvmlVgpuVersion_t* supported, nvmlVgpuVersion_t* current) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3755 global __nvmlGetVgpuVersion 

3756 _check_or_init_nvml() 

3757 if __nvmlGetVgpuVersion == NULL: 

3758 with gil: 

3759 raise FunctionNotFoundError("function nvmlGetVgpuVersion is not found") 

3760 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*, nvmlVgpuVersion_t*) noexcept nogil>__nvmlGetVgpuVersion)( 

3761 supported, current) 

3762  

3763  

3764cdef nvmlReturn_t _nvmlSetVgpuVersion(nvmlVgpuVersion_t* vgpuVersion) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3765 global __nvmlSetVgpuVersion 

3766 _check_or_init_nvml() 

3767 if __nvmlSetVgpuVersion == NULL: 

3768 with gil: 

3769 raise FunctionNotFoundError("function nvmlSetVgpuVersion is not found") 

3770 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*) noexcept nogil>__nvmlSetVgpuVersion)( 

3771 vgpuVersion) 

3772  

3773  

3774cdef 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: 1a+

3775 global __nvmlDeviceGetVgpuUtilization 

3776 _check_or_init_nvml() 1+

3777 if __nvmlDeviceGetVgpuUtilization == NULL: 1+

3778 with gil: 1+

3779 raise FunctionNotFoundError("function nvmlDeviceGetVgpuUtilization is not found") 

3780 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlVgpuInstanceUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuUtilization)( 1+

3781 device, lastSeenTimeStamp, sampleValType, vgpuInstanceSamplesCount, utilizationSamples) 

3782  

3783  

3784cdef nvmlReturn_t _nvmlDeviceGetVgpuInstancesUtilizationInfo(nvmlDevice_t device, nvmlVgpuInstancesUtilizationInfo_t* vgpuUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3785 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

3786 _check_or_init_nvml() 

3787 if __nvmlDeviceGetVgpuInstancesUtilizationInfo == NULL: 

3788 with gil: 

3789 raise FunctionNotFoundError("function nvmlDeviceGetVgpuInstancesUtilizationInfo is not found") 

3790 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuInstancesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuInstancesUtilizationInfo)( 

3791 device, vgpuUtilInfo) 

3792  

3793  

3794cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessUtilization(nvmlDevice_t device, unsigned long long lastSeenTimeStamp, unsigned int* vgpuProcessSamplesCount, nvmlVgpuProcessUtilizationSample_t* utilizationSamples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1a)

3795 global __nvmlDeviceGetVgpuProcessUtilization 

3796 _check_or_init_nvml() 1)

3797 if __nvmlDeviceGetVgpuProcessUtilization == NULL: 1)

3798 with gil: 1)

3799 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessUtilization is not found") 

3800 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, unsigned int*, nvmlVgpuProcessUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessUtilization)( 1)

3801 device, lastSeenTimeStamp, vgpuProcessSamplesCount, utilizationSamples) 

3802  

3803  

3804cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessesUtilizationInfo(nvmlDevice_t device, nvmlVgpuProcessesUtilizationInfo_t* vgpuProcUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3805 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

3806 _check_or_init_nvml() 

3807 if __nvmlDeviceGetVgpuProcessesUtilizationInfo == NULL: 

3808 with gil: 

3809 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessesUtilizationInfo is not found") 

3810 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessesUtilizationInfo)( 

3811 device, vgpuProcUtilInfo) 

3812  

3813  

3814cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3815 global __nvmlVgpuInstanceGetAccountingMode 

3816 _check_or_init_nvml() 

3817 if __nvmlVgpuInstanceGetAccountingMode == NULL: 

3818 with gil: 

3819 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingMode is not found") 

3820 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingMode)( 

3821 vgpuInstance, mode) 

3822  

3823  

3824cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingPids(nvmlVgpuInstance_t vgpuInstance, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3825 global __nvmlVgpuInstanceGetAccountingPids 

3826 _check_or_init_nvml() 

3827 if __nvmlVgpuInstanceGetAccountingPids == NULL: 

3828 with gil: 

3829 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingPids is not found") 

3830 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetAccountingPids)( 

3831 vgpuInstance, count, pids) 

3832  

3833  

3834cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingStats(nvmlVgpuInstance_t vgpuInstance, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3835 global __nvmlVgpuInstanceGetAccountingStats 

3836 _check_or_init_nvml() 

3837 if __nvmlVgpuInstanceGetAccountingStats == NULL: 

3838 with gil: 

3839 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingStats is not found") 

3840 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingStats)( 

3841 vgpuInstance, pid, stats) 

3842  

3843  

3844cdef nvmlReturn_t _nvmlVgpuInstanceClearAccountingPids(nvmlVgpuInstance_t vgpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3845 global __nvmlVgpuInstanceClearAccountingPids 

3846 _check_or_init_nvml() 

3847 if __nvmlVgpuInstanceClearAccountingPids == NULL: 

3848 with gil: 

3849 raise FunctionNotFoundError("function nvmlVgpuInstanceClearAccountingPids is not found") 

3850 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t) noexcept nogil>__nvmlVgpuInstanceClearAccountingPids)( 

3851 vgpuInstance) 

3852  

3853  

3854cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseInfo_v2(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuLicenseInfo_t* licenseInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3855 global __nvmlVgpuInstanceGetLicenseInfo_v2 

3856 _check_or_init_nvml() 

3857 if __nvmlVgpuInstanceGetLicenseInfo_v2 == NULL: 

3858 with gil: 

3859 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseInfo_v2 is not found") 

3860 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuLicenseInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetLicenseInfo_v2)( 

3861 vgpuInstance, licenseInfo) 

3862  

3863  

3864cdef nvmlReturn_t _nvmlGetExcludedDeviceCount(unsigned int* deviceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3865 global __nvmlGetExcludedDeviceCount 

3866 _check_or_init_nvml() 

3867 if __nvmlGetExcludedDeviceCount == NULL: 

3868 with gil: 

3869 raise FunctionNotFoundError("function nvmlGetExcludedDeviceCount is not found") 

3870 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlGetExcludedDeviceCount)( 

3871 deviceCount) 

3872  

3873  

3874cdef nvmlReturn_t _nvmlGetExcludedDeviceInfoByIndex(unsigned int index, nvmlExcludedDeviceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3875 global __nvmlGetExcludedDeviceInfoByIndex 

3876 _check_or_init_nvml() 

3877 if __nvmlGetExcludedDeviceInfoByIndex == NULL: 

3878 with gil: 

3879 raise FunctionNotFoundError("function nvmlGetExcludedDeviceInfoByIndex is not found") 

3880 return (<nvmlReturn_t (*)(unsigned int, nvmlExcludedDeviceInfo_t*) noexcept nogil>__nvmlGetExcludedDeviceInfoByIndex)( 

3881 index, info) 

3882  

3883  

3884cdef nvmlReturn_t _nvmlDeviceSetMigMode(nvmlDevice_t device, unsigned int mode, nvmlReturn_t* activationStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3885 global __nvmlDeviceSetMigMode 

3886 _check_or_init_nvml() 

3887 if __nvmlDeviceSetMigMode == NULL: 

3888 with gil: 

3889 raise FunctionNotFoundError("function nvmlDeviceSetMigMode is not found") 

3890 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlReturn_t*) noexcept nogil>__nvmlDeviceSetMigMode)( 

3891 device, mode, activationStatus) 

3892  

3893  

3894cdef nvmlReturn_t _nvmlDeviceGetMigMode(nvmlDevice_t device, unsigned int* currentMode, unsigned int* pendingMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1a8=

3895 global __nvmlDeviceGetMigMode 

3896 _check_or_init_nvml() 18=0

3897 if __nvmlDeviceGetMigMode == NULL: 18=0

3898 with gil: 18=

3899 raise FunctionNotFoundError("function nvmlDeviceGetMigMode is not found") 

3900 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetMigMode)( 18=0

3901 device, currentMode, pendingMode) 

3902  

3903  

3904cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoV(nvmlDevice_t device, unsigned int profile, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3905 global __nvmlDeviceGetGpuInstanceProfileInfoV 

3906 _check_or_init_nvml() 

3907 if __nvmlDeviceGetGpuInstanceProfileInfoV == NULL: 

3908 with gil: 

3909 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoV is not found") 

3910 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoV)( 

3911 device, profile, info) 

3912  

3913  

3914cdef nvmlReturn_t _nvmlDeviceGetGpuInstancePossiblePlacements_v2(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3915 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

3916 _check_or_init_nvml() 

3917 if __nvmlDeviceGetGpuInstancePossiblePlacements_v2 == NULL: 

3918 with gil: 

3919 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstancePossiblePlacements_v2 is not found") 

3920 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstancePossiblePlacements_v2)( 

3921 device, profileId, placements, count) 

3922  

3923  

3924cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceRemainingCapacity(nvmlDevice_t device, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3925 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

3926 _check_or_init_nvml() 

3927 if __nvmlDeviceGetGpuInstanceRemainingCapacity == NULL: 

3928 with gil: 

3929 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceRemainingCapacity is not found") 

3930 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceRemainingCapacity)( 

3931 device, profileId, count) 

3932  

3933  

3934cdef nvmlReturn_t _nvmlDeviceCreateGpuInstance(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3935 global __nvmlDeviceCreateGpuInstance 

3936 _check_or_init_nvml() 

3937 if __nvmlDeviceCreateGpuInstance == NULL: 

3938 with gil: 

3939 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstance is not found") 

3940 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstance)( 

3941 device, profileId, gpuInstance) 

3942  

3943  

3944cdef nvmlReturn_t _nvmlDeviceCreateGpuInstanceWithPlacement(nvmlDevice_t device, unsigned int profileId, const nvmlGpuInstancePlacement_t* placement, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3945 global __nvmlDeviceCreateGpuInstanceWithPlacement 

3946 _check_or_init_nvml() 

3947 if __nvmlDeviceCreateGpuInstanceWithPlacement == NULL: 

3948 with gil: 

3949 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstanceWithPlacement is not found") 

3950 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, const nvmlGpuInstancePlacement_t*, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstanceWithPlacement)( 

3951 device, profileId, placement, gpuInstance) 

3952  

3953  

3954cdef nvmlReturn_t _nvmlGpuInstanceDestroy(nvmlGpuInstance_t gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3955 global __nvmlGpuInstanceDestroy 

3956 _check_or_init_nvml() 

3957 if __nvmlGpuInstanceDestroy == NULL: 

3958 with gil: 

3959 raise FunctionNotFoundError("function nvmlGpuInstanceDestroy is not found") 

3960 return (<nvmlReturn_t (*)(nvmlGpuInstance_t) noexcept nogil>__nvmlGpuInstanceDestroy)( 

3961 gpuInstance) 

3962  

3963  

3964cdef nvmlReturn_t _nvmlDeviceGetGpuInstances(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3965 global __nvmlDeviceGetGpuInstances 

3966 _check_or_init_nvml() 

3967 if __nvmlDeviceGetGpuInstances == NULL: 

3968 with gil: 

3969 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstances is not found") 

3970 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstances)( 

3971 device, profileId, gpuInstances, count) 

3972  

3973  

3974cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceById(nvmlDevice_t device, unsigned int id, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3975 global __nvmlDeviceGetGpuInstanceById 

3976 _check_or_init_nvml() 

3977 if __nvmlDeviceGetGpuInstanceById == NULL: 

3978 with gil: 

3979 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceById is not found") 

3980 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceById)( 

3981 device, id, gpuInstance) 

3982  

3983  

3984cdef nvmlReturn_t _nvmlGpuInstanceGetInfo(nvmlGpuInstance_t gpuInstance, nvmlGpuInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3985 global __nvmlGpuInstanceGetInfo 

3986 _check_or_init_nvml() 

3987 if __nvmlGpuInstanceGetInfo == NULL: 

3988 with gil: 

3989 raise FunctionNotFoundError("function nvmlGpuInstanceGetInfo is not found") 

3990 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlGpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetInfo)( 

3991 gpuInstance, info) 

3992  

3993  

3994cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceProfileInfoV(nvmlGpuInstance_t gpuInstance, unsigned int profile, unsigned int engProfile, nvmlComputeInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3995 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

3996 _check_or_init_nvml() 

3997 if __nvmlGpuInstanceGetComputeInstanceProfileInfoV == NULL: 

3998 with gil: 

3999 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceProfileInfoV is not found") 

4000 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int, nvmlComputeInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceProfileInfoV)( 

4001 gpuInstance, profile, engProfile, info) 

4002  

4003  

4004cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceRemainingCapacity(nvmlGpuInstance_t gpuInstance, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4005 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

4006 _check_or_init_nvml() 

4007 if __nvmlGpuInstanceGetComputeInstanceRemainingCapacity == NULL: 

4008 with gil: 

4009 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceRemainingCapacity is not found") 

4010 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceRemainingCapacity)( 

4011 gpuInstance, profileId, count) 

4012  

4013  

4014cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstancePossiblePlacements(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4015 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

4016 _check_or_init_nvml() 

4017 if __nvmlGpuInstanceGetComputeInstancePossiblePlacements == NULL: 

4018 with gil: 

4019 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstancePossiblePlacements is not found") 

4020 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstancePossiblePlacements)( 

4021 gpuInstance, profileId, placements, count) 

4022  

4023  

4024cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstance(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4025 global __nvmlGpuInstanceCreateComputeInstance 

4026 _check_or_init_nvml() 

4027 if __nvmlGpuInstanceCreateComputeInstance == NULL: 

4028 with gil: 

4029 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstance is not found") 

4030 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstance)( 

4031 gpuInstance, profileId, computeInstance) 

4032  

4033  

4034cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstanceWithPlacement(nvmlGpuInstance_t gpuInstance, unsigned int profileId, const nvmlComputeInstancePlacement_t* placement, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4035 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

4036 _check_or_init_nvml() 

4037 if __nvmlGpuInstanceCreateComputeInstanceWithPlacement == NULL: 

4038 with gil: 

4039 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstanceWithPlacement is not found") 

4040 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, const nvmlComputeInstancePlacement_t*, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstanceWithPlacement)( 

4041 gpuInstance, profileId, placement, computeInstance) 

4042  

4043  

4044cdef nvmlReturn_t _nvmlComputeInstanceDestroy(nvmlComputeInstance_t computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4045 global __nvmlComputeInstanceDestroy 

4046 _check_or_init_nvml() 

4047 if __nvmlComputeInstanceDestroy == NULL: 

4048 with gil: 

4049 raise FunctionNotFoundError("function nvmlComputeInstanceDestroy is not found") 

4050 return (<nvmlReturn_t (*)(nvmlComputeInstance_t) noexcept nogil>__nvmlComputeInstanceDestroy)( 

4051 computeInstance) 

4052  

4053  

4054cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstances(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4055 global __nvmlGpuInstanceGetComputeInstances 

4056 _check_or_init_nvml() 

4057 if __nvmlGpuInstanceGetComputeInstances == NULL: 

4058 with gil: 

4059 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstances is not found") 

4060 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstances)( 

4061 gpuInstance, profileId, computeInstances, count) 

4062  

4063  

4064cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceById(nvmlGpuInstance_t gpuInstance, unsigned int id, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4065 global __nvmlGpuInstanceGetComputeInstanceById 

4066 _check_or_init_nvml() 

4067 if __nvmlGpuInstanceGetComputeInstanceById == NULL: 

4068 with gil: 

4069 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceById is not found") 

4070 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceById)( 

4071 gpuInstance, id, computeInstance) 

4072  

4073  

4074cdef nvmlReturn_t _nvmlComputeInstanceGetInfo_v2(nvmlComputeInstance_t computeInstance, nvmlComputeInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4075 global __nvmlComputeInstanceGetInfo_v2 

4076 _check_or_init_nvml() 

4077 if __nvmlComputeInstanceGetInfo_v2 == NULL: 

4078 with gil: 

4079 raise FunctionNotFoundError("function nvmlComputeInstanceGetInfo_v2 is not found") 

4080 return (<nvmlReturn_t (*)(nvmlComputeInstance_t, nvmlComputeInstanceInfo_t*) noexcept nogil>__nvmlComputeInstanceGetInfo_v2)( 

4081 computeInstance, info) 

4082  

4083  

4084cdef nvmlReturn_t _nvmlDeviceIsMigDeviceHandle(nvmlDevice_t device, unsigned int* isMigDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1ao

4085 global __nvmlDeviceIsMigDeviceHandle 

4086 _check_or_init_nvml() 1o0

4087 if __nvmlDeviceIsMigDeviceHandle == NULL: 1o0

4088 with gil: 1o

4089 raise FunctionNotFoundError("function nvmlDeviceIsMigDeviceHandle is not found") 

4090 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceIsMigDeviceHandle)( 1o0

4091 device, isMigDevice) 

4092  

4093  

4094cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4095 global __nvmlDeviceGetGpuInstanceId 

4096 _check_or_init_nvml() 

4097 if __nvmlDeviceGetGpuInstanceId == NULL: 

4098 with gil: 

4099 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceId is not found") 

4100 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceId)( 

4101 device, id) 

4102  

4103  

4104cdef nvmlReturn_t _nvmlDeviceGetComputeInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4105 global __nvmlDeviceGetComputeInstanceId 

4106 _check_or_init_nvml() 

4107 if __nvmlDeviceGetComputeInstanceId == NULL: 

4108 with gil: 

4109 raise FunctionNotFoundError("function nvmlDeviceGetComputeInstanceId is not found") 

4110 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetComputeInstanceId)( 

4111 device, id) 

4112  

4113  

4114cdef nvmlReturn_t _nvmlDeviceGetMaxMigDeviceCount(nvmlDevice_t device, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1aD

4115 global __nvmlDeviceGetMaxMigDeviceCount 

4116 _check_or_init_nvml() 1D0

4117 if __nvmlDeviceGetMaxMigDeviceCount == NULL: 1D0

4118 with gil: 1D

4119 raise FunctionNotFoundError("function nvmlDeviceGetMaxMigDeviceCount is not found") 

4120 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxMigDeviceCount)( 1D0

4121 device, count) 

4122  

4123  

4124cdef nvmlReturn_t _nvmlDeviceGetMigDeviceHandleByIndex(nvmlDevice_t device, unsigned int index, nvmlDevice_t* migDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4125 global __nvmlDeviceGetMigDeviceHandleByIndex 

4126 _check_or_init_nvml() 

4127 if __nvmlDeviceGetMigDeviceHandleByIndex == NULL: 

4128 with gil: 

4129 raise FunctionNotFoundError("function nvmlDeviceGetMigDeviceHandleByIndex is not found") 

4130 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetMigDeviceHandleByIndex)( 

4131 device, index, migDevice) 

4132  

4133  

4134cdef nvmlReturn_t _nvmlDeviceGetDeviceHandleFromMigDeviceHandle(nvmlDevice_t migDevice, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4135 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

4136 _check_or_init_nvml() 

4137 if __nvmlDeviceGetDeviceHandleFromMigDeviceHandle == NULL: 

4138 with gil: 

4139 raise FunctionNotFoundError("function nvmlDeviceGetDeviceHandleFromMigDeviceHandle is not found") 

4140 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetDeviceHandleFromMigDeviceHandle)( 

4141 migDevice, device) 

4142  

4143  

4144cdef nvmlReturn_t _nvmlDeviceGetCapabilities(nvmlDevice_t device, nvmlDeviceCapabilities_t* caps) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Eb

4145 global __nvmlDeviceGetCapabilities 

4146 _check_or_init_nvml() 2Eb

4147 if __nvmlDeviceGetCapabilities == NULL: 2Eb

4148 with gil: 2Eb

4149 raise FunctionNotFoundError("function nvmlDeviceGetCapabilities is not found") 

4150 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCapabilities_t*) noexcept nogil>__nvmlDeviceGetCapabilities)( 2Eb

4151 device, caps) 

4152  

4153  

4154cdef nvmlReturn_t _nvmlDevicePowerSmoothingActivatePresetProfile(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4155 global __nvmlDevicePowerSmoothingActivatePresetProfile 

4156 _check_or_init_nvml() 

4157 if __nvmlDevicePowerSmoothingActivatePresetProfile == NULL: 

4158 with gil: 

4159 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingActivatePresetProfile is not found") 

4160 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingActivatePresetProfile)( 

4161 device, profile) 

4162  

4163  

4164cdef nvmlReturn_t _nvmlDevicePowerSmoothingUpdatePresetProfileParam(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4165 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

4166 _check_or_init_nvml() 

4167 if __nvmlDevicePowerSmoothingUpdatePresetProfileParam == NULL: 

4168 with gil: 

4169 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingUpdatePresetProfileParam is not found") 

4170 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingUpdatePresetProfileParam)( 

4171 device, profile) 

4172  

4173  

4174cdef nvmlReturn_t _nvmlDevicePowerSmoothingSetState(nvmlDevice_t device, nvmlPowerSmoothingState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4175 global __nvmlDevicePowerSmoothingSetState 

4176 _check_or_init_nvml() 

4177 if __nvmlDevicePowerSmoothingSetState == NULL: 

4178 with gil: 

4179 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingSetState is not found") 

4180 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingState_t*) noexcept nogil>__nvmlDevicePowerSmoothingSetState)( 

4181 device, state) 

4182  

4183  

4184cdef nvmlReturn_t _nvmlDeviceGetAddressingMode(nvmlDevice_t device, nvmlDeviceAddressingMode_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1ar

4185 global __nvmlDeviceGetAddressingMode 

4186 _check_or_init_nvml() 1r

4187 if __nvmlDeviceGetAddressingMode == NULL: 1r

4188 with gil: 1r

4189 raise FunctionNotFoundError("function nvmlDeviceGetAddressingMode is not found") 

4190 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceAddressingMode_t*) noexcept nogil>__nvmlDeviceGetAddressingMode)( 1r

4191 device, mode) 

4192  

4193  

4194cdef nvmlReturn_t _nvmlDeviceGetRepairStatus(nvmlDevice_t device, nvmlRepairStatus_t* repairStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1aI

4195 global __nvmlDeviceGetRepairStatus 

4196 _check_or_init_nvml() 1I

4197 if __nvmlDeviceGetRepairStatus == NULL: 1I

4198 with gil: 1I

4199 raise FunctionNotFoundError("function nvmlDeviceGetRepairStatus is not found") 

4200 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRepairStatus_t*) noexcept nogil>__nvmlDeviceGetRepairStatus)( 1I

4201 device, repairStatus) 

4202  

4203  

4204cdef nvmlReturn_t _nvmlDeviceGetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4205 global __nvmlDeviceGetPowerMizerMode_v1 

4206 _check_or_init_nvml() 

4207 if __nvmlDeviceGetPowerMizerMode_v1 == NULL: 

4208 with gil: 

4209 raise FunctionNotFoundError("function nvmlDeviceGetPowerMizerMode_v1 is not found") 

4210 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceGetPowerMizerMode_v1)( 

4211 device, powerMizerMode) 

4212  

4213  

4214cdef nvmlReturn_t _nvmlDeviceSetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4215 global __nvmlDeviceSetPowerMizerMode_v1 

4216 _check_or_init_nvml() 

4217 if __nvmlDeviceSetPowerMizerMode_v1 == NULL: 

4218 with gil: 

4219 raise FunctionNotFoundError("function nvmlDeviceSetPowerMizerMode_v1 is not found") 

4220 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceSetPowerMizerMode_v1)( 

4221 device, powerMizerMode) 

4222  

4223  

4224cdef nvmlReturn_t _nvmlDeviceGetPdi(nvmlDevice_t device, nvmlPdi_t* pdi) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Fb

4225 global __nvmlDeviceGetPdi 

4226 _check_or_init_nvml() 2Fb

4227 if __nvmlDeviceGetPdi == NULL: 2Fb

4228 with gil: 2Fb

4229 raise FunctionNotFoundError("function nvmlDeviceGetPdi is not found") 

4230 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPdi_t*) noexcept nogil>__nvmlDeviceGetPdi)( 2Fb

4231 device, pdi) 

4232  

4233  

4234cdef nvmlReturn_t _nvmlDeviceSetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4235 global __nvmlDeviceSetHostname_v1 

4236 _check_or_init_nvml() 

4237 if __nvmlDeviceSetHostname_v1 == NULL: 

4238 with gil: 

4239 raise FunctionNotFoundError("function nvmlDeviceSetHostname_v1 is not found") 

4240 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceSetHostname_v1)( 

4241 device, hostname) 

4242  

4243  

4244cdef nvmlReturn_t _nvmlDeviceGetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4245 global __nvmlDeviceGetHostname_v1 

4246 _check_or_init_nvml() 

4247 if __nvmlDeviceGetHostname_v1 == NULL: 

4248 with gil: 

4249 raise FunctionNotFoundError("function nvmlDeviceGetHostname_v1 is not found") 

4250 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceGetHostname_v1)( 

4251 device, hostname) 

4252  

4253  

4254cdef nvmlReturn_t _nvmlDeviceGetNvLinkInfo(nvmlDevice_t device, nvmlNvLinkInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4255 global __nvmlDeviceGetNvLinkInfo 

4256 _check_or_init_nvml() 

4257 if __nvmlDeviceGetNvLinkInfo == NULL: 

4258 with gil: 

4259 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkInfo is not found") 

4260 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkInfo)( 

4261 device, info) 

4262  

4263  

4264cdef nvmlReturn_t _nvmlDeviceReadWritePRM_v1(nvmlDevice_t device, nvmlPRMTLV_v1_t* buffer) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1aM

4265 global __nvmlDeviceReadWritePRM_v1 

4266 _check_or_init_nvml() 1M

4267 if __nvmlDeviceReadWritePRM_v1 == NULL: 1M

4268 with gil: 1M

4269 raise FunctionNotFoundError("function nvmlDeviceReadWritePRM_v1 is not found") 

4270 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMTLV_v1_t*) noexcept nogil>__nvmlDeviceReadWritePRM_v1)( 1M

4271 device, buffer) 

4272  

4273  

4274cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoByIdV(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4275 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

4276 _check_or_init_nvml() 

4277 if __nvmlDeviceGetGpuInstanceProfileInfoByIdV == NULL: 

4278 with gil: 

4279 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoByIdV is not found") 

4280 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoByIdV)( 

4281 device, profileId, info) 

4282  

4283  

4284cdef nvmlReturn_t _nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts(nvmlDevice_t device, nvmlEccSramUniqueUncorrectedErrorCounts_t* errorCounts) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4285 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

4286 _check_or_init_nvml() 

4287 if __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts == NULL: 

4288 with gil: 

4289 raise FunctionNotFoundError("function nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts is not found") 

4290 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramUniqueUncorrectedErrorCounts_t*) noexcept nogil>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts)( 

4291 device, errorCounts) 

4292  

4293  

4294cdef nvmlReturn_t _nvmlDeviceGetUnrepairableMemoryFlag_v1(nvmlDevice_t device, nvmlUnrepairableMemoryStatus_v1_t* unrepairableMemoryStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1ax

4295 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

4296 _check_or_init_nvml() 1x

4297 if __nvmlDeviceGetUnrepairableMemoryFlag_v1 == NULL: 1x

4298 with gil: 1x

4299 raise FunctionNotFoundError("function nvmlDeviceGetUnrepairableMemoryFlag_v1 is not found") 

4300 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUnrepairableMemoryStatus_v1_t*) noexcept nogil>__nvmlDeviceGetUnrepairableMemoryFlag_v1)( 1x

4301 device, unrepairableMemoryStatus) 

4302  

4303  

4304cdef nvmlReturn_t _nvmlDeviceReadPRMCounters_v1(nvmlDevice_t device, nvmlPRMCounterList_v1_t* counterList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1a1

4305 global __nvmlDeviceReadPRMCounters_v1 

4306 _check_or_init_nvml() 11

4307 if __nvmlDeviceReadPRMCounters_v1 == NULL: 11

4308 with gil: 11

4309 raise FunctionNotFoundError("function nvmlDeviceReadPRMCounters_v1 is not found") 

4310 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMCounterList_v1_t*) noexcept nogil>__nvmlDeviceReadPRMCounters_v1)( 11

4311 device, counterList) 

4312  

4313  

4314cdef nvmlReturn_t _nvmlDeviceSetRusdSettings_v1(nvmlDevice_t device, nvmlRusdSettings_v1_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4315 global __nvmlDeviceSetRusdSettings_v1 

4316 _check_or_init_nvml() 

4317 if __nvmlDeviceSetRusdSettings_v1 == NULL: 

4318 with gil: 

4319 raise FunctionNotFoundError("function nvmlDeviceSetRusdSettings_v1 is not found") 

4320 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRusdSettings_v1_t*) noexcept nogil>__nvmlDeviceSetRusdSettings_v1)( 

4321 device, settings) 

4322  

4323  

4324cdef nvmlReturn_t _nvmlDeviceVgpuForceGspUnload(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4325 global __nvmlDeviceVgpuForceGspUnload 

4326 _check_or_init_nvml() 

4327 if __nvmlDeviceVgpuForceGspUnload == NULL: 

4328 with gil: 

4329 raise FunctionNotFoundError("function nvmlDeviceVgpuForceGspUnload is not found") 

4330 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceVgpuForceGspUnload)( 

4331 device) 

4332  

4333  

4334cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerStateInfo_v2_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4335 global __nvmlDeviceGetVgpuSchedulerState_v2 

4336 _check_or_init_nvml() 

4337 if __nvmlDeviceGetVgpuSchedulerState_v2 == NULL: 

4338 with gil: 

4339 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerState_v2 is not found") 

4340 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerStateInfo_v2_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerState_v2)( 

4341 device, pSchedulerStateInfo) 

4342  

4343  

4344cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerStateInfo_v2_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4345 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 

4346 _check_or_init_nvml() 

4347 if __nvmlGpuInstanceGetVgpuSchedulerState_v2 == NULL: 

4348 with gil: 

4349 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerState_v2 is not found") 

4350 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerStateInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerState_v2)( 

4351 gpuInstance, pSchedulerStateInfo) 

4352  

4353  

4354cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog_v2(nvmlDevice_t device, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4355 global __nvmlDeviceGetVgpuSchedulerLog_v2 

4356 _check_or_init_nvml() 

4357 if __nvmlDeviceGetVgpuSchedulerLog_v2 == NULL: 

4358 with gil: 

4359 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerLog_v2 is not found") 

4360 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerLogInfo_v2_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerLog_v2)( 

4361 device, pSchedulerLogInfo) 

4362  

4363  

4364cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4365 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 

4366 _check_or_init_nvml() 

4367 if __nvmlGpuInstanceGetVgpuSchedulerLog_v2 == NULL: 

4368 with gil: 

4369 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerLog_v2 is not found") 

4370 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerLogInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerLog_v2)( 

4371 gpuInstance, pSchedulerLogInfo) 

4372  

4373  

4374cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4375 global __nvmlDeviceSetVgpuSchedulerState_v2 

4376 _check_or_init_nvml() 

4377 if __nvmlDeviceSetVgpuSchedulerState_v2 == NULL: 

4378 with gil: 

4379 raise FunctionNotFoundError("function nvmlDeviceSetVgpuSchedulerState_v2 is not found") 

4380 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerState_v2_t*) noexcept nogil>__nvmlDeviceSetVgpuSchedulerState_v2)( 

4381 device, pSchedulerState) 

4382  

4383  

4384cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4385 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 

4386 _check_or_init_nvml() 

4387 if __nvmlGpuInstanceSetVgpuSchedulerState_v2 == NULL: 

4388 with gil: 

4389 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState_v2 is not found") 

4390 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerState_v2_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuSchedulerState_v2)( 

4391 gpuInstance, pSchedulerState) 

4392  

4393  

4394cdef nvmlReturn_t _nvmlSystemGetCPER_v1(nvmlGetCPER_v1_t* cper) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4395 global __nvmlSystemGetCPER_v1 

4396 _check_or_init_nvml() 

4397 if __nvmlSystemGetCPER_v1 == NULL: 

4398 with gil: 

4399 raise FunctionNotFoundError("function nvmlSystemGetCPER_v1 is not found") 

4400 return (<nvmlReturn_t (*)(nvmlGetCPER_v1_t*) noexcept nogil>__nvmlSystemGetCPER_v1)( 

4401 cper) 

4402  

4403  

4404cdef nvmlReturn_t _nvmlDeviceGetBBXTimeData_v1(nvmlDevice_t device, nvmlBBXTimeData_v1_t* timeData) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4405 global __nvmlDeviceGetBBXTimeData_v1 

4406 _check_or_init_nvml() 

4407 if __nvmlDeviceGetBBXTimeData_v1 == NULL: 

4408 with gil: 

4409 raise FunctionNotFoundError("function nvmlDeviceGetBBXTimeData_v1 is not found") 

4410 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBBXTimeData_v1_t*) noexcept nogil>__nvmlDeviceGetBBXTimeData_v1)( 

4411 device, timeData) 

4412  

4413  

4414cdef nvmlReturn_t _nvmlDeviceGetAccountingStats_v2(nvmlDevice_t device, nvmlAccountingStats_v2_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4415 global __nvmlDeviceGetAccountingStats_v2 

4416 _check_or_init_nvml() 

4417 if __nvmlDeviceGetAccountingStats_v2 == NULL: 

4418 with gil: 

4419 raise FunctionNotFoundError("function nvmlDeviceGetAccountingStats_v2 is not found") 

4420 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlAccountingStats_v2_t*) noexcept nogil>__nvmlDeviceGetAccountingStats_v2)( 

4421 device, stats) 

4422  

4423  

4424cdef nvmlReturn_t _nvmlDeviceGetRemappedRows_v2(nvmlDevice_t device, nvmlRemappedRowsInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4425 global __nvmlDeviceGetRemappedRows_v2 

4426 _check_or_init_nvml() 

4427 if __nvmlDeviceGetRemappedRows_v2 == NULL: 

4428 with gil: 

4429 raise FunctionNotFoundError("function nvmlDeviceGetRemappedRows_v2 is not found") 

4430 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRemappedRowsInfo_v2_t*) noexcept nogil>__nvmlDeviceGetRemappedRows_v2)( 

4431 device, info) 

4432  

4433  

4434cdef nvmlReturn_t _nvmlDeviceSetAdaptiveTgpMode_v1(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4435 global __nvmlDeviceSetAdaptiveTgpMode_v1 

4436 _check_or_init_nvml() 

4437 if __nvmlDeviceSetAdaptiveTgpMode_v1 == NULL: 

4438 with gil: 

4439 raise FunctionNotFoundError("function nvmlDeviceSetAdaptiveTgpMode_v1 is not found") 

4440 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAdaptiveTgpMode_v1)( 

4441 device, mode) 

4442  

4443  

4444cdef nvmlReturn_t _nvmlDeviceGetAdaptiveTgpModeInfo_v1(nvmlDevice_t device, nvmlAdaptiveTgpModeInfo_v1_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4445 global __nvmlDeviceGetAdaptiveTgpModeInfo_v1 

4446 _check_or_init_nvml() 

4447 if __nvmlDeviceGetAdaptiveTgpModeInfo_v1 == NULL: 

4448 with gil: 

4449 raise FunctionNotFoundError("function nvmlDeviceGetAdaptiveTgpModeInfo_v1 is not found") 

4450 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlAdaptiveTgpModeInfo_v1_t*) noexcept nogil>__nvmlDeviceGetAdaptiveTgpModeInfo_v1)( 

4451 device, info) 

4452  

4453  

4454cdef nvmlReturn_t _nvmlDeviceSetMemoryLimits_v1(nvmlDevice_t device, nvmlSetMemoryLimits_v1_t* limits) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4455 global __nvmlDeviceSetMemoryLimits_v1 

4456 _check_or_init_nvml() 

4457 if __nvmlDeviceSetMemoryLimits_v1 == NULL: 

4458 with gil: 

4459 raise FunctionNotFoundError("function nvmlDeviceSetMemoryLimits_v1 is not found") 

4460 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlSetMemoryLimits_v1_t*) noexcept nogil>__nvmlDeviceSetMemoryLimits_v1)( 

4461 device, limits) 

4462  

4463  

4464cdef nvmlReturn_t _nvmlDeviceGetMemoryLimits_v1(nvmlDevice_t device, nvmlGetMemoryLimits_v1_t* limits) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4465 global __nvmlDeviceGetMemoryLimits_v1 

4466 _check_or_init_nvml() 

4467 if __nvmlDeviceGetMemoryLimits_v1 == NULL: 

4468 with gil: 

4469 raise FunctionNotFoundError("function nvmlDeviceGetMemoryLimits_v1 is not found") 

4470 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGetMemoryLimits_v1_t*) noexcept nogil>__nvmlDeviceGetMemoryLimits_v1)( 

4471 device, limits) 

4472  

4473  

4474cdef nvmlReturn_t _nvmlDeviceGetGpuFabricInfo_v4(nvmlDevice_t device, nvmlGpuFabricInfo_v4_t* gpuFabricInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4475 global __nvmlDeviceGetGpuFabricInfo_v4 

4476 _check_or_init_nvml() 

4477 if __nvmlDeviceGetGpuFabricInfo_v4 == NULL: 

4478 with gil: 

4479 raise FunctionNotFoundError("function nvmlDeviceGetGpuFabricInfo_v4 is not found") 

4480 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuFabricInfo_v4_t*) noexcept nogil>__nvmlDeviceGetGpuFabricInfo_v4)( 

4481 device, gpuFabricInfo) 

4482  

4483  

4484cdef nvmlReturn_t _nvmlDevicePerfMetricsGetSamples_v1(nvmlDevice_t device, nvmlPerfMetricsSamples_v1_t* samples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4485 global __nvmlDevicePerfMetricsGetSamples_v1 

4486 _check_or_init_nvml() 

4487 if __nvmlDevicePerfMetricsGetSamples_v1 == NULL: 

4488 with gil: 

4489 raise FunctionNotFoundError("function nvmlDevicePerfMetricsGetSamples_v1 is not found") 

4490 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPerfMetricsSamples_v1_t*) noexcept nogil>__nvmlDevicePerfMetricsGetSamples_v1)( 

4491 device, samples) 

4492  

4493  

4494cdef nvmlReturn_t _nvmlDeviceSetNvlinkBwModeAsync_v1(nvmlDevice_t device, nvmlNvlinkSetBwModeAsync_v1_t* setBwModeAsync) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4495 global __nvmlDeviceSetNvlinkBwModeAsync_v1 

4496 _check_or_init_nvml() 

4497 if __nvmlDeviceSetNvlinkBwModeAsync_v1 == NULL: 

4498 with gil: 

4499 raise FunctionNotFoundError("function nvmlDeviceSetNvlinkBwModeAsync_v1 is not found") 

4500 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSetBwModeAsync_v1_t*) noexcept nogil>__nvmlDeviceSetNvlinkBwModeAsync_v1)( 

4501 device, setBwModeAsync) 

4502  

4503  

4504cdef nvmlReturn_t _nvmlDeviceGetNvLinkTelemetrySamples_v1(nvmlDevice_t device, nvmlNvlinkTelemetrySamples_v1_t* samples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4505 global __nvmlDeviceGetNvLinkTelemetrySamples_v1 

4506 _check_or_init_nvml() 

4507 if __nvmlDeviceGetNvLinkTelemetrySamples_v1 == NULL: 

4508 with gil: 

4509 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkTelemetrySamples_v1 is not found") 

4510 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkTelemetrySamples_v1_t*) noexcept nogil>__nvmlDeviceGetNvLinkTelemetrySamples_v1)( 

4511 device, samples) 

4512  

4513  

4514cdef nvmlReturn_t _nvmlEventSetRegisterGpuOperationalEvents_v1(nvmlEventSet_t eventSet, const nvmlGpuOperationalEventConfig_v1_t* config) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4515 global __nvmlEventSetRegisterGpuOperationalEvents_v1 

4516 _check_or_init_nvml() 

4517 if __nvmlEventSetRegisterGpuOperationalEvents_v1 == NULL: 

4518 with gil: 

4519 raise FunctionNotFoundError("function nvmlEventSetRegisterGpuOperationalEvents_v1 is not found") 

4520 return (<nvmlReturn_t (*)(nvmlEventSet_t, const nvmlGpuOperationalEventConfig_v1_t*) noexcept nogil>__nvmlEventSetRegisterGpuOperationalEvents_v1)( 

4521 eventSet, config) 

4522  

4523  

4524cdef nvmlReturn_t _nvmlEventSetWait_v3(nvmlEventSet_t set, nvmlEventSetWait_v3_t* params) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4525 global __nvmlEventSetWait_v3 

4526 _check_or_init_nvml() 

4527 if __nvmlEventSetWait_v3 == NULL: 

4528 with gil: 

4529 raise FunctionNotFoundError("function nvmlEventSetWait_v3 is not found") 

4530 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventSetWait_v3_t*) noexcept nogil>__nvmlEventSetWait_v3)( 

4531 set, params) 

4532  

4533  

4534cdef nvmlReturn_t _nvmlEventSetGetContextCount_v1(nvmlEventSet_t set, nvmlEventSetGetContextCount_v1_t* params) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4535 global __nvmlEventSetGetContextCount_v1 

4536 _check_or_init_nvml() 

4537 if __nvmlEventSetGetContextCount_v1 == NULL: 

4538 with gil: 

4539 raise FunctionNotFoundError("function nvmlEventSetGetContextCount_v1 is not found") 

4540 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventSetGetContextCount_v1_t*) noexcept nogil>__nvmlEventSetGetContextCount_v1)( 

4541 set, params) 

4542  

4543  

4544cdef nvmlReturn_t _nvmlEventSetGetContextInfo_v1(nvmlEventSet_t set, nvmlEventSetGetContextInfo_v1_t* params) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4545 global __nvmlEventSetGetContextInfo_v1 

4546 _check_or_init_nvml() 

4547 if __nvmlEventSetGetContextInfo_v1 == NULL: 

4548 with gil: 

4549 raise FunctionNotFoundError("function nvmlEventSetGetContextInfo_v1 is not found") 

4550 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventSetGetContextInfo_v1_t*) noexcept nogil>__nvmlEventSetGetContextInfo_v1)( 

4551 set, params) 

4552  

4553  

4554cdef nvmlReturn_t _nvmlEventSetGetContextData_v1(nvmlEventSet_t set, nvmlEventSetGetContextData_v1_t* params) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4555 global __nvmlEventSetGetContextData_v1 

4556 _check_or_init_nvml() 

4557 if __nvmlEventSetGetContextData_v1 == NULL: 

4558 with gil: 

4559 raise FunctionNotFoundError("function nvmlEventSetGetContextData_v1 is not found") 

4560 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventSetGetContextData_v1_t*) noexcept nogil>__nvmlEventSetGetContextData_v1)( 

4561 set, params) 

4562  

4563  

4564cdef nvmlReturn_t _nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1(nvmlEventSet_t set, nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1_t* params) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4565 global __nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 

4566 _check_or_init_nvml() 

4567 if __nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 == NULL: 

4568 with gil: 

4569 raise FunctionNotFoundError("function nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1 is not found") 

4570 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1_t*) noexcept nogil>__nvmlEventSetGetGpuOperationalEventContextLegacyXid_v1)( 

4571 set, params) 

4572  

4573  

4574cdef nvmlReturn_t _nvmlDeviceGetBankRemapperStatus_v1(nvmlDevice_t device, nvmlEccBankRemapperStatus_v1_t* pBankRemapperStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4575 global __nvmlDeviceGetBankRemapperStatus_v1 

4576 _check_or_init_nvml() 

4577 if __nvmlDeviceGetBankRemapperStatus_v1 == NULL: 

4578 with gil: 

4579 raise FunctionNotFoundError("function nvmlDeviceGetBankRemapperStatus_v1 is not found") 

4580 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccBankRemapperStatus_v1_t*) noexcept nogil>__nvmlDeviceGetBankRemapperStatus_v1)( 

4581 device, pBankRemapperStatus) 

4582  

4583  

4584cdef nvmlReturn_t _nvmlDeviceGetGpuUptime_v1(nvmlDevice_t device, nvmlGpuUptime_v1_t* uptime) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4585 global __nvmlDeviceGetGpuUptime_v1 

4586 _check_or_init_nvml() 

4587 if __nvmlDeviceGetGpuUptime_v1 == NULL: 

4588 with gil: 

4589 raise FunctionNotFoundError("function nvmlDeviceGetGpuUptime_v1 is not found") 

4590 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuUptime_v1_t*) noexcept nogil>__nvmlDeviceGetGpuUptime_v1)( 

4591 device, uptime) 

4592  

4593  

4594cdef nvmlReturn_t _nvmlSystemGetConfComputeSettings_v2(nvmlSystemConfComputeSettings_v2_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4595 global __nvmlSystemGetConfComputeSettings_v2 

4596 _check_or_init_nvml() 

4597 if __nvmlSystemGetConfComputeSettings_v2 == NULL: 

4598 with gil: 

4599 raise FunctionNotFoundError("function nvmlSystemGetConfComputeSettings_v2 is not found") 

4600 return (<nvmlReturn_t (*)(nvmlSystemConfComputeSettings_v2_t*) noexcept nogil>__nvmlSystemGetConfComputeSettings_v2)( 

4601 settings) 

4602  

4603  

4604cdef nvmlReturn_t _nvmlDeviceGetNvLinkInfo_v3(nvmlDevice_t device, nvmlNvLinkInfo_v3_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4605 global __nvmlDeviceGetNvLinkInfo_v3 

4606 _check_or_init_nvml() 

4607 if __nvmlDeviceGetNvLinkInfo_v3 == NULL: 

4608 with gil: 

4609 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkInfo_v3 is not found") 

4610 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkInfo_v3_t*) noexcept nogil>__nvmlDeviceGetNvLinkInfo_v3)( 

4611 device, info) 

4612  

4613  

4614cdef nvmlReturn_t _nvmlDeviceGetNvlinkRemapTableInfo_v1(nvmlDevice_t device, nvmlNvlinkGetRemapTableInfo_v1_t* remapTableInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4615 global __nvmlDeviceGetNvlinkRemapTableInfo_v1 

4616 _check_or_init_nvml() 

4617 if __nvmlDeviceGetNvlinkRemapTableInfo_v1 == NULL: 

4618 with gil: 

4619 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkRemapTableInfo_v1 is not found") 

4620 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkGetRemapTableInfo_v1_t*) noexcept nogil>__nvmlDeviceGetNvlinkRemapTableInfo_v1)( 

4621 device, remapTableInfo) 

4622  

4623  

4624cdef nvmlReturn_t _nvmlDeviceSetNvlinkNvleReady_v1(nvmlDevice_t device, nvmlNvlinkSetNvleReady_v1_t* setNvleReady) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4625 global __nvmlDeviceSetNvlinkNvleReady_v1 

4626 _check_or_init_nvml() 

4627 if __nvmlDeviceSetNvlinkNvleReady_v1 == NULL: 

4628 with gil: 

4629 raise FunctionNotFoundError("function nvmlDeviceSetNvlinkNvleReady_v1 is not found") 

4630 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSetNvleReady_v1_t*) noexcept nogil>__nvmlDeviceSetNvlinkNvleReady_v1)( 

4631 device, setNvleReady) 

4632  

4633  

4634cdef nvmlReturn_t _nvmlDeviceLockNvlinkRemapTable_v1(nvmlDevice_t device, nvmlNvlinkLockRemapTable_v1_t* remapTableLockInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4635 global __nvmlDeviceLockNvlinkRemapTable_v1 

4636 _check_or_init_nvml() 

4637 if __nvmlDeviceLockNvlinkRemapTable_v1 == NULL: 

4638 with gil: 

4639 raise FunctionNotFoundError("function nvmlDeviceLockNvlinkRemapTable_v1 is not found") 

4640 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkLockRemapTable_v1_t*) noexcept nogil>__nvmlDeviceLockNvlinkRemapTable_v1)( 

4641 device, remapTableLockInfo) 

4642  

4643  

4644cdef nvmlReturn_t _nvmlDeviceSetupNvlinkNvleEncryptionKey_v1(nvmlDevice_t device, nvmlNvlinkSetupNvleEncryptionKey_v1_t* encryptionKey) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4645 global __nvmlDeviceSetupNvlinkNvleEncryptionKey_v1 

4646 _check_or_init_nvml() 

4647 if __nvmlDeviceSetupNvlinkNvleEncryptionKey_v1 == NULL: 

4648 with gil: 

4649 raise FunctionNotFoundError("function nvmlDeviceSetupNvlinkNvleEncryptionKey_v1 is not found") 

4650 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSetupNvleEncryptionKey_v1_t*) noexcept nogil>__nvmlDeviceSetupNvlinkNvleEncryptionKey_v1)( 

4651 device, encryptionKey) 

4652  

4653  

4654cdef nvmlReturn_t _nvmlDeviceGetNvlinkNvlePrivateInfo_v1(nvmlDevice_t device, nvmlNvlinkNvlePrivateInfo_v1_t* privateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

4655 global __nvmlDeviceGetNvlinkNvlePrivateInfo_v1 

4656 _check_or_init_nvml() 

4657 if __nvmlDeviceGetNvlinkNvlePrivateInfo_v1 == NULL: 

4658 with gil: 

4659 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkNvlePrivateInfo_v1 is not found") 

4660 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkNvlePrivateInfo_v1_t*) noexcept nogil>__nvmlDeviceGetNvlinkNvlePrivateInfo_v1)( 

4661 device, privateInfo)