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

4609 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-04-29 01:27 +0000

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

2# 

3# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE 

4# 

5# This code was automatically generated across versions from 12.9.1 to 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly. 

6  

7from libc.stdint cimport intptr_t, uintptr_t 

8  

9import threading 

10  

11from .utils import FunctionNotFoundError, NotSupportedError 

12  

13from cuda.pathfinder import load_nvidia_dynamic_lib 

14  

15  

16############################################################################### 

17# Extern 

18############################################################################### 

19  

20# You must 'from .utils import NotSupportedError' before using this template 

21  

22cdef extern from "<dlfcn.h>" nogil: 

23 void* dlopen(const char*, int) 

24 char* dlerror() 

25 void* dlsym(void*, const char*) 

26 int dlclose(void*) 

27  

28 enum: 

29 RTLD_LAZY 

30 RTLD_NOW 

31 RTLD_GLOBAL 

32 RTLD_LOCAL 

33  

34 const void* RTLD_DEFAULT 'RTLD_DEFAULT' 

35  

36cdef int get_cuda_version(): 

37 cdef void* handle = NULL 

38 cdef int err, driver_ver = 0 

39  

40 # Load driver to check version 

41 handle = dlopen('libcuda.so.1', RTLD_NOW | RTLD_GLOBAL) 

42 if handle == NULL: 

43 err_msg = dlerror() 

44 raise NotSupportedError(f'CUDA driver is not found ({err_msg.decode()})') 

45 cuDriverGetVersion = dlsym(handle, "cuDriverGetVersion") 

46 if cuDriverGetVersion == NULL: 

47 raise RuntimeError('Did not find cuDriverGetVersion symbol in libcuda.so.1') 

48 err = (<int (*)(int*) noexcept nogil>cuDriverGetVersion)(&driver_ver) 

49 if err != 0: 

50 raise RuntimeError(f'cuDriverGetVersion returned error code {err}') 

51  

52 return driver_ver 

53  

54  

55  

56############################################################################### 

57# Wrapper init 

58############################################################################### 

59  

60cdef object __symbol_lock = threading.Lock() 

61cdef bint __py_nvml_init = False 

62  

63cdef void* __nvmlInit_v2 = NULL 

64cdef void* __nvmlInitWithFlags = NULL 

65cdef void* __nvmlShutdown = NULL 

66cdef void* __nvmlErrorString = NULL 

67cdef void* __nvmlSystemGetDriverVersion = NULL 

68cdef void* __nvmlSystemGetNVMLVersion = NULL 

69cdef void* __nvmlSystemGetCudaDriverVersion = NULL 

70cdef void* __nvmlSystemGetCudaDriverVersion_v2 = NULL 

71cdef void* __nvmlSystemGetProcessName = NULL 

72cdef void* __nvmlSystemGetHicVersion = NULL 

73cdef void* __nvmlSystemGetTopologyGpuSet = NULL 

74cdef void* __nvmlSystemGetDriverBranch = NULL 

75cdef void* __nvmlUnitGetCount = NULL 

76cdef void* __nvmlUnitGetHandleByIndex = NULL 

77cdef void* __nvmlUnitGetUnitInfo = NULL 

78cdef void* __nvmlUnitGetLedState = NULL 

79cdef void* __nvmlUnitGetPsuInfo = NULL 

80cdef void* __nvmlUnitGetTemperature = NULL 

81cdef void* __nvmlUnitGetFanSpeedInfo = NULL 

82cdef void* __nvmlUnitGetDevices = NULL 

83cdef void* __nvmlDeviceGetCount_v2 = NULL 

84cdef void* __nvmlDeviceGetAttributes_v2 = NULL 

85cdef void* __nvmlDeviceGetHandleByIndex_v2 = NULL 

86cdef void* __nvmlDeviceGetHandleBySerial = NULL 

87cdef void* __nvmlDeviceGetHandleByUUID = NULL 

88cdef void* __nvmlDeviceGetHandleByUUIDV = NULL 

89cdef void* __nvmlDeviceGetHandleByPciBusId_v2 = NULL 

90cdef void* __nvmlDeviceGetName = NULL 

91cdef void* __nvmlDeviceGetBrand = NULL 

92cdef void* __nvmlDeviceGetIndex = NULL 

93cdef void* __nvmlDeviceGetSerial = NULL 

94cdef void* __nvmlDeviceGetModuleId = NULL 

95cdef void* __nvmlDeviceGetC2cModeInfoV = NULL 

96cdef void* __nvmlDeviceGetMemoryAffinity = NULL 

97cdef void* __nvmlDeviceGetCpuAffinityWithinScope = NULL 

98cdef void* __nvmlDeviceGetCpuAffinity = NULL 

99cdef void* __nvmlDeviceSetCpuAffinity = NULL 

100cdef void* __nvmlDeviceClearCpuAffinity = NULL 

101cdef void* __nvmlDeviceGetNumaNodeId = NULL 

102cdef void* __nvmlDeviceGetTopologyCommonAncestor = NULL 

103cdef void* __nvmlDeviceGetTopologyNearestGpus = NULL 

104cdef void* __nvmlDeviceGetP2PStatus = NULL 

105cdef void* __nvmlDeviceGetUUID = NULL 

106cdef void* __nvmlDeviceGetMinorNumber = NULL 

107cdef void* __nvmlDeviceGetBoardPartNumber = NULL 

108cdef void* __nvmlDeviceGetInforomVersion = NULL 

109cdef void* __nvmlDeviceGetInforomImageVersion = NULL 

110cdef void* __nvmlDeviceGetInforomConfigurationChecksum = NULL 

111cdef void* __nvmlDeviceValidateInforom = NULL 

112cdef void* __nvmlDeviceGetLastBBXFlushTime = NULL 

113cdef void* __nvmlDeviceGetDisplayMode = NULL 

114cdef void* __nvmlDeviceGetDisplayActive = NULL 

115cdef void* __nvmlDeviceGetPersistenceMode = NULL 

116cdef void* __nvmlDeviceGetPciInfoExt = NULL 

117cdef void* __nvmlDeviceGetPciInfo_v3 = NULL 

118cdef void* __nvmlDeviceGetMaxPcieLinkGeneration = NULL 

119cdef void* __nvmlDeviceGetGpuMaxPcieLinkGeneration = NULL 

120cdef void* __nvmlDeviceGetMaxPcieLinkWidth = NULL 

121cdef void* __nvmlDeviceGetCurrPcieLinkGeneration = NULL 

122cdef void* __nvmlDeviceGetCurrPcieLinkWidth = NULL 

123cdef void* __nvmlDeviceGetPcieThroughput = NULL 

124cdef void* __nvmlDeviceGetPcieReplayCounter = NULL 

125cdef void* __nvmlDeviceGetClockInfo = NULL 

126cdef void* __nvmlDeviceGetMaxClockInfo = NULL 

127cdef void* __nvmlDeviceGetGpcClkVfOffset = NULL 

128cdef void* __nvmlDeviceGetClock = NULL 

129cdef void* __nvmlDeviceGetMaxCustomerBoostClock = NULL 

130cdef void* __nvmlDeviceGetSupportedMemoryClocks = NULL 

131cdef void* __nvmlDeviceGetSupportedGraphicsClocks = NULL 

132cdef void* __nvmlDeviceGetAutoBoostedClocksEnabled = NULL 

133cdef void* __nvmlDeviceGetFanSpeed = NULL 

134cdef void* __nvmlDeviceGetFanSpeed_v2 = NULL 

135cdef void* __nvmlDeviceGetFanSpeedRPM = NULL 

136cdef void* __nvmlDeviceGetTargetFanSpeed = NULL 

137cdef void* __nvmlDeviceGetMinMaxFanSpeed = NULL 

138cdef void* __nvmlDeviceGetFanControlPolicy_v2 = NULL 

139cdef void* __nvmlDeviceGetNumFans = NULL 

140cdef void* __nvmlDeviceGetCoolerInfo = NULL 

141cdef void* __nvmlDeviceGetTemperatureV = NULL 

142cdef void* __nvmlDeviceGetTemperatureThreshold = NULL 

143cdef void* __nvmlDeviceGetMarginTemperature = NULL 

144cdef void* __nvmlDeviceGetThermalSettings = NULL 

145cdef void* __nvmlDeviceGetPerformanceState = NULL 

146cdef void* __nvmlDeviceGetCurrentClocksEventReasons = NULL 

147cdef void* __nvmlDeviceGetSupportedClocksEventReasons = NULL 

148cdef void* __nvmlDeviceGetPowerState = NULL 

149cdef void* __nvmlDeviceGetDynamicPstatesInfo = NULL 

150cdef void* __nvmlDeviceGetMemClkVfOffset = NULL 

151cdef void* __nvmlDeviceGetMinMaxClockOfPState = NULL 

152cdef void* __nvmlDeviceGetSupportedPerformanceStates = NULL 

153cdef void* __nvmlDeviceGetGpcClkMinMaxVfOffset = NULL 

154cdef void* __nvmlDeviceGetMemClkMinMaxVfOffset = NULL 

155cdef void* __nvmlDeviceGetClockOffsets = NULL 

156cdef void* __nvmlDeviceSetClockOffsets = NULL 

157cdef void* __nvmlDeviceGetPerformanceModes = NULL 

158cdef void* __nvmlDeviceGetCurrentClockFreqs = NULL 

159cdef void* __nvmlDeviceGetPowerManagementLimit = NULL 

160cdef void* __nvmlDeviceGetPowerManagementLimitConstraints = NULL 

161cdef void* __nvmlDeviceGetPowerManagementDefaultLimit = NULL 

162cdef void* __nvmlDeviceGetPowerUsage = NULL 

163cdef void* __nvmlDeviceGetTotalEnergyConsumption = NULL 

164cdef void* __nvmlDeviceGetEnforcedPowerLimit = NULL 

165cdef void* __nvmlDeviceGetGpuOperationMode = NULL 

166cdef void* __nvmlDeviceGetMemoryInfo_v2 = NULL 

167cdef void* __nvmlDeviceGetComputeMode = NULL 

168cdef void* __nvmlDeviceGetCudaComputeCapability = NULL 

169cdef void* __nvmlDeviceGetDramEncryptionMode = NULL 

170cdef void* __nvmlDeviceSetDramEncryptionMode = NULL 

171cdef void* __nvmlDeviceGetEccMode = NULL 

172cdef void* __nvmlDeviceGetDefaultEccMode = NULL 

173cdef void* __nvmlDeviceGetBoardId = NULL 

174cdef void* __nvmlDeviceGetMultiGpuBoard = NULL 

175cdef void* __nvmlDeviceGetTotalEccErrors = NULL 

176cdef void* __nvmlDeviceGetMemoryErrorCounter = NULL 

177cdef void* __nvmlDeviceGetUtilizationRates = NULL 

178cdef void* __nvmlDeviceGetEncoderUtilization = NULL 

179cdef void* __nvmlDeviceGetEncoderCapacity = NULL 

180cdef void* __nvmlDeviceGetEncoderStats = NULL 

181cdef void* __nvmlDeviceGetEncoderSessions = NULL 

182cdef void* __nvmlDeviceGetDecoderUtilization = NULL 

183cdef void* __nvmlDeviceGetJpgUtilization = NULL 

184cdef void* __nvmlDeviceGetOfaUtilization = NULL 

185cdef void* __nvmlDeviceGetFBCStats = NULL 

186cdef void* __nvmlDeviceGetFBCSessions = NULL 

187cdef void* __nvmlDeviceGetDriverModel_v2 = NULL 

188cdef void* __nvmlDeviceGetVbiosVersion = NULL 

189cdef void* __nvmlDeviceGetBridgeChipInfo = NULL 

190cdef void* __nvmlDeviceGetComputeRunningProcesses_v3 = NULL 

191cdef void* __nvmlDeviceGetGraphicsRunningProcesses_v3 = NULL 

192cdef void* __nvmlDeviceGetMPSComputeRunningProcesses_v3 = NULL 

193cdef void* __nvmlDeviceGetRunningProcessDetailList = NULL 

194cdef void* __nvmlDeviceOnSameBoard = NULL 

195cdef void* __nvmlDeviceGetAPIRestriction = NULL 

196cdef void* __nvmlDeviceGetSamples = NULL 

197cdef void* __nvmlDeviceGetBAR1MemoryInfo = NULL 

198cdef void* __nvmlDeviceGetIrqNum = NULL 

199cdef void* __nvmlDeviceGetNumGpuCores = NULL 

200cdef void* __nvmlDeviceGetPowerSource = NULL 

201cdef void* __nvmlDeviceGetMemoryBusWidth = NULL 

202cdef void* __nvmlDeviceGetPcieLinkMaxSpeed = NULL 

203cdef void* __nvmlDeviceGetPcieSpeed = NULL 

204cdef void* __nvmlDeviceGetAdaptiveClockInfoStatus = NULL 

205cdef void* __nvmlDeviceGetBusType = NULL 

206cdef void* __nvmlDeviceGetGpuFabricInfoV = NULL 

207cdef void* __nvmlSystemGetConfComputeCapabilities = NULL 

208cdef void* __nvmlSystemGetConfComputeState = NULL 

209cdef void* __nvmlDeviceGetConfComputeMemSizeInfo = NULL 

210cdef void* __nvmlSystemGetConfComputeGpusReadyState = NULL 

211cdef void* __nvmlDeviceGetConfComputeProtectedMemoryUsage = NULL 

212cdef void* __nvmlDeviceGetConfComputeGpuCertificate = NULL 

213cdef void* __nvmlDeviceGetConfComputeGpuAttestationReport = NULL 

214cdef void* __nvmlSystemGetConfComputeKeyRotationThresholdInfo = NULL 

215cdef void* __nvmlDeviceSetConfComputeUnprotectedMemSize = NULL 

216cdef void* __nvmlSystemSetConfComputeGpusReadyState = NULL 

217cdef void* __nvmlSystemSetConfComputeKeyRotationThresholdInfo = NULL 

218cdef void* __nvmlSystemGetConfComputeSettings = NULL 

219cdef void* __nvmlDeviceGetGspFirmwareVersion = NULL 

220cdef void* __nvmlDeviceGetGspFirmwareMode = NULL 

221cdef void* __nvmlDeviceGetSramEccErrorStatus = NULL 

222cdef void* __nvmlDeviceGetAccountingMode = NULL 

223cdef void* __nvmlDeviceGetAccountingStats = NULL 

224cdef void* __nvmlDeviceGetAccountingPids = NULL 

225cdef void* __nvmlDeviceGetAccountingBufferSize = NULL 

226cdef void* __nvmlDeviceGetRetiredPages = NULL 

227cdef void* __nvmlDeviceGetRetiredPages_v2 = NULL 

228cdef void* __nvmlDeviceGetRetiredPagesPendingStatus = NULL 

229cdef void* __nvmlDeviceGetRemappedRows = NULL 

230cdef void* __nvmlDeviceGetRowRemapperHistogram = NULL 

231cdef void* __nvmlDeviceGetArchitecture = NULL 

232cdef void* __nvmlDeviceGetClkMonStatus = NULL 

233cdef void* __nvmlDeviceGetProcessUtilization = NULL 

234cdef void* __nvmlDeviceGetProcessesUtilizationInfo = NULL 

235cdef void* __nvmlDeviceGetPlatformInfo = NULL 

236cdef void* __nvmlUnitSetLedState = NULL 

237cdef void* __nvmlDeviceSetPersistenceMode = NULL 

238cdef void* __nvmlDeviceSetComputeMode = NULL 

239cdef void* __nvmlDeviceSetEccMode = NULL 

240cdef void* __nvmlDeviceClearEccErrorCounts = NULL 

241cdef void* __nvmlDeviceSetDriverModel = NULL 

242cdef void* __nvmlDeviceSetGpuLockedClocks = NULL 

243cdef void* __nvmlDeviceResetGpuLockedClocks = NULL 

244cdef void* __nvmlDeviceSetMemoryLockedClocks = NULL 

245cdef void* __nvmlDeviceResetMemoryLockedClocks = NULL 

246cdef void* __nvmlDeviceSetAutoBoostedClocksEnabled = NULL 

247cdef void* __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = NULL 

248cdef void* __nvmlDeviceSetDefaultFanSpeed_v2 = NULL 

249cdef void* __nvmlDeviceSetFanControlPolicy = NULL 

250cdef void* __nvmlDeviceSetTemperatureThreshold = NULL 

251cdef void* __nvmlDeviceSetGpuOperationMode = NULL 

252cdef void* __nvmlDeviceSetAPIRestriction = NULL 

253cdef void* __nvmlDeviceSetFanSpeed_v2 = NULL 

254cdef void* __nvmlDeviceSetAccountingMode = NULL 

255cdef void* __nvmlDeviceClearAccountingPids = NULL 

256cdef void* __nvmlDeviceSetPowerManagementLimit_v2 = NULL 

257cdef void* __nvmlDeviceGetNvLinkState = NULL 

258cdef void* __nvmlDeviceGetNvLinkVersion = NULL 

259cdef void* __nvmlDeviceGetNvLinkCapability = NULL 

260cdef void* __nvmlDeviceGetNvLinkRemotePciInfo_v2 = NULL 

261cdef void* __nvmlDeviceGetNvLinkErrorCounter = NULL 

262cdef void* __nvmlDeviceResetNvLinkErrorCounters = NULL 

263cdef void* __nvmlDeviceGetNvLinkRemoteDeviceType = NULL 

264cdef void* __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = NULL 

265cdef void* __nvmlSystemSetNvlinkBwMode = NULL 

266cdef void* __nvmlSystemGetNvlinkBwMode = NULL 

267cdef void* __nvmlDeviceGetNvlinkSupportedBwModes = NULL 

268cdef void* __nvmlDeviceGetNvlinkBwMode = NULL 

269cdef void* __nvmlDeviceSetNvlinkBwMode = NULL 

270cdef void* __nvmlEventSetCreate = NULL 

271cdef void* __nvmlDeviceRegisterEvents = NULL 

272cdef void* __nvmlDeviceGetSupportedEventTypes = NULL 

273cdef void* __nvmlEventSetWait_v2 = NULL 

274cdef void* __nvmlEventSetFree = NULL 

275cdef void* __nvmlSystemEventSetCreate = NULL 

276cdef void* __nvmlSystemEventSetFree = NULL 

277cdef void* __nvmlSystemRegisterEvents = NULL 

278cdef void* __nvmlSystemEventSetWait = NULL 

279cdef void* __nvmlDeviceModifyDrainState = NULL 

280cdef void* __nvmlDeviceQueryDrainState = NULL 

281cdef void* __nvmlDeviceRemoveGpu_v2 = NULL 

282cdef void* __nvmlDeviceDiscoverGpus = NULL 

283cdef void* __nvmlDeviceGetFieldValues = NULL 

284cdef void* __nvmlDeviceClearFieldValues = NULL 

285cdef void* __nvmlDeviceGetVirtualizationMode = NULL 

286cdef void* __nvmlDeviceGetHostVgpuMode = NULL 

287cdef void* __nvmlDeviceSetVirtualizationMode = NULL 

288cdef void* __nvmlDeviceGetVgpuHeterogeneousMode = NULL 

289cdef void* __nvmlDeviceSetVgpuHeterogeneousMode = NULL 

290cdef void* __nvmlVgpuInstanceGetPlacementId = NULL 

291cdef void* __nvmlDeviceGetVgpuTypeSupportedPlacements = NULL 

292cdef void* __nvmlDeviceGetVgpuTypeCreatablePlacements = NULL 

293cdef void* __nvmlVgpuTypeGetGspHeapSize = NULL 

294cdef void* __nvmlVgpuTypeGetFbReservation = NULL 

295cdef void* __nvmlVgpuInstanceGetRuntimeStateSize = NULL 

296cdef void* __nvmlDeviceSetVgpuCapabilities = NULL 

297cdef void* __nvmlDeviceGetGridLicensableFeatures_v4 = NULL 

298cdef void* __nvmlGetVgpuDriverCapabilities = NULL 

299cdef void* __nvmlDeviceGetVgpuCapabilities = NULL 

300cdef void* __nvmlDeviceGetSupportedVgpus = NULL 

301cdef void* __nvmlDeviceGetCreatableVgpus = NULL 

302cdef void* __nvmlVgpuTypeGetClass = NULL 

303cdef void* __nvmlVgpuTypeGetName = NULL 

304cdef void* __nvmlVgpuTypeGetGpuInstanceProfileId = NULL 

305cdef void* __nvmlVgpuTypeGetDeviceID = NULL 

306cdef void* __nvmlVgpuTypeGetFramebufferSize = NULL 

307cdef void* __nvmlVgpuTypeGetNumDisplayHeads = NULL 

308cdef void* __nvmlVgpuTypeGetResolution = NULL 

309cdef void* __nvmlVgpuTypeGetLicense = NULL 

310cdef void* __nvmlVgpuTypeGetFrameRateLimit = NULL 

311cdef void* __nvmlVgpuTypeGetMaxInstances = NULL 

312cdef void* __nvmlVgpuTypeGetMaxInstancesPerVm = NULL 

313cdef void* __nvmlVgpuTypeGetBAR1Info = NULL 

314cdef void* __nvmlDeviceGetActiveVgpus = NULL 

315cdef void* __nvmlVgpuInstanceGetVmID = NULL 

316cdef void* __nvmlVgpuInstanceGetUUID = NULL 

317cdef void* __nvmlVgpuInstanceGetVmDriverVersion = NULL 

318cdef void* __nvmlVgpuInstanceGetFbUsage = NULL 

319cdef void* __nvmlVgpuInstanceGetLicenseStatus = NULL 

320cdef void* __nvmlVgpuInstanceGetType = NULL 

321cdef void* __nvmlVgpuInstanceGetFrameRateLimit = NULL 

322cdef void* __nvmlVgpuInstanceGetEccMode = NULL 

323cdef void* __nvmlVgpuInstanceGetEncoderCapacity = NULL 

324cdef void* __nvmlVgpuInstanceSetEncoderCapacity = NULL 

325cdef void* __nvmlVgpuInstanceGetEncoderStats = NULL 

326cdef void* __nvmlVgpuInstanceGetEncoderSessions = NULL 

327cdef void* __nvmlVgpuInstanceGetFBCStats = NULL 

328cdef void* __nvmlVgpuInstanceGetFBCSessions = NULL 

329cdef void* __nvmlVgpuInstanceGetGpuInstanceId = NULL 

330cdef void* __nvmlVgpuInstanceGetGpuPciId = NULL 

331cdef void* __nvmlVgpuTypeGetCapabilities = NULL 

332cdef void* __nvmlVgpuInstanceGetMdevUUID = NULL 

333cdef void* __nvmlGpuInstanceGetCreatableVgpus = NULL 

334cdef void* __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = NULL 

335cdef void* __nvmlGpuInstanceGetActiveVgpus = NULL 

336cdef void* __nvmlGpuInstanceSetVgpuSchedulerState = NULL 

337cdef void* __nvmlGpuInstanceGetVgpuSchedulerState = NULL 

338cdef void* __nvmlGpuInstanceGetVgpuSchedulerLog = NULL 

339cdef void* __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = NULL 

340cdef void* __nvmlGpuInstanceGetVgpuHeterogeneousMode = NULL 

341cdef void* __nvmlGpuInstanceSetVgpuHeterogeneousMode = NULL 

342cdef void* __nvmlVgpuInstanceGetMetadata = NULL 

343cdef void* __nvmlDeviceGetVgpuMetadata = NULL 

344cdef void* __nvmlGetVgpuCompatibility = NULL 

345cdef void* __nvmlDeviceGetPgpuMetadataString = NULL 

346cdef void* __nvmlDeviceGetVgpuSchedulerLog = NULL 

347cdef void* __nvmlDeviceGetVgpuSchedulerState = NULL 

348cdef void* __nvmlDeviceGetVgpuSchedulerCapabilities = NULL 

349cdef void* __nvmlDeviceSetVgpuSchedulerState = NULL 

350cdef void* __nvmlGetVgpuVersion = NULL 

351cdef void* __nvmlSetVgpuVersion = NULL 

352cdef void* __nvmlDeviceGetVgpuUtilization = NULL 

353cdef void* __nvmlDeviceGetVgpuInstancesUtilizationInfo = NULL 

354cdef void* __nvmlDeviceGetVgpuProcessUtilization = NULL 

355cdef void* __nvmlDeviceGetVgpuProcessesUtilizationInfo = NULL 

356cdef void* __nvmlVgpuInstanceGetAccountingMode = NULL 

357cdef void* __nvmlVgpuInstanceGetAccountingPids = NULL 

358cdef void* __nvmlVgpuInstanceGetAccountingStats = NULL 

359cdef void* __nvmlVgpuInstanceClearAccountingPids = NULL 

360cdef void* __nvmlVgpuInstanceGetLicenseInfo_v2 = NULL 

361cdef void* __nvmlGetExcludedDeviceCount = NULL 

362cdef void* __nvmlGetExcludedDeviceInfoByIndex = NULL 

363cdef void* __nvmlDeviceSetMigMode = NULL 

364cdef void* __nvmlDeviceGetMigMode = NULL 

365cdef void* __nvmlDeviceGetGpuInstanceProfileInfoV = NULL 

366cdef void* __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = NULL 

367cdef void* __nvmlDeviceGetGpuInstanceRemainingCapacity = NULL 

368cdef void* __nvmlDeviceCreateGpuInstance = NULL 

369cdef void* __nvmlDeviceCreateGpuInstanceWithPlacement = NULL 

370cdef void* __nvmlGpuInstanceDestroy = NULL 

371cdef void* __nvmlDeviceGetGpuInstances = NULL 

372cdef void* __nvmlDeviceGetGpuInstanceById = NULL 

373cdef void* __nvmlGpuInstanceGetInfo = NULL 

374cdef void* __nvmlGpuInstanceGetComputeInstanceProfileInfoV = NULL 

375cdef void* __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = NULL 

376cdef void* __nvmlGpuInstanceGetComputeInstancePossiblePlacements = NULL 

377cdef void* __nvmlGpuInstanceCreateComputeInstance = NULL 

378cdef void* __nvmlGpuInstanceCreateComputeInstanceWithPlacement = NULL 

379cdef void* __nvmlComputeInstanceDestroy = NULL 

380cdef void* __nvmlGpuInstanceGetComputeInstances = NULL 

381cdef void* __nvmlGpuInstanceGetComputeInstanceById = NULL 

382cdef void* __nvmlComputeInstanceGetInfo_v2 = NULL 

383cdef void* __nvmlDeviceIsMigDeviceHandle = NULL 

384cdef void* __nvmlDeviceGetGpuInstanceId = NULL 

385cdef void* __nvmlDeviceGetComputeInstanceId = NULL 

386cdef void* __nvmlDeviceGetMaxMigDeviceCount = NULL 

387cdef void* __nvmlDeviceGetMigDeviceHandleByIndex = NULL 

388cdef void* __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = NULL 

389cdef void* __nvmlDeviceGetCapabilities = NULL 

390cdef void* __nvmlDevicePowerSmoothingActivatePresetProfile = NULL 

391cdef void* __nvmlDevicePowerSmoothingUpdatePresetProfileParam = NULL 

392cdef void* __nvmlDevicePowerSmoothingSetState = NULL 

393cdef void* __nvmlDeviceGetAddressingMode = NULL 

394cdef void* __nvmlDeviceGetRepairStatus = NULL 

395cdef void* __nvmlDeviceGetPowerMizerMode_v1 = NULL 

396cdef void* __nvmlDeviceSetPowerMizerMode_v1 = NULL 

397cdef void* __nvmlDeviceGetPdi = NULL 

398cdef void* __nvmlDeviceSetHostname_v1 = NULL 

399cdef void* __nvmlDeviceGetHostname_v1 = NULL 

400cdef void* __nvmlDeviceGetNvLinkInfo = NULL 

401cdef void* __nvmlDeviceReadWritePRM_v1 = NULL 

402cdef void* __nvmlDeviceGetGpuInstanceProfileInfoByIdV = NULL 

403cdef void* __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = NULL 

404cdef void* __nvmlDeviceGetUnrepairableMemoryFlag_v1 = NULL 

405cdef void* __nvmlDeviceReadPRMCounters_v1 = NULL 

406cdef void* __nvmlDeviceSetRusdSettings_v1 = NULL 

407cdef void* __nvmlDeviceVgpuForceGspUnload = NULL 

408cdef void* __nvmlDeviceGetVgpuSchedulerState_v2 = NULL 

409cdef void* __nvmlGpuInstanceGetVgpuSchedulerState_v2 = NULL 

410cdef void* __nvmlDeviceGetVgpuSchedulerLog_v2 = NULL 

411cdef void* __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = NULL 

412cdef void* __nvmlDeviceSetVgpuSchedulerState_v2 = NULL 

413cdef void* __nvmlGpuInstanceSetVgpuSchedulerState_v2 = NULL 

414  

415  

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

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

418 return <void*>handle 

419  

420  

421cdef int _init_nvml() except -1 nogil: 

422 global __py_nvml_init 

423 cdef void* handle = NULL 

424  

425 with gil, __symbol_lock: 

426 # Recheck the flag after obtaining the locks 

427 if __py_nvml_init: 

428 return 0 

429  

430 # Load function 

431 global __nvmlInit_v2 

432 __nvmlInit_v2 = dlsym(RTLD_DEFAULT, 'nvmlInit_v2') 

433 if __nvmlInit_v2 == NULL: 

434 if handle == NULL: 

435 handle = load_library() 

436 __nvmlInit_v2 = dlsym(handle, 'nvmlInit_v2') 

437  

438 global __nvmlInitWithFlags 

439 __nvmlInitWithFlags = dlsym(RTLD_DEFAULT, 'nvmlInitWithFlags') 

440 if __nvmlInitWithFlags == NULL: 

441 if handle == NULL: 

442 handle = load_library() 

443 __nvmlInitWithFlags = dlsym(handle, 'nvmlInitWithFlags') 

444  

445 global __nvmlShutdown 

446 __nvmlShutdown = dlsym(RTLD_DEFAULT, 'nvmlShutdown') 

447 if __nvmlShutdown == NULL: 

448 if handle == NULL: 

449 handle = load_library() 

450 __nvmlShutdown = dlsym(handle, 'nvmlShutdown') 

451  

452 global __nvmlErrorString 

453 __nvmlErrorString = dlsym(RTLD_DEFAULT, 'nvmlErrorString') 

454 if __nvmlErrorString == NULL: 

455 if handle == NULL: 

456 handle = load_library() 

457 __nvmlErrorString = dlsym(handle, 'nvmlErrorString') 

458  

459 global __nvmlSystemGetDriverVersion 

460 __nvmlSystemGetDriverVersion = dlsym(RTLD_DEFAULT, 'nvmlSystemGetDriverVersion') 

461 if __nvmlSystemGetDriverVersion == NULL: 

462 if handle == NULL: 

463 handle = load_library() 

464 __nvmlSystemGetDriverVersion = dlsym(handle, 'nvmlSystemGetDriverVersion') 

465  

466 global __nvmlSystemGetNVMLVersion 

467 __nvmlSystemGetNVMLVersion = dlsym(RTLD_DEFAULT, 'nvmlSystemGetNVMLVersion') 

468 if __nvmlSystemGetNVMLVersion == NULL: 

469 if handle == NULL: 

470 handle = load_library() 

471 __nvmlSystemGetNVMLVersion = dlsym(handle, 'nvmlSystemGetNVMLVersion') 

472  

473 global __nvmlSystemGetCudaDriverVersion 

474 __nvmlSystemGetCudaDriverVersion = dlsym(RTLD_DEFAULT, 'nvmlSystemGetCudaDriverVersion') 

475 if __nvmlSystemGetCudaDriverVersion == NULL: 

476 if handle == NULL: 

477 handle = load_library() 

478 __nvmlSystemGetCudaDriverVersion = dlsym(handle, 'nvmlSystemGetCudaDriverVersion') 

479  

480 global __nvmlSystemGetCudaDriverVersion_v2 

481 __nvmlSystemGetCudaDriverVersion_v2 = dlsym(RTLD_DEFAULT, 'nvmlSystemGetCudaDriverVersion_v2') 

482 if __nvmlSystemGetCudaDriverVersion_v2 == NULL: 

483 if handle == NULL: 

484 handle = load_library() 

485 __nvmlSystemGetCudaDriverVersion_v2 = dlsym(handle, 'nvmlSystemGetCudaDriverVersion_v2') 

486  

487 global __nvmlSystemGetProcessName 

488 __nvmlSystemGetProcessName = dlsym(RTLD_DEFAULT, 'nvmlSystemGetProcessName') 

489 if __nvmlSystemGetProcessName == NULL: 

490 if handle == NULL: 

491 handle = load_library() 

492 __nvmlSystemGetProcessName = dlsym(handle, 'nvmlSystemGetProcessName') 

493  

494 global __nvmlSystemGetHicVersion 

495 __nvmlSystemGetHicVersion = dlsym(RTLD_DEFAULT, 'nvmlSystemGetHicVersion') 

496 if __nvmlSystemGetHicVersion == NULL: 

497 if handle == NULL: 

498 handle = load_library() 

499 __nvmlSystemGetHicVersion = dlsym(handle, 'nvmlSystemGetHicVersion') 

500  

501 global __nvmlSystemGetTopologyGpuSet 

502 __nvmlSystemGetTopologyGpuSet = dlsym(RTLD_DEFAULT, 'nvmlSystemGetTopologyGpuSet') 

503 if __nvmlSystemGetTopologyGpuSet == NULL: 

504 if handle == NULL: 

505 handle = load_library() 

506 __nvmlSystemGetTopologyGpuSet = dlsym(handle, 'nvmlSystemGetTopologyGpuSet') 

507  

508 global __nvmlSystemGetDriverBranch 

509 __nvmlSystemGetDriverBranch = dlsym(RTLD_DEFAULT, 'nvmlSystemGetDriverBranch') 

510 if __nvmlSystemGetDriverBranch == NULL: 

511 if handle == NULL: 

512 handle = load_library() 

513 __nvmlSystemGetDriverBranch = dlsym(handle, 'nvmlSystemGetDriverBranch') 

514  

515 global __nvmlUnitGetCount 

516 __nvmlUnitGetCount = dlsym(RTLD_DEFAULT, 'nvmlUnitGetCount') 

517 if __nvmlUnitGetCount == NULL: 

518 if handle == NULL: 

519 handle = load_library() 

520 __nvmlUnitGetCount = dlsym(handle, 'nvmlUnitGetCount') 

521  

522 global __nvmlUnitGetHandleByIndex 

523 __nvmlUnitGetHandleByIndex = dlsym(RTLD_DEFAULT, 'nvmlUnitGetHandleByIndex') 

524 if __nvmlUnitGetHandleByIndex == NULL: 

525 if handle == NULL: 

526 handle = load_library() 

527 __nvmlUnitGetHandleByIndex = dlsym(handle, 'nvmlUnitGetHandleByIndex') 

528  

529 global __nvmlUnitGetUnitInfo 

530 __nvmlUnitGetUnitInfo = dlsym(RTLD_DEFAULT, 'nvmlUnitGetUnitInfo') 

531 if __nvmlUnitGetUnitInfo == NULL: 

532 if handle == NULL: 

533 handle = load_library() 

534 __nvmlUnitGetUnitInfo = dlsym(handle, 'nvmlUnitGetUnitInfo') 

535  

536 global __nvmlUnitGetLedState 

537 __nvmlUnitGetLedState = dlsym(RTLD_DEFAULT, 'nvmlUnitGetLedState') 

538 if __nvmlUnitGetLedState == NULL: 

539 if handle == NULL: 

540 handle = load_library() 

541 __nvmlUnitGetLedState = dlsym(handle, 'nvmlUnitGetLedState') 

542  

543 global __nvmlUnitGetPsuInfo 

544 __nvmlUnitGetPsuInfo = dlsym(RTLD_DEFAULT, 'nvmlUnitGetPsuInfo') 

545 if __nvmlUnitGetPsuInfo == NULL: 

546 if handle == NULL: 

547 handle = load_library() 

548 __nvmlUnitGetPsuInfo = dlsym(handle, 'nvmlUnitGetPsuInfo') 

549  

550 global __nvmlUnitGetTemperature 

551 __nvmlUnitGetTemperature = dlsym(RTLD_DEFAULT, 'nvmlUnitGetTemperature') 

552 if __nvmlUnitGetTemperature == NULL: 

553 if handle == NULL: 

554 handle = load_library() 

555 __nvmlUnitGetTemperature = dlsym(handle, 'nvmlUnitGetTemperature') 

556  

557 global __nvmlUnitGetFanSpeedInfo 

558 __nvmlUnitGetFanSpeedInfo = dlsym(RTLD_DEFAULT, 'nvmlUnitGetFanSpeedInfo') 

559 if __nvmlUnitGetFanSpeedInfo == NULL: 

560 if handle == NULL: 

561 handle = load_library() 

562 __nvmlUnitGetFanSpeedInfo = dlsym(handle, 'nvmlUnitGetFanSpeedInfo') 

563  

564 global __nvmlUnitGetDevices 

565 __nvmlUnitGetDevices = dlsym(RTLD_DEFAULT, 'nvmlUnitGetDevices') 

566 if __nvmlUnitGetDevices == NULL: 

567 if handle == NULL: 

568 handle = load_library() 

569 __nvmlUnitGetDevices = dlsym(handle, 'nvmlUnitGetDevices') 

570  

571 global __nvmlDeviceGetCount_v2 

572 __nvmlDeviceGetCount_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCount_v2') 

573 if __nvmlDeviceGetCount_v2 == NULL: 

574 if handle == NULL: 

575 handle = load_library() 

576 __nvmlDeviceGetCount_v2 = dlsym(handle, 'nvmlDeviceGetCount_v2') 

577  

578 global __nvmlDeviceGetAttributes_v2 

579 __nvmlDeviceGetAttributes_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAttributes_v2') 

580 if __nvmlDeviceGetAttributes_v2 == NULL: 

581 if handle == NULL: 

582 handle = load_library() 

583 __nvmlDeviceGetAttributes_v2 = dlsym(handle, 'nvmlDeviceGetAttributes_v2') 

584  

585 global __nvmlDeviceGetHandleByIndex_v2 

586 __nvmlDeviceGetHandleByIndex_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHandleByIndex_v2') 

587 if __nvmlDeviceGetHandleByIndex_v2 == NULL: 

588 if handle == NULL: 

589 handle = load_library() 

590 __nvmlDeviceGetHandleByIndex_v2 = dlsym(handle, 'nvmlDeviceGetHandleByIndex_v2') 

591  

592 global __nvmlDeviceGetHandleBySerial 

593 __nvmlDeviceGetHandleBySerial = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHandleBySerial') 

594 if __nvmlDeviceGetHandleBySerial == NULL: 

595 if handle == NULL: 

596 handle = load_library() 

597 __nvmlDeviceGetHandleBySerial = dlsym(handle, 'nvmlDeviceGetHandleBySerial') 

598  

599 global __nvmlDeviceGetHandleByUUID 

600 __nvmlDeviceGetHandleByUUID = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHandleByUUID') 

601 if __nvmlDeviceGetHandleByUUID == NULL: 

602 if handle == NULL: 

603 handle = load_library() 

604 __nvmlDeviceGetHandleByUUID = dlsym(handle, 'nvmlDeviceGetHandleByUUID') 

605  

606 global __nvmlDeviceGetHandleByUUIDV 

607 __nvmlDeviceGetHandleByUUIDV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHandleByUUIDV') 

608 if __nvmlDeviceGetHandleByUUIDV == NULL: 

609 if handle == NULL: 

610 handle = load_library() 

611 __nvmlDeviceGetHandleByUUIDV = dlsym(handle, 'nvmlDeviceGetHandleByUUIDV') 

612  

613 global __nvmlDeviceGetHandleByPciBusId_v2 

614 __nvmlDeviceGetHandleByPciBusId_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHandleByPciBusId_v2') 

615 if __nvmlDeviceGetHandleByPciBusId_v2 == NULL: 

616 if handle == NULL: 

617 handle = load_library() 

618 __nvmlDeviceGetHandleByPciBusId_v2 = dlsym(handle, 'nvmlDeviceGetHandleByPciBusId_v2') 

619  

620 global __nvmlDeviceGetName 

621 __nvmlDeviceGetName = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetName') 

622 if __nvmlDeviceGetName == NULL: 

623 if handle == NULL: 

624 handle = load_library() 

625 __nvmlDeviceGetName = dlsym(handle, 'nvmlDeviceGetName') 

626  

627 global __nvmlDeviceGetBrand 

628 __nvmlDeviceGetBrand = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBrand') 

629 if __nvmlDeviceGetBrand == NULL: 

630 if handle == NULL: 

631 handle = load_library() 

632 __nvmlDeviceGetBrand = dlsym(handle, 'nvmlDeviceGetBrand') 

633  

634 global __nvmlDeviceGetIndex 

635 __nvmlDeviceGetIndex = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetIndex') 

636 if __nvmlDeviceGetIndex == NULL: 

637 if handle == NULL: 

638 handle = load_library() 

639 __nvmlDeviceGetIndex = dlsym(handle, 'nvmlDeviceGetIndex') 

640  

641 global __nvmlDeviceGetSerial 

642 __nvmlDeviceGetSerial = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSerial') 

643 if __nvmlDeviceGetSerial == NULL: 

644 if handle == NULL: 

645 handle = load_library() 

646 __nvmlDeviceGetSerial = dlsym(handle, 'nvmlDeviceGetSerial') 

647  

648 global __nvmlDeviceGetModuleId 

649 __nvmlDeviceGetModuleId = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetModuleId') 

650 if __nvmlDeviceGetModuleId == NULL: 

651 if handle == NULL: 

652 handle = load_library() 

653 __nvmlDeviceGetModuleId = dlsym(handle, 'nvmlDeviceGetModuleId') 

654  

655 global __nvmlDeviceGetC2cModeInfoV 

656 __nvmlDeviceGetC2cModeInfoV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetC2cModeInfoV') 

657 if __nvmlDeviceGetC2cModeInfoV == NULL: 

658 if handle == NULL: 

659 handle = load_library() 

660 __nvmlDeviceGetC2cModeInfoV = dlsym(handle, 'nvmlDeviceGetC2cModeInfoV') 

661  

662 global __nvmlDeviceGetMemoryAffinity 

663 __nvmlDeviceGetMemoryAffinity = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemoryAffinity') 

664 if __nvmlDeviceGetMemoryAffinity == NULL: 

665 if handle == NULL: 

666 handle = load_library() 

667 __nvmlDeviceGetMemoryAffinity = dlsym(handle, 'nvmlDeviceGetMemoryAffinity') 

668  

669 global __nvmlDeviceGetCpuAffinityWithinScope 

670 __nvmlDeviceGetCpuAffinityWithinScope = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCpuAffinityWithinScope') 

671 if __nvmlDeviceGetCpuAffinityWithinScope == NULL: 

672 if handle == NULL: 

673 handle = load_library() 

674 __nvmlDeviceGetCpuAffinityWithinScope = dlsym(handle, 'nvmlDeviceGetCpuAffinityWithinScope') 

675  

676 global __nvmlDeviceGetCpuAffinity 

677 __nvmlDeviceGetCpuAffinity = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCpuAffinity') 

678 if __nvmlDeviceGetCpuAffinity == NULL: 

679 if handle == NULL: 

680 handle = load_library() 

681 __nvmlDeviceGetCpuAffinity = dlsym(handle, 'nvmlDeviceGetCpuAffinity') 

682  

683 global __nvmlDeviceSetCpuAffinity 

684 __nvmlDeviceSetCpuAffinity = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetCpuAffinity') 

685 if __nvmlDeviceSetCpuAffinity == NULL: 

686 if handle == NULL: 

687 handle = load_library() 

688 __nvmlDeviceSetCpuAffinity = dlsym(handle, 'nvmlDeviceSetCpuAffinity') 

689  

690 global __nvmlDeviceClearCpuAffinity 

691 __nvmlDeviceClearCpuAffinity = dlsym(RTLD_DEFAULT, 'nvmlDeviceClearCpuAffinity') 

692 if __nvmlDeviceClearCpuAffinity == NULL: 

693 if handle == NULL: 

694 handle = load_library() 

695 __nvmlDeviceClearCpuAffinity = dlsym(handle, 'nvmlDeviceClearCpuAffinity') 

696  

697 global __nvmlDeviceGetNumaNodeId 

698 __nvmlDeviceGetNumaNodeId = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNumaNodeId') 

699 if __nvmlDeviceGetNumaNodeId == NULL: 

700 if handle == NULL: 

701 handle = load_library() 

702 __nvmlDeviceGetNumaNodeId = dlsym(handle, 'nvmlDeviceGetNumaNodeId') 

703  

704 global __nvmlDeviceGetTopologyCommonAncestor 

705 __nvmlDeviceGetTopologyCommonAncestor = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTopologyCommonAncestor') 

706 if __nvmlDeviceGetTopologyCommonAncestor == NULL: 

707 if handle == NULL: 

708 handle = load_library() 

709 __nvmlDeviceGetTopologyCommonAncestor = dlsym(handle, 'nvmlDeviceGetTopologyCommonAncestor') 

710  

711 global __nvmlDeviceGetTopologyNearestGpus 

712 __nvmlDeviceGetTopologyNearestGpus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTopologyNearestGpus') 

713 if __nvmlDeviceGetTopologyNearestGpus == NULL: 

714 if handle == NULL: 

715 handle = load_library() 

716 __nvmlDeviceGetTopologyNearestGpus = dlsym(handle, 'nvmlDeviceGetTopologyNearestGpus') 

717  

718 global __nvmlDeviceGetP2PStatus 

719 __nvmlDeviceGetP2PStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetP2PStatus') 

720 if __nvmlDeviceGetP2PStatus == NULL: 

721 if handle == NULL: 

722 handle = load_library() 

723 __nvmlDeviceGetP2PStatus = dlsym(handle, 'nvmlDeviceGetP2PStatus') 

724  

725 global __nvmlDeviceGetUUID 

726 __nvmlDeviceGetUUID = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetUUID') 

727 if __nvmlDeviceGetUUID == NULL: 

728 if handle == NULL: 

729 handle = load_library() 

730 __nvmlDeviceGetUUID = dlsym(handle, 'nvmlDeviceGetUUID') 

731  

732 global __nvmlDeviceGetMinorNumber 

733 __nvmlDeviceGetMinorNumber = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMinorNumber') 

734 if __nvmlDeviceGetMinorNumber == NULL: 

735 if handle == NULL: 

736 handle = load_library() 

737 __nvmlDeviceGetMinorNumber = dlsym(handle, 'nvmlDeviceGetMinorNumber') 

738  

739 global __nvmlDeviceGetBoardPartNumber 

740 __nvmlDeviceGetBoardPartNumber = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBoardPartNumber') 

741 if __nvmlDeviceGetBoardPartNumber == NULL: 

742 if handle == NULL: 

743 handle = load_library() 

744 __nvmlDeviceGetBoardPartNumber = dlsym(handle, 'nvmlDeviceGetBoardPartNumber') 

745  

746 global __nvmlDeviceGetInforomVersion 

747 __nvmlDeviceGetInforomVersion = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetInforomVersion') 

748 if __nvmlDeviceGetInforomVersion == NULL: 

749 if handle == NULL: 

750 handle = load_library() 

751 __nvmlDeviceGetInforomVersion = dlsym(handle, 'nvmlDeviceGetInforomVersion') 

752  

753 global __nvmlDeviceGetInforomImageVersion 

754 __nvmlDeviceGetInforomImageVersion = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetInforomImageVersion') 

755 if __nvmlDeviceGetInforomImageVersion == NULL: 

756 if handle == NULL: 

757 handle = load_library() 

758 __nvmlDeviceGetInforomImageVersion = dlsym(handle, 'nvmlDeviceGetInforomImageVersion') 

759  

760 global __nvmlDeviceGetInforomConfigurationChecksum 

761 __nvmlDeviceGetInforomConfigurationChecksum = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetInforomConfigurationChecksum') 

762 if __nvmlDeviceGetInforomConfigurationChecksum == NULL: 

763 if handle == NULL: 

764 handle = load_library() 

765 __nvmlDeviceGetInforomConfigurationChecksum = dlsym(handle, 'nvmlDeviceGetInforomConfigurationChecksum') 

766  

767 global __nvmlDeviceValidateInforom 

768 __nvmlDeviceValidateInforom = dlsym(RTLD_DEFAULT, 'nvmlDeviceValidateInforom') 

769 if __nvmlDeviceValidateInforom == NULL: 

770 if handle == NULL: 

771 handle = load_library() 

772 __nvmlDeviceValidateInforom = dlsym(handle, 'nvmlDeviceValidateInforom') 

773  

774 global __nvmlDeviceGetLastBBXFlushTime 

775 __nvmlDeviceGetLastBBXFlushTime = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetLastBBXFlushTime') 

776 if __nvmlDeviceGetLastBBXFlushTime == NULL: 

777 if handle == NULL: 

778 handle = load_library() 

779 __nvmlDeviceGetLastBBXFlushTime = dlsym(handle, 'nvmlDeviceGetLastBBXFlushTime') 

780  

781 global __nvmlDeviceGetDisplayMode 

782 __nvmlDeviceGetDisplayMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDisplayMode') 

783 if __nvmlDeviceGetDisplayMode == NULL: 

784 if handle == NULL: 

785 handle = load_library() 

786 __nvmlDeviceGetDisplayMode = dlsym(handle, 'nvmlDeviceGetDisplayMode') 

787  

788 global __nvmlDeviceGetDisplayActive 

789 __nvmlDeviceGetDisplayActive = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDisplayActive') 

790 if __nvmlDeviceGetDisplayActive == NULL: 

791 if handle == NULL: 

792 handle = load_library() 

793 __nvmlDeviceGetDisplayActive = dlsym(handle, 'nvmlDeviceGetDisplayActive') 

794  

795 global __nvmlDeviceGetPersistenceMode 

796 __nvmlDeviceGetPersistenceMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPersistenceMode') 

797 if __nvmlDeviceGetPersistenceMode == NULL: 

798 if handle == NULL: 

799 handle = load_library() 

800 __nvmlDeviceGetPersistenceMode = dlsym(handle, 'nvmlDeviceGetPersistenceMode') 

801  

802 global __nvmlDeviceGetPciInfoExt 

803 __nvmlDeviceGetPciInfoExt = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPciInfoExt') 

804 if __nvmlDeviceGetPciInfoExt == NULL: 

805 if handle == NULL: 

806 handle = load_library() 

807 __nvmlDeviceGetPciInfoExt = dlsym(handle, 'nvmlDeviceGetPciInfoExt') 

808  

809 global __nvmlDeviceGetPciInfo_v3 

810 __nvmlDeviceGetPciInfo_v3 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPciInfo_v3') 

811 if __nvmlDeviceGetPciInfo_v3 == NULL: 

812 if handle == NULL: 

813 handle = load_library() 

814 __nvmlDeviceGetPciInfo_v3 = dlsym(handle, 'nvmlDeviceGetPciInfo_v3') 

815  

816 global __nvmlDeviceGetMaxPcieLinkGeneration 

817 __nvmlDeviceGetMaxPcieLinkGeneration = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMaxPcieLinkGeneration') 

818 if __nvmlDeviceGetMaxPcieLinkGeneration == NULL: 

819 if handle == NULL: 

820 handle = load_library() 

821 __nvmlDeviceGetMaxPcieLinkGeneration = dlsym(handle, 'nvmlDeviceGetMaxPcieLinkGeneration') 

822  

823 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

824 __nvmlDeviceGetGpuMaxPcieLinkGeneration = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuMaxPcieLinkGeneration') 

825 if __nvmlDeviceGetGpuMaxPcieLinkGeneration == NULL: 

826 if handle == NULL: 

827 handle = load_library() 

828 __nvmlDeviceGetGpuMaxPcieLinkGeneration = dlsym(handle, 'nvmlDeviceGetGpuMaxPcieLinkGeneration') 

829  

830 global __nvmlDeviceGetMaxPcieLinkWidth 

831 __nvmlDeviceGetMaxPcieLinkWidth = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMaxPcieLinkWidth') 

832 if __nvmlDeviceGetMaxPcieLinkWidth == NULL: 

833 if handle == NULL: 

834 handle = load_library() 

835 __nvmlDeviceGetMaxPcieLinkWidth = dlsym(handle, 'nvmlDeviceGetMaxPcieLinkWidth') 

836  

837 global __nvmlDeviceGetCurrPcieLinkGeneration 

838 __nvmlDeviceGetCurrPcieLinkGeneration = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCurrPcieLinkGeneration') 

839 if __nvmlDeviceGetCurrPcieLinkGeneration == NULL: 

840 if handle == NULL: 

841 handle = load_library() 

842 __nvmlDeviceGetCurrPcieLinkGeneration = dlsym(handle, 'nvmlDeviceGetCurrPcieLinkGeneration') 

843  

844 global __nvmlDeviceGetCurrPcieLinkWidth 

845 __nvmlDeviceGetCurrPcieLinkWidth = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCurrPcieLinkWidth') 

846 if __nvmlDeviceGetCurrPcieLinkWidth == NULL: 

847 if handle == NULL: 

848 handle = load_library() 

849 __nvmlDeviceGetCurrPcieLinkWidth = dlsym(handle, 'nvmlDeviceGetCurrPcieLinkWidth') 

850  

851 global __nvmlDeviceGetPcieThroughput 

852 __nvmlDeviceGetPcieThroughput = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPcieThroughput') 

853 if __nvmlDeviceGetPcieThroughput == NULL: 

854 if handle == NULL: 

855 handle = load_library() 

856 __nvmlDeviceGetPcieThroughput = dlsym(handle, 'nvmlDeviceGetPcieThroughput') 

857  

858 global __nvmlDeviceGetPcieReplayCounter 

859 __nvmlDeviceGetPcieReplayCounter = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPcieReplayCounter') 

860 if __nvmlDeviceGetPcieReplayCounter == NULL: 

861 if handle == NULL: 

862 handle = load_library() 

863 __nvmlDeviceGetPcieReplayCounter = dlsym(handle, 'nvmlDeviceGetPcieReplayCounter') 

864  

865 global __nvmlDeviceGetClockInfo 

866 __nvmlDeviceGetClockInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetClockInfo') 

867 if __nvmlDeviceGetClockInfo == NULL: 

868 if handle == NULL: 

869 handle = load_library() 

870 __nvmlDeviceGetClockInfo = dlsym(handle, 'nvmlDeviceGetClockInfo') 

871  

872 global __nvmlDeviceGetMaxClockInfo 

873 __nvmlDeviceGetMaxClockInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMaxClockInfo') 

874 if __nvmlDeviceGetMaxClockInfo == NULL: 

875 if handle == NULL: 

876 handle = load_library() 

877 __nvmlDeviceGetMaxClockInfo = dlsym(handle, 'nvmlDeviceGetMaxClockInfo') 

878  

879 global __nvmlDeviceGetGpcClkVfOffset 

880 __nvmlDeviceGetGpcClkVfOffset = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpcClkVfOffset') 

881 if __nvmlDeviceGetGpcClkVfOffset == NULL: 

882 if handle == NULL: 

883 handle = load_library() 

884 __nvmlDeviceGetGpcClkVfOffset = dlsym(handle, 'nvmlDeviceGetGpcClkVfOffset') 

885  

886 global __nvmlDeviceGetClock 

887 __nvmlDeviceGetClock = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetClock') 

888 if __nvmlDeviceGetClock == NULL: 

889 if handle == NULL: 

890 handle = load_library() 

891 __nvmlDeviceGetClock = dlsym(handle, 'nvmlDeviceGetClock') 

892  

893 global __nvmlDeviceGetMaxCustomerBoostClock 

894 __nvmlDeviceGetMaxCustomerBoostClock = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMaxCustomerBoostClock') 

895 if __nvmlDeviceGetMaxCustomerBoostClock == NULL: 

896 if handle == NULL: 

897 handle = load_library() 

898 __nvmlDeviceGetMaxCustomerBoostClock = dlsym(handle, 'nvmlDeviceGetMaxCustomerBoostClock') 

899  

900 global __nvmlDeviceGetSupportedMemoryClocks 

901 __nvmlDeviceGetSupportedMemoryClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedMemoryClocks') 

902 if __nvmlDeviceGetSupportedMemoryClocks == NULL: 

903 if handle == NULL: 

904 handle = load_library() 

905 __nvmlDeviceGetSupportedMemoryClocks = dlsym(handle, 'nvmlDeviceGetSupportedMemoryClocks') 

906  

907 global __nvmlDeviceGetSupportedGraphicsClocks 

908 __nvmlDeviceGetSupportedGraphicsClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedGraphicsClocks') 

909 if __nvmlDeviceGetSupportedGraphicsClocks == NULL: 

910 if handle == NULL: 

911 handle = load_library() 

912 __nvmlDeviceGetSupportedGraphicsClocks = dlsym(handle, 'nvmlDeviceGetSupportedGraphicsClocks') 

913  

914 global __nvmlDeviceGetAutoBoostedClocksEnabled 

915 __nvmlDeviceGetAutoBoostedClocksEnabled = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAutoBoostedClocksEnabled') 

916 if __nvmlDeviceGetAutoBoostedClocksEnabled == NULL: 

917 if handle == NULL: 

918 handle = load_library() 

919 __nvmlDeviceGetAutoBoostedClocksEnabled = dlsym(handle, 'nvmlDeviceGetAutoBoostedClocksEnabled') 

920  

921 global __nvmlDeviceGetFanSpeed 

922 __nvmlDeviceGetFanSpeed = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFanSpeed') 

923 if __nvmlDeviceGetFanSpeed == NULL: 

924 if handle == NULL: 

925 handle = load_library() 

926 __nvmlDeviceGetFanSpeed = dlsym(handle, 'nvmlDeviceGetFanSpeed') 

927  

928 global __nvmlDeviceGetFanSpeed_v2 

929 __nvmlDeviceGetFanSpeed_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFanSpeed_v2') 

930 if __nvmlDeviceGetFanSpeed_v2 == NULL: 

931 if handle == NULL: 

932 handle = load_library() 

933 __nvmlDeviceGetFanSpeed_v2 = dlsym(handle, 'nvmlDeviceGetFanSpeed_v2') 

934  

935 global __nvmlDeviceGetFanSpeedRPM 

936 __nvmlDeviceGetFanSpeedRPM = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFanSpeedRPM') 

937 if __nvmlDeviceGetFanSpeedRPM == NULL: 

938 if handle == NULL: 

939 handle = load_library() 

940 __nvmlDeviceGetFanSpeedRPM = dlsym(handle, 'nvmlDeviceGetFanSpeedRPM') 

941  

942 global __nvmlDeviceGetTargetFanSpeed 

943 __nvmlDeviceGetTargetFanSpeed = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTargetFanSpeed') 

944 if __nvmlDeviceGetTargetFanSpeed == NULL: 

945 if handle == NULL: 

946 handle = load_library() 

947 __nvmlDeviceGetTargetFanSpeed = dlsym(handle, 'nvmlDeviceGetTargetFanSpeed') 

948  

949 global __nvmlDeviceGetMinMaxFanSpeed 

950 __nvmlDeviceGetMinMaxFanSpeed = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMinMaxFanSpeed') 

951 if __nvmlDeviceGetMinMaxFanSpeed == NULL: 

952 if handle == NULL: 

953 handle = load_library() 

954 __nvmlDeviceGetMinMaxFanSpeed = dlsym(handle, 'nvmlDeviceGetMinMaxFanSpeed') 

955  

956 global __nvmlDeviceGetFanControlPolicy_v2 

957 __nvmlDeviceGetFanControlPolicy_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFanControlPolicy_v2') 

958 if __nvmlDeviceGetFanControlPolicy_v2 == NULL: 

959 if handle == NULL: 

960 handle = load_library() 

961 __nvmlDeviceGetFanControlPolicy_v2 = dlsym(handle, 'nvmlDeviceGetFanControlPolicy_v2') 

962  

963 global __nvmlDeviceGetNumFans 

964 __nvmlDeviceGetNumFans = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNumFans') 

965 if __nvmlDeviceGetNumFans == NULL: 

966 if handle == NULL: 

967 handle = load_library() 

968 __nvmlDeviceGetNumFans = dlsym(handle, 'nvmlDeviceGetNumFans') 

969  

970 global __nvmlDeviceGetCoolerInfo 

971 __nvmlDeviceGetCoolerInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCoolerInfo') 

972 if __nvmlDeviceGetCoolerInfo == NULL: 

973 if handle == NULL: 

974 handle = load_library() 

975 __nvmlDeviceGetCoolerInfo = dlsym(handle, 'nvmlDeviceGetCoolerInfo') 

976  

977 global __nvmlDeviceGetTemperatureV 

978 __nvmlDeviceGetTemperatureV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTemperatureV') 

979 if __nvmlDeviceGetTemperatureV == NULL: 

980 if handle == NULL: 

981 handle = load_library() 

982 __nvmlDeviceGetTemperatureV = dlsym(handle, 'nvmlDeviceGetTemperatureV') 

983  

984 global __nvmlDeviceGetTemperatureThreshold 

985 __nvmlDeviceGetTemperatureThreshold = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTemperatureThreshold') 

986 if __nvmlDeviceGetTemperatureThreshold == NULL: 

987 if handle == NULL: 

988 handle = load_library() 

989 __nvmlDeviceGetTemperatureThreshold = dlsym(handle, 'nvmlDeviceGetTemperatureThreshold') 

990  

991 global __nvmlDeviceGetMarginTemperature 

992 __nvmlDeviceGetMarginTemperature = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMarginTemperature') 

993 if __nvmlDeviceGetMarginTemperature == NULL: 

994 if handle == NULL: 

995 handle = load_library() 

996 __nvmlDeviceGetMarginTemperature = dlsym(handle, 'nvmlDeviceGetMarginTemperature') 

997  

998 global __nvmlDeviceGetThermalSettings 

999 __nvmlDeviceGetThermalSettings = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetThermalSettings') 

1000 if __nvmlDeviceGetThermalSettings == NULL: 

1001 if handle == NULL: 

1002 handle = load_library() 

1003 __nvmlDeviceGetThermalSettings = dlsym(handle, 'nvmlDeviceGetThermalSettings') 

1004  

1005 global __nvmlDeviceGetPerformanceState 

1006 __nvmlDeviceGetPerformanceState = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPerformanceState') 

1007 if __nvmlDeviceGetPerformanceState == NULL: 

1008 if handle == NULL: 

1009 handle = load_library() 

1010 __nvmlDeviceGetPerformanceState = dlsym(handle, 'nvmlDeviceGetPerformanceState') 

1011  

1012 global __nvmlDeviceGetCurrentClocksEventReasons 

1013 __nvmlDeviceGetCurrentClocksEventReasons = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCurrentClocksEventReasons') 

1014 if __nvmlDeviceGetCurrentClocksEventReasons == NULL: 

1015 if handle == NULL: 

1016 handle = load_library() 

1017 __nvmlDeviceGetCurrentClocksEventReasons = dlsym(handle, 'nvmlDeviceGetCurrentClocksEventReasons') 

1018  

1019 global __nvmlDeviceGetSupportedClocksEventReasons 

1020 __nvmlDeviceGetSupportedClocksEventReasons = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedClocksEventReasons') 

1021 if __nvmlDeviceGetSupportedClocksEventReasons == NULL: 

1022 if handle == NULL: 

1023 handle = load_library() 

1024 __nvmlDeviceGetSupportedClocksEventReasons = dlsym(handle, 'nvmlDeviceGetSupportedClocksEventReasons') 

1025  

1026 global __nvmlDeviceGetPowerState 

1027 __nvmlDeviceGetPowerState = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerState') 

1028 if __nvmlDeviceGetPowerState == NULL: 

1029 if handle == NULL: 

1030 handle = load_library() 

1031 __nvmlDeviceGetPowerState = dlsym(handle, 'nvmlDeviceGetPowerState') 

1032  

1033 global __nvmlDeviceGetDynamicPstatesInfo 

1034 __nvmlDeviceGetDynamicPstatesInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDynamicPstatesInfo') 

1035 if __nvmlDeviceGetDynamicPstatesInfo == NULL: 

1036 if handle == NULL: 

1037 handle = load_library() 

1038 __nvmlDeviceGetDynamicPstatesInfo = dlsym(handle, 'nvmlDeviceGetDynamicPstatesInfo') 

1039  

1040 global __nvmlDeviceGetMemClkVfOffset 

1041 __nvmlDeviceGetMemClkVfOffset = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemClkVfOffset') 

1042 if __nvmlDeviceGetMemClkVfOffset == NULL: 

1043 if handle == NULL: 

1044 handle = load_library() 

1045 __nvmlDeviceGetMemClkVfOffset = dlsym(handle, 'nvmlDeviceGetMemClkVfOffset') 

1046  

1047 global __nvmlDeviceGetMinMaxClockOfPState 

1048 __nvmlDeviceGetMinMaxClockOfPState = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMinMaxClockOfPState') 

1049 if __nvmlDeviceGetMinMaxClockOfPState == NULL: 

1050 if handle == NULL: 

1051 handle = load_library() 

1052 __nvmlDeviceGetMinMaxClockOfPState = dlsym(handle, 'nvmlDeviceGetMinMaxClockOfPState') 

1053  

1054 global __nvmlDeviceGetSupportedPerformanceStates 

1055 __nvmlDeviceGetSupportedPerformanceStates = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedPerformanceStates') 

1056 if __nvmlDeviceGetSupportedPerformanceStates == NULL: 

1057 if handle == NULL: 

1058 handle = load_library() 

1059 __nvmlDeviceGetSupportedPerformanceStates = dlsym(handle, 'nvmlDeviceGetSupportedPerformanceStates') 

1060  

1061 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

1062 __nvmlDeviceGetGpcClkMinMaxVfOffset = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpcClkMinMaxVfOffset') 

1063 if __nvmlDeviceGetGpcClkMinMaxVfOffset == NULL: 

1064 if handle == NULL: 

1065 handle = load_library() 

1066 __nvmlDeviceGetGpcClkMinMaxVfOffset = dlsym(handle, 'nvmlDeviceGetGpcClkMinMaxVfOffset') 

1067  

1068 global __nvmlDeviceGetMemClkMinMaxVfOffset 

1069 __nvmlDeviceGetMemClkMinMaxVfOffset = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemClkMinMaxVfOffset') 

1070 if __nvmlDeviceGetMemClkMinMaxVfOffset == NULL: 

1071 if handle == NULL: 

1072 handle = load_library() 

1073 __nvmlDeviceGetMemClkMinMaxVfOffset = dlsym(handle, 'nvmlDeviceGetMemClkMinMaxVfOffset') 

1074  

1075 global __nvmlDeviceGetClockOffsets 

1076 __nvmlDeviceGetClockOffsets = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetClockOffsets') 

1077 if __nvmlDeviceGetClockOffsets == NULL: 

1078 if handle == NULL: 

1079 handle = load_library() 

1080 __nvmlDeviceGetClockOffsets = dlsym(handle, 'nvmlDeviceGetClockOffsets') 

1081  

1082 global __nvmlDeviceSetClockOffsets 

1083 __nvmlDeviceSetClockOffsets = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetClockOffsets') 

1084 if __nvmlDeviceSetClockOffsets == NULL: 

1085 if handle == NULL: 

1086 handle = load_library() 

1087 __nvmlDeviceSetClockOffsets = dlsym(handle, 'nvmlDeviceSetClockOffsets') 

1088  

1089 global __nvmlDeviceGetPerformanceModes 

1090 __nvmlDeviceGetPerformanceModes = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPerformanceModes') 

1091 if __nvmlDeviceGetPerformanceModes == NULL: 

1092 if handle == NULL: 

1093 handle = load_library() 

1094 __nvmlDeviceGetPerformanceModes = dlsym(handle, 'nvmlDeviceGetPerformanceModes') 

1095  

1096 global __nvmlDeviceGetCurrentClockFreqs 

1097 __nvmlDeviceGetCurrentClockFreqs = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCurrentClockFreqs') 

1098 if __nvmlDeviceGetCurrentClockFreqs == NULL: 

1099 if handle == NULL: 

1100 handle = load_library() 

1101 __nvmlDeviceGetCurrentClockFreqs = dlsym(handle, 'nvmlDeviceGetCurrentClockFreqs') 

1102  

1103 global __nvmlDeviceGetPowerManagementLimit 

1104 __nvmlDeviceGetPowerManagementLimit = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementLimit') 

1105 if __nvmlDeviceGetPowerManagementLimit == NULL: 

1106 if handle == NULL: 

1107 handle = load_library() 

1108 __nvmlDeviceGetPowerManagementLimit = dlsym(handle, 'nvmlDeviceGetPowerManagementLimit') 

1109  

1110 global __nvmlDeviceGetPowerManagementLimitConstraints 

1111 __nvmlDeviceGetPowerManagementLimitConstraints = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementLimitConstraints') 

1112 if __nvmlDeviceGetPowerManagementLimitConstraints == NULL: 

1113 if handle == NULL: 

1114 handle = load_library() 

1115 __nvmlDeviceGetPowerManagementLimitConstraints = dlsym(handle, 'nvmlDeviceGetPowerManagementLimitConstraints') 

1116  

1117 global __nvmlDeviceGetPowerManagementDefaultLimit 

1118 __nvmlDeviceGetPowerManagementDefaultLimit = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementDefaultLimit') 

1119 if __nvmlDeviceGetPowerManagementDefaultLimit == NULL: 

1120 if handle == NULL: 

1121 handle = load_library() 

1122 __nvmlDeviceGetPowerManagementDefaultLimit = dlsym(handle, 'nvmlDeviceGetPowerManagementDefaultLimit') 

1123  

1124 global __nvmlDeviceGetPowerUsage 

1125 __nvmlDeviceGetPowerUsage = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerUsage') 

1126 if __nvmlDeviceGetPowerUsage == NULL: 

1127 if handle == NULL: 

1128 handle = load_library() 

1129 __nvmlDeviceGetPowerUsage = dlsym(handle, 'nvmlDeviceGetPowerUsage') 

1130  

1131 global __nvmlDeviceGetTotalEnergyConsumption 

1132 __nvmlDeviceGetTotalEnergyConsumption = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTotalEnergyConsumption') 

1133 if __nvmlDeviceGetTotalEnergyConsumption == NULL: 

1134 if handle == NULL: 

1135 handle = load_library() 

1136 __nvmlDeviceGetTotalEnergyConsumption = dlsym(handle, 'nvmlDeviceGetTotalEnergyConsumption') 

1137  

1138 global __nvmlDeviceGetEnforcedPowerLimit 

1139 __nvmlDeviceGetEnforcedPowerLimit = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEnforcedPowerLimit') 

1140 if __nvmlDeviceGetEnforcedPowerLimit == NULL: 

1141 if handle == NULL: 

1142 handle = load_library() 

1143 __nvmlDeviceGetEnforcedPowerLimit = dlsym(handle, 'nvmlDeviceGetEnforcedPowerLimit') 

1144  

1145 global __nvmlDeviceGetGpuOperationMode 

1146 __nvmlDeviceGetGpuOperationMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuOperationMode') 

1147 if __nvmlDeviceGetGpuOperationMode == NULL: 

1148 if handle == NULL: 

1149 handle = load_library() 

1150 __nvmlDeviceGetGpuOperationMode = dlsym(handle, 'nvmlDeviceGetGpuOperationMode') 

1151  

1152 global __nvmlDeviceGetMemoryInfo_v2 

1153 __nvmlDeviceGetMemoryInfo_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemoryInfo_v2') 

1154 if __nvmlDeviceGetMemoryInfo_v2 == NULL: 

1155 if handle == NULL: 

1156 handle = load_library() 

1157 __nvmlDeviceGetMemoryInfo_v2 = dlsym(handle, 'nvmlDeviceGetMemoryInfo_v2') 

1158  

1159 global __nvmlDeviceGetComputeMode 

1160 __nvmlDeviceGetComputeMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetComputeMode') 

1161 if __nvmlDeviceGetComputeMode == NULL: 

1162 if handle == NULL: 

1163 handle = load_library() 

1164 __nvmlDeviceGetComputeMode = dlsym(handle, 'nvmlDeviceGetComputeMode') 

1165  

1166 global __nvmlDeviceGetCudaComputeCapability 

1167 __nvmlDeviceGetCudaComputeCapability = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCudaComputeCapability') 

1168 if __nvmlDeviceGetCudaComputeCapability == NULL: 

1169 if handle == NULL: 

1170 handle = load_library() 

1171 __nvmlDeviceGetCudaComputeCapability = dlsym(handle, 'nvmlDeviceGetCudaComputeCapability') 

1172  

1173 global __nvmlDeviceGetDramEncryptionMode 

1174 __nvmlDeviceGetDramEncryptionMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDramEncryptionMode') 

1175 if __nvmlDeviceGetDramEncryptionMode == NULL: 

1176 if handle == NULL: 

1177 handle = load_library() 

1178 __nvmlDeviceGetDramEncryptionMode = dlsym(handle, 'nvmlDeviceGetDramEncryptionMode') 

1179  

1180 global __nvmlDeviceSetDramEncryptionMode 

1181 __nvmlDeviceSetDramEncryptionMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetDramEncryptionMode') 

1182 if __nvmlDeviceSetDramEncryptionMode == NULL: 

1183 if handle == NULL: 

1184 handle = load_library() 

1185 __nvmlDeviceSetDramEncryptionMode = dlsym(handle, 'nvmlDeviceSetDramEncryptionMode') 

1186  

1187 global __nvmlDeviceGetEccMode 

1188 __nvmlDeviceGetEccMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEccMode') 

1189 if __nvmlDeviceGetEccMode == NULL: 

1190 if handle == NULL: 

1191 handle = load_library() 

1192 __nvmlDeviceGetEccMode = dlsym(handle, 'nvmlDeviceGetEccMode') 

1193  

1194 global __nvmlDeviceGetDefaultEccMode 

1195 __nvmlDeviceGetDefaultEccMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDefaultEccMode') 

1196 if __nvmlDeviceGetDefaultEccMode == NULL: 

1197 if handle == NULL: 

1198 handle = load_library() 

1199 __nvmlDeviceGetDefaultEccMode = dlsym(handle, 'nvmlDeviceGetDefaultEccMode') 

1200  

1201 global __nvmlDeviceGetBoardId 

1202 __nvmlDeviceGetBoardId = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBoardId') 

1203 if __nvmlDeviceGetBoardId == NULL: 

1204 if handle == NULL: 

1205 handle = load_library() 

1206 __nvmlDeviceGetBoardId = dlsym(handle, 'nvmlDeviceGetBoardId') 

1207  

1208 global __nvmlDeviceGetMultiGpuBoard 

1209 __nvmlDeviceGetMultiGpuBoard = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMultiGpuBoard') 

1210 if __nvmlDeviceGetMultiGpuBoard == NULL: 

1211 if handle == NULL: 

1212 handle = load_library() 

1213 __nvmlDeviceGetMultiGpuBoard = dlsym(handle, 'nvmlDeviceGetMultiGpuBoard') 

1214  

1215 global __nvmlDeviceGetTotalEccErrors 

1216 __nvmlDeviceGetTotalEccErrors = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTotalEccErrors') 

1217 if __nvmlDeviceGetTotalEccErrors == NULL: 

1218 if handle == NULL: 

1219 handle = load_library() 

1220 __nvmlDeviceGetTotalEccErrors = dlsym(handle, 'nvmlDeviceGetTotalEccErrors') 

1221  

1222 global __nvmlDeviceGetMemoryErrorCounter 

1223 __nvmlDeviceGetMemoryErrorCounter = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemoryErrorCounter') 

1224 if __nvmlDeviceGetMemoryErrorCounter == NULL: 

1225 if handle == NULL: 

1226 handle = load_library() 

1227 __nvmlDeviceGetMemoryErrorCounter = dlsym(handle, 'nvmlDeviceGetMemoryErrorCounter') 

1228  

1229 global __nvmlDeviceGetUtilizationRates 

1230 __nvmlDeviceGetUtilizationRates = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetUtilizationRates') 

1231 if __nvmlDeviceGetUtilizationRates == NULL: 

1232 if handle == NULL: 

1233 handle = load_library() 

1234 __nvmlDeviceGetUtilizationRates = dlsym(handle, 'nvmlDeviceGetUtilizationRates') 

1235  

1236 global __nvmlDeviceGetEncoderUtilization 

1237 __nvmlDeviceGetEncoderUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEncoderUtilization') 

1238 if __nvmlDeviceGetEncoderUtilization == NULL: 

1239 if handle == NULL: 

1240 handle = load_library() 

1241 __nvmlDeviceGetEncoderUtilization = dlsym(handle, 'nvmlDeviceGetEncoderUtilization') 

1242  

1243 global __nvmlDeviceGetEncoderCapacity 

1244 __nvmlDeviceGetEncoderCapacity = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEncoderCapacity') 

1245 if __nvmlDeviceGetEncoderCapacity == NULL: 

1246 if handle == NULL: 

1247 handle = load_library() 

1248 __nvmlDeviceGetEncoderCapacity = dlsym(handle, 'nvmlDeviceGetEncoderCapacity') 

1249  

1250 global __nvmlDeviceGetEncoderStats 

1251 __nvmlDeviceGetEncoderStats = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEncoderStats') 

1252 if __nvmlDeviceGetEncoderStats == NULL: 

1253 if handle == NULL: 

1254 handle = load_library() 

1255 __nvmlDeviceGetEncoderStats = dlsym(handle, 'nvmlDeviceGetEncoderStats') 

1256  

1257 global __nvmlDeviceGetEncoderSessions 

1258 __nvmlDeviceGetEncoderSessions = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEncoderSessions') 

1259 if __nvmlDeviceGetEncoderSessions == NULL: 

1260 if handle == NULL: 

1261 handle = load_library() 

1262 __nvmlDeviceGetEncoderSessions = dlsym(handle, 'nvmlDeviceGetEncoderSessions') 

1263  

1264 global __nvmlDeviceGetDecoderUtilization 

1265 __nvmlDeviceGetDecoderUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDecoderUtilization') 

1266 if __nvmlDeviceGetDecoderUtilization == NULL: 

1267 if handle == NULL: 

1268 handle = load_library() 

1269 __nvmlDeviceGetDecoderUtilization = dlsym(handle, 'nvmlDeviceGetDecoderUtilization') 

1270  

1271 global __nvmlDeviceGetJpgUtilization 

1272 __nvmlDeviceGetJpgUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetJpgUtilization') 

1273 if __nvmlDeviceGetJpgUtilization == NULL: 

1274 if handle == NULL: 

1275 handle = load_library() 

1276 __nvmlDeviceGetJpgUtilization = dlsym(handle, 'nvmlDeviceGetJpgUtilization') 

1277  

1278 global __nvmlDeviceGetOfaUtilization 

1279 __nvmlDeviceGetOfaUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetOfaUtilization') 

1280 if __nvmlDeviceGetOfaUtilization == NULL: 

1281 if handle == NULL: 

1282 handle = load_library() 

1283 __nvmlDeviceGetOfaUtilization = dlsym(handle, 'nvmlDeviceGetOfaUtilization') 

1284  

1285 global __nvmlDeviceGetFBCStats 

1286 __nvmlDeviceGetFBCStats = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFBCStats') 

1287 if __nvmlDeviceGetFBCStats == NULL: 

1288 if handle == NULL: 

1289 handle = load_library() 

1290 __nvmlDeviceGetFBCStats = dlsym(handle, 'nvmlDeviceGetFBCStats') 

1291  

1292 global __nvmlDeviceGetFBCSessions 

1293 __nvmlDeviceGetFBCSessions = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFBCSessions') 

1294 if __nvmlDeviceGetFBCSessions == NULL: 

1295 if handle == NULL: 

1296 handle = load_library() 

1297 __nvmlDeviceGetFBCSessions = dlsym(handle, 'nvmlDeviceGetFBCSessions') 

1298  

1299 global __nvmlDeviceGetDriverModel_v2 

1300 __nvmlDeviceGetDriverModel_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDriverModel_v2') 

1301 if __nvmlDeviceGetDriverModel_v2 == NULL: 

1302 if handle == NULL: 

1303 handle = load_library() 

1304 __nvmlDeviceGetDriverModel_v2 = dlsym(handle, 'nvmlDeviceGetDriverModel_v2') 

1305  

1306 global __nvmlDeviceGetVbiosVersion 

1307 __nvmlDeviceGetVbiosVersion = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVbiosVersion') 

1308 if __nvmlDeviceGetVbiosVersion == NULL: 

1309 if handle == NULL: 

1310 handle = load_library() 

1311 __nvmlDeviceGetVbiosVersion = dlsym(handle, 'nvmlDeviceGetVbiosVersion') 

1312  

1313 global __nvmlDeviceGetBridgeChipInfo 

1314 __nvmlDeviceGetBridgeChipInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBridgeChipInfo') 

1315 if __nvmlDeviceGetBridgeChipInfo == NULL: 

1316 if handle == NULL: 

1317 handle = load_library() 

1318 __nvmlDeviceGetBridgeChipInfo = dlsym(handle, 'nvmlDeviceGetBridgeChipInfo') 

1319  

1320 global __nvmlDeviceGetComputeRunningProcesses_v3 

1321 __nvmlDeviceGetComputeRunningProcesses_v3 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetComputeRunningProcesses_v3') 

1322 if __nvmlDeviceGetComputeRunningProcesses_v3 == NULL: 

1323 if handle == NULL: 

1324 handle = load_library() 

1325 __nvmlDeviceGetComputeRunningProcesses_v3 = dlsym(handle, 'nvmlDeviceGetComputeRunningProcesses_v3') 

1326  

1327 global __nvmlDeviceGetGraphicsRunningProcesses_v3 

1328 __nvmlDeviceGetGraphicsRunningProcesses_v3 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGraphicsRunningProcesses_v3') 

1329 if __nvmlDeviceGetGraphicsRunningProcesses_v3 == NULL: 

1330 if handle == NULL: 

1331 handle = load_library() 

1332 __nvmlDeviceGetGraphicsRunningProcesses_v3 = dlsym(handle, 'nvmlDeviceGetGraphicsRunningProcesses_v3') 

1333  

1334 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

1335 __nvmlDeviceGetMPSComputeRunningProcesses_v3 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMPSComputeRunningProcesses_v3') 

1336 if __nvmlDeviceGetMPSComputeRunningProcesses_v3 == NULL: 

1337 if handle == NULL: 

1338 handle = load_library() 

1339 __nvmlDeviceGetMPSComputeRunningProcesses_v3 = dlsym(handle, 'nvmlDeviceGetMPSComputeRunningProcesses_v3') 

1340  

1341 global __nvmlDeviceGetRunningProcessDetailList 

1342 __nvmlDeviceGetRunningProcessDetailList = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRunningProcessDetailList') 

1343 if __nvmlDeviceGetRunningProcessDetailList == NULL: 

1344 if handle == NULL: 

1345 handle = load_library() 

1346 __nvmlDeviceGetRunningProcessDetailList = dlsym(handle, 'nvmlDeviceGetRunningProcessDetailList') 

1347  

1348 global __nvmlDeviceOnSameBoard 

1349 __nvmlDeviceOnSameBoard = dlsym(RTLD_DEFAULT, 'nvmlDeviceOnSameBoard') 

1350 if __nvmlDeviceOnSameBoard == NULL: 

1351 if handle == NULL: 

1352 handle = load_library() 

1353 __nvmlDeviceOnSameBoard = dlsym(handle, 'nvmlDeviceOnSameBoard') 

1354  

1355 global __nvmlDeviceGetAPIRestriction 

1356 __nvmlDeviceGetAPIRestriction = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAPIRestriction') 

1357 if __nvmlDeviceGetAPIRestriction == NULL: 

1358 if handle == NULL: 

1359 handle = load_library() 

1360 __nvmlDeviceGetAPIRestriction = dlsym(handle, 'nvmlDeviceGetAPIRestriction') 

1361  

1362 global __nvmlDeviceGetSamples 

1363 __nvmlDeviceGetSamples = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSamples') 

1364 if __nvmlDeviceGetSamples == NULL: 

1365 if handle == NULL: 

1366 handle = load_library() 

1367 __nvmlDeviceGetSamples = dlsym(handle, 'nvmlDeviceGetSamples') 

1368  

1369 global __nvmlDeviceGetBAR1MemoryInfo 

1370 __nvmlDeviceGetBAR1MemoryInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBAR1MemoryInfo') 

1371 if __nvmlDeviceGetBAR1MemoryInfo == NULL: 

1372 if handle == NULL: 

1373 handle = load_library() 

1374 __nvmlDeviceGetBAR1MemoryInfo = dlsym(handle, 'nvmlDeviceGetBAR1MemoryInfo') 

1375  

1376 global __nvmlDeviceGetIrqNum 

1377 __nvmlDeviceGetIrqNum = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetIrqNum') 

1378 if __nvmlDeviceGetIrqNum == NULL: 

1379 if handle == NULL: 

1380 handle = load_library() 

1381 __nvmlDeviceGetIrqNum = dlsym(handle, 'nvmlDeviceGetIrqNum') 

1382  

1383 global __nvmlDeviceGetNumGpuCores 

1384 __nvmlDeviceGetNumGpuCores = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNumGpuCores') 

1385 if __nvmlDeviceGetNumGpuCores == NULL: 

1386 if handle == NULL: 

1387 handle = load_library() 

1388 __nvmlDeviceGetNumGpuCores = dlsym(handle, 'nvmlDeviceGetNumGpuCores') 

1389  

1390 global __nvmlDeviceGetPowerSource 

1391 __nvmlDeviceGetPowerSource = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerSource') 

1392 if __nvmlDeviceGetPowerSource == NULL: 

1393 if handle == NULL: 

1394 handle = load_library() 

1395 __nvmlDeviceGetPowerSource = dlsym(handle, 'nvmlDeviceGetPowerSource') 

1396  

1397 global __nvmlDeviceGetMemoryBusWidth 

1398 __nvmlDeviceGetMemoryBusWidth = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemoryBusWidth') 

1399 if __nvmlDeviceGetMemoryBusWidth == NULL: 

1400 if handle == NULL: 

1401 handle = load_library() 

1402 __nvmlDeviceGetMemoryBusWidth = dlsym(handle, 'nvmlDeviceGetMemoryBusWidth') 

1403  

1404 global __nvmlDeviceGetPcieLinkMaxSpeed 

1405 __nvmlDeviceGetPcieLinkMaxSpeed = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPcieLinkMaxSpeed') 

1406 if __nvmlDeviceGetPcieLinkMaxSpeed == NULL: 

1407 if handle == NULL: 

1408 handle = load_library() 

1409 __nvmlDeviceGetPcieLinkMaxSpeed = dlsym(handle, 'nvmlDeviceGetPcieLinkMaxSpeed') 

1410  

1411 global __nvmlDeviceGetPcieSpeed 

1412 __nvmlDeviceGetPcieSpeed = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPcieSpeed') 

1413 if __nvmlDeviceGetPcieSpeed == NULL: 

1414 if handle == NULL: 

1415 handle = load_library() 

1416 __nvmlDeviceGetPcieSpeed = dlsym(handle, 'nvmlDeviceGetPcieSpeed') 

1417  

1418 global __nvmlDeviceGetAdaptiveClockInfoStatus 

1419 __nvmlDeviceGetAdaptiveClockInfoStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAdaptiveClockInfoStatus') 

1420 if __nvmlDeviceGetAdaptiveClockInfoStatus == NULL: 

1421 if handle == NULL: 

1422 handle = load_library() 

1423 __nvmlDeviceGetAdaptiveClockInfoStatus = dlsym(handle, 'nvmlDeviceGetAdaptiveClockInfoStatus') 

1424  

1425 global __nvmlDeviceGetBusType 

1426 __nvmlDeviceGetBusType = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBusType') 

1427 if __nvmlDeviceGetBusType == NULL: 

1428 if handle == NULL: 

1429 handle = load_library() 

1430 __nvmlDeviceGetBusType = dlsym(handle, 'nvmlDeviceGetBusType') 

1431  

1432 global __nvmlDeviceGetGpuFabricInfoV 

1433 __nvmlDeviceGetGpuFabricInfoV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuFabricInfoV') 

1434 if __nvmlDeviceGetGpuFabricInfoV == NULL: 

1435 if handle == NULL: 

1436 handle = load_library() 

1437 __nvmlDeviceGetGpuFabricInfoV = dlsym(handle, 'nvmlDeviceGetGpuFabricInfoV') 

1438  

1439 global __nvmlSystemGetConfComputeCapabilities 

1440 __nvmlSystemGetConfComputeCapabilities = dlsym(RTLD_DEFAULT, 'nvmlSystemGetConfComputeCapabilities') 

1441 if __nvmlSystemGetConfComputeCapabilities == NULL: 

1442 if handle == NULL: 

1443 handle = load_library() 

1444 __nvmlSystemGetConfComputeCapabilities = dlsym(handle, 'nvmlSystemGetConfComputeCapabilities') 

1445  

1446 global __nvmlSystemGetConfComputeState 

1447 __nvmlSystemGetConfComputeState = dlsym(RTLD_DEFAULT, 'nvmlSystemGetConfComputeState') 

1448 if __nvmlSystemGetConfComputeState == NULL: 

1449 if handle == NULL: 

1450 handle = load_library() 

1451 __nvmlSystemGetConfComputeState = dlsym(handle, 'nvmlSystemGetConfComputeState') 

1452  

1453 global __nvmlDeviceGetConfComputeMemSizeInfo 

1454 __nvmlDeviceGetConfComputeMemSizeInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetConfComputeMemSizeInfo') 

1455 if __nvmlDeviceGetConfComputeMemSizeInfo == NULL: 

1456 if handle == NULL: 

1457 handle = load_library() 

1458 __nvmlDeviceGetConfComputeMemSizeInfo = dlsym(handle, 'nvmlDeviceGetConfComputeMemSizeInfo') 

1459  

1460 global __nvmlSystemGetConfComputeGpusReadyState 

1461 __nvmlSystemGetConfComputeGpusReadyState = dlsym(RTLD_DEFAULT, 'nvmlSystemGetConfComputeGpusReadyState') 

1462 if __nvmlSystemGetConfComputeGpusReadyState == NULL: 

1463 if handle == NULL: 

1464 handle = load_library() 

1465 __nvmlSystemGetConfComputeGpusReadyState = dlsym(handle, 'nvmlSystemGetConfComputeGpusReadyState') 

1466  

1467 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

1468 __nvmlDeviceGetConfComputeProtectedMemoryUsage = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetConfComputeProtectedMemoryUsage') 

1469 if __nvmlDeviceGetConfComputeProtectedMemoryUsage == NULL: 

1470 if handle == NULL: 

1471 handle = load_library() 

1472 __nvmlDeviceGetConfComputeProtectedMemoryUsage = dlsym(handle, 'nvmlDeviceGetConfComputeProtectedMemoryUsage') 

1473  

1474 global __nvmlDeviceGetConfComputeGpuCertificate 

1475 __nvmlDeviceGetConfComputeGpuCertificate = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetConfComputeGpuCertificate') 

1476 if __nvmlDeviceGetConfComputeGpuCertificate == NULL: 

1477 if handle == NULL: 

1478 handle = load_library() 

1479 __nvmlDeviceGetConfComputeGpuCertificate = dlsym(handle, 'nvmlDeviceGetConfComputeGpuCertificate') 

1480  

1481 global __nvmlDeviceGetConfComputeGpuAttestationReport 

1482 __nvmlDeviceGetConfComputeGpuAttestationReport = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetConfComputeGpuAttestationReport') 

1483 if __nvmlDeviceGetConfComputeGpuAttestationReport == NULL: 

1484 if handle == NULL: 

1485 handle = load_library() 

1486 __nvmlDeviceGetConfComputeGpuAttestationReport = dlsym(handle, 'nvmlDeviceGetConfComputeGpuAttestationReport') 

1487  

1488 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

1489 __nvmlSystemGetConfComputeKeyRotationThresholdInfo = dlsym(RTLD_DEFAULT, 'nvmlSystemGetConfComputeKeyRotationThresholdInfo') 

1490 if __nvmlSystemGetConfComputeKeyRotationThresholdInfo == NULL: 

1491 if handle == NULL: 

1492 handle = load_library() 

1493 __nvmlSystemGetConfComputeKeyRotationThresholdInfo = dlsym(handle, 'nvmlSystemGetConfComputeKeyRotationThresholdInfo') 

1494  

1495 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

1496 __nvmlDeviceSetConfComputeUnprotectedMemSize = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetConfComputeUnprotectedMemSize') 

1497 if __nvmlDeviceSetConfComputeUnprotectedMemSize == NULL: 

1498 if handle == NULL: 

1499 handle = load_library() 

1500 __nvmlDeviceSetConfComputeUnprotectedMemSize = dlsym(handle, 'nvmlDeviceSetConfComputeUnprotectedMemSize') 

1501  

1502 global __nvmlSystemSetConfComputeGpusReadyState 

1503 __nvmlSystemSetConfComputeGpusReadyState = dlsym(RTLD_DEFAULT, 'nvmlSystemSetConfComputeGpusReadyState') 

1504 if __nvmlSystemSetConfComputeGpusReadyState == NULL: 

1505 if handle == NULL: 

1506 handle = load_library() 

1507 __nvmlSystemSetConfComputeGpusReadyState = dlsym(handle, 'nvmlSystemSetConfComputeGpusReadyState') 2a e mb: 6bNb; 7bOb= 8b? @ 9bi [ !bnb] #bj ^ $bob_ %bPb` 'br { (b2 | )bk } *b~ +bs ab,bt bb-bd Qb.b3 cb/bRbdb:bv f ;bSbeb=bu fb?bgbhb@b9 o ib[bl jb]bm ^bKbp _bTbq `bkbE {bF G |bH I }bJ K ~bL M acN O bcP Q ccR dcS ecT fcU gcV hcW icX jcpbY kcqbZ lclb0 mcrb1 ncUbVbocLbWbpcXbYbqcMbZbrc

1508  

1509 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

1510 __nvmlSystemSetConfComputeKeyRotationThresholdInfo = dlsym(RTLD_DEFAULT, 'nvmlSystemSetConfComputeKeyRotationThresholdInfo') 

1511 if __nvmlSystemSetConfComputeKeyRotationThresholdInfo == NULL: 

1512 if handle == NULL: 

1513 handle = load_library() 

1514 __nvmlSystemSetConfComputeKeyRotationThresholdInfo = dlsym(handle, 'nvmlSystemSetConfComputeKeyRotationThresholdInfo') 

1515  

1516 global __nvmlSystemGetConfComputeSettings 

1517 __nvmlSystemGetConfComputeSettings = dlsym(RTLD_DEFAULT, 'nvmlSystemGetConfComputeSettings') 

1518 if __nvmlSystemGetConfComputeSettings == NULL: 

1519 if handle == NULL: 

1520 handle = load_library() 

1521 __nvmlSystemGetConfComputeSettings = dlsym(handle, 'nvmlSystemGetConfComputeSettings') 

1522  

1523 global __nvmlDeviceGetGspFirmwareVersion 

1524 __nvmlDeviceGetGspFirmwareVersion = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGspFirmwareVersion') 

1525 if __nvmlDeviceGetGspFirmwareVersion == NULL: 

1526 if handle == NULL: 

1527 handle = load_library() 

1528 __nvmlDeviceGetGspFirmwareVersion = dlsym(handle, 'nvmlDeviceGetGspFirmwareVersion') 

1529  

1530 global __nvmlDeviceGetGspFirmwareMode 

1531 __nvmlDeviceGetGspFirmwareMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGspFirmwareMode') 

1532 if __nvmlDeviceGetGspFirmwareMode == NULL: 

1533 if handle == NULL: 

1534 handle = load_library() 

1535 __nvmlDeviceGetGspFirmwareMode = dlsym(handle, 'nvmlDeviceGetGspFirmwareMode') 

1536  

1537 global __nvmlDeviceGetSramEccErrorStatus 

1538 __nvmlDeviceGetSramEccErrorStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSramEccErrorStatus') 

1539 if __nvmlDeviceGetSramEccErrorStatus == NULL: 

1540 if handle == NULL: 

1541 handle = load_library() 

1542 __nvmlDeviceGetSramEccErrorStatus = dlsym(handle, 'nvmlDeviceGetSramEccErrorStatus') 

1543  

1544 global __nvmlDeviceGetAccountingMode 

1545 __nvmlDeviceGetAccountingMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAccountingMode') 

1546 if __nvmlDeviceGetAccountingMode == NULL: 

1547 if handle == NULL: 

1548 handle = load_library() 

1549 __nvmlDeviceGetAccountingMode = dlsym(handle, 'nvmlDeviceGetAccountingMode') 

1550  

1551 global __nvmlDeviceGetAccountingStats 

1552 __nvmlDeviceGetAccountingStats = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAccountingStats') 

1553 if __nvmlDeviceGetAccountingStats == NULL: 

1554 if handle == NULL: 

1555 handle = load_library() 

1556 __nvmlDeviceGetAccountingStats = dlsym(handle, 'nvmlDeviceGetAccountingStats') 

1557  

1558 global __nvmlDeviceGetAccountingPids 

1559 __nvmlDeviceGetAccountingPids = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAccountingPids') 

1560 if __nvmlDeviceGetAccountingPids == NULL: 

1561 if handle == NULL: 

1562 handle = load_library() 

1563 __nvmlDeviceGetAccountingPids = dlsym(handle, 'nvmlDeviceGetAccountingPids') 

1564  

1565 global __nvmlDeviceGetAccountingBufferSize 

1566 __nvmlDeviceGetAccountingBufferSize = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAccountingBufferSize') 

1567 if __nvmlDeviceGetAccountingBufferSize == NULL: 

1568 if handle == NULL: 

1569 handle = load_library() 

1570 __nvmlDeviceGetAccountingBufferSize = dlsym(handle, 'nvmlDeviceGetAccountingBufferSize') 

1571  

1572 global __nvmlDeviceGetRetiredPages 

1573 __nvmlDeviceGetRetiredPages = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRetiredPages') 

1574 if __nvmlDeviceGetRetiredPages == NULL: 

1575 if handle == NULL: 

1576 handle = load_library() 

1577 __nvmlDeviceGetRetiredPages = dlsym(handle, 'nvmlDeviceGetRetiredPages') 

1578  

1579 global __nvmlDeviceGetRetiredPages_v2 

1580 __nvmlDeviceGetRetiredPages_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRetiredPages_v2') 

1581 if __nvmlDeviceGetRetiredPages_v2 == NULL: 

1582 if handle == NULL: 

1583 handle = load_library() 

1584 __nvmlDeviceGetRetiredPages_v2 = dlsym(handle, 'nvmlDeviceGetRetiredPages_v2') 

1585  

1586 global __nvmlDeviceGetRetiredPagesPendingStatus 

1587 __nvmlDeviceGetRetiredPagesPendingStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRetiredPagesPendingStatus') 

1588 if __nvmlDeviceGetRetiredPagesPendingStatus == NULL: 

1589 if handle == NULL: 

1590 handle = load_library() 

1591 __nvmlDeviceGetRetiredPagesPendingStatus = dlsym(handle, 'nvmlDeviceGetRetiredPagesPendingStatus') 

1592  

1593 global __nvmlDeviceGetRemappedRows 

1594 __nvmlDeviceGetRemappedRows = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRemappedRows') 

1595 if __nvmlDeviceGetRemappedRows == NULL: 

1596 if handle == NULL: 

1597 handle = load_library() 

1598 __nvmlDeviceGetRemappedRows = dlsym(handle, 'nvmlDeviceGetRemappedRows') 

1599  

1600 global __nvmlDeviceGetRowRemapperHistogram 

1601 __nvmlDeviceGetRowRemapperHistogram = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRowRemapperHistogram') 

1602 if __nvmlDeviceGetRowRemapperHistogram == NULL: 

1603 if handle == NULL: 

1604 handle = load_library() 

1605 __nvmlDeviceGetRowRemapperHistogram = dlsym(handle, 'nvmlDeviceGetRowRemapperHistogram') 

1606  

1607 global __nvmlDeviceGetArchitecture 

1608 __nvmlDeviceGetArchitecture = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetArchitecture') 

1609 if __nvmlDeviceGetArchitecture == NULL: 

1610 if handle == NULL: 

1611 handle = load_library() 

1612 __nvmlDeviceGetArchitecture = dlsym(handle, 'nvmlDeviceGetArchitecture') 

1613  

1614 global __nvmlDeviceGetClkMonStatus 

1615 __nvmlDeviceGetClkMonStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetClkMonStatus') 

1616 if __nvmlDeviceGetClkMonStatus == NULL: 

1617 if handle == NULL: 

1618 handle = load_library() 

1619 __nvmlDeviceGetClkMonStatus = dlsym(handle, 'nvmlDeviceGetClkMonStatus') 

1620  

1621 global __nvmlDeviceGetProcessUtilization 

1622 __nvmlDeviceGetProcessUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetProcessUtilization') 

1623 if __nvmlDeviceGetProcessUtilization == NULL: 

1624 if handle == NULL: 

1625 handle = load_library() 

1626 __nvmlDeviceGetProcessUtilization = dlsym(handle, 'nvmlDeviceGetProcessUtilization') 

1627  

1628 global __nvmlDeviceGetProcessesUtilizationInfo 

1629 __nvmlDeviceGetProcessesUtilizationInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetProcessesUtilizationInfo') 

1630 if __nvmlDeviceGetProcessesUtilizationInfo == NULL: 

1631 if handle == NULL: 

1632 handle = load_library() 

1633 __nvmlDeviceGetProcessesUtilizationInfo = dlsym(handle, 'nvmlDeviceGetProcessesUtilizationInfo') 

1634  

1635 global __nvmlDeviceGetPlatformInfo 

1636 __nvmlDeviceGetPlatformInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPlatformInfo') 

1637 if __nvmlDeviceGetPlatformInfo == NULL: 

1638 if handle == NULL: 

1639 handle = load_library() 

1640 __nvmlDeviceGetPlatformInfo = dlsym(handle, 'nvmlDeviceGetPlatformInfo') 

1641  

1642 global __nvmlUnitSetLedState 

1643 __nvmlUnitSetLedState = dlsym(RTLD_DEFAULT, 'nvmlUnitSetLedState') 

1644 if __nvmlUnitSetLedState == NULL: 

1645 if handle == NULL: 

1646 handle = load_library() 

1647 __nvmlUnitSetLedState = dlsym(handle, 'nvmlUnitSetLedState') 

1648  

1649 global __nvmlDeviceSetPersistenceMode 

1650 __nvmlDeviceSetPersistenceMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetPersistenceMode') 

1651 if __nvmlDeviceSetPersistenceMode == NULL: 

1652 if handle == NULL: 

1653 handle = load_library() 

1654 __nvmlDeviceSetPersistenceMode = dlsym(handle, 'nvmlDeviceSetPersistenceMode') 

1655  

1656 global __nvmlDeviceSetComputeMode 

1657 __nvmlDeviceSetComputeMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetComputeMode') 

1658 if __nvmlDeviceSetComputeMode == NULL: 

1659 if handle == NULL: 

1660 handle = load_library() 

1661 __nvmlDeviceSetComputeMode = dlsym(handle, 'nvmlDeviceSetComputeMode') 

1662  

1663 global __nvmlDeviceSetEccMode 

1664 __nvmlDeviceSetEccMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetEccMode') 

1665 if __nvmlDeviceSetEccMode == NULL: 

1666 if handle == NULL: 

1667 handle = load_library() 

1668 __nvmlDeviceSetEccMode = dlsym(handle, 'nvmlDeviceSetEccMode') 

1669  

1670 global __nvmlDeviceClearEccErrorCounts 

1671 __nvmlDeviceClearEccErrorCounts = dlsym(RTLD_DEFAULT, 'nvmlDeviceClearEccErrorCounts') 

1672 if __nvmlDeviceClearEccErrorCounts == NULL: 

1673 if handle == NULL: 

1674 handle = load_library() 

1675 __nvmlDeviceClearEccErrorCounts = dlsym(handle, 'nvmlDeviceClearEccErrorCounts') 

1676  

1677 global __nvmlDeviceSetDriverModel 

1678 __nvmlDeviceSetDriverModel = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetDriverModel') 

1679 if __nvmlDeviceSetDriverModel == NULL: 

1680 if handle == NULL: 

1681 handle = load_library() 

1682 __nvmlDeviceSetDriverModel = dlsym(handle, 'nvmlDeviceSetDriverModel') 

1683  

1684 global __nvmlDeviceSetGpuLockedClocks 

1685 __nvmlDeviceSetGpuLockedClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetGpuLockedClocks') 

1686 if __nvmlDeviceSetGpuLockedClocks == NULL: 

1687 if handle == NULL: 

1688 handle = load_library() 

1689 __nvmlDeviceSetGpuLockedClocks = dlsym(handle, 'nvmlDeviceSetGpuLockedClocks') 

1690  

1691 global __nvmlDeviceResetGpuLockedClocks 

1692 __nvmlDeviceResetGpuLockedClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceResetGpuLockedClocks') 

1693 if __nvmlDeviceResetGpuLockedClocks == NULL: 

1694 if handle == NULL: 

1695 handle = load_library() 

1696 __nvmlDeviceResetGpuLockedClocks = dlsym(handle, 'nvmlDeviceResetGpuLockedClocks') 

1697  

1698 global __nvmlDeviceSetMemoryLockedClocks 

1699 __nvmlDeviceSetMemoryLockedClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetMemoryLockedClocks') 

1700 if __nvmlDeviceSetMemoryLockedClocks == NULL: 

1701 if handle == NULL: 

1702 handle = load_library() 

1703 __nvmlDeviceSetMemoryLockedClocks = dlsym(handle, 'nvmlDeviceSetMemoryLockedClocks') 

1704  

1705 global __nvmlDeviceResetMemoryLockedClocks 

1706 __nvmlDeviceResetMemoryLockedClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceResetMemoryLockedClocks') 

1707 if __nvmlDeviceResetMemoryLockedClocks == NULL: 

1708 if handle == NULL: 

1709 handle = load_library() 

1710 __nvmlDeviceResetMemoryLockedClocks = dlsym(handle, 'nvmlDeviceResetMemoryLockedClocks') 

1711  

1712 global __nvmlDeviceSetAutoBoostedClocksEnabled 

1713 __nvmlDeviceSetAutoBoostedClocksEnabled = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetAutoBoostedClocksEnabled') 

1714 if __nvmlDeviceSetAutoBoostedClocksEnabled == NULL: 

1715 if handle == NULL: 

1716 handle = load_library() 

1717 __nvmlDeviceSetAutoBoostedClocksEnabled = dlsym(handle, 'nvmlDeviceSetAutoBoostedClocksEnabled') 

1718  

1719 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

1720 __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetDefaultAutoBoostedClocksEnabled') 

1721 if __nvmlDeviceSetDefaultAutoBoostedClocksEnabled == NULL: 

1722 if handle == NULL: 

1723 handle = load_library() 

1724 __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = dlsym(handle, 'nvmlDeviceSetDefaultAutoBoostedClocksEnabled') 

1725  

1726 global __nvmlDeviceSetDefaultFanSpeed_v2 

1727 __nvmlDeviceSetDefaultFanSpeed_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetDefaultFanSpeed_v2') 

1728 if __nvmlDeviceSetDefaultFanSpeed_v2 == NULL: 

1729 if handle == NULL: 

1730 handle = load_library() 

1731 __nvmlDeviceSetDefaultFanSpeed_v2 = dlsym(handle, 'nvmlDeviceSetDefaultFanSpeed_v2') 

1732  

1733 global __nvmlDeviceSetFanControlPolicy 

1734 __nvmlDeviceSetFanControlPolicy = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetFanControlPolicy') 

1735 if __nvmlDeviceSetFanControlPolicy == NULL: 

1736 if handle == NULL: 

1737 handle = load_library() 

1738 __nvmlDeviceSetFanControlPolicy = dlsym(handle, 'nvmlDeviceSetFanControlPolicy') 

1739  

1740 global __nvmlDeviceSetTemperatureThreshold 

1741 __nvmlDeviceSetTemperatureThreshold = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetTemperatureThreshold') 

1742 if __nvmlDeviceSetTemperatureThreshold == NULL: 

1743 if handle == NULL: 

1744 handle = load_library() 

1745 __nvmlDeviceSetTemperatureThreshold = dlsym(handle, 'nvmlDeviceSetTemperatureThreshold') 

1746  

1747 global __nvmlDeviceSetGpuOperationMode 

1748 __nvmlDeviceSetGpuOperationMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetGpuOperationMode') 

1749 if __nvmlDeviceSetGpuOperationMode == NULL: 

1750 if handle == NULL: 

1751 handle = load_library() 

1752 __nvmlDeviceSetGpuOperationMode = dlsym(handle, 'nvmlDeviceSetGpuOperationMode') 

1753  

1754 global __nvmlDeviceSetAPIRestriction 

1755 __nvmlDeviceSetAPIRestriction = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetAPIRestriction') 

1756 if __nvmlDeviceSetAPIRestriction == NULL: 

1757 if handle == NULL: 

1758 handle = load_library() 

1759 __nvmlDeviceSetAPIRestriction = dlsym(handle, 'nvmlDeviceSetAPIRestriction') 

1760  

1761 global __nvmlDeviceSetFanSpeed_v2 

1762 __nvmlDeviceSetFanSpeed_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetFanSpeed_v2') 

1763 if __nvmlDeviceSetFanSpeed_v2 == NULL: 

1764 if handle == NULL: 

1765 handle = load_library() 

1766 __nvmlDeviceSetFanSpeed_v2 = dlsym(handle, 'nvmlDeviceSetFanSpeed_v2') 

1767  

1768 global __nvmlDeviceSetAccountingMode 

1769 __nvmlDeviceSetAccountingMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetAccountingMode') 

1770 if __nvmlDeviceSetAccountingMode == NULL: 

1771 if handle == NULL: 

1772 handle = load_library() 

1773 __nvmlDeviceSetAccountingMode = dlsym(handle, 'nvmlDeviceSetAccountingMode') 

1774  

1775 global __nvmlDeviceClearAccountingPids 

1776 __nvmlDeviceClearAccountingPids = dlsym(RTLD_DEFAULT, 'nvmlDeviceClearAccountingPids') 

1777 if __nvmlDeviceClearAccountingPids == NULL: 

1778 if handle == NULL: 

1779 handle = load_library() 

1780 __nvmlDeviceClearAccountingPids = dlsym(handle, 'nvmlDeviceClearAccountingPids') 

1781  

1782 global __nvmlDeviceSetPowerManagementLimit_v2 

1783 __nvmlDeviceSetPowerManagementLimit_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetPowerManagementLimit_v2') 

1784 if __nvmlDeviceSetPowerManagementLimit_v2 == NULL: 

1785 if handle == NULL: 

1786 handle = load_library() 

1787 __nvmlDeviceSetPowerManagementLimit_v2 = dlsym(handle, 'nvmlDeviceSetPowerManagementLimit_v2') 

1788  

1789 global __nvmlDeviceGetNvLinkState 

1790 __nvmlDeviceGetNvLinkState = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkState') 

1791 if __nvmlDeviceGetNvLinkState == NULL: 

1792 if handle == NULL: 

1793 handle = load_library() 

1794 __nvmlDeviceGetNvLinkState = dlsym(handle, 'nvmlDeviceGetNvLinkState') 

1795  

1796 global __nvmlDeviceGetNvLinkVersion 

1797 __nvmlDeviceGetNvLinkVersion = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkVersion') 

1798 if __nvmlDeviceGetNvLinkVersion == NULL: 

1799 if handle == NULL: 

1800 handle = load_library() 

1801 __nvmlDeviceGetNvLinkVersion = dlsym(handle, 'nvmlDeviceGetNvLinkVersion') 

1802  

1803 global __nvmlDeviceGetNvLinkCapability 

1804 __nvmlDeviceGetNvLinkCapability = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkCapability') 

1805 if __nvmlDeviceGetNvLinkCapability == NULL: 

1806 if handle == NULL: 

1807 handle = load_library() 

1808 __nvmlDeviceGetNvLinkCapability = dlsym(handle, 'nvmlDeviceGetNvLinkCapability') 

1809  

1810 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

1811 __nvmlDeviceGetNvLinkRemotePciInfo_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkRemotePciInfo_v2') 

1812 if __nvmlDeviceGetNvLinkRemotePciInfo_v2 == NULL: 

1813 if handle == NULL: 

1814 handle = load_library() 

1815 __nvmlDeviceGetNvLinkRemotePciInfo_v2 = dlsym(handle, 'nvmlDeviceGetNvLinkRemotePciInfo_v2') 

1816  

1817 global __nvmlDeviceGetNvLinkErrorCounter 

1818 __nvmlDeviceGetNvLinkErrorCounter = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkErrorCounter') 

1819 if __nvmlDeviceGetNvLinkErrorCounter == NULL: 

1820 if handle == NULL: 

1821 handle = load_library() 

1822 __nvmlDeviceGetNvLinkErrorCounter = dlsym(handle, 'nvmlDeviceGetNvLinkErrorCounter') 

1823  

1824 global __nvmlDeviceResetNvLinkErrorCounters 

1825 __nvmlDeviceResetNvLinkErrorCounters = dlsym(RTLD_DEFAULT, 'nvmlDeviceResetNvLinkErrorCounters') 

1826 if __nvmlDeviceResetNvLinkErrorCounters == NULL: 

1827 if handle == NULL: 

1828 handle = load_library() 

1829 __nvmlDeviceResetNvLinkErrorCounters = dlsym(handle, 'nvmlDeviceResetNvLinkErrorCounters') 

1830  

1831 global __nvmlDeviceGetNvLinkRemoteDeviceType 

1832 __nvmlDeviceGetNvLinkRemoteDeviceType = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkRemoteDeviceType') 

1833 if __nvmlDeviceGetNvLinkRemoteDeviceType == NULL: 

1834 if handle == NULL: 

1835 handle = load_library() 

1836 __nvmlDeviceGetNvLinkRemoteDeviceType = dlsym(handle, 'nvmlDeviceGetNvLinkRemoteDeviceType') 

1837  

1838 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

1839 __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetNvLinkDeviceLowPowerThreshold') 

1840 if __nvmlDeviceSetNvLinkDeviceLowPowerThreshold == NULL: 

1841 if handle == NULL: 

1842 handle = load_library() 

1843 __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = dlsym(handle, 'nvmlDeviceSetNvLinkDeviceLowPowerThreshold') 

1844  

1845 global __nvmlSystemSetNvlinkBwMode 

1846 __nvmlSystemSetNvlinkBwMode = dlsym(RTLD_DEFAULT, 'nvmlSystemSetNvlinkBwMode') 

1847 if __nvmlSystemSetNvlinkBwMode == NULL: 

1848 if handle == NULL: 

1849 handle = load_library() 

1850 __nvmlSystemSetNvlinkBwMode = dlsym(handle, 'nvmlSystemSetNvlinkBwMode') 

1851  

1852 global __nvmlSystemGetNvlinkBwMode 

1853 __nvmlSystemGetNvlinkBwMode = dlsym(RTLD_DEFAULT, 'nvmlSystemGetNvlinkBwMode') 

1854 if __nvmlSystemGetNvlinkBwMode == NULL: 

1855 if handle == NULL: 

1856 handle = load_library() 

1857 __nvmlSystemGetNvlinkBwMode = dlsym(handle, 'nvmlSystemGetNvlinkBwMode') 

1858  

1859 global __nvmlDeviceGetNvlinkSupportedBwModes 

1860 __nvmlDeviceGetNvlinkSupportedBwModes = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvlinkSupportedBwModes') 

1861 if __nvmlDeviceGetNvlinkSupportedBwModes == NULL: 

1862 if handle == NULL: 

1863 handle = load_library() 

1864 __nvmlDeviceGetNvlinkSupportedBwModes = dlsym(handle, 'nvmlDeviceGetNvlinkSupportedBwModes') 

1865  

1866 global __nvmlDeviceGetNvlinkBwMode 

1867 __nvmlDeviceGetNvlinkBwMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvlinkBwMode') 

1868 if __nvmlDeviceGetNvlinkBwMode == NULL: 

1869 if handle == NULL: 

1870 handle = load_library() 

1871 __nvmlDeviceGetNvlinkBwMode = dlsym(handle, 'nvmlDeviceGetNvlinkBwMode') 

1872  

1873 global __nvmlDeviceSetNvlinkBwMode 

1874 __nvmlDeviceSetNvlinkBwMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetNvlinkBwMode') 

1875 if __nvmlDeviceSetNvlinkBwMode == NULL: 

1876 if handle == NULL: 

1877 handle = load_library() 

1878 __nvmlDeviceSetNvlinkBwMode = dlsym(handle, 'nvmlDeviceSetNvlinkBwMode') 

1879  

1880 global __nvmlEventSetCreate 

1881 __nvmlEventSetCreate = dlsym(RTLD_DEFAULT, 'nvmlEventSetCreate') 

1882 if __nvmlEventSetCreate == NULL: 

1883 if handle == NULL: 

1884 handle = load_library() 

1885 __nvmlEventSetCreate = dlsym(handle, 'nvmlEventSetCreate') 

1886  

1887 global __nvmlDeviceRegisterEvents 

1888 __nvmlDeviceRegisterEvents = dlsym(RTLD_DEFAULT, 'nvmlDeviceRegisterEvents') 

1889 if __nvmlDeviceRegisterEvents == NULL: 

1890 if handle == NULL: 

1891 handle = load_library() 

1892 __nvmlDeviceRegisterEvents = dlsym(handle, 'nvmlDeviceRegisterEvents') 

1893  

1894 global __nvmlDeviceGetSupportedEventTypes 

1895 __nvmlDeviceGetSupportedEventTypes = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedEventTypes') 

1896 if __nvmlDeviceGetSupportedEventTypes == NULL: 

1897 if handle == NULL: 

1898 handle = load_library() 

1899 __nvmlDeviceGetSupportedEventTypes = dlsym(handle, 'nvmlDeviceGetSupportedEventTypes') 

1900  

1901 global __nvmlEventSetWait_v2 

1902 __nvmlEventSetWait_v2 = dlsym(RTLD_DEFAULT, 'nvmlEventSetWait_v2') 

1903 if __nvmlEventSetWait_v2 == NULL: 

1904 if handle == NULL: 

1905 handle = load_library() 

1906 __nvmlEventSetWait_v2 = dlsym(handle, 'nvmlEventSetWait_v2') 

1907  

1908 global __nvmlEventSetFree 

1909 __nvmlEventSetFree = dlsym(RTLD_DEFAULT, 'nvmlEventSetFree') 

1910 if __nvmlEventSetFree == NULL: 

1911 if handle == NULL: 

1912 handle = load_library() 

1913 __nvmlEventSetFree = dlsym(handle, 'nvmlEventSetFree') 

1914  

1915 global __nvmlSystemEventSetCreate 

1916 __nvmlSystemEventSetCreate = dlsym(RTLD_DEFAULT, 'nvmlSystemEventSetCreate') 

1917 if __nvmlSystemEventSetCreate == NULL: 

1918 if handle == NULL: 

1919 handle = load_library() 

1920 __nvmlSystemEventSetCreate = dlsym(handle, 'nvmlSystemEventSetCreate') 

1921  

1922 global __nvmlSystemEventSetFree 

1923 __nvmlSystemEventSetFree = dlsym(RTLD_DEFAULT, 'nvmlSystemEventSetFree') 

1924 if __nvmlSystemEventSetFree == NULL: 

1925 if handle == NULL: 

1926 handle = load_library() 

1927 __nvmlSystemEventSetFree = dlsym(handle, 'nvmlSystemEventSetFree') 

1928  

1929 global __nvmlSystemRegisterEvents 

1930 __nvmlSystemRegisterEvents = dlsym(RTLD_DEFAULT, 'nvmlSystemRegisterEvents') 

1931 if __nvmlSystemRegisterEvents == NULL: 

1932 if handle == NULL: 

1933 handle = load_library() 

1934 __nvmlSystemRegisterEvents = dlsym(handle, 'nvmlSystemRegisterEvents') 

1935  

1936 global __nvmlSystemEventSetWait 

1937 __nvmlSystemEventSetWait = dlsym(RTLD_DEFAULT, 'nvmlSystemEventSetWait') 

1938 if __nvmlSystemEventSetWait == NULL: 

1939 if handle == NULL: 

1940 handle = load_library() 

1941 __nvmlSystemEventSetWait = dlsym(handle, 'nvmlSystemEventSetWait') 

1942  

1943 global __nvmlDeviceModifyDrainState 

1944 __nvmlDeviceModifyDrainState = dlsym(RTLD_DEFAULT, 'nvmlDeviceModifyDrainState') 

1945 if __nvmlDeviceModifyDrainState == NULL: 

1946 if handle == NULL: 

1947 handle = load_library() 

1948 __nvmlDeviceModifyDrainState = dlsym(handle, 'nvmlDeviceModifyDrainState') 

1949  

1950 global __nvmlDeviceQueryDrainState 

1951 __nvmlDeviceQueryDrainState = dlsym(RTLD_DEFAULT, 'nvmlDeviceQueryDrainState') 

1952 if __nvmlDeviceQueryDrainState == NULL: 

1953 if handle == NULL: 

1954 handle = load_library() 

1955 __nvmlDeviceQueryDrainState = dlsym(handle, 'nvmlDeviceQueryDrainState') 

1956  

1957 global __nvmlDeviceRemoveGpu_v2 

1958 __nvmlDeviceRemoveGpu_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceRemoveGpu_v2') 

1959 if __nvmlDeviceRemoveGpu_v2 == NULL: 

1960 if handle == NULL: 

1961 handle = load_library() 

1962 __nvmlDeviceRemoveGpu_v2 = dlsym(handle, 'nvmlDeviceRemoveGpu_v2') 

1963  

1964 global __nvmlDeviceDiscoverGpus 

1965 __nvmlDeviceDiscoverGpus = dlsym(RTLD_DEFAULT, 'nvmlDeviceDiscoverGpus') 

1966 if __nvmlDeviceDiscoverGpus == NULL: 

1967 if handle == NULL: 

1968 handle = load_library() 

1969 __nvmlDeviceDiscoverGpus = dlsym(handle, 'nvmlDeviceDiscoverGpus') 

1970  

1971 global __nvmlDeviceGetFieldValues 

1972 __nvmlDeviceGetFieldValues = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFieldValues') 

1973 if __nvmlDeviceGetFieldValues == NULL: 

1974 if handle == NULL: 

1975 handle = load_library() 

1976 __nvmlDeviceGetFieldValues = dlsym(handle, 'nvmlDeviceGetFieldValues') 

1977  

1978 global __nvmlDeviceClearFieldValues 

1979 __nvmlDeviceClearFieldValues = dlsym(RTLD_DEFAULT, 'nvmlDeviceClearFieldValues') 

1980 if __nvmlDeviceClearFieldValues == NULL: 

1981 if handle == NULL: 

1982 handle = load_library() 

1983 __nvmlDeviceClearFieldValues = dlsym(handle, 'nvmlDeviceClearFieldValues') 

1984  

1985 global __nvmlDeviceGetVirtualizationMode 

1986 __nvmlDeviceGetVirtualizationMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVirtualizationMode') 

1987 if __nvmlDeviceGetVirtualizationMode == NULL: 

1988 if handle == NULL: 

1989 handle = load_library() 

1990 __nvmlDeviceGetVirtualizationMode = dlsym(handle, 'nvmlDeviceGetVirtualizationMode') 

1991  

1992 global __nvmlDeviceGetHostVgpuMode 

1993 __nvmlDeviceGetHostVgpuMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHostVgpuMode') 

1994 if __nvmlDeviceGetHostVgpuMode == NULL: 

1995 if handle == NULL: 

1996 handle = load_library() 

1997 __nvmlDeviceGetHostVgpuMode = dlsym(handle, 'nvmlDeviceGetHostVgpuMode') 

1998  

1999 global __nvmlDeviceSetVirtualizationMode 

2000 __nvmlDeviceSetVirtualizationMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetVirtualizationMode') 

2001 if __nvmlDeviceSetVirtualizationMode == NULL: 

2002 if handle == NULL: 

2003 handle = load_library() 

2004 __nvmlDeviceSetVirtualizationMode = dlsym(handle, 'nvmlDeviceSetVirtualizationMode') 

2005  

2006 global __nvmlDeviceGetVgpuHeterogeneousMode 

2007 __nvmlDeviceGetVgpuHeterogeneousMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuHeterogeneousMode') 

2008 if __nvmlDeviceGetVgpuHeterogeneousMode == NULL: 

2009 if handle == NULL: 

2010 handle = load_library() 

2011 __nvmlDeviceGetVgpuHeterogeneousMode = dlsym(handle, 'nvmlDeviceGetVgpuHeterogeneousMode') 

2012  

2013 global __nvmlDeviceSetVgpuHeterogeneousMode 

2014 __nvmlDeviceSetVgpuHeterogeneousMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetVgpuHeterogeneousMode') 

2015 if __nvmlDeviceSetVgpuHeterogeneousMode == NULL: 

2016 if handle == NULL: 

2017 handle = load_library() 

2018 __nvmlDeviceSetVgpuHeterogeneousMode = dlsym(handle, 'nvmlDeviceSetVgpuHeterogeneousMode') 

2019  

2020 global __nvmlVgpuInstanceGetPlacementId 

2021 __nvmlVgpuInstanceGetPlacementId = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetPlacementId') 

2022 if __nvmlVgpuInstanceGetPlacementId == NULL: 

2023 if handle == NULL: 

2024 handle = load_library() 

2025 __nvmlVgpuInstanceGetPlacementId = dlsym(handle, 'nvmlVgpuInstanceGetPlacementId') 

2026  

2027 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

2028 __nvmlDeviceGetVgpuTypeSupportedPlacements = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuTypeSupportedPlacements') 

2029 if __nvmlDeviceGetVgpuTypeSupportedPlacements == NULL: 

2030 if handle == NULL: 

2031 handle = load_library() 

2032 __nvmlDeviceGetVgpuTypeSupportedPlacements = dlsym(handle, 'nvmlDeviceGetVgpuTypeSupportedPlacements') 

2033  

2034 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

2035 __nvmlDeviceGetVgpuTypeCreatablePlacements = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuTypeCreatablePlacements') 

2036 if __nvmlDeviceGetVgpuTypeCreatablePlacements == NULL: 

2037 if handle == NULL: 

2038 handle = load_library() 

2039 __nvmlDeviceGetVgpuTypeCreatablePlacements = dlsym(handle, 'nvmlDeviceGetVgpuTypeCreatablePlacements') 

2040  

2041 global __nvmlVgpuTypeGetGspHeapSize 

2042 __nvmlVgpuTypeGetGspHeapSize = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetGspHeapSize') 

2043 if __nvmlVgpuTypeGetGspHeapSize == NULL: 

2044 if handle == NULL: 

2045 handle = load_library() 

2046 __nvmlVgpuTypeGetGspHeapSize = dlsym(handle, 'nvmlVgpuTypeGetGspHeapSize') 

2047  

2048 global __nvmlVgpuTypeGetFbReservation 

2049 __nvmlVgpuTypeGetFbReservation = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetFbReservation') 

2050 if __nvmlVgpuTypeGetFbReservation == NULL: 

2051 if handle == NULL: 

2052 handle = load_library() 

2053 __nvmlVgpuTypeGetFbReservation = dlsym(handle, 'nvmlVgpuTypeGetFbReservation') 

2054  

2055 global __nvmlVgpuInstanceGetRuntimeStateSize 

2056 __nvmlVgpuInstanceGetRuntimeStateSize = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetRuntimeStateSize') 

2057 if __nvmlVgpuInstanceGetRuntimeStateSize == NULL: 

2058 if handle == NULL: 

2059 handle = load_library() 

2060 __nvmlVgpuInstanceGetRuntimeStateSize = dlsym(handle, 'nvmlVgpuInstanceGetRuntimeStateSize') 

2061  

2062 global __nvmlDeviceSetVgpuCapabilities 

2063 __nvmlDeviceSetVgpuCapabilities = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetVgpuCapabilities') 

2064 if __nvmlDeviceSetVgpuCapabilities == NULL: 

2065 if handle == NULL: 

2066 handle = load_library() 

2067 __nvmlDeviceSetVgpuCapabilities = dlsym(handle, 'nvmlDeviceSetVgpuCapabilities') 

2068  

2069 global __nvmlDeviceGetGridLicensableFeatures_v4 

2070 __nvmlDeviceGetGridLicensableFeatures_v4 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGridLicensableFeatures_v4') 

2071 if __nvmlDeviceGetGridLicensableFeatures_v4 == NULL: 

2072 if handle == NULL: 

2073 handle = load_library() 

2074 __nvmlDeviceGetGridLicensableFeatures_v4 = dlsym(handle, 'nvmlDeviceGetGridLicensableFeatures_v4') 

2075  

2076 global __nvmlGetVgpuDriverCapabilities 

2077 __nvmlGetVgpuDriverCapabilities = dlsym(RTLD_DEFAULT, 'nvmlGetVgpuDriverCapabilities') 

2078 if __nvmlGetVgpuDriverCapabilities == NULL: 

2079 if handle == NULL: 

2080 handle = load_library() 

2081 __nvmlGetVgpuDriverCapabilities = dlsym(handle, 'nvmlGetVgpuDriverCapabilities') 

2082  

2083 global __nvmlDeviceGetVgpuCapabilities 

2084 __nvmlDeviceGetVgpuCapabilities = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuCapabilities') 

2085 if __nvmlDeviceGetVgpuCapabilities == NULL: 

2086 if handle == NULL: 

2087 handle = load_library() 

2088 __nvmlDeviceGetVgpuCapabilities = dlsym(handle, 'nvmlDeviceGetVgpuCapabilities') 

2089  

2090 global __nvmlDeviceGetSupportedVgpus 

2091 __nvmlDeviceGetSupportedVgpus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedVgpus') 

2092 if __nvmlDeviceGetSupportedVgpus == NULL: 

2093 if handle == NULL: 

2094 handle = load_library() 

2095 __nvmlDeviceGetSupportedVgpus = dlsym(handle, 'nvmlDeviceGetSupportedVgpus') 

2096  

2097 global __nvmlDeviceGetCreatableVgpus 

2098 __nvmlDeviceGetCreatableVgpus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCreatableVgpus') 

2099 if __nvmlDeviceGetCreatableVgpus == NULL: 

2100 if handle == NULL: 

2101 handle = load_library() 

2102 __nvmlDeviceGetCreatableVgpus = dlsym(handle, 'nvmlDeviceGetCreatableVgpus') 

2103  

2104 global __nvmlVgpuTypeGetClass 

2105 __nvmlVgpuTypeGetClass = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetClass') 

2106 if __nvmlVgpuTypeGetClass == NULL: 

2107 if handle == NULL: 

2108 handle = load_library() 

2109 __nvmlVgpuTypeGetClass = dlsym(handle, 'nvmlVgpuTypeGetClass') 

2110  

2111 global __nvmlVgpuTypeGetName 

2112 __nvmlVgpuTypeGetName = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetName') 

2113 if __nvmlVgpuTypeGetName == NULL: 

2114 if handle == NULL: 

2115 handle = load_library() 

2116 __nvmlVgpuTypeGetName = dlsym(handle, 'nvmlVgpuTypeGetName') 

2117  

2118 global __nvmlVgpuTypeGetGpuInstanceProfileId 

2119 __nvmlVgpuTypeGetGpuInstanceProfileId = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetGpuInstanceProfileId') 

2120 if __nvmlVgpuTypeGetGpuInstanceProfileId == NULL: 

2121 if handle == NULL: 

2122 handle = load_library() 

2123 __nvmlVgpuTypeGetGpuInstanceProfileId = dlsym(handle, 'nvmlVgpuTypeGetGpuInstanceProfileId') 

2124  

2125 global __nvmlVgpuTypeGetDeviceID 

2126 __nvmlVgpuTypeGetDeviceID = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetDeviceID') 

2127 if __nvmlVgpuTypeGetDeviceID == NULL: 

2128 if handle == NULL: 

2129 handle = load_library() 

2130 __nvmlVgpuTypeGetDeviceID = dlsym(handle, 'nvmlVgpuTypeGetDeviceID') 

2131  

2132 global __nvmlVgpuTypeGetFramebufferSize 

2133 __nvmlVgpuTypeGetFramebufferSize = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetFramebufferSize') 

2134 if __nvmlVgpuTypeGetFramebufferSize == NULL: 

2135 if handle == NULL: 

2136 handle = load_library() 

2137 __nvmlVgpuTypeGetFramebufferSize = dlsym(handle, 'nvmlVgpuTypeGetFramebufferSize') 

2138  

2139 global __nvmlVgpuTypeGetNumDisplayHeads 

2140 __nvmlVgpuTypeGetNumDisplayHeads = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetNumDisplayHeads') 

2141 if __nvmlVgpuTypeGetNumDisplayHeads == NULL: 

2142 if handle == NULL: 

2143 handle = load_library() 

2144 __nvmlVgpuTypeGetNumDisplayHeads = dlsym(handle, 'nvmlVgpuTypeGetNumDisplayHeads') 

2145  

2146 global __nvmlVgpuTypeGetResolution 

2147 __nvmlVgpuTypeGetResolution = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetResolution') 

2148 if __nvmlVgpuTypeGetResolution == NULL: 

2149 if handle == NULL: 

2150 handle = load_library() 

2151 __nvmlVgpuTypeGetResolution = dlsym(handle, 'nvmlVgpuTypeGetResolution') 

2152  

2153 global __nvmlVgpuTypeGetLicense 

2154 __nvmlVgpuTypeGetLicense = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetLicense') 

2155 if __nvmlVgpuTypeGetLicense == NULL: 

2156 if handle == NULL: 

2157 handle = load_library() 

2158 __nvmlVgpuTypeGetLicense = dlsym(handle, 'nvmlVgpuTypeGetLicense') 

2159  

2160 global __nvmlVgpuTypeGetFrameRateLimit 

2161 __nvmlVgpuTypeGetFrameRateLimit = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetFrameRateLimit') 

2162 if __nvmlVgpuTypeGetFrameRateLimit == NULL: 

2163 if handle == NULL: 

2164 handle = load_library() 

2165 __nvmlVgpuTypeGetFrameRateLimit = dlsym(handle, 'nvmlVgpuTypeGetFrameRateLimit') 

2166  

2167 global __nvmlVgpuTypeGetMaxInstances 

2168 __nvmlVgpuTypeGetMaxInstances = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstances') 

2169 if __nvmlVgpuTypeGetMaxInstances == NULL: 

2170 if handle == NULL: 

2171 handle = load_library() 

2172 __nvmlVgpuTypeGetMaxInstances = dlsym(handle, 'nvmlVgpuTypeGetMaxInstances') 

2173  

2174 global __nvmlVgpuTypeGetMaxInstancesPerVm 

2175 __nvmlVgpuTypeGetMaxInstancesPerVm = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstancesPerVm') 

2176 if __nvmlVgpuTypeGetMaxInstancesPerVm == NULL: 

2177 if handle == NULL: 

2178 handle = load_library() 

2179 __nvmlVgpuTypeGetMaxInstancesPerVm = dlsym(handle, 'nvmlVgpuTypeGetMaxInstancesPerVm') 

2180  

2181 global __nvmlVgpuTypeGetBAR1Info 

2182 __nvmlVgpuTypeGetBAR1Info = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetBAR1Info') 

2183 if __nvmlVgpuTypeGetBAR1Info == NULL: 

2184 if handle == NULL: 

2185 handle = load_library() 

2186 __nvmlVgpuTypeGetBAR1Info = dlsym(handle, 'nvmlVgpuTypeGetBAR1Info') 

2187  

2188 global __nvmlDeviceGetActiveVgpus 

2189 __nvmlDeviceGetActiveVgpus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetActiveVgpus') 

2190 if __nvmlDeviceGetActiveVgpus == NULL: 

2191 if handle == NULL: 

2192 handle = load_library() 

2193 __nvmlDeviceGetActiveVgpus = dlsym(handle, 'nvmlDeviceGetActiveVgpus') 

2194  

2195 global __nvmlVgpuInstanceGetVmID 

2196 __nvmlVgpuInstanceGetVmID = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetVmID') 

2197 if __nvmlVgpuInstanceGetVmID == NULL: 

2198 if handle == NULL: 

2199 handle = load_library() 

2200 __nvmlVgpuInstanceGetVmID = dlsym(handle, 'nvmlVgpuInstanceGetVmID') 

2201  

2202 global __nvmlVgpuInstanceGetUUID 

2203 __nvmlVgpuInstanceGetUUID = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetUUID') 

2204 if __nvmlVgpuInstanceGetUUID == NULL: 

2205 if handle == NULL: 

2206 handle = load_library() 

2207 __nvmlVgpuInstanceGetUUID = dlsym(handle, 'nvmlVgpuInstanceGetUUID') 

2208  

2209 global __nvmlVgpuInstanceGetVmDriverVersion 

2210 __nvmlVgpuInstanceGetVmDriverVersion = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetVmDriverVersion') 

2211 if __nvmlVgpuInstanceGetVmDriverVersion == NULL: 

2212 if handle == NULL: 

2213 handle = load_library() 

2214 __nvmlVgpuInstanceGetVmDriverVersion = dlsym(handle, 'nvmlVgpuInstanceGetVmDriverVersion') 

2215  

2216 global __nvmlVgpuInstanceGetFbUsage 

2217 __nvmlVgpuInstanceGetFbUsage = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetFbUsage') 

2218 if __nvmlVgpuInstanceGetFbUsage == NULL: 

2219 if handle == NULL: 

2220 handle = load_library() 

2221 __nvmlVgpuInstanceGetFbUsage = dlsym(handle, 'nvmlVgpuInstanceGetFbUsage') 

2222  

2223 global __nvmlVgpuInstanceGetLicenseStatus 

2224 __nvmlVgpuInstanceGetLicenseStatus = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetLicenseStatus') 

2225 if __nvmlVgpuInstanceGetLicenseStatus == NULL: 

2226 if handle == NULL: 

2227 handle = load_library() 

2228 __nvmlVgpuInstanceGetLicenseStatus = dlsym(handle, 'nvmlVgpuInstanceGetLicenseStatus') 

2229  

2230 global __nvmlVgpuInstanceGetType 

2231 __nvmlVgpuInstanceGetType = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetType') 

2232 if __nvmlVgpuInstanceGetType == NULL: 

2233 if handle == NULL: 

2234 handle = load_library() 

2235 __nvmlVgpuInstanceGetType = dlsym(handle, 'nvmlVgpuInstanceGetType') 

2236  

2237 global __nvmlVgpuInstanceGetFrameRateLimit 

2238 __nvmlVgpuInstanceGetFrameRateLimit = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetFrameRateLimit') 

2239 if __nvmlVgpuInstanceGetFrameRateLimit == NULL: 

2240 if handle == NULL: 

2241 handle = load_library() 

2242 __nvmlVgpuInstanceGetFrameRateLimit = dlsym(handle, 'nvmlVgpuInstanceGetFrameRateLimit') 

2243  

2244 global __nvmlVgpuInstanceGetEccMode 

2245 __nvmlVgpuInstanceGetEccMode = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetEccMode') 

2246 if __nvmlVgpuInstanceGetEccMode == NULL: 

2247 if handle == NULL: 

2248 handle = load_library() 

2249 __nvmlVgpuInstanceGetEccMode = dlsym(handle, 'nvmlVgpuInstanceGetEccMode') 

2250  

2251 global __nvmlVgpuInstanceGetEncoderCapacity 

2252 __nvmlVgpuInstanceGetEncoderCapacity = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderCapacity') 

2253 if __nvmlVgpuInstanceGetEncoderCapacity == NULL: 

2254 if handle == NULL: 

2255 handle = load_library() 

2256 __nvmlVgpuInstanceGetEncoderCapacity = dlsym(handle, 'nvmlVgpuInstanceGetEncoderCapacity') 

2257  

2258 global __nvmlVgpuInstanceSetEncoderCapacity 

2259 __nvmlVgpuInstanceSetEncoderCapacity = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceSetEncoderCapacity') 

2260 if __nvmlVgpuInstanceSetEncoderCapacity == NULL: 

2261 if handle == NULL: 

2262 handle = load_library() 

2263 __nvmlVgpuInstanceSetEncoderCapacity = dlsym(handle, 'nvmlVgpuInstanceSetEncoderCapacity') 

2264  

2265 global __nvmlVgpuInstanceGetEncoderStats 

2266 __nvmlVgpuInstanceGetEncoderStats = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderStats') 

2267 if __nvmlVgpuInstanceGetEncoderStats == NULL: 

2268 if handle == NULL: 

2269 handle = load_library() 

2270 __nvmlVgpuInstanceGetEncoderStats = dlsym(handle, 'nvmlVgpuInstanceGetEncoderStats') 

2271  

2272 global __nvmlVgpuInstanceGetEncoderSessions 

2273 __nvmlVgpuInstanceGetEncoderSessions = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderSessions') 

2274 if __nvmlVgpuInstanceGetEncoderSessions == NULL: 

2275 if handle == NULL: 

2276 handle = load_library() 

2277 __nvmlVgpuInstanceGetEncoderSessions = dlsym(handle, 'nvmlVgpuInstanceGetEncoderSessions') 

2278  

2279 global __nvmlVgpuInstanceGetFBCStats 

2280 __nvmlVgpuInstanceGetFBCStats = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetFBCStats') 

2281 if __nvmlVgpuInstanceGetFBCStats == NULL: 

2282 if handle == NULL: 

2283 handle = load_library() 

2284 __nvmlVgpuInstanceGetFBCStats = dlsym(handle, 'nvmlVgpuInstanceGetFBCStats') 

2285  

2286 global __nvmlVgpuInstanceGetFBCSessions 

2287 __nvmlVgpuInstanceGetFBCSessions = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetFBCSessions') 

2288 if __nvmlVgpuInstanceGetFBCSessions == NULL: 

2289 if handle == NULL: 

2290 handle = load_library() 

2291 __nvmlVgpuInstanceGetFBCSessions = dlsym(handle, 'nvmlVgpuInstanceGetFBCSessions') 

2292  

2293 global __nvmlVgpuInstanceGetGpuInstanceId 

2294 __nvmlVgpuInstanceGetGpuInstanceId = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetGpuInstanceId') 

2295 if __nvmlVgpuInstanceGetGpuInstanceId == NULL: 

2296 if handle == NULL: 

2297 handle = load_library() 

2298 __nvmlVgpuInstanceGetGpuInstanceId = dlsym(handle, 'nvmlVgpuInstanceGetGpuInstanceId') 

2299  

2300 global __nvmlVgpuInstanceGetGpuPciId 

2301 __nvmlVgpuInstanceGetGpuPciId = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetGpuPciId') 

2302 if __nvmlVgpuInstanceGetGpuPciId == NULL: 

2303 if handle == NULL: 

2304 handle = load_library() 

2305 __nvmlVgpuInstanceGetGpuPciId = dlsym(handle, 'nvmlVgpuInstanceGetGpuPciId') 

2306  

2307 global __nvmlVgpuTypeGetCapabilities 

2308 __nvmlVgpuTypeGetCapabilities = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetCapabilities') 

2309 if __nvmlVgpuTypeGetCapabilities == NULL: 

2310 if handle == NULL: 

2311 handle = load_library() 

2312 __nvmlVgpuTypeGetCapabilities = dlsym(handle, 'nvmlVgpuTypeGetCapabilities') 

2313  

2314 global __nvmlVgpuInstanceGetMdevUUID 

2315 __nvmlVgpuInstanceGetMdevUUID = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetMdevUUID') 

2316 if __nvmlVgpuInstanceGetMdevUUID == NULL: 

2317 if handle == NULL: 

2318 handle = load_library() 

2319 __nvmlVgpuInstanceGetMdevUUID = dlsym(handle, 'nvmlVgpuInstanceGetMdevUUID') 

2320  

2321 global __nvmlGpuInstanceGetCreatableVgpus 

2322 __nvmlGpuInstanceGetCreatableVgpus = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetCreatableVgpus') 

2323 if __nvmlGpuInstanceGetCreatableVgpus == NULL: 

2324 if handle == NULL: 

2325 handle = load_library() 

2326 __nvmlGpuInstanceGetCreatableVgpus = dlsym(handle, 'nvmlGpuInstanceGetCreatableVgpus') 

2327  

2328 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

2329 __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstancesPerGpuInstance') 

2330 if __nvmlVgpuTypeGetMaxInstancesPerGpuInstance == NULL: 

2331 if handle == NULL: 

2332 handle = load_library() 

2333 __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = dlsym(handle, 'nvmlVgpuTypeGetMaxInstancesPerGpuInstance') 

2334  

2335 global __nvmlGpuInstanceGetActiveVgpus 

2336 __nvmlGpuInstanceGetActiveVgpus = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetActiveVgpus') 

2337 if __nvmlGpuInstanceGetActiveVgpus == NULL: 

2338 if handle == NULL: 

2339 handle = load_library() 

2340 __nvmlGpuInstanceGetActiveVgpus = dlsym(handle, 'nvmlGpuInstanceGetActiveVgpus') 

2341  

2342 global __nvmlGpuInstanceSetVgpuSchedulerState 

2343 __nvmlGpuInstanceSetVgpuSchedulerState = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuSchedulerState') 

2344 if __nvmlGpuInstanceSetVgpuSchedulerState == NULL: 

2345 if handle == NULL: 

2346 handle = load_library() 

2347 __nvmlGpuInstanceSetVgpuSchedulerState = dlsym(handle, 'nvmlGpuInstanceSetVgpuSchedulerState') 

2348  

2349 global __nvmlGpuInstanceGetVgpuSchedulerState 

2350 __nvmlGpuInstanceGetVgpuSchedulerState = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerState') 

2351 if __nvmlGpuInstanceGetVgpuSchedulerState == NULL: 

2352 if handle == NULL: 

2353 handle = load_library() 

2354 __nvmlGpuInstanceGetVgpuSchedulerState = dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerState') 

2355  

2356 global __nvmlGpuInstanceGetVgpuSchedulerLog 

2357 __nvmlGpuInstanceGetVgpuSchedulerLog = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerLog') 

2358 if __nvmlGpuInstanceGetVgpuSchedulerLog == NULL: 

2359 if handle == NULL: 

2360 handle = load_library() 

2361 __nvmlGpuInstanceGetVgpuSchedulerLog = dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerLog') 

2362  

2363 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

2364 __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuTypeCreatablePlacements') 

2365 if __nvmlGpuInstanceGetVgpuTypeCreatablePlacements == NULL: 

2366 if handle == NULL: 

2367 handle = load_library() 

2368 __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = dlsym(handle, 'nvmlGpuInstanceGetVgpuTypeCreatablePlacements') 

2369  

2370 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

2371 __nvmlGpuInstanceGetVgpuHeterogeneousMode = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuHeterogeneousMode') 

2372 if __nvmlGpuInstanceGetVgpuHeterogeneousMode == NULL: 

2373 if handle == NULL: 

2374 handle = load_library() 

2375 __nvmlGpuInstanceGetVgpuHeterogeneousMode = dlsym(handle, 'nvmlGpuInstanceGetVgpuHeterogeneousMode') 

2376  

2377 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

2378 __nvmlGpuInstanceSetVgpuHeterogeneousMode = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuHeterogeneousMode') 

2379 if __nvmlGpuInstanceSetVgpuHeterogeneousMode == NULL: 

2380 if handle == NULL: 

2381 handle = load_library() 

2382 __nvmlGpuInstanceSetVgpuHeterogeneousMode = dlsym(handle, 'nvmlGpuInstanceSetVgpuHeterogeneousMode') 

2383  

2384 global __nvmlVgpuInstanceGetMetadata 

2385 __nvmlVgpuInstanceGetMetadata = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetMetadata') 

2386 if __nvmlVgpuInstanceGetMetadata == NULL: 

2387 if handle == NULL: 

2388 handle = load_library() 

2389 __nvmlVgpuInstanceGetMetadata = dlsym(handle, 'nvmlVgpuInstanceGetMetadata') 

2390  

2391 global __nvmlDeviceGetVgpuMetadata 

2392 __nvmlDeviceGetVgpuMetadata = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuMetadata') 

2393 if __nvmlDeviceGetVgpuMetadata == NULL: 

2394 if handle == NULL: 

2395 handle = load_library() 

2396 __nvmlDeviceGetVgpuMetadata = dlsym(handle, 'nvmlDeviceGetVgpuMetadata') 

2397  

2398 global __nvmlGetVgpuCompatibility 

2399 __nvmlGetVgpuCompatibility = dlsym(RTLD_DEFAULT, 'nvmlGetVgpuCompatibility') 

2400 if __nvmlGetVgpuCompatibility == NULL: 

2401 if handle == NULL: 

2402 handle = load_library() 

2403 __nvmlGetVgpuCompatibility = dlsym(handle, 'nvmlGetVgpuCompatibility') 

2404  

2405 global __nvmlDeviceGetPgpuMetadataString 

2406 __nvmlDeviceGetPgpuMetadataString = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPgpuMetadataString') 

2407 if __nvmlDeviceGetPgpuMetadataString == NULL: 

2408 if handle == NULL: 

2409 handle = load_library() 

2410 __nvmlDeviceGetPgpuMetadataString = dlsym(handle, 'nvmlDeviceGetPgpuMetadataString') 

2411  

2412 global __nvmlDeviceGetVgpuSchedulerLog 

2413 __nvmlDeviceGetVgpuSchedulerLog = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerLog') 

2414 if __nvmlDeviceGetVgpuSchedulerLog == NULL: 

2415 if handle == NULL: 

2416 handle = load_library() 

2417 __nvmlDeviceGetVgpuSchedulerLog = dlsym(handle, 'nvmlDeviceGetVgpuSchedulerLog') 

2418  

2419 global __nvmlDeviceGetVgpuSchedulerState 

2420 __nvmlDeviceGetVgpuSchedulerState = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerState') 

2421 if __nvmlDeviceGetVgpuSchedulerState == NULL: 

2422 if handle == NULL: 

2423 handle = load_library() 

2424 __nvmlDeviceGetVgpuSchedulerState = dlsym(handle, 'nvmlDeviceGetVgpuSchedulerState') 

2425  

2426 global __nvmlDeviceGetVgpuSchedulerCapabilities 

2427 __nvmlDeviceGetVgpuSchedulerCapabilities = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerCapabilities') 

2428 if __nvmlDeviceGetVgpuSchedulerCapabilities == NULL: 

2429 if handle == NULL: 

2430 handle = load_library() 

2431 __nvmlDeviceGetVgpuSchedulerCapabilities = dlsym(handle, 'nvmlDeviceGetVgpuSchedulerCapabilities') 

2432  

2433 global __nvmlDeviceSetVgpuSchedulerState 

2434 __nvmlDeviceSetVgpuSchedulerState = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetVgpuSchedulerState') 

2435 if __nvmlDeviceSetVgpuSchedulerState == NULL: 

2436 if handle == NULL: 

2437 handle = load_library() 

2438 __nvmlDeviceSetVgpuSchedulerState = dlsym(handle, 'nvmlDeviceSetVgpuSchedulerState') 

2439  

2440 global __nvmlGetVgpuVersion 

2441 __nvmlGetVgpuVersion = dlsym(RTLD_DEFAULT, 'nvmlGetVgpuVersion') 

2442 if __nvmlGetVgpuVersion == NULL: 

2443 if handle == NULL: 

2444 handle = load_library() 

2445 __nvmlGetVgpuVersion = dlsym(handle, 'nvmlGetVgpuVersion') 

2446  

2447 global __nvmlSetVgpuVersion 

2448 __nvmlSetVgpuVersion = dlsym(RTLD_DEFAULT, 'nvmlSetVgpuVersion') 

2449 if __nvmlSetVgpuVersion == NULL: 

2450 if handle == NULL: 

2451 handle = load_library() 

2452 __nvmlSetVgpuVersion = dlsym(handle, 'nvmlSetVgpuVersion') 

2453  

2454 global __nvmlDeviceGetVgpuUtilization 

2455 __nvmlDeviceGetVgpuUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuUtilization') 

2456 if __nvmlDeviceGetVgpuUtilization == NULL: 

2457 if handle == NULL: 

2458 handle = load_library() 

2459 __nvmlDeviceGetVgpuUtilization = dlsym(handle, 'nvmlDeviceGetVgpuUtilization') 

2460  

2461 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

2462 __nvmlDeviceGetVgpuInstancesUtilizationInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuInstancesUtilizationInfo') 

2463 if __nvmlDeviceGetVgpuInstancesUtilizationInfo == NULL: 

2464 if handle == NULL: 

2465 handle = load_library() 

2466 __nvmlDeviceGetVgpuInstancesUtilizationInfo = dlsym(handle, 'nvmlDeviceGetVgpuInstancesUtilizationInfo') 

2467  

2468 global __nvmlDeviceGetVgpuProcessUtilization 

2469 __nvmlDeviceGetVgpuProcessUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuProcessUtilization') 

2470 if __nvmlDeviceGetVgpuProcessUtilization == NULL: 

2471 if handle == NULL: 

2472 handle = load_library() 

2473 __nvmlDeviceGetVgpuProcessUtilization = dlsym(handle, 'nvmlDeviceGetVgpuProcessUtilization') 

2474  

2475 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

2476 __nvmlDeviceGetVgpuProcessesUtilizationInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuProcessesUtilizationInfo') 

2477 if __nvmlDeviceGetVgpuProcessesUtilizationInfo == NULL: 

2478 if handle == NULL: 

2479 handle = load_library() 

2480 __nvmlDeviceGetVgpuProcessesUtilizationInfo = dlsym(handle, 'nvmlDeviceGetVgpuProcessesUtilizationInfo') 

2481  

2482 global __nvmlVgpuInstanceGetAccountingMode 

2483 __nvmlVgpuInstanceGetAccountingMode = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingMode') 

2484 if __nvmlVgpuInstanceGetAccountingMode == NULL: 

2485 if handle == NULL: 

2486 handle = load_library() 

2487 __nvmlVgpuInstanceGetAccountingMode = dlsym(handle, 'nvmlVgpuInstanceGetAccountingMode') 

2488  

2489 global __nvmlVgpuInstanceGetAccountingPids 

2490 __nvmlVgpuInstanceGetAccountingPids = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingPids') 

2491 if __nvmlVgpuInstanceGetAccountingPids == NULL: 

2492 if handle == NULL: 

2493 handle = load_library() 

2494 __nvmlVgpuInstanceGetAccountingPids = dlsym(handle, 'nvmlVgpuInstanceGetAccountingPids') 

2495  

2496 global __nvmlVgpuInstanceGetAccountingStats 

2497 __nvmlVgpuInstanceGetAccountingStats = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingStats') 

2498 if __nvmlVgpuInstanceGetAccountingStats == NULL: 

2499 if handle == NULL: 

2500 handle = load_library() 

2501 __nvmlVgpuInstanceGetAccountingStats = dlsym(handle, 'nvmlVgpuInstanceGetAccountingStats') 

2502  

2503 global __nvmlVgpuInstanceClearAccountingPids 

2504 __nvmlVgpuInstanceClearAccountingPids = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceClearAccountingPids') 

2505 if __nvmlVgpuInstanceClearAccountingPids == NULL: 

2506 if handle == NULL: 

2507 handle = load_library() 

2508 __nvmlVgpuInstanceClearAccountingPids = dlsym(handle, 'nvmlVgpuInstanceClearAccountingPids') 

2509  

2510 global __nvmlVgpuInstanceGetLicenseInfo_v2 

2511 __nvmlVgpuInstanceGetLicenseInfo_v2 = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetLicenseInfo_v2') 

2512 if __nvmlVgpuInstanceGetLicenseInfo_v2 == NULL: 

2513 if handle == NULL: 

2514 handle = load_library() 

2515 __nvmlVgpuInstanceGetLicenseInfo_v2 = dlsym(handle, 'nvmlVgpuInstanceGetLicenseInfo_v2') 

2516  

2517 global __nvmlGetExcludedDeviceCount 

2518 __nvmlGetExcludedDeviceCount = dlsym(RTLD_DEFAULT, 'nvmlGetExcludedDeviceCount') 

2519 if __nvmlGetExcludedDeviceCount == NULL: 

2520 if handle == NULL: 

2521 handle = load_library() 

2522 __nvmlGetExcludedDeviceCount = dlsym(handle, 'nvmlGetExcludedDeviceCount') 

2523  

2524 global __nvmlGetExcludedDeviceInfoByIndex 

2525 __nvmlGetExcludedDeviceInfoByIndex = dlsym(RTLD_DEFAULT, 'nvmlGetExcludedDeviceInfoByIndex') 

2526 if __nvmlGetExcludedDeviceInfoByIndex == NULL: 

2527 if handle == NULL: 

2528 handle = load_library() 

2529 __nvmlGetExcludedDeviceInfoByIndex = dlsym(handle, 'nvmlGetExcludedDeviceInfoByIndex') 

2530  

2531 global __nvmlDeviceSetMigMode 

2532 __nvmlDeviceSetMigMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetMigMode') 

2533 if __nvmlDeviceSetMigMode == NULL: 

2534 if handle == NULL: 

2535 handle = load_library() 

2536 __nvmlDeviceSetMigMode = dlsym(handle, 'nvmlDeviceSetMigMode') 

2537  

2538 global __nvmlDeviceGetMigMode 

2539 __nvmlDeviceGetMigMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMigMode') 

2540 if __nvmlDeviceGetMigMode == NULL: 

2541 if handle == NULL: 

2542 handle = load_library() 

2543 __nvmlDeviceGetMigMode = dlsym(handle, 'nvmlDeviceGetMigMode') 

2544  

2545 global __nvmlDeviceGetGpuInstanceProfileInfoV 

2546 __nvmlDeviceGetGpuInstanceProfileInfoV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceProfileInfoV') 

2547 if __nvmlDeviceGetGpuInstanceProfileInfoV == NULL: 

2548 if handle == NULL: 

2549 handle = load_library() 

2550 __nvmlDeviceGetGpuInstanceProfileInfoV = dlsym(handle, 'nvmlDeviceGetGpuInstanceProfileInfoV') 

2551  

2552 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

2553 __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstancePossiblePlacements_v2') 

2554 if __nvmlDeviceGetGpuInstancePossiblePlacements_v2 == NULL: 

2555 if handle == NULL: 

2556 handle = load_library() 

2557 __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = dlsym(handle, 'nvmlDeviceGetGpuInstancePossiblePlacements_v2') 

2558  

2559 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

2560 __nvmlDeviceGetGpuInstanceRemainingCapacity = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceRemainingCapacity') 

2561 if __nvmlDeviceGetGpuInstanceRemainingCapacity == NULL: 

2562 if handle == NULL: 

2563 handle = load_library() 

2564 __nvmlDeviceGetGpuInstanceRemainingCapacity = dlsym(handle, 'nvmlDeviceGetGpuInstanceRemainingCapacity') 

2565  

2566 global __nvmlDeviceCreateGpuInstance 

2567 __nvmlDeviceCreateGpuInstance = dlsym(RTLD_DEFAULT, 'nvmlDeviceCreateGpuInstance') 

2568 if __nvmlDeviceCreateGpuInstance == NULL: 

2569 if handle == NULL: 

2570 handle = load_library() 

2571 __nvmlDeviceCreateGpuInstance = dlsym(handle, 'nvmlDeviceCreateGpuInstance') 

2572  

2573 global __nvmlDeviceCreateGpuInstanceWithPlacement 

2574 __nvmlDeviceCreateGpuInstanceWithPlacement = dlsym(RTLD_DEFAULT, 'nvmlDeviceCreateGpuInstanceWithPlacement') 

2575 if __nvmlDeviceCreateGpuInstanceWithPlacement == NULL: 

2576 if handle == NULL: 

2577 handle = load_library() 

2578 __nvmlDeviceCreateGpuInstanceWithPlacement = dlsym(handle, 'nvmlDeviceCreateGpuInstanceWithPlacement') 

2579  

2580 global __nvmlGpuInstanceDestroy 

2581 __nvmlGpuInstanceDestroy = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceDestroy') 

2582 if __nvmlGpuInstanceDestroy == NULL: 

2583 if handle == NULL: 

2584 handle = load_library() 

2585 __nvmlGpuInstanceDestroy = dlsym(handle, 'nvmlGpuInstanceDestroy') 

2586  

2587 global __nvmlDeviceGetGpuInstances 

2588 __nvmlDeviceGetGpuInstances = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstances') 

2589 if __nvmlDeviceGetGpuInstances == NULL: 

2590 if handle == NULL: 

2591 handle = load_library() 

2592 __nvmlDeviceGetGpuInstances = dlsym(handle, 'nvmlDeviceGetGpuInstances') 

2593  

2594 global __nvmlDeviceGetGpuInstanceById 

2595 __nvmlDeviceGetGpuInstanceById = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceById') 2a e : ; = @ [ ] ^ _ ` { | } ~ abbbQbcbdbf ebfbhb9 ibjbm p q E G I K M O Q R S T U V W X Y Z 0 1 VbWbYbZb

2596 if __nvmlDeviceGetGpuInstanceById == NULL: 

2597 if handle == NULL: 

2598 handle = load_library() 2a e : ; = @ [ ] ^ _ ` { | } ~ abbbQbcbdbf ebfbhb9 ibjbm p q E G I K M O Q R S T U V W X Y Z 0 1 VbWbYbZb

2599 __nvmlDeviceGetGpuInstanceById = dlsym(handle, 'nvmlDeviceGetGpuInstanceById') 

2600  

2601 global __nvmlGpuInstanceGetInfo 

2602 __nvmlGpuInstanceGetInfo = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetInfo') 

2603 if __nvmlGpuInstanceGetInfo == NULL: 

2604 if handle == NULL: 

2605 handle = load_library() 

2606 __nvmlGpuInstanceGetInfo = dlsym(handle, 'nvmlGpuInstanceGetInfo') 

2607  

2608 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

2609 __nvmlGpuInstanceGetComputeInstanceProfileInfoV = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceProfileInfoV') 

2610 if __nvmlGpuInstanceGetComputeInstanceProfileInfoV == NULL: 

2611 if handle == NULL: 

2612 handle = load_library() 

2613 __nvmlGpuInstanceGetComputeInstanceProfileInfoV = dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceProfileInfoV') 

2614  

2615 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

2616 __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceRemainingCapacity') 

2617 if __nvmlGpuInstanceGetComputeInstanceRemainingCapacity == NULL: 

2618 if handle == NULL: 2a e 6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b?b@b9 [b]b^b_b`b{b|b}b~bacbcccdcecfcgchcicjckclcmcncocpcqcrc

2619 handle = load_library() 

2620 __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceRemainingCapacity') 

2621  

2622 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

2623 __nvmlGpuInstanceGetComputeInstancePossiblePlacements = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstancePossiblePlacements') 

2624 if __nvmlGpuInstanceGetComputeInstancePossiblePlacements == NULL: 2a i j r 2 k s t u gbo l

2625 if handle == NULL: 2i j r 2 k s t u gbo l

2626 handle = load_library() 

2627 __nvmlGpuInstanceGetComputeInstancePossiblePlacements = dlsym(handle, 'nvmlGpuInstanceGetComputeInstancePossiblePlacements') 

2628  

2629 global __nvmlGpuInstanceCreateComputeInstance 

2630 __nvmlGpuInstanceCreateComputeInstance = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceCreateComputeInstance') 

2631 if __nvmlGpuInstanceCreateComputeInstance == NULL: 

2632 if handle == NULL: 

2633 handle = load_library() 

2634 __nvmlGpuInstanceCreateComputeInstance = dlsym(handle, 'nvmlGpuInstanceCreateComputeInstance') 2Xb

2635  

2636 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

2637 __nvmlGpuInstanceCreateComputeInstanceWithPlacement = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceCreateComputeInstanceWithPlacement') 

2638 if __nvmlGpuInstanceCreateComputeInstanceWithPlacement == NULL: 2a Xb

2639 if handle == NULL: 

2640 handle = load_library() 

2641 __nvmlGpuInstanceCreateComputeInstanceWithPlacement = dlsym(handle, 'nvmlGpuInstanceCreateComputeInstanceWithPlacement') 

2642  

2643 global __nvmlComputeInstanceDestroy 

2644 __nvmlComputeInstanceDestroy = dlsym(RTLD_DEFAULT, 'nvmlComputeInstanceDestroy') 2a Mb

2645 if __nvmlComputeInstanceDestroy == NULL: 2a Mb

2646 if handle == NULL: 

2647 handle = load_library() 

2648 __nvmlComputeInstanceDestroy = dlsym(handle, 'nvmlComputeInstanceDestroy') 2Mb

2649  

2650 global __nvmlGpuInstanceGetComputeInstances 

2651 __nvmlGpuInstanceGetComputeInstances = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstances') 

2652 if __nvmlGpuInstanceGetComputeInstances == NULL: 

2653 if handle == NULL: 

2654 handle = load_library() 2a Lb

2655 __nvmlGpuInstanceGetComputeInstances = dlsym(handle, 'nvmlGpuInstanceGetComputeInstances') 2a Lb

2656  

2657 global __nvmlGpuInstanceGetComputeInstanceById 

2658 __nvmlGpuInstanceGetComputeInstanceById = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceById') 2a Lb

2659 if __nvmlGpuInstanceGetComputeInstanceById == NULL: 

2660 if handle == NULL: 

2661 handle = load_library() 

2662 __nvmlGpuInstanceGetComputeInstanceById = dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceById') 

2663  

2664 global __nvmlComputeInstanceGetInfo_v2 

2665 __nvmlComputeInstanceGetInfo_v2 = dlsym(RTLD_DEFAULT, 'nvmlComputeInstanceGetInfo_v2') 

2666 if __nvmlComputeInstanceGetInfo_v2 == NULL: 

2667 if handle == NULL: 

2668 handle = load_library() 

2669 __nvmlComputeInstanceGetInfo_v2 = dlsym(handle, 'nvmlComputeInstanceGetInfo_v2') 

2670  

2671 global __nvmlDeviceIsMigDeviceHandle 

2672 __nvmlDeviceIsMigDeviceHandle = dlsym(RTLD_DEFAULT, 'nvmlDeviceIsMigDeviceHandle') 

2673 if __nvmlDeviceIsMigDeviceHandle == NULL: 

2674 if handle == NULL: 2Ub

2675 handle = load_library() 2Ub

2676 __nvmlDeviceIsMigDeviceHandle = dlsym(handle, 'nvmlDeviceIsMigDeviceHandle') 

2677  

2678 global __nvmlDeviceGetGpuInstanceId 

2679 __nvmlDeviceGetGpuInstanceId = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceId') 

2680 if __nvmlDeviceGetGpuInstanceId == NULL: 

2681 if handle == NULL: 

2682 handle = load_library() 

2683 __nvmlDeviceGetGpuInstanceId = dlsym(handle, 'nvmlDeviceGetGpuInstanceId') 

2684  

2685 global __nvmlDeviceGetComputeInstanceId 

2686 __nvmlDeviceGetComputeInstanceId = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetComputeInstanceId') 

2687 if __nvmlDeviceGetComputeInstanceId == NULL: 

2688 if handle == NULL: 

2689 handle = load_library() 

2690 __nvmlDeviceGetComputeInstanceId = dlsym(handle, 'nvmlDeviceGetComputeInstanceId') 

2691  

2692 global __nvmlDeviceGetMaxMigDeviceCount 

2693 __nvmlDeviceGetMaxMigDeviceCount = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMaxMigDeviceCount') 

2694 if __nvmlDeviceGetMaxMigDeviceCount == NULL: 

2695 if handle == NULL: 

2696 handle = load_library() 

2697 __nvmlDeviceGetMaxMigDeviceCount = dlsym(handle, 'nvmlDeviceGetMaxMigDeviceCount') 

2698  

2699 global __nvmlDeviceGetMigDeviceHandleByIndex 

2700 __nvmlDeviceGetMigDeviceHandleByIndex = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMigDeviceHandleByIndex') 

2701 if __nvmlDeviceGetMigDeviceHandleByIndex == NULL: 

2702 if handle == NULL: 

2703 handle = load_library() 

2704 __nvmlDeviceGetMigDeviceHandleByIndex = dlsym(handle, 'nvmlDeviceGetMigDeviceHandleByIndex') 

2705  

2706 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

2707 __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDeviceHandleFromMigDeviceHandle') 

2708 if __nvmlDeviceGetDeviceHandleFromMigDeviceHandle == NULL: 

2709 if handle == NULL: 

2710 handle = load_library() 

2711 __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = dlsym(handle, 'nvmlDeviceGetDeviceHandleFromMigDeviceHandle') 

2712  

2713 global __nvmlDeviceGetCapabilities 

2714 __nvmlDeviceGetCapabilities = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCapabilities') 

2715 if __nvmlDeviceGetCapabilities == NULL: 

2716 if handle == NULL: 

2717 handle = load_library() 

2718 __nvmlDeviceGetCapabilities = dlsym(handle, 'nvmlDeviceGetCapabilities') 

2719  

2720 global __nvmlDevicePowerSmoothingActivatePresetProfile 

2721 __nvmlDevicePowerSmoothingActivatePresetProfile = dlsym(RTLD_DEFAULT, 'nvmlDevicePowerSmoothingActivatePresetProfile') 

2722 if __nvmlDevicePowerSmoothingActivatePresetProfile == NULL: 

2723 if handle == NULL: 

2724 handle = load_library() 

2725 __nvmlDevicePowerSmoothingActivatePresetProfile = dlsym(handle, 'nvmlDevicePowerSmoothingActivatePresetProfile') 

2726  

2727 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

2728 __nvmlDevicePowerSmoothingUpdatePresetProfileParam = dlsym(RTLD_DEFAULT, 'nvmlDevicePowerSmoothingUpdatePresetProfileParam') 

2729 if __nvmlDevicePowerSmoothingUpdatePresetProfileParam == NULL: 

2730 if handle == NULL: 

2731 handle = load_library() 

2732 __nvmlDevicePowerSmoothingUpdatePresetProfileParam = dlsym(handle, 'nvmlDevicePowerSmoothingUpdatePresetProfileParam') 

2733  

2734 global __nvmlDevicePowerSmoothingSetState 

2735 __nvmlDevicePowerSmoothingSetState = dlsym(RTLD_DEFAULT, 'nvmlDevicePowerSmoothingSetState') 

2736 if __nvmlDevicePowerSmoothingSetState == NULL: 

2737 if handle == NULL: 

2738 handle = load_library() 

2739 __nvmlDevicePowerSmoothingSetState = dlsym(handle, 'nvmlDevicePowerSmoothingSetState') 

2740  

2741 global __nvmlDeviceGetAddressingMode 

2742 __nvmlDeviceGetAddressingMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAddressingMode') 

2743 if __nvmlDeviceGetAddressingMode == NULL: 

2744 if handle == NULL: 

2745 handle = load_library() 

2746 __nvmlDeviceGetAddressingMode = dlsym(handle, 'nvmlDeviceGetAddressingMode') 

2747  

2748 global __nvmlDeviceGetRepairStatus 

2749 __nvmlDeviceGetRepairStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRepairStatus') 

2750 if __nvmlDeviceGetRepairStatus == NULL: 

2751 if handle == NULL: 

2752 handle = load_library() 

2753 __nvmlDeviceGetRepairStatus = dlsym(handle, 'nvmlDeviceGetRepairStatus') 

2754  

2755 global __nvmlDeviceGetPowerMizerMode_v1 

2756 __nvmlDeviceGetPowerMizerMode_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerMizerMode_v1') 

2757 if __nvmlDeviceGetPowerMizerMode_v1 == NULL: 

2758 if handle == NULL: 

2759 handle = load_library() 

2760 __nvmlDeviceGetPowerMizerMode_v1 = dlsym(handle, 'nvmlDeviceGetPowerMizerMode_v1') 

2761  

2762 global __nvmlDeviceSetPowerMizerMode_v1 

2763 __nvmlDeviceSetPowerMizerMode_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetPowerMizerMode_v1') 

2764 if __nvmlDeviceSetPowerMizerMode_v1 == NULL: 

2765 if handle == NULL: 

2766 handle = load_library() 

2767 __nvmlDeviceSetPowerMizerMode_v1 = dlsym(handle, 'nvmlDeviceSetPowerMizerMode_v1') 

2768  

2769 global __nvmlDeviceGetPdi 

2770 __nvmlDeviceGetPdi = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPdi') 

2771 if __nvmlDeviceGetPdi == NULL: 

2772 if handle == NULL: 

2773 handle = load_library() 

2774 __nvmlDeviceGetPdi = dlsym(handle, 'nvmlDeviceGetPdi') 

2775  

2776 global __nvmlDeviceSetHostname_v1 

2777 __nvmlDeviceSetHostname_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetHostname_v1') 

2778 if __nvmlDeviceSetHostname_v1 == NULL: 

2779 if handle == NULL: 

2780 handle = load_library() 

2781 __nvmlDeviceSetHostname_v1 = dlsym(handle, 'nvmlDeviceSetHostname_v1') 

2782  

2783 global __nvmlDeviceGetHostname_v1 

2784 __nvmlDeviceGetHostname_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHostname_v1') 

2785 if __nvmlDeviceGetHostname_v1 == NULL: 

2786 if handle == NULL: 

2787 handle = load_library() 

2788 __nvmlDeviceGetHostname_v1 = dlsym(handle, 'nvmlDeviceGetHostname_v1') 

2789  

2790 global __nvmlDeviceGetNvLinkInfo 

2791 __nvmlDeviceGetNvLinkInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkInfo') 

2792 if __nvmlDeviceGetNvLinkInfo == NULL: 

2793 if handle == NULL: 

2794 handle = load_library() 1edv9mpqEGIKMOQRSTUVWXYZ01

2795 __nvmlDeviceGetNvLinkInfo = dlsym(handle, 'nvmlDeviceGetNvLinkInfo') 1edv9mpqEGIKMOQRSTUVWXYZ01

2796  

2797 global __nvmlDeviceReadWritePRM_v1 

2798 __nvmlDeviceReadWritePRM_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceReadWritePRM_v1') 1aedv9mpqEGIKMOQRSTUVWXYZ01

2799 if __nvmlDeviceReadWritePRM_v1 == NULL: 

2800 if handle == NULL: 

2801 handle = load_library() 

2802 __nvmlDeviceReadWritePRM_v1 = dlsym(handle, 'nvmlDeviceReadWritePRM_v1') 

2803  

2804 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

2805 __nvmlDeviceGetGpuInstanceProfileInfoByIdV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceProfileInfoByIdV') 

2806 if __nvmlDeviceGetGpuInstanceProfileInfoByIdV == NULL: 

2807 if handle == NULL: 

2808 handle = load_library() 

2809 __nvmlDeviceGetGpuInstanceProfileInfoByIdV = dlsym(handle, 'nvmlDeviceGetGpuInstanceProfileInfoByIdV') 

2810  

2811 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

2812 __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts') 

2813 if __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts == NULL: 

2814 if handle == NULL: 1edv9mpqEGIKMOQRSTUVWXYZ01

2815 handle = load_library() 1edv9mpqEGIKMOQRSTUVWXYZ01

2816 __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = dlsym(handle, 'nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts') 

2817  

2818 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

2819 __nvmlDeviceGetUnrepairableMemoryFlag_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetUnrepairableMemoryFlag_v1') 

2820 if __nvmlDeviceGetUnrepairableMemoryFlag_v1 == NULL: 

2821 if handle == NULL: 

2822 handle = load_library() 

2823 __nvmlDeviceGetUnrepairableMemoryFlag_v1 = dlsym(handle, 'nvmlDeviceGetUnrepairableMemoryFlag_v1') 

2824  

2825 global __nvmlDeviceReadPRMCounters_v1 

2826 __nvmlDeviceReadPRMCounters_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceReadPRMCounters_v1') 

2827 if __nvmlDeviceReadPRMCounters_v1 == NULL: 

2828 if handle == NULL: 

2829 handle = load_library() 

2830 __nvmlDeviceReadPRMCounters_v1 = dlsym(handle, 'nvmlDeviceReadPRMCounters_v1') 

2831  

2832 global __nvmlDeviceSetRusdSettings_v1 

2833 __nvmlDeviceSetRusdSettings_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetRusdSettings_v1') 

2834 if __nvmlDeviceSetRusdSettings_v1 == NULL: 2a : ; = @ [ ] ^ _ ` { | } ~ abbbcbdbebfbhbibjbTb

2835 if handle == NULL: 2a : ; = @ [ ] ^ _ ` { | } ~ abbbcbdbebfbhbibjbTb

2836 handle = load_library() 

2837 __nvmlDeviceSetRusdSettings_v1 = dlsym(handle, 'nvmlDeviceSetRusdSettings_v1') 

2838  

2839 global __nvmlDeviceVgpuForceGspUnload 

2840 __nvmlDeviceVgpuForceGspUnload = dlsym(RTLD_DEFAULT, 'nvmlDeviceVgpuForceGspUnload') 

2841 if __nvmlDeviceVgpuForceGspUnload == NULL: 

2842 if handle == NULL: 

2843 handle = load_library() 

2844 __nvmlDeviceVgpuForceGspUnload = dlsym(handle, 'nvmlDeviceVgpuForceGspUnload') 2a nb

2845  

2846 global __nvmlDeviceGetVgpuSchedulerState_v2 

2847 __nvmlDeviceGetVgpuSchedulerState_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerState_v2') 

2848 if __nvmlDeviceGetVgpuSchedulerState_v2 == NULL: 2a nb

2849 if handle == NULL: 

2850 handle = load_library() 

2851 __nvmlDeviceGetVgpuSchedulerState_v2 = dlsym(handle, 'nvmlDeviceGetVgpuSchedulerState_v2') 

2852  

2853 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 

2854 __nvmlGpuInstanceGetVgpuSchedulerState_v2 = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerState_v2') 2a Kb

2855 if __nvmlGpuInstanceGetVgpuSchedulerState_v2 == NULL: 2a Kb

2856 if handle == NULL: 

2857 handle = load_library() 

2858 __nvmlGpuInstanceGetVgpuSchedulerState_v2 = dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerState_v2') 2a Kb

2859  

2860 global __nvmlDeviceGetVgpuSchedulerLog_v2 

2861 __nvmlDeviceGetVgpuSchedulerLog_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerLog_v2') 

2862 if __nvmlDeviceGetVgpuSchedulerLog_v2 == NULL: 

2863 if handle == NULL: 

2864 handle = load_library() 1eijrkst9ol

2865 __nvmlDeviceGetVgpuSchedulerLog_v2 = dlsym(handle, 'nvmlDeviceGetVgpuSchedulerLog_v2') 1aeijrkst9ol

2866  

2867 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 

2868 __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerLog_v2') 1aeijrkst9ol

2869 if __nvmlGpuInstanceGetVgpuSchedulerLog_v2 == NULL: 

2870 if handle == NULL: 

2871 handle = load_library() 

2872 __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerLog_v2') 

2873  

2874 global __nvmlDeviceSetVgpuSchedulerState_v2 

2875 __nvmlDeviceSetVgpuSchedulerState_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetVgpuSchedulerState_v2') 

2876 if __nvmlDeviceSetVgpuSchedulerState_v2 == NULL: 

2877 if handle == NULL: 

2878 handle = load_library() 

2879 __nvmlDeviceSetVgpuSchedulerState_v2 = dlsym(handle, 'nvmlDeviceSetVgpuSchedulerState_v2') 

2880  

2881 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 

2882 __nvmlGpuInstanceSetVgpuSchedulerState_v2 = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuSchedulerState_v2') 

2883 if __nvmlGpuInstanceSetVgpuSchedulerState_v2 == NULL: 

2884 if handle == NULL: 1av

2885 handle = load_library() 1v

2886 __nvmlGpuInstanceSetVgpuSchedulerState_v2 = dlsym(handle, 'nvmlGpuInstanceSetVgpuSchedulerState_v2') 

2887  

2888 __py_nvml_init = True 1av

2889 return 0 

2890  

2891  

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

2893 if __py_nvml_init: 2a sctcucvc! 0bwce mb: 6bNb; 7bOb= 8b? @ 9bi [ !bnb] #bj ^ $bob_ %bPb` 'br { (b2 | )bk } *b~ +bs ab,bt bb-bd Qb.b3 cb/bRbdb:bv f ;b# Sbeb=bu fb?bgbhb@bo ib[bl jb]bm ^b1bsbxc2btbycKbp _bTbq `b3bubzc4bvbAckbE {bF G |bH I }bJ K ~bL M acN O bcP Q ccR dcS ecT fcU gcV hcW icX jcpbY kcqbZ lclb0 mcrb1 ncUbVbocLbWbpcXbYbqcMbZbrc$ 4 w x 5 b y wbxbz % ybBc' zb( Ab6 c ) BbCb* Db7 Ebg FbGbCcDcHbA Ec+ B C , D h - n . / Ib8 FcGcHcIcJcKcLcMcNcOcJbPcQcRcScTcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c5b+c,c-c.c

2894 return 0 2a sctcucvc! 0bwce mb: 6bNb; 7bOb= 8b? @ 9bi [ !bnb] #bj ^ $bob_ %bPb` 'br { (b2 | )bk } *b~ +bs ab,bt bb-bd Qb.b3 cb/bRbdb:bv f ;b# Sbeb=bu fb?bgbhb@b9 o ib[bl jb]bm ^b1bsbxc2btbycKbp _bTbq `b3bubzc4bvbAckbE {bF G |bH I }bJ K ~bL M acN O bcP Q ccR dcS ecT fcU gcV hcW icX jcpbY kcqbZ lclb0 mcrb1 ncUbVbocLbWbpcXbYbqcMbZbrc$ 4 w x 5 b y wbxbz % ybBc' zb( Ab6 c ) BbCb* Db7 Ebg FbGbCcDcHbA Ec+ B C , D h - n . / Ib8 FcGcHcIcJcKcLcMcNcOcJbPcQcRcScTcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c5b+c,c-c.c

2895  

2896 return _init_nvml() 

2897  

2898  

2899cdef dict func_ptrs = None 

2900  

2901  

2902cpdef dict _inspect_function_pointers(): 

2903 global func_ptrs 

2904 if func_ptrs is not None: 1d

2905 return func_ptrs 1d

2906  

2907 _check_or_init_nvml() 

2908 cdef dict data = {} 1d

2909  

2910 global __nvmlInit_v2 

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

2912  

2913 global __nvmlInitWithFlags 

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

2915  

2916 global __nvmlShutdown 

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

2918  

2919 global __nvmlErrorString 

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

2921  

2922 global __nvmlSystemGetDriverVersion 

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

2924  

2925 global __nvmlSystemGetNVMLVersion 

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

2927  

2928 global __nvmlSystemGetCudaDriverVersion 

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

2930  

2931 global __nvmlSystemGetCudaDriverVersion_v2 

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

2933  

2934 global __nvmlSystemGetProcessName 

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

2936  

2937 global __nvmlSystemGetHicVersion 

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

2939  

2940 global __nvmlSystemGetTopologyGpuSet 

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

2942  

2943 global __nvmlSystemGetDriverBranch 

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

2945  

2946 global __nvmlUnitGetCount 

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

2948  

2949 global __nvmlUnitGetHandleByIndex 

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

2951  

2952 global __nvmlUnitGetUnitInfo 

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

2954  

2955 global __nvmlUnitGetLedState 

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

2957  

2958 global __nvmlUnitGetPsuInfo 

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

2960  

2961 global __nvmlUnitGetTemperature 

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

2963  

2964 global __nvmlUnitGetFanSpeedInfo 

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

2966  

2967 global __nvmlUnitGetDevices 

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

2969  

2970 global __nvmlDeviceGetCount_v2 

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

2972  

2973 global __nvmlDeviceGetAttributes_v2 

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

2975  

2976 global __nvmlDeviceGetHandleByIndex_v2 

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

2978  

2979 global __nvmlDeviceGetHandleBySerial 

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

2981  

2982 global __nvmlDeviceGetHandleByUUID 

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

2984  

2985 global __nvmlDeviceGetHandleByUUIDV 

2986 data["__nvmlDeviceGetHandleByUUIDV"] = <intptr_t>__nvmlDeviceGetHandleByUUIDV 

2987  

2988 global __nvmlDeviceGetHandleByPciBusId_v2 

2989 data["__nvmlDeviceGetHandleByPciBusId_v2"] = <intptr_t>__nvmlDeviceGetHandleByPciBusId_v2 

2990  

2991 global __nvmlDeviceGetName 

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

2993  

2994 global __nvmlDeviceGetBrand 

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

2996  

2997 global __nvmlDeviceGetIndex 

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

2999  

3000 global __nvmlDeviceGetSerial 

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

3002  

3003 global __nvmlDeviceGetModuleId 

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

3005  

3006 global __nvmlDeviceGetC2cModeInfoV 

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

3008  

3009 global __nvmlDeviceGetMemoryAffinity 

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

3011  

3012 global __nvmlDeviceGetCpuAffinityWithinScope 

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

3014  

3015 global __nvmlDeviceGetCpuAffinity 

3016 data["__nvmlDeviceGetCpuAffinity"] = <intptr_t>__nvmlDeviceGetCpuAffinity 

3017  

3018 global __nvmlDeviceSetCpuAffinity 

3019 data["__nvmlDeviceSetCpuAffinity"] = <intptr_t>__nvmlDeviceSetCpuAffinity 

3020  

3021 global __nvmlDeviceClearCpuAffinity 

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

3023  

3024 global __nvmlDeviceGetNumaNodeId 

3025 data["__nvmlDeviceGetNumaNodeId"] = <intptr_t>__nvmlDeviceGetNumaNodeId 

3026  

3027 global __nvmlDeviceGetTopologyCommonAncestor 

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

3029  

3030 global __nvmlDeviceGetTopologyNearestGpus 

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

3032  

3033 global __nvmlDeviceGetP2PStatus 

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

3035  

3036 global __nvmlDeviceGetUUID 

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

3038  

3039 global __nvmlDeviceGetMinorNumber 

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

3041  

3042 global __nvmlDeviceGetBoardPartNumber 

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

3044  

3045 global __nvmlDeviceGetInforomVersion 

3046 data["__nvmlDeviceGetInforomVersion"] = <intptr_t>__nvmlDeviceGetInforomVersion 

3047  

3048 global __nvmlDeviceGetInforomImageVersion 

3049 data["__nvmlDeviceGetInforomImageVersion"] = <intptr_t>__nvmlDeviceGetInforomImageVersion 

3050  

3051 global __nvmlDeviceGetInforomConfigurationChecksum 

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

3053  

3054 global __nvmlDeviceValidateInforom 

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

3056  

3057 global __nvmlDeviceGetLastBBXFlushTime 

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

3059  

3060 global __nvmlDeviceGetDisplayMode 

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

3062  

3063 global __nvmlDeviceGetDisplayActive 

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

3065  

3066 global __nvmlDeviceGetPersistenceMode 

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

3068  

3069 global __nvmlDeviceGetPciInfoExt 

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

3071  

3072 global __nvmlDeviceGetPciInfo_v3 

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

3074  

3075 global __nvmlDeviceGetMaxPcieLinkGeneration 

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

3077  

3078 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

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

3080  

3081 global __nvmlDeviceGetMaxPcieLinkWidth 

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

3083  

3084 global __nvmlDeviceGetCurrPcieLinkGeneration 

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

3086  

3087 global __nvmlDeviceGetCurrPcieLinkWidth 

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

3089  

3090 global __nvmlDeviceGetPcieThroughput 

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

3092  

3093 global __nvmlDeviceGetPcieReplayCounter 

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

3095  

3096 global __nvmlDeviceGetClockInfo 

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

3098  

3099 global __nvmlDeviceGetMaxClockInfo 

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

3101  

3102 global __nvmlDeviceGetGpcClkVfOffset 

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

3104  

3105 global __nvmlDeviceGetClock 

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

3107  

3108 global __nvmlDeviceGetMaxCustomerBoostClock 

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

3110  

3111 global __nvmlDeviceGetSupportedMemoryClocks 

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

3113  

3114 global __nvmlDeviceGetSupportedGraphicsClocks 

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

3116  

3117 global __nvmlDeviceGetAutoBoostedClocksEnabled 

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

3119  

3120 global __nvmlDeviceGetFanSpeed 

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

3122  

3123 global __nvmlDeviceGetFanSpeed_v2 

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

3125  

3126 global __nvmlDeviceGetFanSpeedRPM 

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

3128  

3129 global __nvmlDeviceGetTargetFanSpeed 

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

3131  

3132 global __nvmlDeviceGetMinMaxFanSpeed 

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

3134  

3135 global __nvmlDeviceGetFanControlPolicy_v2 

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

3137  

3138 global __nvmlDeviceGetNumFans 

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

3140  

3141 global __nvmlDeviceGetCoolerInfo 

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

3143  

3144 global __nvmlDeviceGetTemperatureV 

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

3146  

3147 global __nvmlDeviceGetTemperatureThreshold 

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

3149  

3150 global __nvmlDeviceGetMarginTemperature 

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

3152  

3153 global __nvmlDeviceGetThermalSettings 

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

3155  

3156 global __nvmlDeviceGetPerformanceState 

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

3158  

3159 global __nvmlDeviceGetCurrentClocksEventReasons 

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

3161  

3162 global __nvmlDeviceGetSupportedClocksEventReasons 

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

3164  

3165 global __nvmlDeviceGetPowerState 

3166 data["__nvmlDeviceGetPowerState"] = <intptr_t>__nvmlDeviceGetPowerState 

3167  

3168 global __nvmlDeviceGetDynamicPstatesInfo 

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

3170  

3171 global __nvmlDeviceGetMemClkVfOffset 

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

3173  

3174 global __nvmlDeviceGetMinMaxClockOfPState 

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

3176  

3177 global __nvmlDeviceGetSupportedPerformanceStates 

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

3179  

3180 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

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

3182  

3183 global __nvmlDeviceGetMemClkMinMaxVfOffset 

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

3185  

3186 global __nvmlDeviceGetClockOffsets 

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

3188  

3189 global __nvmlDeviceSetClockOffsets 

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

3191  

3192 global __nvmlDeviceGetPerformanceModes 

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

3194  

3195 global __nvmlDeviceGetCurrentClockFreqs 

3196 data["__nvmlDeviceGetCurrentClockFreqs"] = <intptr_t>__nvmlDeviceGetCurrentClockFreqs 

3197  

3198 global __nvmlDeviceGetPowerManagementLimit 

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

3200  

3201 global __nvmlDeviceGetPowerManagementLimitConstraints 

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

3203  

3204 global __nvmlDeviceGetPowerManagementDefaultLimit 

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

3206  

3207 global __nvmlDeviceGetPowerUsage 

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

3209  

3210 global __nvmlDeviceGetTotalEnergyConsumption 

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

3212  

3213 global __nvmlDeviceGetEnforcedPowerLimit 

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

3215  

3216 global __nvmlDeviceGetGpuOperationMode 

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

3218  

3219 global __nvmlDeviceGetMemoryInfo_v2 

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

3221  

3222 global __nvmlDeviceGetComputeMode 

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

3224  

3225 global __nvmlDeviceGetCudaComputeCapability 

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

3227  

3228 global __nvmlDeviceGetDramEncryptionMode 

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

3230  

3231 global __nvmlDeviceSetDramEncryptionMode 

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

3233  

3234 global __nvmlDeviceGetEccMode 

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

3236  

3237 global __nvmlDeviceGetDefaultEccMode 

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

3239  

3240 global __nvmlDeviceGetBoardId 

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

3242  

3243 global __nvmlDeviceGetMultiGpuBoard 

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

3245  

3246 global __nvmlDeviceGetTotalEccErrors 

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

3248  

3249 global __nvmlDeviceGetMemoryErrorCounter 

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

3251  

3252 global __nvmlDeviceGetUtilizationRates 

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

3254  

3255 global __nvmlDeviceGetEncoderUtilization 

3256 data["__nvmlDeviceGetEncoderUtilization"] = <intptr_t>__nvmlDeviceGetEncoderUtilization 

3257  

3258 global __nvmlDeviceGetEncoderCapacity 

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

3260  

3261 global __nvmlDeviceGetEncoderStats 

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

3263  

3264 global __nvmlDeviceGetEncoderSessions 

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

3266  

3267 global __nvmlDeviceGetDecoderUtilization 

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

3269  

3270 global __nvmlDeviceGetJpgUtilization 

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

3272  

3273 global __nvmlDeviceGetOfaUtilization 

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

3275  

3276 global __nvmlDeviceGetFBCStats 

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

3278  

3279 global __nvmlDeviceGetFBCSessions 

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

3281  

3282 global __nvmlDeviceGetDriverModel_v2 

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

3284  

3285 global __nvmlDeviceGetVbiosVersion 

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

3287  

3288 global __nvmlDeviceGetBridgeChipInfo 

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

3290  

3291 global __nvmlDeviceGetComputeRunningProcesses_v3 

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

3293  

3294 global __nvmlDeviceGetGraphicsRunningProcesses_v3 

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

3296  

3297 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

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

3299  

3300 global __nvmlDeviceGetRunningProcessDetailList 

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

3302  

3303 global __nvmlDeviceOnSameBoard 

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

3305  

3306 global __nvmlDeviceGetAPIRestriction 

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

3308  

3309 global __nvmlDeviceGetSamples 

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

3311  

3312 global __nvmlDeviceGetBAR1MemoryInfo 

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

3314  

3315 global __nvmlDeviceGetIrqNum 

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

3317  

3318 global __nvmlDeviceGetNumGpuCores 

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

3320  

3321 global __nvmlDeviceGetPowerSource 

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

3323  

3324 global __nvmlDeviceGetMemoryBusWidth 

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

3326  

3327 global __nvmlDeviceGetPcieLinkMaxSpeed 

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

3329  

3330 global __nvmlDeviceGetPcieSpeed 

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

3332  

3333 global __nvmlDeviceGetAdaptiveClockInfoStatus 

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

3335  

3336 global __nvmlDeviceGetBusType 

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

3338  

3339 global __nvmlDeviceGetGpuFabricInfoV 

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

3341  

3342 global __nvmlSystemGetConfComputeCapabilities 

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

3344  

3345 global __nvmlSystemGetConfComputeState 

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

3347  

3348 global __nvmlDeviceGetConfComputeMemSizeInfo 

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

3350  

3351 global __nvmlSystemGetConfComputeGpusReadyState 

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

3353  

3354 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

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

3356  

3357 global __nvmlDeviceGetConfComputeGpuCertificate 

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

3359  

3360 global __nvmlDeviceGetConfComputeGpuAttestationReport 

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

3362  

3363 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

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

3365  

3366 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

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

3368  

3369 global __nvmlSystemSetConfComputeGpusReadyState 

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

3371  

3372 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

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

3374  

3375 global __nvmlSystemGetConfComputeSettings 

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

3377  

3378 global __nvmlDeviceGetGspFirmwareVersion 

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

3380  

3381 global __nvmlDeviceGetGspFirmwareMode 

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

3383  

3384 global __nvmlDeviceGetSramEccErrorStatus 

3385 data["__nvmlDeviceGetSramEccErrorStatus"] = <intptr_t>__nvmlDeviceGetSramEccErrorStatus 1k

3386  

3387 global __nvmlDeviceGetAccountingMode 

3388 data["__nvmlDeviceGetAccountingMode"] = <intptr_t>__nvmlDeviceGetAccountingMode 1k

3389  

3390 global __nvmlDeviceGetAccountingStats 

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

3392  

3393 global __nvmlDeviceGetAccountingPids 

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

3395  

3396 global __nvmlDeviceGetAccountingBufferSize 

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

3398  

3399 global __nvmlDeviceGetRetiredPages 

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

3401  

3402 global __nvmlDeviceGetRetiredPages_v2 

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

3404  

3405 global __nvmlDeviceGetRetiredPagesPendingStatus 

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

3407  

3408 global __nvmlDeviceGetRemappedRows 

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

3410  

3411 global __nvmlDeviceGetRowRemapperHistogram 

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

3413  

3414 global __nvmlDeviceGetArchitecture 

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

3416  

3417 global __nvmlDeviceGetClkMonStatus 

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

3419  

3420 global __nvmlDeviceGetProcessUtilization 

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

3422  

3423 global __nvmlDeviceGetProcessesUtilizationInfo 

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

3425  

3426 global __nvmlDeviceGetPlatformInfo 

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

3428  

3429 global __nvmlUnitSetLedState 

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

3431  

3432 global __nvmlDeviceSetPersistenceMode 

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

3434  

3435 global __nvmlDeviceSetComputeMode 

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

3437  

3438 global __nvmlDeviceSetEccMode 

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

3440  

3441 global __nvmlDeviceClearEccErrorCounts 

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

3443  

3444 global __nvmlDeviceSetDriverModel 

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

3446  

3447 global __nvmlDeviceSetGpuLockedClocks 

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

3449  

3450 global __nvmlDeviceResetGpuLockedClocks 

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

3452  

3453 global __nvmlDeviceSetMemoryLockedClocks 

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

3455  

3456 global __nvmlDeviceResetMemoryLockedClocks 

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

3458  

3459 global __nvmlDeviceSetAutoBoostedClocksEnabled 

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

3461  

3462 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

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

3464  

3465 global __nvmlDeviceSetDefaultFanSpeed_v2 

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

3467  

3468 global __nvmlDeviceSetFanControlPolicy 

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

3470  

3471 global __nvmlDeviceSetTemperatureThreshold 

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

3473  

3474 global __nvmlDeviceSetGpuOperationMode 

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

3476  

3477 global __nvmlDeviceSetAPIRestriction 

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

3479  

3480 global __nvmlDeviceSetFanSpeed_v2 

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

3482  

3483 global __nvmlDeviceSetAccountingMode 

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

3485  

3486 global __nvmlDeviceClearAccountingPids 

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

3488  

3489 global __nvmlDeviceSetPowerManagementLimit_v2 

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

3491  

3492 global __nvmlDeviceGetNvLinkState 

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

3494  

3495 global __nvmlDeviceGetNvLinkVersion 

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

3497  

3498 global __nvmlDeviceGetNvLinkCapability 

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

3500  

3501 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

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

3503  

3504 global __nvmlDeviceGetNvLinkErrorCounter 

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

3506  

3507 global __nvmlDeviceResetNvLinkErrorCounters 

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

3509  

3510 global __nvmlDeviceGetNvLinkRemoteDeviceType 

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

3512  

3513 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

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

3515  

3516 global __nvmlSystemSetNvlinkBwMode 

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

3518  

3519 global __nvmlSystemGetNvlinkBwMode 

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

3521  

3522 global __nvmlDeviceGetNvlinkSupportedBwModes 

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

3524  

3525 global __nvmlDeviceGetNvlinkBwMode 

3526 data["__nvmlDeviceGetNvlinkBwMode"] = <intptr_t>__nvmlDeviceGetNvlinkBwMode 

3527  

3528 global __nvmlDeviceSetNvlinkBwMode 

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

3530  

3531 global __nvmlEventSetCreate 

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

3533  

3534 global __nvmlDeviceRegisterEvents 

3535 data["__nvmlDeviceRegisterEvents"] = <intptr_t>__nvmlDeviceRegisterEvents 1?

3536  

3537 global __nvmlDeviceGetSupportedEventTypes 

3538 data["__nvmlDeviceGetSupportedEventTypes"] = <intptr_t>__nvmlDeviceGetSupportedEventTypes 1?

3539  

3540 global __nvmlEventSetWait_v2 

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

3542  

3543 global __nvmlEventSetFree 

3544 data["__nvmlEventSetFree"] = <intptr_t>__nvmlEventSetFree 2mb

3545  

3546 global __nvmlSystemEventSetCreate 

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

3548  

3549 global __nvmlSystemEventSetFree 

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

3551  

3552 global __nvmlSystemRegisterEvents 

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

3554  

3555 global __nvmlSystemEventSetWait 

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

3557  

3558 global __nvmlDeviceModifyDrainState 

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

3560  

3561 global __nvmlDeviceQueryDrainState 

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

3563  

3564 global __nvmlDeviceRemoveGpu_v2 

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

3566  

3567 global __nvmlDeviceDiscoverGpus 

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

3569  

3570 global __nvmlDeviceGetFieldValues 

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

3572  

3573 global __nvmlDeviceClearFieldValues 

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

3575  

3576 global __nvmlDeviceGetVirtualizationMode 

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

3578  

3579 global __nvmlDeviceGetHostVgpuMode 

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

3581  

3582 global __nvmlDeviceSetVirtualizationMode 

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

3584  

3585 global __nvmlDeviceGetVgpuHeterogeneousMode 

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

3587  

3588 global __nvmlDeviceSetVgpuHeterogeneousMode 

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

3590  

3591 global __nvmlVgpuInstanceGetPlacementId 

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

3593  

3594 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

3595 data["__nvmlDeviceGetVgpuTypeSupportedPlacements"] = <intptr_t>__nvmlDeviceGetVgpuTypeSupportedPlacements 2lb

3596  

3597 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

3598 data["__nvmlDeviceGetVgpuTypeCreatablePlacements"] = <intptr_t>__nvmlDeviceGetVgpuTypeCreatablePlacements 2lb

3599  

3600 global __nvmlVgpuTypeGetGspHeapSize 

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

3602  

3603 global __nvmlVgpuTypeGetFbReservation 

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

3605  

3606 global __nvmlVgpuInstanceGetRuntimeStateSize 

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

3608  

3609 global __nvmlDeviceSetVgpuCapabilities 

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

3611  

3612 global __nvmlDeviceGetGridLicensableFeatures_v4 

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

3614  

3615 global __nvmlGetVgpuDriverCapabilities 

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

3617  

3618 global __nvmlDeviceGetVgpuCapabilities 

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

3620  

3621 global __nvmlDeviceGetSupportedVgpus 

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

3623  

3624 global __nvmlDeviceGetCreatableVgpus 

3625 data["__nvmlDeviceGetCreatableVgpus"] = <intptr_t>__nvmlDeviceGetCreatableVgpus 2kb

3626  

3627 global __nvmlVgpuTypeGetClass 

3628 data["__nvmlVgpuTypeGetClass"] = <intptr_t>__nvmlVgpuTypeGetClass 2kb

3629  

3630 global __nvmlVgpuTypeGetName 

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

3632  

3633 global __nvmlVgpuTypeGetGpuInstanceProfileId 

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

3635  

3636 global __nvmlVgpuTypeGetDeviceID 

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

3638  

3639 global __nvmlVgpuTypeGetFramebufferSize 

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

3641  

3642 global __nvmlVgpuTypeGetNumDisplayHeads 

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

3644  

3645 global __nvmlVgpuTypeGetResolution 

3646 data["__nvmlVgpuTypeGetResolution"] = <intptr_t>__nvmlVgpuTypeGetResolution 

3647  

3648 global __nvmlVgpuTypeGetLicense 

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

3650  

3651 global __nvmlVgpuTypeGetFrameRateLimit 

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

3653  

3654 global __nvmlVgpuTypeGetMaxInstances 

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

3656  

3657 global __nvmlVgpuTypeGetMaxInstancesPerVm 

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

3659  

3660 global __nvmlVgpuTypeGetBAR1Info 

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

3662  

3663 global __nvmlDeviceGetActiveVgpus 

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

3665  

3666 global __nvmlVgpuInstanceGetVmID 

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

3668  

3669 global __nvmlVgpuInstanceGetUUID 

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

3671  

3672 global __nvmlVgpuInstanceGetVmDriverVersion 

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

3674  

3675 global __nvmlVgpuInstanceGetFbUsage 

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

3677  

3678 global __nvmlVgpuInstanceGetLicenseStatus 

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

3680  

3681 global __nvmlVgpuInstanceGetType 

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

3683  

3684 global __nvmlVgpuInstanceGetFrameRateLimit 

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

3686  

3687 global __nvmlVgpuInstanceGetEccMode 

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

3689  

3690 global __nvmlVgpuInstanceGetEncoderCapacity 

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

3692  

3693 global __nvmlVgpuInstanceSetEncoderCapacity 

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

3695  

3696 global __nvmlVgpuInstanceGetEncoderStats 

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

3698  

3699 global __nvmlVgpuInstanceGetEncoderSessions 

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

3701  

3702 global __nvmlVgpuInstanceGetFBCStats 

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

3704  

3705 global __nvmlVgpuInstanceGetFBCSessions 

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

3707  

3708 global __nvmlVgpuInstanceGetGpuInstanceId 

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

3710  

3711 global __nvmlVgpuInstanceGetGpuPciId 

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

3713  

3714 global __nvmlVgpuTypeGetCapabilities 

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

3716  

3717 global __nvmlVgpuInstanceGetMdevUUID 

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

3719  

3720 global __nvmlGpuInstanceGetCreatableVgpus 

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

3722  

3723 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

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

3725  

3726 global __nvmlGpuInstanceGetActiveVgpus 

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

3728  

3729 global __nvmlGpuInstanceSetVgpuSchedulerState 

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

3731  

3732 global __nvmlGpuInstanceGetVgpuSchedulerState 

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

3734  

3735 global __nvmlGpuInstanceGetVgpuSchedulerLog 

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

3737  

3738 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

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

3740  

3741 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

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

3743  

3744 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

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

3746  

3747 global __nvmlVgpuInstanceGetMetadata 

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

3749  

3750 global __nvmlDeviceGetVgpuMetadata 

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

3752  

3753 global __nvmlGetVgpuCompatibility 

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

3755  

3756 global __nvmlDeviceGetPgpuMetadataString 

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

3758  

3759 global __nvmlDeviceGetVgpuSchedulerLog 

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

3761  

3762 global __nvmlDeviceGetVgpuSchedulerState 

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

3764  

3765 global __nvmlDeviceGetVgpuSchedulerCapabilities 

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

3767  

3768 global __nvmlDeviceSetVgpuSchedulerState 

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

3770  

3771 global __nvmlGetVgpuVersion 

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

3773  

3774 global __nvmlSetVgpuVersion 

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

3776  

3777 global __nvmlDeviceGetVgpuUtilization 

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

3779  

3780 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

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

3782  

3783 global __nvmlDeviceGetVgpuProcessUtilization 

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

3785  

3786 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

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

3788  

3789 global __nvmlVgpuInstanceGetAccountingMode 

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

3791  

3792 global __nvmlVgpuInstanceGetAccountingPids 

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

3794  

3795 global __nvmlVgpuInstanceGetAccountingStats 

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

3797  

3798 global __nvmlVgpuInstanceClearAccountingPids 

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

3800  

3801 global __nvmlVgpuInstanceGetLicenseInfo_v2 

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

3803  

3804 global __nvmlGetExcludedDeviceCount 

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

3806  

3807 global __nvmlGetExcludedDeviceInfoByIndex 

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

3809  

3810 global __nvmlDeviceSetMigMode 

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

3812  

3813 global __nvmlDeviceGetMigMode 

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

3815  

3816 global __nvmlDeviceGetGpuInstanceProfileInfoV 

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

3818  

3819 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

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

3821  

3822 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

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

3824  

3825 global __nvmlDeviceCreateGpuInstance 

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

3827  

3828 global __nvmlDeviceCreateGpuInstanceWithPlacement 

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

3830  

3831 global __nvmlGpuInstanceDestroy 

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

3833  

3834 global __nvmlDeviceGetGpuInstances 

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

3836  

3837 global __nvmlDeviceGetGpuInstanceById 

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

3839  

3840 global __nvmlGpuInstanceGetInfo 

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

3842  

3843 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

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

3845  

3846 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

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

3848  

3849 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

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

3851  

3852 global __nvmlGpuInstanceCreateComputeInstance 

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

3854  

3855 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

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

3857  

3858 global __nvmlComputeInstanceDestroy 

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

3860  

3861 global __nvmlGpuInstanceGetComputeInstances 

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

3863  

3864 global __nvmlGpuInstanceGetComputeInstanceById 

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

3866  

3867 global __nvmlComputeInstanceGetInfo_v2 

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

3869  

3870 global __nvmlDeviceIsMigDeviceHandle 

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

3872  

3873 global __nvmlDeviceGetGpuInstanceId 

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

3875  

3876 global __nvmlDeviceGetComputeInstanceId 

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

3878  

3879 global __nvmlDeviceGetMaxMigDeviceCount 

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

3881  

3882 global __nvmlDeviceGetMigDeviceHandleByIndex 

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

3884  

3885 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

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

3887  

3888 global __nvmlDeviceGetCapabilities 

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

3890  

3891 global __nvmlDevicePowerSmoothingActivatePresetProfile 

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

3893  

3894 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

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

3896  

3897 global __nvmlDevicePowerSmoothingSetState 

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

3899  

3900 global __nvmlDeviceGetAddressingMode 

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

3902  

3903 global __nvmlDeviceGetRepairStatus 

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

3905  

3906 global __nvmlDeviceGetPowerMizerMode_v1 

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

3908  

3909 global __nvmlDeviceSetPowerMizerMode_v1 

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

3911  

3912 global __nvmlDeviceGetPdi 

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

3914  

3915 global __nvmlDeviceSetHostname_v1 

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

3917  

3918 global __nvmlDeviceGetHostname_v1 

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

3920  

3921 global __nvmlDeviceGetNvLinkInfo 

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

3923  

3924 global __nvmlDeviceReadWritePRM_v1 

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

3926  

3927 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

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

3929  

3930 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

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

3932  

3933 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

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

3935  

3936 global __nvmlDeviceReadPRMCounters_v1 

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

3938  

3939 global __nvmlDeviceSetRusdSettings_v1 

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

3941  

3942 global __nvmlDeviceVgpuForceGspUnload 

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

3944  

3945 global __nvmlDeviceGetVgpuSchedulerState_v2 

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

3947  

3948 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 

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

3950  

3951 global __nvmlDeviceGetVgpuSchedulerLog_v2 

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

3953  

3954 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 

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

3956  

3957 global __nvmlDeviceSetVgpuSchedulerState_v2 

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

3959  

3960 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 

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

3962  

3963 func_ptrs = data 

3964 return data 

3965  

3966  

3967cpdef _inspect_function_pointer(str name): 

3968 global func_ptrs 

3969 if func_ptrs is None: 

3970 func_ptrs = _inspect_function_pointers() 

3971 return func_ptrs[name] 

3972  

3973  

3974############################################################################### 

3975# Wrapper functions 

3976############################################################################### 

3977  

3978cdef nvmlReturn_t _nvmlInit_v2() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3979 global __nvmlInit_v2 

3980 _check_or_init_nvml() 2a 0be : ; = @ [ ] ^ _ ` { | } ~ abbbQbcbdbf # ebfbhbibjbm sbtbp q ubvbE G I K M O Q R S T U V W X Y Z 0 1 VbWbYbZb5b

3981 if __nvmlInit_v2 == NULL: 2a 0be : ; = @ [ ] ^ _ ` { | } ~ abbbQbcbdbf # ebfbhbibjbm sbtbp q ubvbE G I K M O Q R S T U V W X Y Z 0 1 VbWbYbZb5b

3982 with gil: 

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

3984 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlInit_v2)( 2a 0be : ; = @ [ ] ^ _ ` { | } ~ abbbQbcbdbf # ebfbhbibjbm sbtbp q ubvbE G I K M O Q R S T U V W X Y Z 0 1 VbWbYbZb5b

3985 ) 

3986  

3987  

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

3989 global __nvmlInitWithFlags 

3990 _check_or_init_nvml() 

3991 if __nvmlInitWithFlags == NULL: 

3992 with gil: 

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

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

3995 flags) 

3996  

3997  

3998cdef nvmlReturn_t _nvmlShutdown() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3999 global __nvmlShutdown 

4000 _check_or_init_nvml() 2a wce 6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:bf ;b# =b?b@b[b]b^bxcyc_b`bzcAc{b|b}b~bacbcccdcecfcgchcicjckclcmcncocpcqcrc

4001 if __nvmlShutdown == NULL: 2a wce 6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:bf ;b# =b?b@b[b]b^bxcyc_b`bzcAc{b|b}b~bacbcccdcecfcgchcicjckclcmcncocpcqcrc

4002 with gil: 

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

4004 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlShutdown)( 2a wce 6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:bf ;b# =b?b@b[b]b^bxcyc_b`bzcAc{b|b}b~bacbcccdcecfcgchcicjckclcmcncocpcqcrc

4005 ) 

4006  

4007  

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

4009 global __nvmlErrorString 

4010 _check_or_init_nvml() 2! i j r 2 k s t # u gbo l F H J L N P w x b y z g B C h n 8

4011 if __nvmlErrorString == NULL: 2! i j r 2 k s t # u gbo l F H J L N P w x b y z g B C h n 8

4012 with gil: 

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

4014 return (<const char* (*)(nvmlReturn_t) noexcept nogil>__nvmlErrorString)( 2! i j r 2 k s t # u gbo l F H J L N P w x b y z g B C h n 8

4015 result) 

4016  

4017  

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

4019 global __nvmlSystemGetDriverVersion 

4020 _check_or_init_nvml() 2XbLc

4021 if __nvmlSystemGetDriverVersion == NULL: 2XbLc

4022 with gil: 

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

4024 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetDriverVersion)( 2XbLc

4025 version, length) 

4026  

4027  

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

4029 global __nvmlSystemGetNVMLVersion 

4030 _check_or_init_nvml() 2MbNc

4031 if __nvmlSystemGetNVMLVersion == NULL: 2MbNc

4032 with gil: 

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

4034 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetNVMLVersion)( 2MbNc

4035 version, length) 

4036  

4037  

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

4039 global __nvmlSystemGetCudaDriverVersion 

4040 _check_or_init_nvml() 2a LbFcIc

4041 if __nvmlSystemGetCudaDriverVersion == NULL: 2a LbFcIc

4042 with gil: 

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

4044 return (<nvmlReturn_t (*)(int*) noexcept nogil>__nvmlSystemGetCudaDriverVersion)( 2a LbFcIc

4045 cudaDriverVersion) 

4046  

4047  

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

4049 global __nvmlSystemGetCudaDriverVersion_v2 

4050 _check_or_init_nvml() 

4051 if __nvmlSystemGetCudaDriverVersion_v2 == NULL: 

4052 with gil: 

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

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

4055 cudaDriverVersion) 

4056  

4057  

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

4059 global __nvmlSystemGetProcessName 

4060 _check_or_init_nvml() 2UbKc

4061 if __nvmlSystemGetProcessName == NULL: 2UbKc

4062 with gil: 

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

4064 return (<nvmlReturn_t (*)(unsigned int, char*, unsigned int) noexcept nogil>__nvmlSystemGetProcessName)( 2UbKc

4065 pid, name, length) 

4066  

4067  

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

4069 global __nvmlSystemGetHicVersion 

4070 _check_or_init_nvml() 

4071 if __nvmlSystemGetHicVersion == NULL: 

4072 with gil: 

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

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

4075 hwbcCount, hwbcEntries) 

4076  

4077  

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

4079 global __nvmlSystemGetTopologyGpuSet 

4080 _check_or_init_nvml() 2Eb

4081 if __nvmlSystemGetTopologyGpuSet == NULL: 2Eb

4082 with gil: 

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

4084 return (<nvmlReturn_t (*)(unsigned int, unsigned int*, nvmlDevice_t*) noexcept nogil>__nvmlSystemGetTopologyGpuSet)( 2s Eb

4085 cpuNumber, count, deviceArray) 

4086  

4087  

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

4089 global __nvmlSystemGetDriverBranch 

4090 _check_or_init_nvml() 2a Jc

4091 if __nvmlSystemGetDriverBranch == NULL: 2a Jc

4092 with gil: 

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

4094 return (<nvmlReturn_t (*)(nvmlSystemDriverBranchInfo_t*, unsigned int) noexcept nogil>__nvmlSystemGetDriverBranch)( 2a t Jc

4095 branchInfo, length) 

4096  

4097  

4098cdef nvmlReturn_t _nvmlUnitGetCount(unsigned int* unitCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1at

4099 global __nvmlUnitGetCount 

4100 _check_or_init_nvml() 

4101 if __nvmlUnitGetCount == NULL: 

4102 with gil: 

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

4104 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlUnitGetCount)( 

4105 unitCount) 

4106  

4107  

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

4109 global __nvmlUnitGetHandleByIndex 

4110 _check_or_init_nvml() 

4111 if __nvmlUnitGetHandleByIndex == NULL: 

4112 with gil: 

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

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

4115 index, unit) 

4116  

4117  

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

4119 global __nvmlUnitGetUnitInfo 

4120 _check_or_init_nvml() 

4121 if __nvmlUnitGetUnitInfo == NULL: 

4122 with gil: 

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

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

4125 unit, info) 

4126  

4127  

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

4129 global __nvmlUnitGetLedState 

4130 _check_or_init_nvml() 

4131 if __nvmlUnitGetLedState == NULL: 

4132 with gil: 

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

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

4135 unit, state) 

4136  

4137  

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

4139 global __nvmlUnitGetPsuInfo 

4140 _check_or_init_nvml() 

4141 if __nvmlUnitGetPsuInfo == NULL: 

4142 with gil: 

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

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

4145 unit, psu) 

4146  

4147  

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

4149 global __nvmlUnitGetTemperature 

4150 _check_or_init_nvml() 

4151 if __nvmlUnitGetTemperature == NULL: 

4152 with gil: 

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

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

4155 unit, type, temp) 

4156  

4157  

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

4159 global __nvmlUnitGetFanSpeedInfo 

4160 _check_or_init_nvml() 

4161 if __nvmlUnitGetFanSpeedInfo == NULL: 

4162 with gil: 

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

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

4165 unit, fanSpeeds) 

4166  

4167  

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

4169 global __nvmlUnitGetDevices 

4170 _check_or_init_nvml() 

4171 if __nvmlUnitGetDevices == NULL: 

4172 with gil: 

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

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

4175 unit, deviceCount, devices) 

4176  

4177  

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

4179 global __nvmlDeviceGetCount_v2 

4180 _check_or_init_nvml() 2sctcucvce d v f # m sbtbp q ubvbE G I K M O Q R S T U V W X Y Z 0 1 $ 4 w x 5 b y wbxbz % ybBc' zb( Ab6 c ) BbCb* Db7 g FbGbCcDcHbA Ec+ B C , D h - n . / IbGcHcMcOcPcQcRcScTcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c5b+c,c-c.c

4181 if __nvmlDeviceGetCount_v2 == NULL: 2sctcucvce d v f # m sbtbp q ubvbE G I K M O Q R S T U V W X Y Z 0 1 $ 4 w x 5 b y wbxbz % ybBc' zb( Ab6 c ) BbCb* Db7 g FbGbCcDcHbA Ec+ B C , D h - n . / IbGcHcMcOcPcQcRcScTcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c5b+c,c-c.c

4182 with gil: 

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

4184 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlDeviceGetCount_v2)( 2sctcucvce d v f # m sbtbp q ubvbE G I K M O Q R S T U V W X Y Z 0 1 $ 4 w x 5 b y wbxbz % ybBc' zb( Ab6 c ) BbCb* Db7 g FbGbCcDcHbA Ec+ B C , D h - n . / IbGcHcMcOcPcQcRcScTcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c5b+c,c-c.c

4185 deviceCount) 

4186  

4187  

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

4189 global __nvmlDeviceGetAttributes_v2 

4190 _check_or_init_nvml() 1z

4191 if __nvmlDeviceGetAttributes_v2 == NULL: 1z

4192 with gil: 

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

4194 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceAttributes_t*) noexcept nogil>__nvmlDeviceGetAttributes_v2)( 1z

4195 device, attributes) 

4196  

4197  

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

4199 global __nvmlDeviceGetHandleByIndex_v2 

4200 _check_or_init_nvml() 2e d v f m sbtbp q ubvbE G I K M O Q R S T U V W X Y Z 0 1 $ 4 w x 5 b y wbxbz % yb' zb( Ab6 c ) BbCb* Db7 g FbGbHbA + B C , D h - n . / Ib

4201 if __nvmlDeviceGetHandleByIndex_v2 == NULL: 2e d v f m sbtbp q ubvbE G I K M O Q R S T U V W X Y Z 0 1 $ 4 w x 5 b y wbxbz % yb' zb( Ab6 c ) BbCb* Db7 g FbGbHbA + B C , D h - n . / Ib

4202 with gil: 

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

4204 return (<nvmlReturn_t (*)(unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByIndex_v2)( 2e d v f m sbtbp q ubvbE G I K M O Q R S T U V W X Y Z 0 1 $ 4 w x 5 b y wbxbz % yb' zb( Ab6 c ) BbCb* Db7 g FbGbHbA + B C , D h - n . / Ib

4205 index, device) 

4206  

4207  

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

4209 global __nvmlDeviceGetHandleBySerial 

4210 _check_or_init_nvml() 

4211 if __nvmlDeviceGetHandleBySerial == NULL: 

4212 with gil: 

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

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

4215 serial, device) 

4216  

4217  

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

4219 global __nvmlDeviceGetHandleByUUID 

4220 _check_or_init_nvml() 20b: ; = @ [ ] ^ _ ` { | } ~ abbbcbdbebfbhbibjbTbJb

4221 if __nvmlDeviceGetHandleByUUID == NULL: 20b: ; = @ [ ] ^ _ ` { | } ~ abbbcbdbebfbhbibjbTbJb

4222 with gil: 

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

4224 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUID)( 20b: ; = @ [ ] ^ _ ` { | } ~ abbbcbdbebu fbgbhbibjbTbJb

4225 uuid, device) 

4226  

4227  

4228cdef nvmlReturn_t _nvmlDeviceGetHandleByUUIDV(const nvmlUUID_t* uuid, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a u gb

4229 global __nvmlDeviceGetHandleByUUIDV 

4230 _check_or_init_nvml() 2nb

4231 if __nvmlDeviceGetHandleByUUIDV == NULL: 2nb

4232 with gil: 

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

4234 return (<nvmlReturn_t (*)(const nvmlUUID_t*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUIDV)( 2nb

4235 uuid, device) 

4236  

4237  

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

4239 global __nvmlDeviceGetHandleByPciBusId_v2 

4240 _check_or_init_nvml() 2Kb6

4241 if __nvmlDeviceGetHandleByPciBusId_v2 == NULL: 2Kb6

4242 with gil: 

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

4244 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByPciBusId_v2)( 2u Kb6

4245 pciBusId, device) 

4246  

4247  

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

4249 global __nvmlDeviceGetName 

4250 _check_or_init_nvml() 2e i j k f o F H J L N P w x b z AbB C n

4251 if __nvmlDeviceGetName == NULL: 2e i j k f o F H J L N P w x b z AbB C n

4252 with gil: 

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

4254 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetName)( 2e i j k f o F H J L N P w x b z AbB C n

4255 device, name, length) 

4256  

4257  

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

4259 global __nvmlDeviceGetBrand 

4260 _check_or_init_nvml() 2yb

4261 if __nvmlDeviceGetBrand == NULL: 2yb

4262 with gil: 

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

4264 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBrandType_t*) noexcept nogil>__nvmlDeviceGetBrand)( 2yb

4265 device, type) 

4266  

4267  

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

4269 global __nvmlDeviceGetIndex 

4270 _check_or_init_nvml() 2v 6 Hb

4271 if __nvmlDeviceGetIndex == NULL: 2v 6 Hb

4272 with gil: 

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

4274 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIndex)( 2mb? i j obr 2 k s t d 3 Rbv 9 o l kbF H J L N P pbqblbrb6 Hb

4275 device, index) 

4276  

4277  

4278cdef nvmlReturn_t _nvmlDeviceGetSerial(nvmlDevice_t device, char* serial, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a mb? i j obr 2 k s t d 3 Rb9 o l kbF H J L N P pbqblbrb

4279 global __nvmlDeviceGetSerial 

4280 _check_or_init_nvml() 1f)

4281 if __nvmlDeviceGetSerial == NULL: 1f)

4282 with gil: 

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

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

4285 device, serial, length) 

4286  

4287  

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

4289 global __nvmlDeviceGetModuleId 

4290 _check_or_init_nvml() 1d+

4291 if __nvmlDeviceGetModuleId == NULL: 1d+

4292 with gil: 

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

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

4295 device, moduleId) 

4296  

4297  

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

4299 global __nvmlDeviceGetC2cModeInfoV 

4300 _check_or_init_nvml() 1x

4301 if __nvmlDeviceGetC2cModeInfoV == NULL: 1x

4302 with gil: 

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

4304 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlC2cModeInfo_v1_t*) noexcept nogil>__nvmlDeviceGetC2cModeInfoV)( 1x

4305 device, c2cModeInfo) 

4306  

4307  

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

4309 global __nvmlDeviceGetMemoryAffinity 

4310 _check_or_init_nvml() 23b4b4

4311 if __nvmlDeviceGetMemoryAffinity == NULL: 23b4b4

4312 with gil: 

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

4314 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*, nvmlAffinityScope_t) noexcept nogil>__nvmlDeviceGetMemoryAffinity)( 23 3b4b4

4315 device, nodeSetSize, nodeSet, scope) 

4316  

4317  

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

4319 global __nvmlDeviceGetCpuAffinityWithinScope 

4320 _check_or_init_nvml() 21b2b4 ' Eb

4321 if __nvmlDeviceGetCpuAffinityWithinScope == NULL: 21b2b4 ' Eb

4322 with gil: 

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

4324 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*, nvmlAffinityScope_t) noexcept nogil>__nvmlDeviceGetCpuAffinityWithinScope)( 21b2b4 ' Eb

4325 device, cpuSetSize, cpuSet, scope) 

4326  

4327  

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

4329 global __nvmlDeviceGetCpuAffinity 

4330 _check_or_init_nvml() 

4331 if __nvmlDeviceGetCpuAffinity == NULL: 

4332 with gil: 

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

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

4335 device, cpuSetSize, cpuSet) 

4336  

4337  

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

4339 global __nvmlDeviceSetCpuAffinity 

4340 _check_or_init_nvml() 

4341 if __nvmlDeviceSetCpuAffinity == NULL: 

4342 with gil: 

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

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

4345 device) 

4346  

4347  

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

4349 global __nvmlDeviceClearCpuAffinity 

4350 _check_or_init_nvml() 

4351 if __nvmlDeviceClearCpuAffinity == NULL: 

4352 with gil: 

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

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

4355 device) 

4356  

4357  

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

4359 global __nvmlDeviceGetNumaNodeId 

4360 _check_or_init_nvml() 1B

4361 if __nvmlDeviceGetNumaNodeId == NULL: 1B

4362 with gil: 

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

4364 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumaNodeId)( 1B

4365 device, node) 

4366  

4367  

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

4369 global __nvmlDeviceGetTopologyCommonAncestor 

4370 _check_or_init_nvml() 

4371 if __nvmlDeviceGetTopologyCommonAncestor == NULL: 

4372 with gil: 

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

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

4375 device1, device2, pathInfo) 

4376  

4377  

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

4379 global __nvmlDeviceGetTopologyNearestGpus 

4380 _check_or_init_nvml() 2Gb

4381 if __nvmlDeviceGetTopologyNearestGpus == NULL: 2Gb

4382 with gil: 

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

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

4385 device, level, count, deviceArray) 

4386  

4387  

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

4389 global __nvmlDeviceGetP2PStatus 

4390 _check_or_init_nvml() 

4391 if __nvmlDeviceGetP2PStatus == NULL: 

4392 with gil: 

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

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

4395 device1, device2, p2pIndex, p2pStatus) 

4396  

4397  

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

4399 global __nvmlDeviceGetUUID 

4400 _check_or_init_nvml() 2nbd f q Bb. IbJb

4401 if __nvmlDeviceGetUUID == NULL: 2nbd f q Bb. IbJb

4402 with gil: 

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

4404 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetUUID)( 2nbd f q Bb. IbJb

4405 device, uuid, length) 

4406  

4407  

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

4409 global __nvmlDeviceGetMinorNumber 

4410 _check_or_init_nvml() 2Fb

4411 if __nvmlDeviceGetMinorNumber == NULL: 2Fb

4412 with gil: 

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

4414 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMinorNumber)( 2Fb

4415 device, minorNumber) 

4416  

4417  

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

4419 global __nvmlDeviceGetBoardPartNumber 

4420 _check_or_init_nvml() 1g

4421 if __nvmlDeviceGetBoardPartNumber == NULL: 1g

4422 with gil: 

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

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

4425 device, partNumber, length) 

4426  

4427  

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

4429 global __nvmlDeviceGetInforomVersion 

4430 _check_or_init_nvml() 1g

4431 if __nvmlDeviceGetInforomVersion == NULL: 1g

4432 with gil: 

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

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

4435 device, object, version, length) 

4436  

4437  

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

4439 global __nvmlDeviceGetInforomImageVersion 

4440 _check_or_init_nvml() 1g

4441 if __nvmlDeviceGetInforomImageVersion == NULL: 1g

4442 with gil: 

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

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

4445 device, version, length) 

4446  

4447  

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

4449 global __nvmlDeviceGetInforomConfigurationChecksum 

4450 _check_or_init_nvml() 1g

4451 if __nvmlDeviceGetInforomConfigurationChecksum == NULL: 1g

4452 with gil: 

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

4454 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetInforomConfigurationChecksum)( 1g

4455 device, checksum) 

4456  

4457  

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

4459 global __nvmlDeviceValidateInforom 

4460 _check_or_init_nvml() 1g

4461 if __nvmlDeviceValidateInforom == NULL: 1g

4462 with gil: 

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

4464 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceValidateInforom)( 1g

4465 device) 

4466  

4467  

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

4469 global __nvmlDeviceGetLastBBXFlushTime 

4470 _check_or_init_nvml() 1g

4471 if __nvmlDeviceGetLastBBXFlushTime == NULL: 1g

4472 with gil: 

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

4474 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*, unsigned long*) noexcept nogil>__nvmlDeviceGetLastBBXFlushTime)( 1g

4475 device, timestamp, durationUs) 

4476  

4477  

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

4479 global __nvmlDeviceGetDisplayMode 

4480 _check_or_init_nvml() 1*

4481 if __nvmlDeviceGetDisplayMode == NULL: 1*

4482 with gil: 

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

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

4485 device, display) 

4486  

4487  

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

4489 global __nvmlDeviceGetDisplayActive 

4490 _check_or_init_nvml() 1*

4491 if __nvmlDeviceGetDisplayActive == NULL: 1*

4492 with gil: 

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

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

4495 device, isActive) 

4496  

4497  

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

4499 global __nvmlDeviceGetPersistenceMode 

4500 _check_or_init_nvml() 1,

4501 if __nvmlDeviceGetPersistenceMode == NULL: 1,

4502 with gil: 

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

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

4505 device, mode) 

4506  

4507  

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

4509 global __nvmlDeviceGetPciInfoExt 

4510 _check_or_init_nvml() 26 c . Jb

4511 if __nvmlDeviceGetPciInfoExt == NULL: 26 c . Jb

4512 with gil: 

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

4514 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfoExt_t*) noexcept nogil>__nvmlDeviceGetPciInfoExt)( 26 c . Jb

4515 device, pci) 

4516  

4517  

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

4519 global __nvmlDeviceGetPciInfo_v3 

4520 _check_or_init_nvml() 1eflp

4521 if __nvmlDeviceGetPciInfo_v3 == NULL: 1eflp

4522 with gil: 

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

4524 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetPciInfo_v3)( 1e2flp

4525 device, pci) 

4526  

4527  

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

4529 global __nvmlDeviceGetMaxPcieLinkGeneration 

4530 _check_or_init_nvml() 1c

4531 if __nvmlDeviceGetMaxPcieLinkGeneration == NULL: 1c

4532 with gil: 

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

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

4535 device, maxLinkGen) 

4536  

4537  

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

4539 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

4540 _check_or_init_nvml() 1c

4541 if __nvmlDeviceGetGpuMaxPcieLinkGeneration == NULL: 1c

4542 with gil: 

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

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

4545 device, maxLinkGenDevice) 

4546  

4547  

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

4549 global __nvmlDeviceGetMaxPcieLinkWidth 

4550 _check_or_init_nvml() 1c

4551 if __nvmlDeviceGetMaxPcieLinkWidth == NULL: 1c

4552 with gil: 

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

4554 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxPcieLinkWidth)( 1FHJLNPc

4555 device, maxLinkWidth) 

4556  

4557  

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

4559 global __nvmlDeviceGetCurrPcieLinkGeneration 

4560 _check_or_init_nvml() 1c

4561 if __nvmlDeviceGetCurrPcieLinkGeneration == NULL: 1c

4562 with gil: 

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

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

4565 device, currLinkGen) 

4566  

4567  

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

4569 global __nvmlDeviceGetCurrPcieLinkWidth 

4570 _check_or_init_nvml() 1c

4571 if __nvmlDeviceGetCurrPcieLinkWidth == NULL: 1c

4572 with gil: 

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

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

4575 device, currLinkWidth) 

4576  

4577  

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

4579 global __nvmlDeviceGetPcieThroughput 

4580 _check_or_init_nvml() 2pbc

4581 if __nvmlDeviceGetPcieThroughput == NULL: 2pbc

4582 with gil: 

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

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

4585 device, counter, value) 

4586  

4587  

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

4589 global __nvmlDeviceGetPcieReplayCounter 

4590 _check_or_init_nvml() 1c

4591 if __nvmlDeviceGetPcieReplayCounter == NULL: 1c

4592 with gil: 

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

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

4595 device, value) 

4596  

4597  

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

4599 global __nvmlDeviceGetClockInfo 

4600 _check_or_init_nvml() 

4601 if __nvmlDeviceGetClockInfo == NULL: 

4602 with gil: 

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

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

4605 device, type, clock) 

4606  

4607  

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

4609 global __nvmlDeviceGetMaxClockInfo 

4610 _check_or_init_nvml() 1b

4611 if __nvmlDeviceGetMaxClockInfo == NULL: 1b

4612 with gil: 

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

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

4615 device, type, clock) 

4616  

4617  

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

4619 global __nvmlDeviceGetGpcClkVfOffset 

4620 _check_or_init_nvml() 

4621 if __nvmlDeviceGetGpcClkVfOffset == NULL: 

4622 with gil: 

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

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

4625 device, offset) 

4626  

4627  

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

4629 global __nvmlDeviceGetClock 

4630 _check_or_init_nvml() 1b

4631 if __nvmlDeviceGetClock == NULL: 1b

4632 with gil: 

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

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

4635 device, clockType, clockId, clockMHz) 

4636  

4637  

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

4639 global __nvmlDeviceGetMaxCustomerBoostClock 

4640 _check_or_init_nvml() 1b

4641 if __nvmlDeviceGetMaxCustomerBoostClock == NULL: 1b

4642 with gil: 

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

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

4645 device, clockType, clockMHz) 

4646  

4647  

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

4649 global __nvmlDeviceGetSupportedMemoryClocks 

4650 _check_or_init_nvml() 

4651 if __nvmlDeviceGetSupportedMemoryClocks == NULL: 

4652 with gil: 

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

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

4655 device, count, clocksMHz) 

4656  

4657  

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

4659 global __nvmlDeviceGetSupportedGraphicsClocks 

4660 _check_or_init_nvml() 

4661 if __nvmlDeviceGetSupportedGraphicsClocks == NULL: 

4662 with gil: 

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

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

4665 device, memoryClockMHz, count, clocksMHz) 

4666  

4667  

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

4669 global __nvmlDeviceGetAutoBoostedClocksEnabled 

4670 _check_or_init_nvml() 1w

4671 if __nvmlDeviceGetAutoBoostedClocksEnabled == NULL: 1w

4672 with gil: 

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

4674 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAutoBoostedClocksEnabled)( 1w

4675 device, isEnabled, defaultIsEnabled) 

4676  

4677  

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

4679 global __nvmlDeviceGetFanSpeed 

4680 _check_or_init_nvml() 

4681 if __nvmlDeviceGetFanSpeed == NULL: 

4682 with gil: 

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

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

4685 device, speed) 

4686  

4687  

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

4689 global __nvmlDeviceGetFanSpeed_v2 

4690 _check_or_init_nvml() 

4691 if __nvmlDeviceGetFanSpeed_v2 == NULL: 

4692 with gil: 

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

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

4695 device, fan, speed) 

4696  

4697  

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

4699 global __nvmlDeviceGetFanSpeedRPM 

4700 _check_or_init_nvml() 

4701 if __nvmlDeviceGetFanSpeedRPM == NULL: 

4702 with gil: 

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

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

4705 device, fanSpeed) 

4706  

4707  

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

4709 global __nvmlDeviceGetTargetFanSpeed 

4710 _check_or_init_nvml() 

4711 if __nvmlDeviceGetTargetFanSpeed == NULL: 

4712 with gil: 

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

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

4715 device, fan, targetSpeed) 

4716  

4717  

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

4719 global __nvmlDeviceGetMinMaxFanSpeed 

4720 _check_or_init_nvml() 

4721 if __nvmlDeviceGetMinMaxFanSpeed == NULL: 

4722 with gil: 

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

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

4725 device, minSpeed, maxSpeed) 

4726  

4727  

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

4729 global __nvmlDeviceGetFanControlPolicy_v2 

4730 _check_or_init_nvml() 

4731 if __nvmlDeviceGetFanControlPolicy_v2 == NULL: 

4732 with gil: 

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

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

4735 device, fan, policy) 

4736  

4737  

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

4739 global __nvmlDeviceGetNumFans 

4740 _check_or_init_nvml() 2wbDb

4741 if __nvmlDeviceGetNumFans == NULL: 2wbDb

4742 with gil: 

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

4744 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumFans)( 2wbDb

4745 device, numFans) 

4746  

4747  

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

4749 global __nvmlDeviceGetCoolerInfo 

4750 _check_or_init_nvml() 

4751 if __nvmlDeviceGetCoolerInfo == NULL: 

4752 with gil: 

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

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

4755 device, coolerInfo) 

4756  

4757  

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

4759 global __nvmlDeviceGetTemperatureV 

4760 _check_or_init_nvml() 1n

4761 if __nvmlDeviceGetTemperatureV == NULL: 1n

4762 with gil: 

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

4764 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperature_t*) noexcept nogil>__nvmlDeviceGetTemperatureV)( 1n

4765 device, temperature) 

4766  

4767  

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

4769 global __nvmlDeviceGetTemperatureThreshold 

4770 _check_or_init_nvml() 1kn

4771 if __nvmlDeviceGetTemperatureThreshold == NULL: 1kn

4772 with gil: 

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

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

4775 device, thresholdType, temp) 

4776  

4777  

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

4779 global __nvmlDeviceGetMarginTemperature 

4780 _check_or_init_nvml() 

4781 if __nvmlDeviceGetMarginTemperature == NULL: 

4782 with gil: 

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

4784 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMarginTemperature_t*) noexcept nogil>__nvmlDeviceGetMarginTemperature)( 1l

4785 device, marginTempInfo) 

4786  

4787  

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

4789 global __nvmlDeviceGetThermalSettings 

4790 _check_or_init_nvml() 

4791 if __nvmlDeviceGetThermalSettings == NULL: 

4792 with gil: 

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

4794 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuThermalSettings_t*) noexcept nogil>__nvmlDeviceGetThermalSettings)( 2Sb

4795 device, sensorIndex, pThermalSettings) 

4796  

4797  

4798cdef nvmlReturn_t _nvmlDeviceGetPerformanceState(nvmlDevice_t device, nvmlPstates_t* pState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Sb

4799 global __nvmlDeviceGetPerformanceState 

4800 _check_or_init_nvml() 1bD

4801 if __nvmlDeviceGetPerformanceState == NULL: 1bD

4802 with gil: 

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

4804 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t*) noexcept nogil>__nvmlDeviceGetPerformanceState)( 1bD

4805 device, pState) 

4806  

4807  

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

4809 global __nvmlDeviceGetCurrentClocksEventReasons 

4810 _check_or_init_nvml() 15

4811 if __nvmlDeviceGetCurrentClocksEventReasons == NULL: 15

4812 with gil: 

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

4814 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetCurrentClocksEventReasons)( 1d35

4815 device, clocksEventReasons) 

4816  

4817  

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

4819 global __nvmlDeviceGetSupportedClocksEventReasons 

4820 _check_or_init_nvml() 15

4821 if __nvmlDeviceGetSupportedClocksEventReasons == NULL: 15

4822 with gil: 

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

4824 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedClocksEventReasons)( 15

4825 device, supportedClocksEventReasons) 

4826  

4827  

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

4829 global __nvmlDeviceGetPowerState 

4830 _check_or_init_nvml() 

4831 if __nvmlDeviceGetPowerState == NULL: 

4832 with gil: 

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

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

4835 device, pState) 

4836  

4837  

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

4839 global __nvmlDeviceGetDynamicPstatesInfo 

4840 _check_or_init_nvml() 1D

4841 if __nvmlDeviceGetDynamicPstatesInfo == NULL: 1D

4842 with gil: 

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

4844 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuDynamicPstatesInfo_t*) noexcept nogil>__nvmlDeviceGetDynamicPstatesInfo)( 1iD

4845 device, pDynamicPstatesInfo) 

4846  

4847  

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

4849 global __nvmlDeviceGetMemClkVfOffset 

4850 _check_or_init_nvml() 

4851 if __nvmlDeviceGetMemClkVfOffset == NULL: 

4852 with gil: 

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

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

4855 device, offset) 

4856  

4857  

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

4859 global __nvmlDeviceGetMinMaxClockOfPState 

4860 _check_or_init_nvml() 1b

4861 if __nvmlDeviceGetMinMaxClockOfPState == NULL: 1b

4862 with gil: 

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

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

4865 device, type, pstate, minClockMHz, maxClockMHz) 

4866  

4867  

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

4869 global __nvmlDeviceGetSupportedPerformanceStates 

4870 _check_or_init_nvml() 1D

4871 if __nvmlDeviceGetSupportedPerformanceStates == NULL: 1D

4872 with gil: 

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

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

4875 device, pstates, size) 

4876  

4877  

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

4879 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

4880 _check_or_init_nvml() 

4881 if __nvmlDeviceGetGpcClkMinMaxVfOffset == NULL: 

4882 with gil: 

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

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

4885 device, minOffset, maxOffset) 

4886  

4887  

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

4889 global __nvmlDeviceGetMemClkMinMaxVfOffset 

4890 _check_or_init_nvml() 

4891 if __nvmlDeviceGetMemClkMinMaxVfOffset == NULL: 

4892 with gil: 

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

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

4895 device, minOffset, maxOffset) 

4896  

4897  

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

4899 global __nvmlDeviceGetClockOffsets 

4900 _check_or_init_nvml() 1b

4901 if __nvmlDeviceGetClockOffsets == NULL: 1b

4902 with gil: 

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

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

4905 device, info) 

4906  

4907  

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

4909 global __nvmlDeviceSetClockOffsets 

4910 _check_or_init_nvml() 

4911 if __nvmlDeviceSetClockOffsets == NULL: 

4912 with gil: 

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

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

4915 device, info) 

4916  

4917  

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

4919 global __nvmlDeviceGetPerformanceModes 

4920 _check_or_init_nvml() 1?

4921 if __nvmlDeviceGetPerformanceModes == NULL: 1?

4922 with gil: 

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

4924 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePerfModes_t*) noexcept nogil>__nvmlDeviceGetPerformanceModes)( 1?

4925 device, perfModes) 

4926  

4927  

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

4929 global __nvmlDeviceGetCurrentClockFreqs 

4930 _check_or_init_nvml() 2mb

4931 if __nvmlDeviceGetCurrentClockFreqs == NULL: 2mb

4932 with gil: 

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

4934 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCurrentClockFreqs_t*) noexcept nogil>__nvmlDeviceGetCurrentClockFreqs)( 2mbPb

4935 device, currentClockFreqs) 

4936  

4937  

4938cdef nvmlReturn_t _nvmlDeviceGetPowerManagementLimit(nvmlDevice_t device, unsigned int* limit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Pb

4939 global __nvmlDeviceGetPowerManagementLimit 

4940 _check_or_init_nvml() 2ob

4941 if __nvmlDeviceGetPowerManagementLimit == NULL: 2ob

4942 with gil: 

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

4944 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerManagementLimit)( 2ob

4945 device, limit) 

4946  

4947  

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

4949 global __nvmlDeviceGetPowerManagementLimitConstraints 

4950 _check_or_init_nvml() 

4951 if __nvmlDeviceGetPowerManagementLimitConstraints == NULL: 

4952 with gil: 

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

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

4955 device, minLimit, maxLimit) 

4956  

4957  

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

4959 global __nvmlDeviceGetPowerManagementDefaultLimit 

4960 _check_or_init_nvml() 

4961 if __nvmlDeviceGetPowerManagementDefaultLimit == NULL: 

4962 with gil: 

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

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

4965 device, defaultLimit) 

4966  

4967  

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

4969 global __nvmlDeviceGetPowerUsage 

4970 _check_or_init_nvml() 2qb

4971 if __nvmlDeviceGetPowerUsage == NULL: 2qb

4972 with gil: 

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

4974 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerUsage)( 2qb

4975 device, power) 

4976  

4977  

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

4979 global __nvmlDeviceGetTotalEnergyConsumption 

4980 _check_or_init_nvml() 2lb

4981 if __nvmlDeviceGetTotalEnergyConsumption == NULL: 2lb

4982 with gil: 

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

4984 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetTotalEnergyConsumption)( 2lb

4985 device, energy) 

4986  

4987  

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

4989 global __nvmlDeviceGetEnforcedPowerLimit 

4990 _check_or_init_nvml() 

4991 if __nvmlDeviceGetEnforcedPowerLimit == NULL: 

4992 with gil: 

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

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

4995 device, limit) 

4996  

4997  

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

4999 global __nvmlDeviceGetGpuOperationMode 

5000 _check_or_init_nvml() 

5001 if __nvmlDeviceGetGpuOperationMode == NULL: 

5002 with gil: 

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

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

5005 device, current, pending) 

5006  

5007  

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

5009 global __nvmlDeviceGetMemoryInfo_v2 

5010 _check_or_init_nvml() 2kb(

5011 if __nvmlDeviceGetMemoryInfo_v2 == NULL: 2kb(

5012 with gil: 

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

5014 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_v2_t*) noexcept nogil>__nvmlDeviceGetMemoryInfo_v2)( 2kb(

5015 device, memory) 

5016  

5017  

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

5019 global __nvmlDeviceGetComputeMode 

5020 _check_or_init_nvml() 1!

5021 if __nvmlDeviceGetComputeMode == NULL: 1!

5022 with gil: 

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

5024 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t*) noexcept nogil>__nvmlDeviceGetComputeMode)( 1!

5025 device, mode) 

5026  

5027  

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

5029 global __nvmlDeviceGetCudaComputeCapability 

5030 _check_or_init_nvml() 2zb

5031 if __nvmlDeviceGetCudaComputeCapability == NULL: 2zb

5032 with gil: 

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

5034 return (<nvmlReturn_t (*)(nvmlDevice_t, int*, int*) noexcept nogil>__nvmlDeviceGetCudaComputeCapability)( 2zb

5035 device, major, minor) 

5036  

5037  

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

5039 global __nvmlDeviceGetDramEncryptionMode 

5040 _check_or_init_nvml() 

5041 if __nvmlDeviceGetDramEncryptionMode == NULL: 

5042 with gil: 

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

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

5045 device, current, pending) 

5046  

5047  

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

5049 global __nvmlDeviceSetDramEncryptionMode 

5050 _check_or_init_nvml() 

5051 if __nvmlDeviceSetDramEncryptionMode == NULL: 

5052 with gil: 

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

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

5055 device, dramEncryption) 

5056  

5057  

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

5059 global __nvmlDeviceGetEccMode 

5060 _check_or_init_nvml() 1u

5061 if __nvmlDeviceGetEccMode == NULL: 1u

5062 with gil: 

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

5064 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetEccMode)( 1u

5065 device, current, pending) 

5066  

5067  

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

5069 global __nvmlDeviceGetDefaultEccMode 

5070 _check_or_init_nvml() 

5071 if __nvmlDeviceGetDefaultEccMode == NULL: 

5072 with gil: 

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

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

5075 device, defaultMode) 

5076  

5077  

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

5079 global __nvmlDeviceGetBoardId 

5080 _check_or_init_nvml() 

5081 if __nvmlDeviceGetBoardId == NULL: 

5082 with gil: 

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

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

5085 device, boardId) 

5086  

5087  

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

5089 global __nvmlDeviceGetMultiGpuBoard 

5090 _check_or_init_nvml() 

5091 if __nvmlDeviceGetMultiGpuBoard == NULL: 

5092 with gil: 

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

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

5095 device, multiGpuBool) 

5096  

5097  

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

5099 global __nvmlDeviceGetTotalEccErrors 

5100 _check_or_init_nvml() 

5101 if __nvmlDeviceGetTotalEccErrors == NULL: 

5102 with gil: 

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

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

5105 device, errorType, counterType, eccCounts) 

5106  

5107  

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

5109 global __nvmlDeviceGetMemoryErrorCounter 

5110 _check_or_init_nvml() 

5111 if __nvmlDeviceGetMemoryErrorCounter == NULL: 

5112 with gil: 

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

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

5115 device, errorType, counterType, locationType, count) 

5116  

5117  

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

5119 global __nvmlDeviceGetUtilizationRates 

5120 _check_or_init_nvml() 2rb/

5121 if __nvmlDeviceGetUtilizationRates == NULL: 2rb/

5122 with gil: 

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

5124 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUtilization_t*) noexcept nogil>__nvmlDeviceGetUtilizationRates)( 2rb/

5125 device, utilization) 

5126  

5127  

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

5129 global __nvmlDeviceGetEncoderUtilization 

5130 _check_or_init_nvml() 

5131 if __nvmlDeviceGetEncoderUtilization == NULL: 

5132 with gil: 

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

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

5135 device, utilization, samplingPeriodUs) 

5136  

5137  

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

5139 global __nvmlDeviceGetEncoderCapacity 

5140 _check_or_init_nvml() 

5141 if __nvmlDeviceGetEncoderCapacity == NULL: 

5142 with gil: 

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

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

5145 device, encoderQueryType, encoderCapacity) 

5146  

5147  

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

5149 global __nvmlDeviceGetEncoderStats 

5150 _check_or_init_nvml() 

5151 if __nvmlDeviceGetEncoderStats == NULL: 

5152 with gil: 

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

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

5155 device, sessionCount, averageFps, averageLatency) 

5156  

5157  

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

5159 global __nvmlDeviceGetEncoderSessions 

5160 _check_or_init_nvml() 

5161 if __nvmlDeviceGetEncoderSessions == NULL: 

5162 with gil: 

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

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

5165 device, sessionCount, sessionInfos) 

5166  

5167  

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

5169 global __nvmlDeviceGetDecoderUtilization 

5170 _check_or_init_nvml() 

5171 if __nvmlDeviceGetDecoderUtilization == NULL: 

5172 with gil: 

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

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

5175 device, utilization, samplingPeriodUs) 

5176  

5177  

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

5179 global __nvmlDeviceGetJpgUtilization 

5180 _check_or_init_nvml() 

5181 if __nvmlDeviceGetJpgUtilization == NULL: 

5182 with gil: 

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

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

5185 device, utilization, samplingPeriodUs) 

5186  

5187  

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

5189 global __nvmlDeviceGetOfaUtilization 

5190 _check_or_init_nvml() 

5191 if __nvmlDeviceGetOfaUtilization == NULL: 

5192 with gil: 

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

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

5195 device, utilization, samplingPeriodUs) 

5196  

5197  

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

5199 global __nvmlDeviceGetFBCStats 

5200 _check_or_init_nvml() 

5201 if __nvmlDeviceGetFBCStats == NULL: 

5202 with gil: 

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

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

5205 device, fbcStats) 

5206  

5207  

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

5209 global __nvmlDeviceGetFBCSessions 

5210 _check_or_init_nvml() 

5211 if __nvmlDeviceGetFBCSessions == NULL: 

5212 with gil: 

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

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

5215 device, sessionCount, sessionInfo) 

5216  

5217  

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

5219 global __nvmlDeviceGetDriverModel_v2 

5220 _check_or_init_nvml() 

5221 if __nvmlDeviceGetDriverModel_v2 == NULL: 

5222 with gil: 

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

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

5225 device, current, pending) 

5226  

5227  

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

5229 global __nvmlDeviceGetVbiosVersion 

5230 _check_or_init_nvml() 

5231 if __nvmlDeviceGetVbiosVersion == NULL: 

5232 with gil: 

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

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

5235 device, version, length) 

5236  

5237  

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

5239 global __nvmlDeviceGetBridgeChipInfo 

5240 _check_or_init_nvml() 1o

5241 if __nvmlDeviceGetBridgeChipInfo == NULL: 1o

5242 with gil: 

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

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

5245 device, bridgeHierarchy) 

5246  

5247  

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

5249 global __nvmlDeviceGetComputeRunningProcesses_v3 

5250 _check_or_init_nvml() 1y

5251 if __nvmlDeviceGetComputeRunningProcesses_v3 == NULL: 1y

5252 with gil: 

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

5254 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetComputeRunningProcesses_v3)( 1y

5255 device, infoCount, infos) 

5256  

5257  

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

5259 global __nvmlDeviceGetGraphicsRunningProcesses_v3 

5260 _check_or_init_nvml() 

5261 if __nvmlDeviceGetGraphicsRunningProcesses_v3 == NULL: 

5262 with gil: 

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

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

5265 device, infoCount, infos) 

5266  

5267  

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

5269 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

5270 _check_or_init_nvml() 

5271 if __nvmlDeviceGetMPSComputeRunningProcesses_v3 == NULL: 

5272 with gil: 

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

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

5275 device, infoCount, infos) 

5276  

5277  

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

5279 global __nvmlDeviceGetRunningProcessDetailList 

5280 _check_or_init_nvml() 

5281 if __nvmlDeviceGetRunningProcessDetailList == NULL: 

5282 with gil: 

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

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

5285 device, plist) 

5286  

5287  

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

5289 global __nvmlDeviceOnSameBoard 

5290 _check_or_init_nvml() 

5291 if __nvmlDeviceOnSameBoard == NULL: 

5292 with gil: 

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

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

5295 device1, device2, onSameBoard) 

5296  

5297  

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

5299 global __nvmlDeviceGetAPIRestriction 

5300 _check_or_init_nvml() 

5301 if __nvmlDeviceGetAPIRestriction == NULL: 

5302 with gil: 

5303 raise FunctionNotFoundError("function nvmlDeviceGetAPIRestriction is not found") 

5304 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAPIRestriction)( 

5305 device, apiType, isRestricted) 

5306  

5307  

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

5309 global __nvmlDeviceGetSamples 

5310 _check_or_init_nvml() 

5311 if __nvmlDeviceGetSamples == NULL: 

5312 with gil: 

5313 raise FunctionNotFoundError("function nvmlDeviceGetSamples is not found") 

5314 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlSamplingType_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlSample_t*) noexcept nogil>__nvmlDeviceGetSamples)( 

5315 device, type, lastSeenTimeStamp, sampleValType, sampleCount, samples) 

5316  

5317  

5318cdef nvmlReturn_t _nvmlDeviceGetBAR1MemoryInfo(nvmlDevice_t device, nvmlBAR1Memory_t* bar1Memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5319 global __nvmlDeviceGetBAR1MemoryInfo 

5320 _check_or_init_nvml() 1%

5321 if __nvmlDeviceGetBAR1MemoryInfo == NULL: 1%

5322 with gil: 

5323 raise FunctionNotFoundError("function nvmlDeviceGetBAR1MemoryInfo is not found") 

5324 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBAR1Memory_t*) noexcept nogil>__nvmlDeviceGetBAR1MemoryInfo)( 1%

5325 device, bar1Memory) 

5326  

5327  

5328cdef nvmlReturn_t _nvmlDeviceGetIrqNum(nvmlDevice_t device, unsigned int* irqNum) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5329 global __nvmlDeviceGetIrqNum 

5330 _check_or_init_nvml() 

5331 if __nvmlDeviceGetIrqNum == NULL: 

5332 with gil: 

5333 raise FunctionNotFoundError("function nvmlDeviceGetIrqNum is not found") 

5334 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIrqNum)( 

5335 device, irqNum) 

5336  

5337  

5338cdef nvmlReturn_t _nvmlDeviceGetNumGpuCores(nvmlDevice_t device, unsigned int* numCores) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5339 global __nvmlDeviceGetNumGpuCores 

5340 _check_or_init_nvml() 

5341 if __nvmlDeviceGetNumGpuCores == NULL: 

5342 with gil: 

5343 raise FunctionNotFoundError("function nvmlDeviceGetNumGpuCores is not found") 

5344 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumGpuCores)( 

5345 device, numCores) 

5346  

5347  

5348cdef nvmlReturn_t _nvmlDeviceGetPowerSource(nvmlDevice_t device, nvmlPowerSource_t* powerSource) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5349 global __nvmlDeviceGetPowerSource 

5350 _check_or_init_nvml() 

5351 if __nvmlDeviceGetPowerSource == NULL: 

5352 with gil: 

5353 raise FunctionNotFoundError("function nvmlDeviceGetPowerSource is not found") 

5354 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSource_t*) noexcept nogil>__nvmlDeviceGetPowerSource)( 

5355 device, powerSource) 

5356  

5357  

5358cdef nvmlReturn_t _nvmlDeviceGetMemoryBusWidth(nvmlDevice_t device, unsigned int* busWidth) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5359 global __nvmlDeviceGetMemoryBusWidth 

5360 _check_or_init_nvml() 

5361 if __nvmlDeviceGetMemoryBusWidth == NULL: 

5362 with gil: 

5363 raise FunctionNotFoundError("function nvmlDeviceGetMemoryBusWidth is not found") 

5364 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMemoryBusWidth)( 

5365 device, busWidth) 

5366  

5367  

5368cdef nvmlReturn_t _nvmlDeviceGetPcieLinkMaxSpeed(nvmlDevice_t device, unsigned int* maxSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5369 global __nvmlDeviceGetPcieLinkMaxSpeed 

5370 _check_or_init_nvml() 

5371 if __nvmlDeviceGetPcieLinkMaxSpeed == NULL: 

5372 with gil: 

5373 raise FunctionNotFoundError("function nvmlDeviceGetPcieLinkMaxSpeed is not found") 

5374 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieLinkMaxSpeed)( 

5375 device, maxSpeed) 

5376  

5377  

5378cdef nvmlReturn_t _nvmlDeviceGetPcieSpeed(nvmlDevice_t device, unsigned int* pcieSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5379 global __nvmlDeviceGetPcieSpeed 

5380 _check_or_init_nvml() 

5381 if __nvmlDeviceGetPcieSpeed == NULL: 

5382 with gil: 

5383 raise FunctionNotFoundError("function nvmlDeviceGetPcieSpeed is not found") 

5384 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieSpeed)( 

5385 device, pcieSpeed) 

5386  

5387  

5388cdef nvmlReturn_t _nvmlDeviceGetAdaptiveClockInfoStatus(nvmlDevice_t device, unsigned int* adaptiveClockStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5389 global __nvmlDeviceGetAdaptiveClockInfoStatus 

5390 _check_or_init_nvml() 

5391 if __nvmlDeviceGetAdaptiveClockInfoStatus == NULL: 

5392 with gil: 

5393 raise FunctionNotFoundError("function nvmlDeviceGetAdaptiveClockInfoStatus is not found") 

5394 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAdaptiveClockInfoStatus)( 

5395 device, adaptiveClockStatus) 

5396  

5397  

5398cdef nvmlReturn_t _nvmlDeviceGetBusType(nvmlDevice_t device, nvmlBusType_t* type) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5399 global __nvmlDeviceGetBusType 

5400 _check_or_init_nvml() 

5401 if __nvmlDeviceGetBusType == NULL: 

5402 with gil: 

5403 raise FunctionNotFoundError("function nvmlDeviceGetBusType is not found") 

5404 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBusType_t*) noexcept nogil>__nvmlDeviceGetBusType)( 

5405 device, type) 

5406  

5407  

5408cdef nvmlReturn_t _nvmlDeviceGetGpuFabricInfoV(nvmlDevice_t device, nvmlGpuFabricInfoV_t* gpuFabricInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5409 global __nvmlDeviceGetGpuFabricInfoV 

5410 _check_or_init_nvml() 

5411 if __nvmlDeviceGetGpuFabricInfoV == NULL: 

5412 with gil: 

5413 raise FunctionNotFoundError("function nvmlDeviceGetGpuFabricInfoV is not found") 

5414 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuFabricInfoV_t*) noexcept nogil>__nvmlDeviceGetGpuFabricInfoV)( 

5415 device, gpuFabricInfo) 

5416  

5417  

5418cdef nvmlReturn_t _nvmlSystemGetConfComputeCapabilities(nvmlConfComputeSystemCaps_t* capabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5419 global __nvmlSystemGetConfComputeCapabilities 

5420 _check_or_init_nvml() 

5421 if __nvmlSystemGetConfComputeCapabilities == NULL: 

5422 with gil: 

5423 raise FunctionNotFoundError("function nvmlSystemGetConfComputeCapabilities is not found") 

5424 return (<nvmlReturn_t (*)(nvmlConfComputeSystemCaps_t*) noexcept nogil>__nvmlSystemGetConfComputeCapabilities)( 

5425 capabilities) 

5426  

5427  

5428cdef nvmlReturn_t _nvmlSystemGetConfComputeState(nvmlConfComputeSystemState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5429 global __nvmlSystemGetConfComputeState 

5430 _check_or_init_nvml() 

5431 if __nvmlSystemGetConfComputeState == NULL: 

5432 with gil: 

5433 raise FunctionNotFoundError("function nvmlSystemGetConfComputeState is not found") 

5434 return (<nvmlReturn_t (*)(nvmlConfComputeSystemState_t*) noexcept nogil>__nvmlSystemGetConfComputeState)( 

5435 state) 

5436  

5437  

5438cdef nvmlReturn_t _nvmlDeviceGetConfComputeMemSizeInfo(nvmlDevice_t device, nvmlConfComputeMemSizeInfo_t* memInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5439 global __nvmlDeviceGetConfComputeMemSizeInfo 

5440 _check_or_init_nvml() 

5441 if __nvmlDeviceGetConfComputeMemSizeInfo == NULL: 

5442 with gil: 

5443 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeMemSizeInfo is not found") 

5444 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeMemSizeInfo_t*) noexcept nogil>__nvmlDeviceGetConfComputeMemSizeInfo)( 

5445 device, memInfo) 

5446  

5447  

5448cdef nvmlReturn_t _nvmlSystemGetConfComputeGpusReadyState(unsigned int* isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5449 global __nvmlSystemGetConfComputeGpusReadyState 

5450 _check_or_init_nvml() 

5451 if __nvmlSystemGetConfComputeGpusReadyState == NULL: 

5452 with gil: 

5453 raise FunctionNotFoundError("function nvmlSystemGetConfComputeGpusReadyState is not found") 

5454 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetConfComputeGpusReadyState)( 

5455 isAcceptingWork) 

5456  

5457  

5458cdef nvmlReturn_t _nvmlDeviceGetConfComputeProtectedMemoryUsage(nvmlDevice_t device, nvmlMemory_t* memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5459 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

5460 _check_or_init_nvml() 

5461 if __nvmlDeviceGetConfComputeProtectedMemoryUsage == NULL: 

5462 with gil: 

5463 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeProtectedMemoryUsage is not found") 

5464 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_t*) noexcept nogil>__nvmlDeviceGetConfComputeProtectedMemoryUsage)( 

5465 device, memory) 

5466  

5467  

5468cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuCertificate(nvmlDevice_t device, nvmlConfComputeGpuCertificate_t* gpuCert) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5469 global __nvmlDeviceGetConfComputeGpuCertificate 

5470 _check_or_init_nvml() 1s

5471 if __nvmlDeviceGetConfComputeGpuCertificate == NULL: 1s

5472 with gil: 

5473 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuCertificate is not found") 

5474 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuCertificate_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuCertificate)( 1s

5475 device, gpuCert) 

5476  

5477  

5478cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuAttestationReport(nvmlDevice_t device, nvmlConfComputeGpuAttestationReport_t* gpuAtstReport) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5479 global __nvmlDeviceGetConfComputeGpuAttestationReport 

5480 _check_or_init_nvml() 1t

5481 if __nvmlDeviceGetConfComputeGpuAttestationReport == NULL: 1t

5482 with gil: 

5483 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuAttestationReport is not found") 

5484 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuAttestationReport_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuAttestationReport)( 1t

5485 device, gpuAtstReport) 

5486  

5487  

5488cdef nvmlReturn_t _nvmlSystemGetConfComputeKeyRotationThresholdInfo(nvmlConfComputeGetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5489 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

5490 _check_or_init_nvml() 

5491 if __nvmlSystemGetConfComputeKeyRotationThresholdInfo == NULL: 

5492 with gil: 

5493 raise FunctionNotFoundError("function nvmlSystemGetConfComputeKeyRotationThresholdInfo is not found") 

5494 return (<nvmlReturn_t (*)(nvmlConfComputeGetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemGetConfComputeKeyRotationThresholdInfo)( 

5495 pKeyRotationThrInfo) 

5496  

5497  

5498cdef nvmlReturn_t _nvmlDeviceSetConfComputeUnprotectedMemSize(nvmlDevice_t device, unsigned long long sizeKiB) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5499 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

5500 _check_or_init_nvml() 

5501 if __nvmlDeviceSetConfComputeUnprotectedMemSize == NULL: 

5502 with gil: 

5503 raise FunctionNotFoundError("function nvmlDeviceSetConfComputeUnprotectedMemSize is not found") 

5504 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long) noexcept nogil>__nvmlDeviceSetConfComputeUnprotectedMemSize)( 

5505 device, sizeKiB) 

5506  

5507  

5508cdef nvmlReturn_t _nvmlSystemSetConfComputeGpusReadyState(unsigned int isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5509 global __nvmlSystemSetConfComputeGpusReadyState 

5510 _check_or_init_nvml() 

5511 if __nvmlSystemSetConfComputeGpusReadyState == NULL: 

5512 with gil: 

5513 raise FunctionNotFoundError("function nvmlSystemSetConfComputeGpusReadyState is not found") 

5514 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetConfComputeGpusReadyState)( 

5515 isAcceptingWork) 

5516  

5517  

5518cdef nvmlReturn_t _nvmlSystemSetConfComputeKeyRotationThresholdInfo(nvmlConfComputeSetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5519 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

5520 _check_or_init_nvml() 

5521 if __nvmlSystemSetConfComputeKeyRotationThresholdInfo == NULL: 

5522 with gil: 

5523 raise FunctionNotFoundError("function nvmlSystemSetConfComputeKeyRotationThresholdInfo is not found") 

5524 return (<nvmlReturn_t (*)(nvmlConfComputeSetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemSetConfComputeKeyRotationThresholdInfo)( 

5525 pKeyRotationThrInfo) 

5526  

5527  

5528cdef nvmlReturn_t _nvmlSystemGetConfComputeSettings(nvmlSystemConfComputeSettings_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5529 global __nvmlSystemGetConfComputeSettings 

5530 _check_or_init_nvml() 

5531 if __nvmlSystemGetConfComputeSettings == NULL: 

5532 with gil: 

5533 raise FunctionNotFoundError("function nvmlSystemGetConfComputeSettings is not found") 

5534 return (<nvmlReturn_t (*)(nvmlSystemConfComputeSettings_t*) noexcept nogil>__nvmlSystemGetConfComputeSettings)( 

5535 settings) 

5536  

5537  

5538cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareVersion(nvmlDevice_t device, char* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5539 global __nvmlDeviceGetGspFirmwareVersion 

5540 _check_or_init_nvml() 

5541 if __nvmlDeviceGetGspFirmwareVersion == NULL: 

5542 with gil: 

5543 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareVersion is not found") 

5544 return (<nvmlReturn_t (*)(nvmlDevice_t, char*) noexcept nogil>__nvmlDeviceGetGspFirmwareVersion)( 

5545 device, version) 

5546  

5547  

5548cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareMode(nvmlDevice_t device, unsigned int* isEnabled, unsigned int* defaultMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5549 global __nvmlDeviceGetGspFirmwareMode 

5550 _check_or_init_nvml() 

5551 if __nvmlDeviceGetGspFirmwareMode == NULL: 

5552 with gil: 

5553 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareMode is not found") 

5554 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetGspFirmwareMode)( 

5555 device, isEnabled, defaultMode) 

5556  

5557  

5558cdef nvmlReturn_t _nvmlDeviceGetSramEccErrorStatus(nvmlDevice_t device, nvmlEccSramErrorStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5559 global __nvmlDeviceGetSramEccErrorStatus 

5560 _check_or_init_nvml() 

5561 if __nvmlDeviceGetSramEccErrorStatus == NULL: 

5562 with gil: 

5563 raise FunctionNotFoundError("function nvmlDeviceGetSramEccErrorStatus is not found") 

5564 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramErrorStatus_t*) noexcept nogil>__nvmlDeviceGetSramEccErrorStatus)( 

5565 device, status) 

5566  

5567  

5568cdef nvmlReturn_t _nvmlDeviceGetAccountingMode(nvmlDevice_t device, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5569 global __nvmlDeviceGetAccountingMode 

5570 _check_or_init_nvml() 

5571 if __nvmlDeviceGetAccountingMode == NULL: 

5572 with gil: 

5573 raise FunctionNotFoundError("function nvmlDeviceGetAccountingMode is not found") 

5574 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAccountingMode)( 

5575 device, mode) 

5576  

5577  

5578cdef nvmlReturn_t _nvmlDeviceGetAccountingStats(nvmlDevice_t device, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5579 global __nvmlDeviceGetAccountingStats 

5580 _check_or_init_nvml() 

5581 if __nvmlDeviceGetAccountingStats == NULL: 

5582 with gil: 

5583 raise FunctionNotFoundError("function nvmlDeviceGetAccountingStats is not found") 

5584 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlDeviceGetAccountingStats)( 

5585 device, pid, stats) 

5586  

5587  

5588cdef nvmlReturn_t _nvmlDeviceGetAccountingPids(nvmlDevice_t device, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5589 global __nvmlDeviceGetAccountingPids 

5590 _check_or_init_nvml() 

5591 if __nvmlDeviceGetAccountingPids == NULL: 

5592 with gil: 

5593 raise FunctionNotFoundError("function nvmlDeviceGetAccountingPids is not found") 

5594 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingPids)( 

5595 device, count, pids) 

5596  

5597  

5598cdef nvmlReturn_t _nvmlDeviceGetAccountingBufferSize(nvmlDevice_t device, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5599 global __nvmlDeviceGetAccountingBufferSize 

5600 _check_or_init_nvml() 

5601 if __nvmlDeviceGetAccountingBufferSize == NULL: 

5602 with gil: 

5603 raise FunctionNotFoundError("function nvmlDeviceGetAccountingBufferSize is not found") 

5604 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingBufferSize)( 

5605 device, bufferSize) 

5606  

5607  

5608cdef nvmlReturn_t _nvmlDeviceGetRetiredPages(nvmlDevice_t device, nvmlPageRetirementCause_t cause, unsigned int* pageCount, unsigned long long* addresses) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5609 global __nvmlDeviceGetRetiredPages 

5610 _check_or_init_nvml() 2u gb

5611 if __nvmlDeviceGetRetiredPages == NULL: 2u gb

5612 with gil: 

5613 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages is not found") 

5614 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages)( 2u gb

5615 device, cause, pageCount, addresses) 

5616  

5617  

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

5619 global __nvmlDeviceGetRetiredPages_v2 

5620 _check_or_init_nvml() 

5621 if __nvmlDeviceGetRetiredPages_v2 == NULL: 

5622 with gil: 

5623 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages_v2 is not found") 

5624 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages_v2)( 

5625 device, cause, pageCount, addresses, timestamps) 

5626  

5627  

5628cdef nvmlReturn_t _nvmlDeviceGetRetiredPagesPendingStatus(nvmlDevice_t device, nvmlEnableState_t* isPending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5629 global __nvmlDeviceGetRetiredPagesPendingStatus 

5630 _check_or_init_nvml() 1u

5631 if __nvmlDeviceGetRetiredPagesPendingStatus == NULL: 1u

5632 with gil: 

5633 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPagesPendingStatus is not found") 

5634 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetRetiredPagesPendingStatus)( 1u

5635 device, isPending) 

5636  

5637  

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

5639 global __nvmlDeviceGetRemappedRows 

5640 _check_or_init_nvml() 

5641 if __nvmlDeviceGetRemappedRows == NULL: 

5642 with gil: 

5643 raise FunctionNotFoundError("function nvmlDeviceGetRemappedRows is not found") 

5644 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetRemappedRows)( 

5645 device, corrRows, uncRows, isPending, failureOccurred) 

5646  

5647  

5648cdef nvmlReturn_t _nvmlDeviceGetRowRemapperHistogram(nvmlDevice_t device, nvmlRowRemapperHistogramValues_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5649 global __nvmlDeviceGetRowRemapperHistogram 

5650 _check_or_init_nvml() 

5651 if __nvmlDeviceGetRowRemapperHistogram == NULL: 

5652 with gil: 

5653 raise FunctionNotFoundError("function nvmlDeviceGetRowRemapperHistogram is not found") 

5654 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRowRemapperHistogramValues_t*) noexcept nogil>__nvmlDeviceGetRowRemapperHistogram)( 

5655 device, values) 

5656  

5657  

5658cdef nvmlReturn_t _nvmlDeviceGetArchitecture(nvmlDevice_t device, nvmlDeviceArchitecture_t* arch) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5659 global __nvmlDeviceGetArchitecture 

5660 _check_or_init_nvml() 2! mb? i j obr 2 k s t d 3 Rbf o l 1b2b3b4bkbF H J L N P pbqblbrb$ 4 w x 5 b y xbz % ' ( c ) Cb7 Ebg A + B C D - n /

5661 if __nvmlDeviceGetArchitecture == NULL: 2! mb? i j obr 2 k s t d 3 Rbf o l 1b2b3b4bkbF H J L N P pbqblbrb$ 4 w x 5 b y xbz % ' ( c ) Cb7 Ebg A + B C D - n /

5662 with gil: 

5663 raise FunctionNotFoundError("function nvmlDeviceGetArchitecture is not found") 

5664 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceArchitecture_t*) noexcept nogil>__nvmlDeviceGetArchitecture)( 2! mb? i j obr 2 k s t d 3 Rbf o l 1b2b3b4bkbF H J L N P pbqblbrb$ 4 w x 5 b y xbz % ' ( c ) Cb7 Ebg A + B C D - n /

5665 device, arch) 

5666  

5667  

5668cdef nvmlReturn_t _nvmlDeviceGetClkMonStatus(nvmlDevice_t device, nvmlClkMonStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5669 global __nvmlDeviceGetClkMonStatus 

5670 _check_or_init_nvml() 

5671 if __nvmlDeviceGetClkMonStatus == NULL: 

5672 with gil: 

5673 raise FunctionNotFoundError("function nvmlDeviceGetClkMonStatus is not found") 

5674 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClkMonStatus_t*) noexcept nogil>__nvmlDeviceGetClkMonStatus)( 

5675 device, status) 

5676  

5677  

5678cdef nvmlReturn_t _nvmlDeviceGetProcessUtilization(nvmlDevice_t device, nvmlProcessUtilizationSample_t* utilization, unsigned int* processSamplesCount, unsigned long long lastSeenTimeStamp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5679 global __nvmlDeviceGetProcessUtilization 

5680 _check_or_init_nvml() 

5681 if __nvmlDeviceGetProcessUtilization == NULL: 

5682 with gil: 

5683 raise FunctionNotFoundError("function nvmlDeviceGetProcessUtilization is not found") 

5684 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessUtilizationSample_t*, unsigned int*, unsigned long long) noexcept nogil>__nvmlDeviceGetProcessUtilization)( 

5685 device, utilization, processSamplesCount, lastSeenTimeStamp) 

5686  

5687  

5688cdef nvmlReturn_t _nvmlDeviceGetProcessesUtilizationInfo(nvmlDevice_t device, nvmlProcessesUtilizationInfo_t* procesesUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5689 global __nvmlDeviceGetProcessesUtilizationInfo 

5690 _check_or_init_nvml() 

5691 if __nvmlDeviceGetProcessesUtilizationInfo == NULL: 

5692 with gil: 

5693 raise FunctionNotFoundError("function nvmlDeviceGetProcessesUtilizationInfo is not found") 

5694 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetProcessesUtilizationInfo)( 

5695 device, procesesUtilInfo) 

5696  

5697  

5698cdef nvmlReturn_t _nvmlDeviceGetPlatformInfo(nvmlDevice_t device, nvmlPlatformInfo_t* platformInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5699 global __nvmlDeviceGetPlatformInfo 

5700 _check_or_init_nvml() 13

5701 if __nvmlDeviceGetPlatformInfo == NULL: 13

5702 with gil: 

5703 raise FunctionNotFoundError("function nvmlDeviceGetPlatformInfo is not found") 

5704 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPlatformInfo_t*) noexcept nogil>__nvmlDeviceGetPlatformInfo)( 13

5705 device, platformInfo) 

5706  

5707  

5708cdef nvmlReturn_t _nvmlUnitSetLedState(nvmlUnit_t unit, nvmlLedColor_t color) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5709 global __nvmlUnitSetLedState 

5710 _check_or_init_nvml() 

5711 if __nvmlUnitSetLedState == NULL: 

5712 with gil: 

5713 raise FunctionNotFoundError("function nvmlUnitSetLedState is not found") 

5714 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlLedColor_t) noexcept nogil>__nvmlUnitSetLedState)( 

5715 unit, color) 

5716  

5717  

5718cdef nvmlReturn_t _nvmlDeviceSetPersistenceMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5719 global __nvmlDeviceSetPersistenceMode 

5720 _check_or_init_nvml() 1,

5721 if __nvmlDeviceSetPersistenceMode == NULL: 1,

5722 with gil: 

5723 raise FunctionNotFoundError("function nvmlDeviceSetPersistenceMode is not found") 

5724 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetPersistenceMode)( 1,

5725 device, mode) 

5726  

5727  

5728cdef nvmlReturn_t _nvmlDeviceSetComputeMode(nvmlDevice_t device, nvmlComputeMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5729 global __nvmlDeviceSetComputeMode 

5730 _check_or_init_nvml() 1!

5731 if __nvmlDeviceSetComputeMode == NULL: 1!

5732 with gil: 

5733 raise FunctionNotFoundError("function nvmlDeviceSetComputeMode is not found") 

5734 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t) noexcept nogil>__nvmlDeviceSetComputeMode)( 1!

5735 device, mode) 

5736  

5737  

5738cdef nvmlReturn_t _nvmlDeviceSetEccMode(nvmlDevice_t device, nvmlEnableState_t ecc) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5739 global __nvmlDeviceSetEccMode 

5740 _check_or_init_nvml() 

5741 if __nvmlDeviceSetEccMode == NULL: 

5742 with gil: 

5743 raise FunctionNotFoundError("function nvmlDeviceSetEccMode is not found") 

5744 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetEccMode)( 

5745 device, ecc) 

5746  

5747  

5748cdef nvmlReturn_t _nvmlDeviceClearEccErrorCounts(nvmlDevice_t device, nvmlEccCounterType_t counterType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5749 global __nvmlDeviceClearEccErrorCounts 

5750 _check_or_init_nvml() 

5751 if __nvmlDeviceClearEccErrorCounts == NULL: 

5752 with gil: 

5753 raise FunctionNotFoundError("function nvmlDeviceClearEccErrorCounts is not found") 

5754 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccCounterType_t) noexcept nogil>__nvmlDeviceClearEccErrorCounts)( 

5755 device, counterType) 

5756  

5757  

5758cdef nvmlReturn_t _nvmlDeviceSetDriverModel(nvmlDevice_t device, nvmlDriverModel_t driverModel, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5759 global __nvmlDeviceSetDriverModel 

5760 _check_or_init_nvml() 

5761 if __nvmlDeviceSetDriverModel == NULL: 

5762 with gil: 

5763 raise FunctionNotFoundError("function nvmlDeviceSetDriverModel is not found") 

5764 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDriverModel_t, unsigned int) noexcept nogil>__nvmlDeviceSetDriverModel)( 

5765 device, driverModel, flags) 

5766  

5767  

5768cdef nvmlReturn_t _nvmlDeviceSetGpuLockedClocks(nvmlDevice_t device, unsigned int minGpuClockMHz, unsigned int maxGpuClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5769 global __nvmlDeviceSetGpuLockedClocks 

5770 _check_or_init_nvml() 

5771 if __nvmlDeviceSetGpuLockedClocks == NULL: 

5772 with gil: 

5773 raise FunctionNotFoundError("function nvmlDeviceSetGpuLockedClocks is not found") 

5774 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetGpuLockedClocks)( 

5775 device, minGpuClockMHz, maxGpuClockMHz) 

5776  

5777  

5778cdef nvmlReturn_t _nvmlDeviceResetGpuLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5779 global __nvmlDeviceResetGpuLockedClocks 

5780 _check_or_init_nvml() 

5781 if __nvmlDeviceResetGpuLockedClocks == NULL: 

5782 with gil: 

5783 raise FunctionNotFoundError("function nvmlDeviceResetGpuLockedClocks is not found") 

5784 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetGpuLockedClocks)( 

5785 device) 

5786  

5787  

5788cdef nvmlReturn_t _nvmlDeviceSetMemoryLockedClocks(nvmlDevice_t device, unsigned int minMemClockMHz, unsigned int maxMemClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5789 global __nvmlDeviceSetMemoryLockedClocks 

5790 _check_or_init_nvml() 

5791 if __nvmlDeviceSetMemoryLockedClocks == NULL: 

5792 with gil: 

5793 raise FunctionNotFoundError("function nvmlDeviceSetMemoryLockedClocks is not found") 

5794 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetMemoryLockedClocks)( 

5795 device, minMemClockMHz, maxMemClockMHz) 

5796  

5797  

5798cdef nvmlReturn_t _nvmlDeviceResetMemoryLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5799 global __nvmlDeviceResetMemoryLockedClocks 

5800 _check_or_init_nvml() 

5801 if __nvmlDeviceResetMemoryLockedClocks == NULL: 

5802 with gil: 

5803 raise FunctionNotFoundError("function nvmlDeviceResetMemoryLockedClocks is not found") 

5804 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetMemoryLockedClocks)( 

5805 device) 

5806  

5807  

5808cdef nvmlReturn_t _nvmlDeviceSetAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5809 global __nvmlDeviceSetAutoBoostedClocksEnabled 

5810 _check_or_init_nvml() 

5811 if __nvmlDeviceSetAutoBoostedClocksEnabled == NULL: 

5812 with gil: 

5813 raise FunctionNotFoundError("function nvmlDeviceSetAutoBoostedClocksEnabled is not found") 

5814 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAutoBoostedClocksEnabled)( 

5815 device, enabled) 

5816  

5817  

5818cdef nvmlReturn_t _nvmlDeviceSetDefaultAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5819 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

5820 _check_or_init_nvml() 

5821 if __nvmlDeviceSetDefaultAutoBoostedClocksEnabled == NULL: 

5822 with gil: 

5823 raise FunctionNotFoundError("function nvmlDeviceSetDefaultAutoBoostedClocksEnabled is not found") 

5824 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultAutoBoostedClocksEnabled)( 1m

5825 device, enabled, flags) 

5826  

5827  

5828cdef nvmlReturn_t _nvmlDeviceSetDefaultFanSpeed_v2(nvmlDevice_t device, unsigned int fan) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1am

5829 global __nvmlDeviceSetDefaultFanSpeed_v2 

5830 _check_or_init_nvml() 

5831 if __nvmlDeviceSetDefaultFanSpeed_v2 == NULL: 

5832 with gil: 

5833 raise FunctionNotFoundError("function nvmlDeviceSetDefaultFanSpeed_v2 is not found") 

5834 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultFanSpeed_v2)( 

5835 device, fan) 

5836  

5837  

5838cdef nvmlReturn_t _nvmlDeviceSetFanControlPolicy(nvmlDevice_t device, unsigned int fan, nvmlFanControlPolicy_t policy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5839 global __nvmlDeviceSetFanControlPolicy 

5840 _check_or_init_nvml() 

5841 if __nvmlDeviceSetFanControlPolicy == NULL: 

5842 with gil: 

5843 raise FunctionNotFoundError("function nvmlDeviceSetFanControlPolicy is not found") 

5844 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlFanControlPolicy_t) noexcept nogil>__nvmlDeviceSetFanControlPolicy)( 

5845 device, fan, policy) 

5846  

5847  

5848cdef nvmlReturn_t _nvmlDeviceSetTemperatureThreshold(nvmlDevice_t device, nvmlTemperatureThresholds_t thresholdType, int* temp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5849 global __nvmlDeviceSetTemperatureThreshold 

5850 _check_or_init_nvml() 

5851 if __nvmlDeviceSetTemperatureThreshold == NULL: 

5852 with gil: 

5853 raise FunctionNotFoundError("function nvmlDeviceSetTemperatureThreshold is not found") 

5854 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperatureThresholds_t, int*) noexcept nogil>__nvmlDeviceSetTemperatureThreshold)( 2Nb

5855 device, thresholdType, temp) 

5856  

5857  

5858cdef nvmlReturn_t _nvmlDeviceSetGpuOperationMode(nvmlDevice_t device, nvmlGpuOperationMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Nb

5859 global __nvmlDeviceSetGpuOperationMode 

5860 _check_or_init_nvml() 

5861 if __nvmlDeviceSetGpuOperationMode == NULL: 

5862 with gil: 

5863 raise FunctionNotFoundError("function nvmlDeviceSetGpuOperationMode is not found") 

5864 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuOperationMode_t) noexcept nogil>__nvmlDeviceSetGpuOperationMode)( 

5865 device, mode) 

5866  

5867  

5868cdef nvmlReturn_t _nvmlDeviceSetAPIRestriction(nvmlDevice_t device, nvmlRestrictedAPI_t apiType, nvmlEnableState_t isRestricted) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5869 global __nvmlDeviceSetAPIRestriction 

5870 _check_or_init_nvml() 

5871 if __nvmlDeviceSetAPIRestriction == NULL: 

5872 with gil: 

5873 raise FunctionNotFoundError("function nvmlDeviceSetAPIRestriction is not found") 

5874 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAPIRestriction)( 

5875 device, apiType, isRestricted) 

5876  

5877  

5878cdef nvmlReturn_t _nvmlDeviceSetFanSpeed_v2(nvmlDevice_t device, unsigned int fan, unsigned int speed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5879 global __nvmlDeviceSetFanSpeed_v2 

5880 _check_or_init_nvml() 

5881 if __nvmlDeviceSetFanSpeed_v2 == NULL: 

5882 with gil: 

5883 raise FunctionNotFoundError("function nvmlDeviceSetFanSpeed_v2 is not found") 

5884 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetFanSpeed_v2)( 

5885 device, fan, speed) 

5886  

5887  

5888cdef nvmlReturn_t _nvmlDeviceSetAccountingMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5889 global __nvmlDeviceSetAccountingMode 

5890 _check_or_init_nvml() 

5891 if __nvmlDeviceSetAccountingMode == NULL: 

5892 with gil: 

5893 raise FunctionNotFoundError("function nvmlDeviceSetAccountingMode is not found") 

5894 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAccountingMode)( 

5895 device, mode) 

5896  

5897  

5898cdef nvmlReturn_t _nvmlDeviceClearAccountingPids(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5899 global __nvmlDeviceClearAccountingPids 

5900 _check_or_init_nvml() 

5901 if __nvmlDeviceClearAccountingPids == NULL: 

5902 with gil: 

5903 raise FunctionNotFoundError("function nvmlDeviceClearAccountingPids is not found") 

5904 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceClearAccountingPids)( 

5905 device) 

5906  

5907  

5908cdef nvmlReturn_t _nvmlDeviceSetPowerManagementLimit_v2(nvmlDevice_t device, nvmlPowerValue_v2_t* powerValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5909 global __nvmlDeviceSetPowerManagementLimit_v2 

5910 _check_or_init_nvml() 12

5911 if __nvmlDeviceSetPowerManagementLimit_v2 == NULL: 12

5912 with gil: 

5913 raise FunctionNotFoundError("function nvmlDeviceSetPowerManagementLimit_v2 is not found") 

5914 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerValue_v2_t*) noexcept nogil>__nvmlDeviceSetPowerManagementLimit_v2)( 12

5915 device, powerValue) 

5916  

5917  

5918cdef nvmlReturn_t _nvmlDeviceGetNvLinkState(nvmlDevice_t device, unsigned int link, nvmlEnableState_t* isActive) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5919 global __nvmlDeviceGetNvLinkState 

5920 _check_or_init_nvml() 

5921 if __nvmlDeviceGetNvLinkState == NULL: 

5922 with gil: 

5923 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkState is not found") 

5924 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetNvLinkState)( 

5925 device, link, isActive) 

5926  

5927  

5928cdef nvmlReturn_t _nvmlDeviceGetNvLinkVersion(nvmlDevice_t device, unsigned int link, unsigned int* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5929 global __nvmlDeviceGetNvLinkVersion 

5930 _check_or_init_nvml() 1C

5931 if __nvmlDeviceGetNvLinkVersion == NULL: 1C

5932 with gil: 

5933 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkVersion is not found") 

5934 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkVersion)( 2ObC

5935 device, link, version) 

5936  

5937  

5938cdef nvmlReturn_t _nvmlDeviceGetNvLinkCapability(nvmlDevice_t device, unsigned int link, nvmlNvLinkCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 2a Ob

5939 global __nvmlDeviceGetNvLinkCapability 

5940 _check_or_init_nvml() 1FHJLNP

5941 if __nvmlDeviceGetNvLinkCapability == NULL: 1FHJLNP

5942 with gil: 

5943 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkCapability is not found") 

5944 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkCapability)( 1FHJLNP

5945 device, link, capability, capResult) 

5946  

5947  

5948cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemotePciInfo_v2(nvmlDevice_t device, unsigned int link, nvmlPciInfo_t* pci) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5949 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

5950 _check_or_init_nvml() 

5951 if __nvmlDeviceGetNvLinkRemotePciInfo_v2 == NULL: 

5952 with gil: 

5953 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemotePciInfo_v2 is not found") 

5954 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemotePciInfo_v2)( 

5955 device, link, pci) 

5956  

5957  

5958cdef nvmlReturn_t _nvmlDeviceGetNvLinkErrorCounter(nvmlDevice_t device, unsigned int link, nvmlNvLinkErrorCounter_t counter, unsigned long long* counterValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5959 global __nvmlDeviceGetNvLinkErrorCounter 

5960 _check_or_init_nvml() 

5961 if __nvmlDeviceGetNvLinkErrorCounter == NULL: 

5962 with gil: 

5963 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkErrorCounter is not found") 

5964 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkErrorCounter_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetNvLinkErrorCounter)( 

5965 device, link, counter, counterValue) 

5966  

5967  

5968cdef nvmlReturn_t _nvmlDeviceResetNvLinkErrorCounters(nvmlDevice_t device, unsigned int link) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5969 global __nvmlDeviceResetNvLinkErrorCounters 

5970 _check_or_init_nvml() 

5971 if __nvmlDeviceResetNvLinkErrorCounters == NULL: 

5972 with gil: 

5973 raise FunctionNotFoundError("function nvmlDeviceResetNvLinkErrorCounters is not found") 

5974 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceResetNvLinkErrorCounters)( 1r

5975 device, link) 

5976  

5977  

5978cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemoteDeviceType(nvmlDevice_t device, unsigned int link, nvmlIntNvLinkDeviceType_t* pNvLinkDeviceType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 1ar

5979 global __nvmlDeviceGetNvLinkRemoteDeviceType 

5980 _check_or_init_nvml() 

5981 if __nvmlDeviceGetNvLinkRemoteDeviceType == NULL: 

5982 with gil: 

5983 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemoteDeviceType is not found") 

5984 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlIntNvLinkDeviceType_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemoteDeviceType)( 

5985 device, link, pNvLinkDeviceType) 

5986  

5987  

5988cdef nvmlReturn_t _nvmlDeviceSetNvLinkDeviceLowPowerThreshold(nvmlDevice_t device, nvmlNvLinkPowerThres_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5989 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

5990 _check_or_init_nvml() 

5991 if __nvmlDeviceSetNvLinkDeviceLowPowerThreshold == NULL: 

5992 with gil: 

5993 raise FunctionNotFoundError("function nvmlDeviceSetNvLinkDeviceLowPowerThreshold is not found") 

5994 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkPowerThres_t*) noexcept nogil>__nvmlDeviceSetNvLinkDeviceLowPowerThreshold)( 

5995 device, info) 

5996  

5997  

5998cdef nvmlReturn_t _nvmlSystemSetNvlinkBwMode(unsigned int nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5999 global __nvmlSystemSetNvlinkBwMode 

6000 _check_or_init_nvml() 

6001 if __nvmlSystemSetNvlinkBwMode == NULL: 

6002 with gil: 

6003 raise FunctionNotFoundError("function nvmlSystemSetNvlinkBwMode is not found") 

6004 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetNvlinkBwMode)( 

6005 nvlinkBwMode) 

6006  

6007  

6008cdef nvmlReturn_t _nvmlSystemGetNvlinkBwMode(unsigned int* nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6009 global __nvmlSystemGetNvlinkBwMode 

6010 _check_or_init_nvml() 

6011 if __nvmlSystemGetNvlinkBwMode == NULL: 

6012 with gil: 

6013 raise FunctionNotFoundError("function nvmlSystemGetNvlinkBwMode is not found") 

6014 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetNvlinkBwMode)( 

6015 nvlinkBwMode) 

6016  

6017  

6018cdef nvmlReturn_t _nvmlDeviceGetNvlinkSupportedBwModes(nvmlDevice_t device, nvmlNvlinkSupportedBwModes_t* supportedBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6019 global __nvmlDeviceGetNvlinkSupportedBwModes 

6020 _check_or_init_nvml() 1j

6021 if __nvmlDeviceGetNvlinkSupportedBwModes == NULL: 1j

6022 with gil: 

6023 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkSupportedBwModes is not found") 

6024 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSupportedBwModes_t*) noexcept nogil>__nvmlDeviceGetNvlinkSupportedBwModes)( 1j

6025 device, supportedBwMode) 

6026  

6027  

6028cdef nvmlReturn_t _nvmlDeviceGetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkGetBwMode_t* getBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6029 global __nvmlDeviceGetNvlinkBwMode 

6030 _check_or_init_nvml() 

6031 if __nvmlDeviceGetNvlinkBwMode == NULL: 

6032 with gil: 

6033 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkBwMode is not found") 

6034 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkGetBwMode_t*) noexcept nogil>__nvmlDeviceGetNvlinkBwMode)( 

6035 device, getBwMode) 

6036  

6037  

6038cdef nvmlReturn_t _nvmlDeviceSetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkSetBwMode_t* setBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6039 global __nvmlDeviceSetNvlinkBwMode 

6040 _check_or_init_nvml() 

6041 if __nvmlDeviceSetNvlinkBwMode == NULL: 

6042 with gil: 

6043 raise FunctionNotFoundError("function nvmlDeviceSetNvlinkBwMode is not found") 

6044 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSetBwMode_t*) noexcept nogil>__nvmlDeviceSetNvlinkBwMode)( 

6045 device, setBwMode) 

6046  

6047  

6048cdef nvmlReturn_t _nvmlEventSetCreate(nvmlEventSet_t* set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6049 global __nvmlEventSetCreate 

6050 _check_or_init_nvml() 1h

6051 if __nvmlEventSetCreate == NULL: 1h

6052 with gil: 

6053 raise FunctionNotFoundError("function nvmlEventSetCreate is not found") 

6054 return (<nvmlReturn_t (*)(nvmlEventSet_t*) noexcept nogil>__nvmlEventSetCreate)( 1h

6055 set) 

6056  

6057  

6058cdef nvmlReturn_t _nvmlDeviceRegisterEvents(nvmlDevice_t device, unsigned long long eventTypes, nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6059 global __nvmlDeviceRegisterEvents 

6060 _check_or_init_nvml() 1h

6061 if __nvmlDeviceRegisterEvents == NULL: 1h

6062 with gil: 

6063 raise FunctionNotFoundError("function nvmlDeviceRegisterEvents is not found") 

6064 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlEventSet_t) noexcept nogil>__nvmlDeviceRegisterEvents)( 1h

6065 device, eventTypes, set) 

6066  

6067  

6068cdef nvmlReturn_t _nvmlDeviceGetSupportedEventTypes(nvmlDevice_t device, unsigned long long* eventTypes) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6069 global __nvmlDeviceGetSupportedEventTypes 

6070 _check_or_init_nvml() 1h

6071 if __nvmlDeviceGetSupportedEventTypes == NULL: 1h

6072 with gil: 

6073 raise FunctionNotFoundError("function nvmlDeviceGetSupportedEventTypes is not found") 

6074 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedEventTypes)( 1h

6075 device, eventTypes) 

6076  

6077  

6078cdef nvmlReturn_t _nvmlEventSetWait_v2(nvmlEventSet_t set, nvmlEventData_t* data, unsigned int timeoutms) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6079 global __nvmlEventSetWait_v2 

6080 _check_or_init_nvml() 1h

6081 if __nvmlEventSetWait_v2 == NULL: 1h

6082 with gil: 

6083 raise FunctionNotFoundError("function nvmlEventSetWait_v2 is not found") 

6084 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventData_t*, unsigned int) noexcept nogil>__nvmlEventSetWait_v2)( 1h

6085 set, data, timeoutms) 

6086  

6087  

6088cdef nvmlReturn_t _nvmlEventSetFree(nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6089 global __nvmlEventSetFree 

6090 _check_or_init_nvml() 1h

6091 if __nvmlEventSetFree == NULL: 1h

6092 with gil: 

6093 raise FunctionNotFoundError("function nvmlEventSetFree is not found") 

6094 return (<nvmlReturn_t (*)(nvmlEventSet_t) noexcept nogil>__nvmlEventSetFree)( 1h

6095 set) 

6096  

6097  

6098cdef nvmlReturn_t _nvmlSystemEventSetCreate(nvmlSystemEventSetCreateRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6099 global __nvmlSystemEventSetCreate 

6100 _check_or_init_nvml() 18

6101 if __nvmlSystemEventSetCreate == NULL: 18

6102 with gil: 

6103 raise FunctionNotFoundError("function nvmlSystemEventSetCreate is not found") 

6104 return (<nvmlReturn_t (*)(nvmlSystemEventSetCreateRequest_t*) noexcept nogil>__nvmlSystemEventSetCreate)( 18

6105 request) 

6106  

6107  

6108cdef nvmlReturn_t _nvmlSystemEventSetFree(nvmlSystemEventSetFreeRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6109 global __nvmlSystemEventSetFree 

6110 _check_or_init_nvml() 18

6111 if __nvmlSystemEventSetFree == NULL: 18

6112 with gil: 

6113 raise FunctionNotFoundError("function nvmlSystemEventSetFree is not found") 

6114 return (<nvmlReturn_t (*)(nvmlSystemEventSetFreeRequest_t*) noexcept nogil>__nvmlSystemEventSetFree)( 18

6115 request) 

6116  

6117  

6118cdef nvmlReturn_t _nvmlSystemRegisterEvents(nvmlSystemRegisterEventRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6119 global __nvmlSystemRegisterEvents 

6120 _check_or_init_nvml() 18

6121 if __nvmlSystemRegisterEvents == NULL: 18

6122 with gil: 

6123 raise FunctionNotFoundError("function nvmlSystemRegisterEvents is not found") 

6124 return (<nvmlReturn_t (*)(nvmlSystemRegisterEventRequest_t*) noexcept nogil>__nvmlSystemRegisterEvents)( 18

6125 request) 

6126  

6127  

6128cdef nvmlReturn_t _nvmlSystemEventSetWait(nvmlSystemEventSetWaitRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6129 global __nvmlSystemEventSetWait 

6130 _check_or_init_nvml() 18

6131 if __nvmlSystemEventSetWait == NULL: 18

6132 with gil: 

6133 raise FunctionNotFoundError("function nvmlSystemEventSetWait is not found") 

6134 return (<nvmlReturn_t (*)(nvmlSystemEventSetWaitRequest_t*) noexcept nogil>__nvmlSystemEventSetWait)( 18

6135 request) 

6136  

6137  

6138cdef nvmlReturn_t _nvmlDeviceModifyDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t newState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6139 global __nvmlDeviceModifyDrainState 

6140 _check_or_init_nvml() 

6141 if __nvmlDeviceModifyDrainState == NULL: 

6142 with gil: 

6143 raise FunctionNotFoundError("function nvmlDeviceModifyDrainState is not found") 

6144 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t) noexcept nogil>__nvmlDeviceModifyDrainState)( 

6145 pciInfo, newState) 

6146  

6147  

6148cdef nvmlReturn_t _nvmlDeviceQueryDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t* currentState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6149 global __nvmlDeviceQueryDrainState 

6150 _check_or_init_nvml() 

6151 if __nvmlDeviceQueryDrainState == NULL: 

6152 with gil: 

6153 raise FunctionNotFoundError("function nvmlDeviceQueryDrainState is not found") 

6154 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceQueryDrainState)( 

6155 pciInfo, currentState) 

6156  

6157  

6158cdef nvmlReturn_t _nvmlDeviceRemoveGpu_v2(nvmlPciInfo_t* pciInfo, nvmlDetachGpuState_t gpuState, nvmlPcieLinkState_t linkState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6159 global __nvmlDeviceRemoveGpu_v2 

6160 _check_or_init_nvml() 

6161 if __nvmlDeviceRemoveGpu_v2 == NULL: 

6162 with gil: 

6163 raise FunctionNotFoundError("function nvmlDeviceRemoveGpu_v2 is not found") 

6164 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlDetachGpuState_t, nvmlPcieLinkState_t) noexcept nogil>__nvmlDeviceRemoveGpu_v2)( 

6165 pciInfo, gpuState, linkState) 

6166  

6167  

6168cdef nvmlReturn_t _nvmlDeviceDiscoverGpus(nvmlPciInfo_t* pciInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6169 global __nvmlDeviceDiscoverGpus 

6170 _check_or_init_nvml() 1l

6171 if __nvmlDeviceDiscoverGpus == NULL: 1l

6172 with gil: 

6173 raise FunctionNotFoundError("function nvmlDeviceDiscoverGpus is not found") 

6174 return (<nvmlReturn_t (*)(nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceDiscoverGpus)( 1l

6175 pciInfo) 

6176  

6177  

6178cdef nvmlReturn_t _nvmlDeviceGetFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6179 global __nvmlDeviceGetFieldValues 

6180 _check_or_init_nvml() 2Sb7

6181 if __nvmlDeviceGetFieldValues == NULL: 2Sb7

6182 with gil: 

6183 raise FunctionNotFoundError("function nvmlDeviceGetFieldValues is not found") 

6184 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceGetFieldValues)( 2Sb7

6185 device, valuesCount, values) 

6186  

6187  

6188cdef nvmlReturn_t _nvmlDeviceClearFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6189 global __nvmlDeviceClearFieldValues 

6190 _check_or_init_nvml() 17

6191 if __nvmlDeviceClearFieldValues == NULL: 17

6192 with gil: 

6193 raise FunctionNotFoundError("function nvmlDeviceClearFieldValues is not found") 

6194 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceClearFieldValues)( 17

6195 device, valuesCount, values) 

6196  

6197  

6198cdef nvmlReturn_t _nvmlDeviceGetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t* pVirtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6199 global __nvmlDeviceGetVirtualizationMode 

6200 _check_or_init_nvml() 1d3

6201 if __nvmlDeviceGetVirtualizationMode == NULL: 1d3

6202 with gil: 

6203 raise FunctionNotFoundError("function nvmlDeviceGetVirtualizationMode is not found") 

6204 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t*) noexcept nogil>__nvmlDeviceGetVirtualizationMode)( 1d3

6205 device, pVirtualMode) 

6206  

6207  

6208cdef nvmlReturn_t _nvmlDeviceGetHostVgpuMode(nvmlDevice_t device, nvmlHostVgpuMode_t* pHostVgpuMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6209 global __nvmlDeviceGetHostVgpuMode 

6210 _check_or_init_nvml() 

6211 if __nvmlDeviceGetHostVgpuMode == NULL: 

6212 with gil: 

6213 raise FunctionNotFoundError("function nvmlDeviceGetHostVgpuMode is not found") 

6214 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostVgpuMode_t*) noexcept nogil>__nvmlDeviceGetHostVgpuMode)( 

6215 device, pHostVgpuMode) 

6216  

6217  

6218cdef nvmlReturn_t _nvmlDeviceSetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t virtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6219 global __nvmlDeviceSetVirtualizationMode 

6220 _check_or_init_nvml() 

6221 if __nvmlDeviceSetVirtualizationMode == NULL: 

6222 with gil: 

6223 raise FunctionNotFoundError("function nvmlDeviceSetVirtualizationMode is not found") 

6224 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t) noexcept nogil>__nvmlDeviceSetVirtualizationMode)( 

6225 device, virtualMode) 

6226  

6227  

6228cdef nvmlReturn_t _nvmlDeviceGetVgpuHeterogeneousMode(nvmlDevice_t device, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6229 global __nvmlDeviceGetVgpuHeterogeneousMode 

6230 _check_or_init_nvml() 1i

6231 if __nvmlDeviceGetVgpuHeterogeneousMode == NULL: 1i

6232 with gil: 

6233 raise FunctionNotFoundError("function nvmlDeviceGetVgpuHeterogeneousMode is not found") 

6234 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceGetVgpuHeterogeneousMode)( 1i

6235 device, pHeterogeneousMode) 

6236  

6237  

6238cdef nvmlReturn_t _nvmlDeviceSetVgpuHeterogeneousMode(nvmlDevice_t device, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6239 global __nvmlDeviceSetVgpuHeterogeneousMode 

6240 _check_or_init_nvml() 

6241 if __nvmlDeviceSetVgpuHeterogeneousMode == NULL: 

6242 with gil: 

6243 raise FunctionNotFoundError("function nvmlDeviceSetVgpuHeterogeneousMode is not found") 

6244 return (<nvmlReturn_t (*)(nvmlDevice_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceSetVgpuHeterogeneousMode)( 

6245 device, pHeterogeneousMode) 

6246  

6247  

6248cdef nvmlReturn_t _nvmlVgpuInstanceGetPlacementId(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuPlacementId_t* pPlacement) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6249 global __nvmlVgpuInstanceGetPlacementId 

6250 _check_or_init_nvml() 

6251 if __nvmlVgpuInstanceGetPlacementId == NULL: 

6252 with gil: 

6253 raise FunctionNotFoundError("function nvmlVgpuInstanceGetPlacementId is not found") 

6254 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuPlacementId_t*) noexcept nogil>__nvmlVgpuInstanceGetPlacementId)( 

6255 vgpuInstance, pPlacement) 

6256  

6257  

6258cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeSupportedPlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6259 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

6260 _check_or_init_nvml() 

6261 if __nvmlDeviceGetVgpuTypeSupportedPlacements == NULL: 

6262 with gil: 

6263 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeSupportedPlacements is not found") 

6264 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeSupportedPlacements)( 

6265 device, vgpuTypeId, pPlacementList) 

6266  

6267  

6268cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeCreatablePlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6269 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

6270 _check_or_init_nvml() 

6271 if __nvmlDeviceGetVgpuTypeCreatablePlacements == NULL: 

6272 with gil: 

6273 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeCreatablePlacements is not found") 

6274 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeCreatablePlacements)( 

6275 device, vgpuTypeId, pPlacementList) 

6276  

6277  

6278cdef nvmlReturn_t _nvmlVgpuTypeGetGspHeapSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* gspHeapSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6279 global __nvmlVgpuTypeGetGspHeapSize 

6280 _check_or_init_nvml() 

6281 if __nvmlVgpuTypeGetGspHeapSize == NULL: 

6282 with gil: 

6283 raise FunctionNotFoundError("function nvmlVgpuTypeGetGspHeapSize is not found") 

6284 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetGspHeapSize)( 

6285 vgpuTypeId, gspHeapSize) 

6286  

6287  

6288cdef nvmlReturn_t _nvmlVgpuTypeGetFbReservation(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbReservation) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6289 global __nvmlVgpuTypeGetFbReservation 

6290 _check_or_init_nvml() 

6291 if __nvmlVgpuTypeGetFbReservation == NULL: 

6292 with gil: 

6293 raise FunctionNotFoundError("function nvmlVgpuTypeGetFbReservation is not found") 

6294 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFbReservation)( 

6295 vgpuTypeId, fbReservation) 

6296  

6297  

6298cdef nvmlReturn_t _nvmlVgpuInstanceGetRuntimeStateSize(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuRuntimeState_t* pState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6299 global __nvmlVgpuInstanceGetRuntimeStateSize 

6300 _check_or_init_nvml() 

6301 if __nvmlVgpuInstanceGetRuntimeStateSize == NULL: 

6302 with gil: 

6303 raise FunctionNotFoundError("function nvmlVgpuInstanceGetRuntimeStateSize is not found") 

6304 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuRuntimeState_t*) noexcept nogil>__nvmlVgpuInstanceGetRuntimeStateSize)( 

6305 vgpuInstance, pState) 

6306  

6307  

6308cdef nvmlReturn_t _nvmlDeviceSetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, nvmlEnableState_t state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6309 global __nvmlDeviceSetVgpuCapabilities 

6310 _check_or_init_nvml() 

6311 if __nvmlDeviceSetVgpuCapabilities == NULL: 

6312 with gil: 

6313 raise FunctionNotFoundError("function nvmlDeviceSetVgpuCapabilities is not found") 

6314 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetVgpuCapabilities)( 

6315 device, capability, state) 

6316  

6317  

6318cdef nvmlReturn_t _nvmlDeviceGetGridLicensableFeatures_v4(nvmlDevice_t device, nvmlGridLicensableFeatures_t* pGridLicensableFeatures) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6319 global __nvmlDeviceGetGridLicensableFeatures_v4 

6320 _check_or_init_nvml() 2Pb

6321 if __nvmlDeviceGetGridLicensableFeatures_v4 == NULL: 2Pb

6322 with gil: 

6323 raise FunctionNotFoundError("function nvmlDeviceGetGridLicensableFeatures_v4 is not found") 

6324 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGridLicensableFeatures_t*) noexcept nogil>__nvmlDeviceGetGridLicensableFeatures_v4)( 2Pb

6325 device, pGridLicensableFeatures) 

6326  

6327  

6328cdef nvmlReturn_t _nvmlGetVgpuDriverCapabilities(nvmlVgpuDriverCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6329 global __nvmlGetVgpuDriverCapabilities 

6330 _check_or_init_nvml() 

6331 if __nvmlGetVgpuDriverCapabilities == NULL: 

6332 with gil: 

6333 raise FunctionNotFoundError("function nvmlGetVgpuDriverCapabilities is not found") 

6334 return (<nvmlReturn_t (*)(nvmlVgpuDriverCapability_t, unsigned int*) noexcept nogil>__nvmlGetVgpuDriverCapabilities)( 

6335 capability, capResult) 

6336  

6337  

6338cdef nvmlReturn_t _nvmlDeviceGetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6339 global __nvmlDeviceGetVgpuCapabilities 

6340 _check_or_init_nvml() 

6341 if __nvmlDeviceGetVgpuCapabilities == NULL: 

6342 with gil: 

6343 raise FunctionNotFoundError("function nvmlDeviceGetVgpuCapabilities is not found") 

6344 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuCapabilities)( 

6345 device, capability, capResult) 

6346  

6347  

6348cdef nvmlReturn_t _nvmlDeviceGetSupportedVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6349 global __nvmlDeviceGetSupportedVgpus 

6350 _check_or_init_nvml() 

6351 if __nvmlDeviceGetSupportedVgpus == NULL: 

6352 with gil: 

6353 raise FunctionNotFoundError("function nvmlDeviceGetSupportedVgpus is not found") 

6354 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetSupportedVgpus)( 

6355 device, vgpuCount, vgpuTypeIds) 

6356  

6357  

6358cdef nvmlReturn_t _nvmlDeviceGetCreatableVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6359 global __nvmlDeviceGetCreatableVgpus 

6360 _check_or_init_nvml() 

6361 if __nvmlDeviceGetCreatableVgpus == NULL: 

6362 with gil: 

6363 raise FunctionNotFoundError("function nvmlDeviceGetCreatableVgpus is not found") 

6364 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetCreatableVgpus)( 

6365 device, vgpuCount, vgpuTypeIds) 

6366  

6367  

6368cdef nvmlReturn_t _nvmlVgpuTypeGetClass(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeClass, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6369 global __nvmlVgpuTypeGetClass 

6370 _check_or_init_nvml() 

6371 if __nvmlVgpuTypeGetClass == NULL: 

6372 with gil: 

6373 raise FunctionNotFoundError("function nvmlVgpuTypeGetClass is not found") 

6374 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetClass)( 

6375 vgpuTypeId, vgpuTypeClass, size) 

6376  

6377  

6378cdef nvmlReturn_t _nvmlVgpuTypeGetName(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeName, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6379 global __nvmlVgpuTypeGetName 

6380 _check_or_init_nvml() 

6381 if __nvmlVgpuTypeGetName == NULL: 

6382 with gil: 

6383 raise FunctionNotFoundError("function nvmlVgpuTypeGetName is not found") 

6384 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetName)( 

6385 vgpuTypeId, vgpuTypeName, size) 

6386  

6387  

6388cdef nvmlReturn_t _nvmlVgpuTypeGetGpuInstanceProfileId(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* gpuInstanceProfileId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6389 global __nvmlVgpuTypeGetGpuInstanceProfileId 

6390 _check_or_init_nvml() 

6391 if __nvmlVgpuTypeGetGpuInstanceProfileId == NULL: 

6392 with gil: 

6393 raise FunctionNotFoundError("function nvmlVgpuTypeGetGpuInstanceProfileId is not found") 

6394 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetGpuInstanceProfileId)( 

6395 vgpuTypeId, gpuInstanceProfileId) 

6396  

6397  

6398cdef nvmlReturn_t _nvmlVgpuTypeGetDeviceID(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* deviceID, unsigned long long* subsystemID) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6399 global __nvmlVgpuTypeGetDeviceID 

6400 _check_or_init_nvml() 

6401 if __nvmlVgpuTypeGetDeviceID == NULL: 

6402 with gil: 

6403 raise FunctionNotFoundError("function nvmlVgpuTypeGetDeviceID is not found") 

6404 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetDeviceID)( 

6405 vgpuTypeId, deviceID, subsystemID) 

6406  

6407  

6408cdef nvmlReturn_t _nvmlVgpuTypeGetFramebufferSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6409 global __nvmlVgpuTypeGetFramebufferSize 

6410 _check_or_init_nvml() 

6411 if __nvmlVgpuTypeGetFramebufferSize == NULL: 

6412 with gil: 

6413 raise FunctionNotFoundError("function nvmlVgpuTypeGetFramebufferSize is not found") 

6414 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFramebufferSize)( 

6415 vgpuTypeId, fbSize) 

6416  

6417  

6418cdef nvmlReturn_t _nvmlVgpuTypeGetNumDisplayHeads(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* numDisplayHeads) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6419 global __nvmlVgpuTypeGetNumDisplayHeads 

6420 _check_or_init_nvml() 

6421 if __nvmlVgpuTypeGetNumDisplayHeads == NULL: 

6422 with gil: 

6423 raise FunctionNotFoundError("function nvmlVgpuTypeGetNumDisplayHeads is not found") 

6424 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetNumDisplayHeads)( 

6425 vgpuTypeId, numDisplayHeads) 

6426  

6427  

6428cdef nvmlReturn_t _nvmlVgpuTypeGetResolution(nvmlVgpuTypeId_t vgpuTypeId, unsigned int displayIndex, unsigned int* xdim, unsigned int* ydim) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6429 global __nvmlVgpuTypeGetResolution 

6430 _check_or_init_nvml() 

6431 if __nvmlVgpuTypeGetResolution == NULL: 

6432 with gil: 

6433 raise FunctionNotFoundError("function nvmlVgpuTypeGetResolution is not found") 

6434 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetResolution)( 

6435 vgpuTypeId, displayIndex, xdim, ydim) 

6436  

6437  

6438cdef nvmlReturn_t _nvmlVgpuTypeGetLicense(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeLicenseString, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6439 global __nvmlVgpuTypeGetLicense 

6440 _check_or_init_nvml() 

6441 if __nvmlVgpuTypeGetLicense == NULL: 

6442 with gil: 

6443 raise FunctionNotFoundError("function nvmlVgpuTypeGetLicense is not found") 

6444 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int) noexcept nogil>__nvmlVgpuTypeGetLicense)( 

6445 vgpuTypeId, vgpuTypeLicenseString, size) 

6446  

6447  

6448cdef nvmlReturn_t _nvmlVgpuTypeGetFrameRateLimit(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6449 global __nvmlVgpuTypeGetFrameRateLimit 

6450 _check_or_init_nvml() 

6451 if __nvmlVgpuTypeGetFrameRateLimit == NULL: 

6452 with gil: 

6453 raise FunctionNotFoundError("function nvmlVgpuTypeGetFrameRateLimit is not found") 

6454 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetFrameRateLimit)( 

6455 vgpuTypeId, frameRateLimit) 

6456  

6457  

6458cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstances(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6459 global __nvmlVgpuTypeGetMaxInstances 

6460 _check_or_init_nvml() 

6461 if __nvmlVgpuTypeGetMaxInstances == NULL: 

6462 with gil: 

6463 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstances is not found") 

6464 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstances)( 

6465 device, vgpuTypeId, vgpuInstanceCount) 

6466  

6467  

6468cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerVm(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCountPerVm) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6469 global __nvmlVgpuTypeGetMaxInstancesPerVm 

6470 _check_or_init_nvml() 

6471 if __nvmlVgpuTypeGetMaxInstancesPerVm == NULL: 

6472 with gil: 

6473 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerVm is not found") 

6474 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerVm)( 

6475 vgpuTypeId, vgpuInstanceCountPerVm) 

6476  

6477  

6478cdef nvmlReturn_t _nvmlVgpuTypeGetBAR1Info(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuTypeBar1Info_t* bar1Info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6479 global __nvmlVgpuTypeGetBAR1Info 

6480 _check_or_init_nvml() 

6481 if __nvmlVgpuTypeGetBAR1Info == NULL: 

6482 with gil: 

6483 raise FunctionNotFoundError("function nvmlVgpuTypeGetBAR1Info is not found") 

6484 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuTypeBar1Info_t*) noexcept nogil>__nvmlVgpuTypeGetBAR1Info)( 

6485 vgpuTypeId, bar1Info) 

6486  

6487  

6488cdef nvmlReturn_t _nvmlDeviceGetActiveVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuInstance_t* vgpuInstances) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6489 global __nvmlDeviceGetActiveVgpus 

6490 _check_or_init_nvml() 

6491 if __nvmlDeviceGetActiveVgpus == NULL: 

6492 with gil: 

6493 raise FunctionNotFoundError("function nvmlDeviceGetActiveVgpus is not found") 

6494 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuInstance_t*) noexcept nogil>__nvmlDeviceGetActiveVgpus)( 

6495 device, vgpuCount, vgpuInstances) 

6496  

6497  

6498cdef nvmlReturn_t _nvmlVgpuInstanceGetVmID(nvmlVgpuInstance_t vgpuInstance, char* vmId, unsigned int size, nvmlVgpuVmIdType_t* vmIdType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6499 global __nvmlVgpuInstanceGetVmID 

6500 _check_or_init_nvml() 

6501 if __nvmlVgpuInstanceGetVmID == NULL: 

6502 with gil: 

6503 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmID is not found") 

6504 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int, nvmlVgpuVmIdType_t*) noexcept nogil>__nvmlVgpuInstanceGetVmID)( 

6505 vgpuInstance, vmId, size, vmIdType) 

6506  

6507  

6508cdef nvmlReturn_t _nvmlVgpuInstanceGetUUID(nvmlVgpuInstance_t vgpuInstance, char* uuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6509 global __nvmlVgpuInstanceGetUUID 

6510 _check_or_init_nvml() 

6511 if __nvmlVgpuInstanceGetUUID == NULL: 

6512 with gil: 

6513 raise FunctionNotFoundError("function nvmlVgpuInstanceGetUUID is not found") 

6514 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetUUID)( 

6515 vgpuInstance, uuid, size) 

6516  

6517  

6518cdef nvmlReturn_t _nvmlVgpuInstanceGetVmDriverVersion(nvmlVgpuInstance_t vgpuInstance, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6519 global __nvmlVgpuInstanceGetVmDriverVersion 

6520 _check_or_init_nvml() 

6521 if __nvmlVgpuInstanceGetVmDriverVersion == NULL: 

6522 with gil: 

6523 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmDriverVersion is not found") 

6524 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetVmDriverVersion)( 

6525 vgpuInstance, version, length) 

6526  

6527  

6528cdef nvmlReturn_t _nvmlVgpuInstanceGetFbUsage(nvmlVgpuInstance_t vgpuInstance, unsigned long long* fbUsage) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6529 global __nvmlVgpuInstanceGetFbUsage 

6530 _check_or_init_nvml() 

6531 if __nvmlVgpuInstanceGetFbUsage == NULL: 

6532 with gil: 

6533 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFbUsage is not found") 

6534 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned long long*) noexcept nogil>__nvmlVgpuInstanceGetFbUsage)( 

6535 vgpuInstance, fbUsage) 

6536  

6537  

6538cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseStatus(nvmlVgpuInstance_t vgpuInstance, unsigned int* licensed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6539 global __nvmlVgpuInstanceGetLicenseStatus 

6540 _check_or_init_nvml() 

6541 if __nvmlVgpuInstanceGetLicenseStatus == NULL: 

6542 with gil: 

6543 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseStatus is not found") 

6544 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetLicenseStatus)( 

6545 vgpuInstance, licensed) 

6546  

6547  

6548cdef nvmlReturn_t _nvmlVgpuInstanceGetType(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuTypeId_t* vgpuTypeId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6549 global __nvmlVgpuInstanceGetType 

6550 _check_or_init_nvml() 

6551 if __nvmlVgpuInstanceGetType == NULL: 

6552 with gil: 

6553 raise FunctionNotFoundError("function nvmlVgpuInstanceGetType is not found") 

6554 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlVgpuInstanceGetType)( 

6555 vgpuInstance, vgpuTypeId) 

6556  

6557  

6558cdef nvmlReturn_t _nvmlVgpuInstanceGetFrameRateLimit(nvmlVgpuInstance_t vgpuInstance, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6559 global __nvmlVgpuInstanceGetFrameRateLimit 

6560 _check_or_init_nvml() 

6561 if __nvmlVgpuInstanceGetFrameRateLimit == NULL: 

6562 with gil: 

6563 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFrameRateLimit is not found") 

6564 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetFrameRateLimit)( 

6565 vgpuInstance, frameRateLimit) 

6566  

6567  

6568cdef nvmlReturn_t _nvmlVgpuInstanceGetEccMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* eccMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6569 global __nvmlVgpuInstanceGetEccMode 

6570 _check_or_init_nvml() 

6571 if __nvmlVgpuInstanceGetEccMode == NULL: 

6572 with gil: 

6573 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEccMode is not found") 

6574 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetEccMode)( 

6575 vgpuInstance, eccMode) 

6576  

6577  

6578cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int* encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6579 global __nvmlVgpuInstanceGetEncoderCapacity 

6580 _check_or_init_nvml() 

6581 if __nvmlVgpuInstanceGetEncoderCapacity == NULL: 

6582 with gil: 

6583 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderCapacity is not found") 

6584 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderCapacity)( 

6585 vgpuInstance, encoderCapacity) 

6586  

6587  

6588cdef nvmlReturn_t _nvmlVgpuInstanceSetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6589 global __nvmlVgpuInstanceSetEncoderCapacity 

6590 _check_or_init_nvml() 

6591 if __nvmlVgpuInstanceSetEncoderCapacity == NULL: 

6592 with gil: 

6593 raise FunctionNotFoundError("function nvmlVgpuInstanceSetEncoderCapacity is not found") 

6594 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int) noexcept nogil>__nvmlVgpuInstanceSetEncoderCapacity)( 

6595 vgpuInstance, encoderCapacity) 

6596  

6597  

6598cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderStats(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, unsigned int* averageFps, unsigned int* averageLatency) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6599 global __nvmlVgpuInstanceGetEncoderStats 

6600 _check_or_init_nvml() 

6601 if __nvmlVgpuInstanceGetEncoderStats == NULL: 

6602 with gil: 

6603 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderStats is not found") 

6604 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderStats)( 

6605 vgpuInstance, sessionCount, averageFps, averageLatency) 

6606  

6607  

6608cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlEncoderSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6609 global __nvmlVgpuInstanceGetEncoderSessions 

6610 _check_or_init_nvml() 

6611 if __nvmlVgpuInstanceGetEncoderSessions == NULL: 

6612 with gil: 

6613 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderSessions is not found") 

6614 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlEncoderSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetEncoderSessions)( 

6615 vgpuInstance, sessionCount, sessionInfo) 

6616  

6617  

6618cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCStats(nvmlVgpuInstance_t vgpuInstance, nvmlFBCStats_t* fbcStats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6619 global __nvmlVgpuInstanceGetFBCStats 

6620 _check_or_init_nvml() 

6621 if __nvmlVgpuInstanceGetFBCStats == NULL: 

6622 with gil: 

6623 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCStats is not found") 

6624 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlFBCStats_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCStats)( 

6625 vgpuInstance, fbcStats) 

6626  

6627  

6628cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlFBCSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6629 global __nvmlVgpuInstanceGetFBCSessions 

6630 _check_or_init_nvml() 

6631 if __nvmlVgpuInstanceGetFBCSessions == NULL: 

6632 with gil: 

6633 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCSessions is not found") 

6634 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlFBCSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCSessions)( 

6635 vgpuInstance, sessionCount, sessionInfo) 

6636  

6637  

6638cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuInstanceId(nvmlVgpuInstance_t vgpuInstance, unsigned int* gpuInstanceId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6639 global __nvmlVgpuInstanceGetGpuInstanceId 

6640 _check_or_init_nvml() 

6641 if __nvmlVgpuInstanceGetGpuInstanceId == NULL: 

6642 with gil: 

6643 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuInstanceId is not found") 

6644 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuInstanceId)( 

6645 vgpuInstance, gpuInstanceId) 

6646  

6647  

6648cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuPciId(nvmlVgpuInstance_t vgpuInstance, char* vgpuPciId, unsigned int* length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6649 global __nvmlVgpuInstanceGetGpuPciId 

6650 _check_or_init_nvml() 

6651 if __nvmlVgpuInstanceGetGpuPciId == NULL: 

6652 with gil: 

6653 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuPciId is not found") 

6654 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuPciId)( 

6655 vgpuInstance, vgpuPciId, length) 

6656  

6657  

6658cdef nvmlReturn_t _nvmlVgpuTypeGetCapabilities(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6659 global __nvmlVgpuTypeGetCapabilities 

6660 _check_or_init_nvml() 

6661 if __nvmlVgpuTypeGetCapabilities == NULL: 

6662 with gil: 

6663 raise FunctionNotFoundError("function nvmlVgpuTypeGetCapabilities is not found") 

6664 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetCapabilities)( 

6665 vgpuTypeId, capability, capResult) 

6666  

6667  

6668cdef nvmlReturn_t _nvmlVgpuInstanceGetMdevUUID(nvmlVgpuInstance_t vgpuInstance, char* mdevUuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6669 global __nvmlVgpuInstanceGetMdevUUID 

6670 _check_or_init_nvml() 

6671 if __nvmlVgpuInstanceGetMdevUUID == NULL: 

6672 with gil: 

6673 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMdevUUID is not found") 

6674 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetMdevUUID)( 

6675 vgpuInstance, mdevUuid, size) 

6676  

6677  

6678cdef nvmlReturn_t _nvmlGpuInstanceGetCreatableVgpus(nvmlGpuInstance_t gpuInstance, nvmlVgpuTypeIdInfo_t* pVgpus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6679 global __nvmlGpuInstanceGetCreatableVgpus 

6680 _check_or_init_nvml() 

6681 if __nvmlGpuInstanceGetCreatableVgpus == NULL: 

6682 with gil: 

6683 raise FunctionNotFoundError("function nvmlGpuInstanceGetCreatableVgpus is not found") 

6684 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuTypeIdInfo_t*) noexcept nogil>__nvmlGpuInstanceGetCreatableVgpus)( 

6685 gpuInstance, pVgpus) 

6686  

6687  

6688cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerGpuInstance(nvmlVgpuTypeMaxInstance_t* pMaxInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6689 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

6690 _check_or_init_nvml() 

6691 if __nvmlVgpuTypeGetMaxInstancesPerGpuInstance == NULL: 

6692 with gil: 

6693 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerGpuInstance is not found") 

6694 return (<nvmlReturn_t (*)(nvmlVgpuTypeMaxInstance_t*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerGpuInstance)( 

6695 pMaxInstance) 

6696  

6697  

6698cdef nvmlReturn_t _nvmlGpuInstanceGetActiveVgpus(nvmlGpuInstance_t gpuInstance, nvmlActiveVgpuInstanceInfo_t* pVgpuInstanceInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6699 global __nvmlGpuInstanceGetActiveVgpus 

6700 _check_or_init_nvml() 

6701 if __nvmlGpuInstanceGetActiveVgpus == NULL: 

6702 with gil: 

6703 raise FunctionNotFoundError("function nvmlGpuInstanceGetActiveVgpus is not found") 

6704 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlActiveVgpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetActiveVgpus)( 

6705 gpuInstance, pVgpuInstanceInfo) 

6706  

6707  

6708cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_t* pScheduler) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6709 global __nvmlGpuInstanceSetVgpuSchedulerState 

6710 _check_or_init_nvml() 

6711 if __nvmlGpuInstanceSetVgpuSchedulerState == NULL: 

6712 with gil: 

6713 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState is not found") 

6714 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerState_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuSchedulerState)( 

6715 gpuInstance, pScheduler) 

6716  

6717  

6718cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerStateInfo_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6719 global __nvmlGpuInstanceGetVgpuSchedulerState 

6720 _check_or_init_nvml() 

6721 if __nvmlGpuInstanceGetVgpuSchedulerState == NULL: 

6722 with gil: 

6723 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerState is not found") 

6724 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerStateInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerState)( 

6725 gpuInstance, pSchedulerStateInfo) 

6726  

6727  

6728cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6729 global __nvmlGpuInstanceGetVgpuSchedulerLog 

6730 _check_or_init_nvml() 

6731 if __nvmlGpuInstanceGetVgpuSchedulerLog == NULL: 

6732 with gil: 

6733 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerLog is not found") 

6734 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerLogInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerLog)( 

6735 gpuInstance, pSchedulerLogInfo) 

6736  

6737  

6738cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuTypeCreatablePlacements(nvmlGpuInstance_t gpuInstance, nvmlVgpuCreatablePlacementInfo_t* pCreatablePlacementInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6739 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

6740 _check_or_init_nvml() 

6741 if __nvmlGpuInstanceGetVgpuTypeCreatablePlacements == NULL: 

6742 with gil: 

6743 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuTypeCreatablePlacements is not found") 

6744 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuCreatablePlacementInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuTypeCreatablePlacements)( 

6745 gpuInstance, pCreatablePlacementInfo) 

6746  

6747  

6748cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6749 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

6750 _check_or_init_nvml() 

6751 if __nvmlGpuInstanceGetVgpuHeterogeneousMode == NULL: 

6752 with gil: 

6753 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuHeterogeneousMode is not found") 

6754 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuHeterogeneousMode)( 

6755 gpuInstance, pHeterogeneousMode) 

6756  

6757  

6758cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6759 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

6760 _check_or_init_nvml() 

6761 if __nvmlGpuInstanceSetVgpuHeterogeneousMode == NULL: 

6762 with gil: 

6763 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuHeterogeneousMode is not found") 

6764 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuHeterogeneousMode)( 

6765 gpuInstance, pHeterogeneousMode) 

6766  

6767  

6768cdef nvmlReturn_t _nvmlVgpuInstanceGetMetadata(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuMetadata_t* vgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6769 global __nvmlVgpuInstanceGetMetadata 

6770 _check_or_init_nvml() 

6771 if __nvmlVgpuInstanceGetMetadata == NULL: 

6772 with gil: 

6773 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMetadata is not found") 

6774 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetMetadata)( 

6775 vgpuInstance, vgpuMetadata, bufferSize) 

6776  

6777  

6778cdef nvmlReturn_t _nvmlDeviceGetVgpuMetadata(nvmlDevice_t device, nvmlVgpuPgpuMetadata_t* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6779 global __nvmlDeviceGetVgpuMetadata 

6780 _check_or_init_nvml() 

6781 if __nvmlDeviceGetVgpuMetadata == NULL: 

6782 with gil: 

6783 raise FunctionNotFoundError("function nvmlDeviceGetVgpuMetadata is not found") 

6784 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuPgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuMetadata)( 

6785 device, pgpuMetadata, bufferSize) 

6786  

6787  

6788cdef nvmlReturn_t _nvmlGetVgpuCompatibility(nvmlVgpuMetadata_t* vgpuMetadata, nvmlVgpuPgpuMetadata_t* pgpuMetadata, nvmlVgpuPgpuCompatibility_t* compatibilityInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6789 global __nvmlGetVgpuCompatibility 

6790 _check_or_init_nvml() 

6791 if __nvmlGetVgpuCompatibility == NULL: 

6792 with gil: 

6793 raise FunctionNotFoundError("function nvmlGetVgpuCompatibility is not found") 

6794 return (<nvmlReturn_t (*)(nvmlVgpuMetadata_t*, nvmlVgpuPgpuMetadata_t*, nvmlVgpuPgpuCompatibility_t*) noexcept nogil>__nvmlGetVgpuCompatibility)( 

6795 vgpuMetadata, pgpuMetadata, compatibilityInfo) 

6796  

6797  

6798cdef nvmlReturn_t _nvmlDeviceGetPgpuMetadataString(nvmlDevice_t device, char* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6799 global __nvmlDeviceGetPgpuMetadataString 

6800 _check_or_init_nvml() 

6801 if __nvmlDeviceGetPgpuMetadataString == NULL: 

6802 with gil: 

6803 raise FunctionNotFoundError("function nvmlDeviceGetPgpuMetadataString is not found") 

6804 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int*) noexcept nogil>__nvmlDeviceGetPgpuMetadataString)( 

6805 device, pgpuMetadata, bufferSize) 

6806  

6807  

6808cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog(nvmlDevice_t device, nvmlVgpuSchedulerLog_t* pSchedulerLog) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6809 global __nvmlDeviceGetVgpuSchedulerLog 

6810 _check_or_init_nvml() 

6811 if __nvmlDeviceGetVgpuSchedulerLog == NULL: 

6812 with gil: 

6813 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerLog is not found") 

6814 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerLog_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerLog)( 

6815 device, pSchedulerLog) 

6816  

6817  

6818cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerGetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6819 global __nvmlDeviceGetVgpuSchedulerState 

6820 _check_or_init_nvml() 

6821 if __nvmlDeviceGetVgpuSchedulerState == NULL: 

6822 with gil: 

6823 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerState is not found") 

6824 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerGetState_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerState)( 

6825 device, pSchedulerState) 

6826  

6827  

6828cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerCapabilities(nvmlDevice_t device, nvmlVgpuSchedulerCapabilities_t* pCapabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6829 global __nvmlDeviceGetVgpuSchedulerCapabilities 

6830 _check_or_init_nvml() 

6831 if __nvmlDeviceGetVgpuSchedulerCapabilities == NULL: 

6832 with gil: 

6833 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerCapabilities is not found") 

6834 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerCapabilities_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerCapabilities)( 

6835 device, pCapabilities) 

6836  

6837  

6838cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerSetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6839 global __nvmlDeviceSetVgpuSchedulerState 

6840 _check_or_init_nvml() 

6841 if __nvmlDeviceSetVgpuSchedulerState == NULL: 

6842 with gil: 

6843 raise FunctionNotFoundError("function nvmlDeviceSetVgpuSchedulerState is not found") 

6844 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerSetState_t*) noexcept nogil>__nvmlDeviceSetVgpuSchedulerState)( 

6845 device, pSchedulerState) 

6846  

6847  

6848cdef nvmlReturn_t _nvmlGetVgpuVersion(nvmlVgpuVersion_t* supported, nvmlVgpuVersion_t* current) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6849 global __nvmlGetVgpuVersion 

6850 _check_or_init_nvml() 

6851 if __nvmlGetVgpuVersion == NULL: 

6852 with gil: 

6853 raise FunctionNotFoundError("function nvmlGetVgpuVersion is not found") 

6854 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*, nvmlVgpuVersion_t*) noexcept nogil>__nvmlGetVgpuVersion)( 

6855 supported, current) 

6856  

6857  

6858cdef nvmlReturn_t _nvmlSetVgpuVersion(nvmlVgpuVersion_t* vgpuVersion) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6859 global __nvmlSetVgpuVersion 

6860 _check_or_init_nvml() 

6861 if __nvmlSetVgpuVersion == NULL: 

6862 with gil: 

6863 raise FunctionNotFoundError("function nvmlSetVgpuVersion is not found") 

6864 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*) noexcept nogil>__nvmlSetVgpuVersion)( 

6865 vgpuVersion) 

6866  

6867  

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

6869 global __nvmlDeviceGetVgpuUtilization 

6870 _check_or_init_nvml() 

6871 if __nvmlDeviceGetVgpuUtilization == NULL: 

6872 with gil: 

6873 raise FunctionNotFoundError("function nvmlDeviceGetVgpuUtilization is not found") 

6874 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlVgpuInstanceUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuUtilization)( 

6875 device, lastSeenTimeStamp, sampleValType, vgpuInstanceSamplesCount, utilizationSamples) 

6876  

6877  

6878cdef nvmlReturn_t _nvmlDeviceGetVgpuInstancesUtilizationInfo(nvmlDevice_t device, nvmlVgpuInstancesUtilizationInfo_t* vgpuUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6879 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

6880 _check_or_init_nvml() 

6881 if __nvmlDeviceGetVgpuInstancesUtilizationInfo == NULL: 

6882 with gil: 

6883 raise FunctionNotFoundError("function nvmlDeviceGetVgpuInstancesUtilizationInfo is not found") 

6884 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuInstancesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuInstancesUtilizationInfo)( 

6885 device, vgpuUtilInfo) 

6886  

6887  

6888cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessUtilization(nvmlDevice_t device, unsigned long long lastSeenTimeStamp, unsigned int* vgpuProcessSamplesCount, nvmlVgpuProcessUtilizationSample_t* utilizationSamples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6889 global __nvmlDeviceGetVgpuProcessUtilization 

6890 _check_or_init_nvml() 

6891 if __nvmlDeviceGetVgpuProcessUtilization == NULL: 

6892 with gil: 

6893 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessUtilization is not found") 

6894 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, unsigned int*, nvmlVgpuProcessUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessUtilization)( 

6895 device, lastSeenTimeStamp, vgpuProcessSamplesCount, utilizationSamples) 

6896  

6897  

6898cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessesUtilizationInfo(nvmlDevice_t device, nvmlVgpuProcessesUtilizationInfo_t* vgpuProcUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6899 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

6900 _check_or_init_nvml() 

6901 if __nvmlDeviceGetVgpuProcessesUtilizationInfo == NULL: 

6902 with gil: 

6903 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessesUtilizationInfo is not found") 

6904 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessesUtilizationInfo)( 

6905 device, vgpuProcUtilInfo) 

6906  

6907  

6908cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6909 global __nvmlVgpuInstanceGetAccountingMode 

6910 _check_or_init_nvml() 

6911 if __nvmlVgpuInstanceGetAccountingMode == NULL: 

6912 with gil: 

6913 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingMode is not found") 

6914 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingMode)( 

6915 vgpuInstance, mode) 

6916  

6917  

6918cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingPids(nvmlVgpuInstance_t vgpuInstance, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6919 global __nvmlVgpuInstanceGetAccountingPids 

6920 _check_or_init_nvml() 

6921 if __nvmlVgpuInstanceGetAccountingPids == NULL: 

6922 with gil: 

6923 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingPids is not found") 

6924 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetAccountingPids)( 

6925 vgpuInstance, count, pids) 

6926  

6927  

6928cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingStats(nvmlVgpuInstance_t vgpuInstance, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6929 global __nvmlVgpuInstanceGetAccountingStats 

6930 _check_or_init_nvml() 

6931 if __nvmlVgpuInstanceGetAccountingStats == NULL: 

6932 with gil: 

6933 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingStats is not found") 

6934 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingStats)( 

6935 vgpuInstance, pid, stats) 

6936  

6937  

6938cdef nvmlReturn_t _nvmlVgpuInstanceClearAccountingPids(nvmlVgpuInstance_t vgpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6939 global __nvmlVgpuInstanceClearAccountingPids 

6940 _check_or_init_nvml() 

6941 if __nvmlVgpuInstanceClearAccountingPids == NULL: 

6942 with gil: 

6943 raise FunctionNotFoundError("function nvmlVgpuInstanceClearAccountingPids is not found") 

6944 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t) noexcept nogil>__nvmlVgpuInstanceClearAccountingPids)( 

6945 vgpuInstance) 

6946  

6947  

6948cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseInfo_v2(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuLicenseInfo_t* licenseInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6949 global __nvmlVgpuInstanceGetLicenseInfo_v2 

6950 _check_or_init_nvml() 

6951 if __nvmlVgpuInstanceGetLicenseInfo_v2 == NULL: 

6952 with gil: 

6953 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseInfo_v2 is not found") 

6954 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuLicenseInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetLicenseInfo_v2)( 

6955 vgpuInstance, licenseInfo) 

6956  

6957  

6958cdef nvmlReturn_t _nvmlGetExcludedDeviceCount(unsigned int* deviceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6959 global __nvmlGetExcludedDeviceCount 

6960 _check_or_init_nvml() 

6961 if __nvmlGetExcludedDeviceCount == NULL: 

6962 with gil: 

6963 raise FunctionNotFoundError("function nvmlGetExcludedDeviceCount is not found") 

6964 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlGetExcludedDeviceCount)( 

6965 deviceCount) 

6966  

6967  

6968cdef nvmlReturn_t _nvmlGetExcludedDeviceInfoByIndex(unsigned int index, nvmlExcludedDeviceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6969 global __nvmlGetExcludedDeviceInfoByIndex 

6970 _check_or_init_nvml() 

6971 if __nvmlGetExcludedDeviceInfoByIndex == NULL: 

6972 with gil: 

6973 raise FunctionNotFoundError("function nvmlGetExcludedDeviceInfoByIndex is not found") 

6974 return (<nvmlReturn_t (*)(unsigned int, nvmlExcludedDeviceInfo_t*) noexcept nogil>__nvmlGetExcludedDeviceInfoByIndex)( 

6975 index, info) 

6976  

6977  

6978cdef nvmlReturn_t _nvmlDeviceSetMigMode(nvmlDevice_t device, unsigned int mode, nvmlReturn_t* activationStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6979 global __nvmlDeviceSetMigMode 

6980 _check_or_init_nvml() 

6981 if __nvmlDeviceSetMigMode == NULL: 

6982 with gil: 

6983 raise FunctionNotFoundError("function nvmlDeviceSetMigMode is not found") 

6984 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlReturn_t*) noexcept nogil>__nvmlDeviceSetMigMode)( 

6985 device, mode, activationStatus) 

6986  

6987  

6988cdef nvmlReturn_t _nvmlDeviceGetMigMode(nvmlDevice_t device, unsigned int* currentMode, unsigned int* pendingMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6989 global __nvmlDeviceGetMigMode 

6990 _check_or_init_nvml() 1A

6991 if __nvmlDeviceGetMigMode == NULL: 1A

6992 with gil: 

6993 raise FunctionNotFoundError("function nvmlDeviceGetMigMode is not found") 

6994 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetMigMode)( 1A

6995 device, currentMode, pendingMode) 

6996  

6997  

6998cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoV(nvmlDevice_t device, unsigned int profile, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6999 global __nvmlDeviceGetGpuInstanceProfileInfoV 

7000 _check_or_init_nvml() 

7001 if __nvmlDeviceGetGpuInstanceProfileInfoV == NULL: 

7002 with gil: 

7003 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoV is not found") 

7004 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoV)( 

7005 device, profile, info) 

7006  

7007  

7008cdef nvmlReturn_t _nvmlDeviceGetGpuInstancePossiblePlacements_v2(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7009 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

7010 _check_or_init_nvml() 

7011 if __nvmlDeviceGetGpuInstancePossiblePlacements_v2 == NULL: 

7012 with gil: 

7013 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstancePossiblePlacements_v2 is not found") 

7014 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstancePossiblePlacements_v2)( 

7015 device, profileId, placements, count) 

7016  

7017  

7018cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceRemainingCapacity(nvmlDevice_t device, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7019 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

7020 _check_or_init_nvml() 

7021 if __nvmlDeviceGetGpuInstanceRemainingCapacity == NULL: 

7022 with gil: 

7023 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceRemainingCapacity is not found") 

7024 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceRemainingCapacity)( 

7025 device, profileId, count) 

7026  

7027  

7028cdef nvmlReturn_t _nvmlDeviceCreateGpuInstance(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7029 global __nvmlDeviceCreateGpuInstance 

7030 _check_or_init_nvml() 

7031 if __nvmlDeviceCreateGpuInstance == NULL: 

7032 with gil: 

7033 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstance is not found") 

7034 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstance)( 

7035 device, profileId, gpuInstance) 

7036  

7037  

7038cdef nvmlReturn_t _nvmlDeviceCreateGpuInstanceWithPlacement(nvmlDevice_t device, unsigned int profileId, const nvmlGpuInstancePlacement_t* placement, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7039 global __nvmlDeviceCreateGpuInstanceWithPlacement 

7040 _check_or_init_nvml() 

7041 if __nvmlDeviceCreateGpuInstanceWithPlacement == NULL: 

7042 with gil: 

7043 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstanceWithPlacement is not found") 

7044 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, const nvmlGpuInstancePlacement_t*, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstanceWithPlacement)( 

7045 device, profileId, placement, gpuInstance) 

7046  

7047  

7048cdef nvmlReturn_t _nvmlGpuInstanceDestroy(nvmlGpuInstance_t gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7049 global __nvmlGpuInstanceDestroy 

7050 _check_or_init_nvml() 

7051 if __nvmlGpuInstanceDestroy == NULL: 

7052 with gil: 

7053 raise FunctionNotFoundError("function nvmlGpuInstanceDestroy is not found") 

7054 return (<nvmlReturn_t (*)(nvmlGpuInstance_t) noexcept nogil>__nvmlGpuInstanceDestroy)( 

7055 gpuInstance) 

7056  

7057  

7058cdef nvmlReturn_t _nvmlDeviceGetGpuInstances(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7059 global __nvmlDeviceGetGpuInstances 

7060 _check_or_init_nvml() 

7061 if __nvmlDeviceGetGpuInstances == NULL: 

7062 with gil: 

7063 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstances is not found") 

7064 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstances)( 

7065 device, profileId, gpuInstances, count) 

7066  

7067  

7068cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceById(nvmlDevice_t device, unsigned int id, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7069 global __nvmlDeviceGetGpuInstanceById 

7070 _check_or_init_nvml() 

7071 if __nvmlDeviceGetGpuInstanceById == NULL: 

7072 with gil: 

7073 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceById is not found") 

7074 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceById)( 

7075 device, id, gpuInstance) 

7076  

7077  

7078cdef nvmlReturn_t _nvmlGpuInstanceGetInfo(nvmlGpuInstance_t gpuInstance, nvmlGpuInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7079 global __nvmlGpuInstanceGetInfo 

7080 _check_or_init_nvml() 

7081 if __nvmlGpuInstanceGetInfo == NULL: 

7082 with gil: 

7083 raise FunctionNotFoundError("function nvmlGpuInstanceGetInfo is not found") 

7084 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlGpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetInfo)( 

7085 gpuInstance, info) 

7086  

7087  

7088cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceProfileInfoV(nvmlGpuInstance_t gpuInstance, unsigned int profile, unsigned int engProfile, nvmlComputeInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7089 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

7090 _check_or_init_nvml() 

7091 if __nvmlGpuInstanceGetComputeInstanceProfileInfoV == NULL: 

7092 with gil: 

7093 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceProfileInfoV is not found") 

7094 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int, nvmlComputeInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceProfileInfoV)( 

7095 gpuInstance, profile, engProfile, info) 

7096  

7097  

7098cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceRemainingCapacity(nvmlGpuInstance_t gpuInstance, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7099 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

7100 _check_or_init_nvml() 

7101 if __nvmlGpuInstanceGetComputeInstanceRemainingCapacity == NULL: 

7102 with gil: 

7103 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceRemainingCapacity is not found") 

7104 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceRemainingCapacity)( 

7105 gpuInstance, profileId, count) 

7106  

7107  

7108cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstancePossiblePlacements(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7109 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

7110 _check_or_init_nvml() 

7111 if __nvmlGpuInstanceGetComputeInstancePossiblePlacements == NULL: 

7112 with gil: 

7113 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstancePossiblePlacements is not found") 

7114 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstancePossiblePlacements)( 

7115 gpuInstance, profileId, placements, count) 

7116  

7117  

7118cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstance(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7119 global __nvmlGpuInstanceCreateComputeInstance 

7120 _check_or_init_nvml() 

7121 if __nvmlGpuInstanceCreateComputeInstance == NULL: 

7122 with gil: 

7123 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstance is not found") 

7124 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstance)( 

7125 gpuInstance, profileId, computeInstance) 

7126  

7127  

7128cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstanceWithPlacement(nvmlGpuInstance_t gpuInstance, unsigned int profileId, const nvmlComputeInstancePlacement_t* placement, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7129 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

7130 _check_or_init_nvml() 

7131 if __nvmlGpuInstanceCreateComputeInstanceWithPlacement == NULL: 

7132 with gil: 

7133 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstanceWithPlacement is not found") 

7134 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, const nvmlComputeInstancePlacement_t*, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstanceWithPlacement)( 

7135 gpuInstance, profileId, placement, computeInstance) 

7136  

7137  

7138cdef nvmlReturn_t _nvmlComputeInstanceDestroy(nvmlComputeInstance_t computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7139 global __nvmlComputeInstanceDestroy 

7140 _check_or_init_nvml() 

7141 if __nvmlComputeInstanceDestroy == NULL: 

7142 with gil: 

7143 raise FunctionNotFoundError("function nvmlComputeInstanceDestroy is not found") 

7144 return (<nvmlReturn_t (*)(nvmlComputeInstance_t) noexcept nogil>__nvmlComputeInstanceDestroy)( 

7145 computeInstance) 

7146  

7147  

7148cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstances(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7149 global __nvmlGpuInstanceGetComputeInstances 

7150 _check_or_init_nvml() 

7151 if __nvmlGpuInstanceGetComputeInstances == NULL: 

7152 with gil: 

7153 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstances is not found") 

7154 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstances)( 

7155 gpuInstance, profileId, computeInstances, count) 

7156  

7157  

7158cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceById(nvmlGpuInstance_t gpuInstance, unsigned int id, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7159 global __nvmlGpuInstanceGetComputeInstanceById 

7160 _check_or_init_nvml() 

7161 if __nvmlGpuInstanceGetComputeInstanceById == NULL: 

7162 with gil: 

7163 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceById is not found") 

7164 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceById)( 

7165 gpuInstance, id, computeInstance) 

7166  

7167  

7168cdef nvmlReturn_t _nvmlComputeInstanceGetInfo_v2(nvmlComputeInstance_t computeInstance, nvmlComputeInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7169 global __nvmlComputeInstanceGetInfo_v2 

7170 _check_or_init_nvml() 

7171 if __nvmlComputeInstanceGetInfo_v2 == NULL: 

7172 with gil: 

7173 raise FunctionNotFoundError("function nvmlComputeInstanceGetInfo_v2 is not found") 

7174 return (<nvmlReturn_t (*)(nvmlComputeInstance_t, nvmlComputeInstanceInfo_t*) noexcept nogil>__nvmlComputeInstanceGetInfo_v2)( 

7175 computeInstance, info) 

7176  

7177  

7178cdef nvmlReturn_t _nvmlDeviceIsMigDeviceHandle(nvmlDevice_t device, unsigned int* isMigDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7179 global __nvmlDeviceIsMigDeviceHandle 

7180 _check_or_init_nvml() 1yA

7181 if __nvmlDeviceIsMigDeviceHandle == NULL: 1yA

7182 with gil: 

7183 raise FunctionNotFoundError("function nvmlDeviceIsMigDeviceHandle is not found") 

7184 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceIsMigDeviceHandle)( 1yA

7185 device, isMigDevice) 

7186  

7187  

7188cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7189 global __nvmlDeviceGetGpuInstanceId 

7190 _check_or_init_nvml() 

7191 if __nvmlDeviceGetGpuInstanceId == NULL: 

7192 with gil: 

7193 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceId is not found") 

7194 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceId)( 

7195 device, id) 

7196  

7197  

7198cdef nvmlReturn_t _nvmlDeviceGetComputeInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7199 global __nvmlDeviceGetComputeInstanceId 

7200 _check_or_init_nvml() 

7201 if __nvmlDeviceGetComputeInstanceId == NULL: 

7202 with gil: 

7203 raise FunctionNotFoundError("function nvmlDeviceGetComputeInstanceId is not found") 

7204 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetComputeInstanceId)( 

7205 device, id) 

7206  

7207  

7208cdef nvmlReturn_t _nvmlDeviceGetMaxMigDeviceCount(nvmlDevice_t device, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7209 global __nvmlDeviceGetMaxMigDeviceCount 

7210 _check_or_init_nvml() 1mA

7211 if __nvmlDeviceGetMaxMigDeviceCount == NULL: 1mA

7212 with gil: 

7213 raise FunctionNotFoundError("function nvmlDeviceGetMaxMigDeviceCount is not found") 

7214 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxMigDeviceCount)( 1mA

7215 device, count) 

7216  

7217  

7218cdef nvmlReturn_t _nvmlDeviceGetMigDeviceHandleByIndex(nvmlDevice_t device, unsigned int index, nvmlDevice_t* migDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7219 global __nvmlDeviceGetMigDeviceHandleByIndex 

7220 _check_or_init_nvml() 

7221 if __nvmlDeviceGetMigDeviceHandleByIndex == NULL: 

7222 with gil: 

7223 raise FunctionNotFoundError("function nvmlDeviceGetMigDeviceHandleByIndex is not found") 

7224 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetMigDeviceHandleByIndex)( 

7225 device, index, migDevice) 

7226  

7227  

7228cdef nvmlReturn_t _nvmlDeviceGetDeviceHandleFromMigDeviceHandle(nvmlDevice_t migDevice, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7229 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

7230 _check_or_init_nvml() 

7231 if __nvmlDeviceGetDeviceHandleFromMigDeviceHandle == NULL: 

7232 with gil: 

7233 raise FunctionNotFoundError("function nvmlDeviceGetDeviceHandleFromMigDeviceHandle is not found") 

7234 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetDeviceHandleFromMigDeviceHandle)( 

7235 migDevice, device) 

7236  

7237  

7238cdef nvmlReturn_t _nvmlDeviceGetCapabilities(nvmlDevice_t device, nvmlDeviceCapabilities_t* caps) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7239 global __nvmlDeviceGetCapabilities 

7240 _check_or_init_nvml() 2Nb

7241 if __nvmlDeviceGetCapabilities == NULL: 2Nb

7242 with gil: 

7243 raise FunctionNotFoundError("function nvmlDeviceGetCapabilities is not found") 

7244 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCapabilities_t*) noexcept nogil>__nvmlDeviceGetCapabilities)( 2Nb

7245 device, caps) 

7246  

7247  

7248cdef nvmlReturn_t _nvmlDevicePowerSmoothingActivatePresetProfile(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7249 global __nvmlDevicePowerSmoothingActivatePresetProfile 

7250 _check_or_init_nvml() 

7251 if __nvmlDevicePowerSmoothingActivatePresetProfile == NULL: 

7252 with gil: 

7253 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingActivatePresetProfile is not found") 

7254 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingActivatePresetProfile)( 

7255 device, profile) 

7256  

7257  

7258cdef nvmlReturn_t _nvmlDevicePowerSmoothingUpdatePresetProfileParam(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7259 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

7260 _check_or_init_nvml() 

7261 if __nvmlDevicePowerSmoothingUpdatePresetProfileParam == NULL: 

7262 with gil: 

7263 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingUpdatePresetProfileParam is not found") 

7264 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingUpdatePresetProfileParam)( 

7265 device, profile) 

7266  

7267  

7268cdef nvmlReturn_t _nvmlDevicePowerSmoothingSetState(nvmlDevice_t device, nvmlPowerSmoothingState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7269 global __nvmlDevicePowerSmoothingSetState 

7270 _check_or_init_nvml() 

7271 if __nvmlDevicePowerSmoothingSetState == NULL: 

7272 with gil: 

7273 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingSetState is not found") 

7274 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingState_t*) noexcept nogil>__nvmlDevicePowerSmoothingSetState)( 

7275 device, state) 

7276  

7277  

7278cdef nvmlReturn_t _nvmlDeviceGetAddressingMode(nvmlDevice_t device, nvmlDeviceAddressingMode_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7279 global __nvmlDeviceGetAddressingMode 

7280 _check_or_init_nvml() 1$

7281 if __nvmlDeviceGetAddressingMode == NULL: 1$

7282 with gil: 

7283 raise FunctionNotFoundError("function nvmlDeviceGetAddressingMode is not found") 

7284 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceAddressingMode_t*) noexcept nogil>__nvmlDeviceGetAddressingMode)( 1$

7285 device, mode) 

7286  

7287  

7288cdef nvmlReturn_t _nvmlDeviceGetRepairStatus(nvmlDevice_t device, nvmlRepairStatus_t* repairStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7289 global __nvmlDeviceGetRepairStatus 

7290 _check_or_init_nvml() 1-

7291 if __nvmlDeviceGetRepairStatus == NULL: 1-

7292 with gil: 

7293 raise FunctionNotFoundError("function nvmlDeviceGetRepairStatus is not found") 

7294 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRepairStatus_t*) noexcept nogil>__nvmlDeviceGetRepairStatus)( 1-

7295 device, repairStatus) 

7296  

7297  

7298cdef nvmlReturn_t _nvmlDeviceGetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7299 global __nvmlDeviceGetPowerMizerMode_v1 

7300 _check_or_init_nvml() 

7301 if __nvmlDeviceGetPowerMizerMode_v1 == NULL: 

7302 with gil: 

7303 raise FunctionNotFoundError("function nvmlDeviceGetPowerMizerMode_v1 is not found") 

7304 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceGetPowerMizerMode_v1)( 

7305 device, powerMizerMode) 

7306  

7307  

7308cdef nvmlReturn_t _nvmlDeviceSetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7309 global __nvmlDeviceSetPowerMizerMode_v1 

7310 _check_or_init_nvml() 

7311 if __nvmlDeviceSetPowerMizerMode_v1 == NULL: 

7312 with gil: 

7313 raise FunctionNotFoundError("function nvmlDeviceSetPowerMizerMode_v1 is not found") 

7314 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceSetPowerMizerMode_v1)( 

7315 device, powerMizerMode) 

7316  

7317  

7318cdef nvmlReturn_t _nvmlDeviceGetPdi(nvmlDevice_t device, nvmlPdi_t* pdi) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7319 global __nvmlDeviceGetPdi 

7320 _check_or_init_nvml() 2Ob

7321 if __nvmlDeviceGetPdi == NULL: 2Ob

7322 with gil: 

7323 raise FunctionNotFoundError("function nvmlDeviceGetPdi is not found") 

7324 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPdi_t*) noexcept nogil>__nvmlDeviceGetPdi)( 2Ob

7325 device, pdi) 

7326  

7327  

7328cdef nvmlReturn_t _nvmlDeviceSetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7329 global __nvmlDeviceSetHostname_v1 

7330 _check_or_init_nvml() 

7331 if __nvmlDeviceSetHostname_v1 == NULL: 

7332 with gil: 

7333 raise FunctionNotFoundError("function nvmlDeviceSetHostname_v1 is not found") 

7334 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceSetHostname_v1)( 

7335 device, hostname) 

7336  

7337  

7338cdef nvmlReturn_t _nvmlDeviceGetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7339 global __nvmlDeviceGetHostname_v1 

7340 _check_or_init_nvml() 

7341 if __nvmlDeviceGetHostname_v1 == NULL: 

7342 with gil: 

7343 raise FunctionNotFoundError("function nvmlDeviceGetHostname_v1 is not found") 

7344 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceGetHostname_v1)( 

7345 device, hostname) 

7346  

7347  

7348cdef nvmlReturn_t _nvmlDeviceGetNvLinkInfo(nvmlDevice_t device, nvmlNvLinkInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7349 global __nvmlDeviceGetNvLinkInfo 

7350 _check_or_init_nvml() 

7351 if __nvmlDeviceGetNvLinkInfo == NULL: 

7352 with gil: 

7353 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkInfo is not found") 

7354 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkInfo)( 

7355 device, info) 

7356  

7357  

7358cdef nvmlReturn_t _nvmlDeviceReadWritePRM_v1(nvmlDevice_t device, nvmlPRMTLV_v1_t* buffer) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7359 global __nvmlDeviceReadWritePRM_v1 

7360 _check_or_init_nvml() 1r

7361 if __nvmlDeviceReadWritePRM_v1 == NULL: 1r

7362 with gil: 

7363 raise FunctionNotFoundError("function nvmlDeviceReadWritePRM_v1 is not found") 

7364 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMTLV_v1_t*) noexcept nogil>__nvmlDeviceReadWritePRM_v1)( 1r

7365 device, buffer) 

7366  

7367  

7368cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoByIdV(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7369 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

7370 _check_or_init_nvml() 

7371 if __nvmlDeviceGetGpuInstanceProfileInfoByIdV == NULL: 

7372 with gil: 

7373 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoByIdV is not found") 

7374 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoByIdV)( 

7375 device, profileId, info) 

7376  

7377  

7378cdef nvmlReturn_t _nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts(nvmlDevice_t device, nvmlEccSramUniqueUncorrectedErrorCounts_t* errorCounts) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7379 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

7380 _check_or_init_nvml() 

7381 if __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts == NULL: 

7382 with gil: 

7383 raise FunctionNotFoundError("function nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts is not found") 

7384 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramUniqueUncorrectedErrorCounts_t*) noexcept nogil>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts)( 

7385 device, errorCounts) 

7386  

7387  

7388cdef nvmlReturn_t _nvmlDeviceGetUnrepairableMemoryFlag_v1(nvmlDevice_t device, nvmlUnrepairableMemoryStatus_v1_t* unrepairableMemoryStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7389 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

7390 _check_or_init_nvml() 

7391 if __nvmlDeviceGetUnrepairableMemoryFlag_v1 == NULL: 

7392 with gil: 

7393 raise FunctionNotFoundError("function nvmlDeviceGetUnrepairableMemoryFlag_v1 is not found") 

7394 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUnrepairableMemoryStatus_v1_t*) noexcept nogil>__nvmlDeviceGetUnrepairableMemoryFlag_v1)( 

7395 device, unrepairableMemoryStatus) 

7396  

7397  

7398cdef nvmlReturn_t _nvmlDeviceReadPRMCounters_v1(nvmlDevice_t device, nvmlPRMCounterList_v1_t* counterList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7399 global __nvmlDeviceReadPRMCounters_v1 

7400 _check_or_init_nvml() 

7401 if __nvmlDeviceReadPRMCounters_v1 == NULL: 

7402 with gil: 

7403 raise FunctionNotFoundError("function nvmlDeviceReadPRMCounters_v1 is not found") 

7404 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMCounterList_v1_t*) noexcept nogil>__nvmlDeviceReadPRMCounters_v1)( 

7405 device, counterList) 

7406  

7407  

7408cdef nvmlReturn_t _nvmlDeviceSetRusdSettings_v1(nvmlDevice_t device, nvmlRusdSettings_v1_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7409 global __nvmlDeviceSetRusdSettings_v1 

7410 _check_or_init_nvml() 

7411 if __nvmlDeviceSetRusdSettings_v1 == NULL: 

7412 with gil: 

7413 raise FunctionNotFoundError("function nvmlDeviceSetRusdSettings_v1 is not found") 

7414 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRusdSettings_v1_t*) noexcept nogil>__nvmlDeviceSetRusdSettings_v1)( 

7415 device, settings) 

7416  

7417  

7418cdef nvmlReturn_t _nvmlDeviceVgpuForceGspUnload(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7419 global __nvmlDeviceVgpuForceGspUnload 

7420 _check_or_init_nvml() 

7421 if __nvmlDeviceVgpuForceGspUnload == NULL: 

7422 with gil: 

7423 raise FunctionNotFoundError("function nvmlDeviceVgpuForceGspUnload is not found") 

7424 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceVgpuForceGspUnload)( 

7425 device) 

7426  

7427  

7428cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerStateInfo_v2_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7429 global __nvmlDeviceGetVgpuSchedulerState_v2 

7430 _check_or_init_nvml() 

7431 if __nvmlDeviceGetVgpuSchedulerState_v2 == NULL: 

7432 with gil: 

7433 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerState_v2 is not found") 

7434 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerStateInfo_v2_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerState_v2)( 

7435 device, pSchedulerStateInfo) 

7436  

7437  

7438cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerStateInfo_v2_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7439 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 

7440 _check_or_init_nvml() 

7441 if __nvmlGpuInstanceGetVgpuSchedulerState_v2 == NULL: 

7442 with gil: 

7443 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerState_v2 is not found") 

7444 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerStateInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerState_v2)( 

7445 gpuInstance, pSchedulerStateInfo) 

7446  

7447  

7448cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog_v2(nvmlDevice_t device, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7449 global __nvmlDeviceGetVgpuSchedulerLog_v2 

7450 _check_or_init_nvml() 

7451 if __nvmlDeviceGetVgpuSchedulerLog_v2 == NULL: 

7452 with gil: 

7453 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerLog_v2 is not found") 

7454 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerLogInfo_v2_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerLog_v2)( 

7455 device, pSchedulerLogInfo) 

7456  

7457  

7458cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7459 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 

7460 _check_or_init_nvml() 

7461 if __nvmlGpuInstanceGetVgpuSchedulerLog_v2 == NULL: 

7462 with gil: 

7463 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerLog_v2 is not found") 

7464 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerLogInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerLog_v2)( 

7465 gpuInstance, pSchedulerLogInfo) 

7466  

7467  

7468cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7469 global __nvmlDeviceSetVgpuSchedulerState_v2 

7470 _check_or_init_nvml() 

7471 if __nvmlDeviceSetVgpuSchedulerState_v2 == NULL: 

7472 with gil: 

7473 raise FunctionNotFoundError("function nvmlDeviceSetVgpuSchedulerState_v2 is not found") 

7474 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerState_v2_t*) noexcept nogil>__nvmlDeviceSetVgpuSchedulerState_v2)( 

7475 device, pSchedulerState) 

7476  

7477  

7478cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7479 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 

7480 _check_or_init_nvml() 

7481 if __nvmlGpuInstanceSetVgpuSchedulerState_v2 == NULL: 

7482 with gil: 

7483 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState_v2 is not found") 

7484 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerState_v2_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuSchedulerState_v2)( 

7485 gpuInstance, pSchedulerState)