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

4505 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-03-08 01:07 +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.1.1, generator version 0.3.1.dev1322+g646ce84ec. 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* __nvmlDeviceGetMPSComputeRunningProcesses_v3 = NULL 

192cdef void* __nvmlDeviceGetRunningProcessDetailList = NULL 

193cdef void* __nvmlDeviceOnSameBoard = NULL 

194cdef void* __nvmlDeviceGetAPIRestriction = NULL 

195cdef void* __nvmlDeviceGetSamples = NULL 

196cdef void* __nvmlDeviceGetBAR1MemoryInfo = NULL 

197cdef void* __nvmlDeviceGetIrqNum = NULL 

198cdef void* __nvmlDeviceGetNumGpuCores = NULL 

199cdef void* __nvmlDeviceGetPowerSource = NULL 

200cdef void* __nvmlDeviceGetMemoryBusWidth = NULL 

201cdef void* __nvmlDeviceGetPcieLinkMaxSpeed = NULL 

202cdef void* __nvmlDeviceGetPcieSpeed = NULL 

203cdef void* __nvmlDeviceGetAdaptiveClockInfoStatus = NULL 

204cdef void* __nvmlDeviceGetBusType = NULL 

205cdef void* __nvmlDeviceGetGpuFabricInfoV = NULL 

206cdef void* __nvmlSystemGetConfComputeCapabilities = NULL 

207cdef void* __nvmlSystemGetConfComputeState = NULL 

208cdef void* __nvmlDeviceGetConfComputeMemSizeInfo = NULL 

209cdef void* __nvmlSystemGetConfComputeGpusReadyState = NULL 

210cdef void* __nvmlDeviceGetConfComputeProtectedMemoryUsage = NULL 

211cdef void* __nvmlDeviceGetConfComputeGpuCertificate = NULL 

212cdef void* __nvmlDeviceGetConfComputeGpuAttestationReport = NULL 

213cdef void* __nvmlSystemGetConfComputeKeyRotationThresholdInfo = NULL 

214cdef void* __nvmlDeviceSetConfComputeUnprotectedMemSize = NULL 

215cdef void* __nvmlSystemSetConfComputeGpusReadyState = NULL 

216cdef void* __nvmlSystemSetConfComputeKeyRotationThresholdInfo = NULL 

217cdef void* __nvmlSystemGetConfComputeSettings = NULL 

218cdef void* __nvmlDeviceGetGspFirmwareVersion = NULL 

219cdef void* __nvmlDeviceGetGspFirmwareMode = NULL 

220cdef void* __nvmlDeviceGetSramEccErrorStatus = NULL 

221cdef void* __nvmlDeviceGetAccountingMode = NULL 

222cdef void* __nvmlDeviceGetAccountingStats = NULL 

223cdef void* __nvmlDeviceGetAccountingPids = NULL 

224cdef void* __nvmlDeviceGetAccountingBufferSize = NULL 

225cdef void* __nvmlDeviceGetRetiredPages = NULL 

226cdef void* __nvmlDeviceGetRetiredPages_v2 = NULL 

227cdef void* __nvmlDeviceGetRetiredPagesPendingStatus = NULL 

228cdef void* __nvmlDeviceGetRemappedRows = NULL 

229cdef void* __nvmlDeviceGetRowRemapperHistogram = NULL 

230cdef void* __nvmlDeviceGetArchitecture = NULL 

231cdef void* __nvmlDeviceGetClkMonStatus = NULL 

232cdef void* __nvmlDeviceGetProcessUtilization = NULL 

233cdef void* __nvmlDeviceGetProcessesUtilizationInfo = NULL 

234cdef void* __nvmlDeviceGetPlatformInfo = NULL 

235cdef void* __nvmlUnitSetLedState = NULL 

236cdef void* __nvmlDeviceSetPersistenceMode = NULL 

237cdef void* __nvmlDeviceSetComputeMode = NULL 

238cdef void* __nvmlDeviceSetEccMode = NULL 

239cdef void* __nvmlDeviceClearEccErrorCounts = NULL 

240cdef void* __nvmlDeviceSetDriverModel = NULL 

241cdef void* __nvmlDeviceSetGpuLockedClocks = NULL 

242cdef void* __nvmlDeviceResetGpuLockedClocks = NULL 

243cdef void* __nvmlDeviceSetMemoryLockedClocks = NULL 

244cdef void* __nvmlDeviceResetMemoryLockedClocks = NULL 

245cdef void* __nvmlDeviceSetAutoBoostedClocksEnabled = NULL 

246cdef void* __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = NULL 

247cdef void* __nvmlDeviceSetDefaultFanSpeed_v2 = NULL 

248cdef void* __nvmlDeviceSetFanControlPolicy = NULL 

249cdef void* __nvmlDeviceSetTemperatureThreshold = NULL 

250cdef void* __nvmlDeviceSetGpuOperationMode = NULL 

251cdef void* __nvmlDeviceSetAPIRestriction = NULL 

252cdef void* __nvmlDeviceSetFanSpeed_v2 = NULL 

253cdef void* __nvmlDeviceSetAccountingMode = NULL 

254cdef void* __nvmlDeviceClearAccountingPids = NULL 

255cdef void* __nvmlDeviceSetPowerManagementLimit_v2 = NULL 

256cdef void* __nvmlDeviceGetNvLinkState = NULL 

257cdef void* __nvmlDeviceGetNvLinkVersion = NULL 

258cdef void* __nvmlDeviceGetNvLinkCapability = NULL 

259cdef void* __nvmlDeviceGetNvLinkRemotePciInfo_v2 = NULL 

260cdef void* __nvmlDeviceGetNvLinkErrorCounter = NULL 

261cdef void* __nvmlDeviceResetNvLinkErrorCounters = NULL 

262cdef void* __nvmlDeviceGetNvLinkRemoteDeviceType = NULL 

263cdef void* __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = NULL 

264cdef void* __nvmlSystemSetNvlinkBwMode = NULL 

265cdef void* __nvmlSystemGetNvlinkBwMode = NULL 

266cdef void* __nvmlDeviceGetNvlinkSupportedBwModes = NULL 

267cdef void* __nvmlDeviceGetNvlinkBwMode = NULL 

268cdef void* __nvmlDeviceSetNvlinkBwMode = NULL 

269cdef void* __nvmlEventSetCreate = NULL 

270cdef void* __nvmlDeviceRegisterEvents = NULL 

271cdef void* __nvmlDeviceGetSupportedEventTypes = NULL 

272cdef void* __nvmlEventSetWait_v2 = NULL 

273cdef void* __nvmlEventSetFree = NULL 

274cdef void* __nvmlSystemEventSetCreate = NULL 

275cdef void* __nvmlSystemEventSetFree = NULL 

276cdef void* __nvmlSystemRegisterEvents = NULL 

277cdef void* __nvmlSystemEventSetWait = NULL 

278cdef void* __nvmlDeviceModifyDrainState = NULL 

279cdef void* __nvmlDeviceQueryDrainState = NULL 

280cdef void* __nvmlDeviceRemoveGpu_v2 = NULL 

281cdef void* __nvmlDeviceDiscoverGpus = NULL 

282cdef void* __nvmlDeviceGetFieldValues = NULL 

283cdef void* __nvmlDeviceClearFieldValues = NULL 

284cdef void* __nvmlDeviceGetVirtualizationMode = NULL 

285cdef void* __nvmlDeviceGetHostVgpuMode = NULL 

286cdef void* __nvmlDeviceSetVirtualizationMode = NULL 

287cdef void* __nvmlDeviceGetVgpuHeterogeneousMode = NULL 

288cdef void* __nvmlDeviceSetVgpuHeterogeneousMode = NULL 

289cdef void* __nvmlVgpuInstanceGetPlacementId = NULL 

290cdef void* __nvmlDeviceGetVgpuTypeSupportedPlacements = NULL 

291cdef void* __nvmlDeviceGetVgpuTypeCreatablePlacements = NULL 

292cdef void* __nvmlVgpuTypeGetGspHeapSize = NULL 

293cdef void* __nvmlVgpuTypeGetFbReservation = NULL 

294cdef void* __nvmlVgpuInstanceGetRuntimeStateSize = NULL 

295cdef void* __nvmlDeviceSetVgpuCapabilities = NULL 

296cdef void* __nvmlDeviceGetGridLicensableFeatures_v4 = NULL 

297cdef void* __nvmlGetVgpuDriverCapabilities = NULL 

298cdef void* __nvmlDeviceGetVgpuCapabilities = NULL 

299cdef void* __nvmlDeviceGetSupportedVgpus = NULL 

300cdef void* __nvmlDeviceGetCreatableVgpus = NULL 

301cdef void* __nvmlVgpuTypeGetClass = NULL 

302cdef void* __nvmlVgpuTypeGetName = NULL 

303cdef void* __nvmlVgpuTypeGetGpuInstanceProfileId = NULL 

304cdef void* __nvmlVgpuTypeGetDeviceID = NULL 

305cdef void* __nvmlVgpuTypeGetFramebufferSize = NULL 

306cdef void* __nvmlVgpuTypeGetNumDisplayHeads = NULL 

307cdef void* __nvmlVgpuTypeGetResolution = NULL 

308cdef void* __nvmlVgpuTypeGetLicense = NULL 

309cdef void* __nvmlVgpuTypeGetFrameRateLimit = NULL 

310cdef void* __nvmlVgpuTypeGetMaxInstances = NULL 

311cdef void* __nvmlVgpuTypeGetMaxInstancesPerVm = NULL 

312cdef void* __nvmlVgpuTypeGetBAR1Info = NULL 

313cdef void* __nvmlDeviceGetActiveVgpus = NULL 

314cdef void* __nvmlVgpuInstanceGetVmID = NULL 

315cdef void* __nvmlVgpuInstanceGetUUID = NULL 

316cdef void* __nvmlVgpuInstanceGetVmDriverVersion = NULL 

317cdef void* __nvmlVgpuInstanceGetFbUsage = NULL 

318cdef void* __nvmlVgpuInstanceGetLicenseStatus = NULL 

319cdef void* __nvmlVgpuInstanceGetType = NULL 

320cdef void* __nvmlVgpuInstanceGetFrameRateLimit = NULL 

321cdef void* __nvmlVgpuInstanceGetEccMode = NULL 

322cdef void* __nvmlVgpuInstanceGetEncoderCapacity = NULL 

323cdef void* __nvmlVgpuInstanceSetEncoderCapacity = NULL 

324cdef void* __nvmlVgpuInstanceGetEncoderStats = NULL 

325cdef void* __nvmlVgpuInstanceGetEncoderSessions = NULL 

326cdef void* __nvmlVgpuInstanceGetFBCStats = NULL 

327cdef void* __nvmlVgpuInstanceGetFBCSessions = NULL 

328cdef void* __nvmlVgpuInstanceGetGpuInstanceId = NULL 

329cdef void* __nvmlVgpuInstanceGetGpuPciId = NULL 

330cdef void* __nvmlVgpuTypeGetCapabilities = NULL 

331cdef void* __nvmlVgpuInstanceGetMdevUUID = NULL 

332cdef void* __nvmlGpuInstanceGetCreatableVgpus = NULL 

333cdef void* __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = NULL 

334cdef void* __nvmlGpuInstanceGetActiveVgpus = NULL 

335cdef void* __nvmlGpuInstanceSetVgpuSchedulerState = NULL 

336cdef void* __nvmlGpuInstanceGetVgpuSchedulerState = NULL 

337cdef void* __nvmlGpuInstanceGetVgpuSchedulerLog = NULL 

338cdef void* __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = NULL 

339cdef void* __nvmlGpuInstanceGetVgpuHeterogeneousMode = NULL 

340cdef void* __nvmlGpuInstanceSetVgpuHeterogeneousMode = NULL 

341cdef void* __nvmlVgpuInstanceGetMetadata = NULL 

342cdef void* __nvmlDeviceGetVgpuMetadata = NULL 

343cdef void* __nvmlGetVgpuCompatibility = NULL 

344cdef void* __nvmlDeviceGetPgpuMetadataString = NULL 

345cdef void* __nvmlDeviceGetVgpuSchedulerLog = NULL 

346cdef void* __nvmlDeviceGetVgpuSchedulerState = NULL 

347cdef void* __nvmlDeviceGetVgpuSchedulerCapabilities = NULL 

348cdef void* __nvmlDeviceSetVgpuSchedulerState = NULL 

349cdef void* __nvmlGetVgpuVersion = NULL 

350cdef void* __nvmlSetVgpuVersion = NULL 

351cdef void* __nvmlDeviceGetVgpuUtilization = NULL 

352cdef void* __nvmlDeviceGetVgpuInstancesUtilizationInfo = NULL 

353cdef void* __nvmlDeviceGetVgpuProcessUtilization = NULL 

354cdef void* __nvmlDeviceGetVgpuProcessesUtilizationInfo = NULL 

355cdef void* __nvmlVgpuInstanceGetAccountingMode = NULL 

356cdef void* __nvmlVgpuInstanceGetAccountingPids = NULL 

357cdef void* __nvmlVgpuInstanceGetAccountingStats = NULL 

358cdef void* __nvmlVgpuInstanceClearAccountingPids = NULL 

359cdef void* __nvmlVgpuInstanceGetLicenseInfo_v2 = NULL 

360cdef void* __nvmlGetExcludedDeviceCount = NULL 

361cdef void* __nvmlGetExcludedDeviceInfoByIndex = NULL 

362cdef void* __nvmlDeviceSetMigMode = NULL 

363cdef void* __nvmlDeviceGetMigMode = NULL 

364cdef void* __nvmlDeviceGetGpuInstanceProfileInfoV = NULL 

365cdef void* __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = NULL 

366cdef void* __nvmlDeviceGetGpuInstanceRemainingCapacity = NULL 

367cdef void* __nvmlDeviceCreateGpuInstance = NULL 

368cdef void* __nvmlDeviceCreateGpuInstanceWithPlacement = NULL 

369cdef void* __nvmlGpuInstanceDestroy = NULL 

370cdef void* __nvmlDeviceGetGpuInstances = NULL 

371cdef void* __nvmlDeviceGetGpuInstanceById = NULL 

372cdef void* __nvmlGpuInstanceGetInfo = NULL 

373cdef void* __nvmlGpuInstanceGetComputeInstanceProfileInfoV = NULL 

374cdef void* __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = NULL 

375cdef void* __nvmlGpuInstanceGetComputeInstancePossiblePlacements = NULL 

376cdef void* __nvmlGpuInstanceCreateComputeInstance = NULL 

377cdef void* __nvmlGpuInstanceCreateComputeInstanceWithPlacement = NULL 

378cdef void* __nvmlComputeInstanceDestroy = NULL 

379cdef void* __nvmlGpuInstanceGetComputeInstances = NULL 

380cdef void* __nvmlGpuInstanceGetComputeInstanceById = NULL 

381cdef void* __nvmlComputeInstanceGetInfo_v2 = NULL 

382cdef void* __nvmlDeviceIsMigDeviceHandle = NULL 

383cdef void* __nvmlDeviceGetGpuInstanceId = NULL 

384cdef void* __nvmlDeviceGetComputeInstanceId = NULL 

385cdef void* __nvmlDeviceGetMaxMigDeviceCount = NULL 

386cdef void* __nvmlDeviceGetMigDeviceHandleByIndex = NULL 

387cdef void* __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = NULL 

388cdef void* __nvmlDeviceGetCapabilities = NULL 

389cdef void* __nvmlDevicePowerSmoothingActivatePresetProfile = NULL 

390cdef void* __nvmlDevicePowerSmoothingUpdatePresetProfileParam = NULL 

391cdef void* __nvmlDevicePowerSmoothingSetState = NULL 

392cdef void* __nvmlDeviceGetAddressingMode = NULL 

393cdef void* __nvmlDeviceGetRepairStatus = NULL 

394cdef void* __nvmlDeviceGetPowerMizerMode_v1 = NULL 

395cdef void* __nvmlDeviceSetPowerMizerMode_v1 = NULL 

396cdef void* __nvmlDeviceGetPdi = NULL 

397cdef void* __nvmlDeviceSetHostname_v1 = NULL 

398cdef void* __nvmlDeviceGetHostname_v1 = NULL 

399cdef void* __nvmlDeviceGetNvLinkInfo = NULL 

400cdef void* __nvmlDeviceReadWritePRM_v1 = NULL 

401cdef void* __nvmlDeviceGetGpuInstanceProfileInfoByIdV = NULL 

402cdef void* __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = NULL 

403cdef void* __nvmlDeviceGetUnrepairableMemoryFlag_v1 = NULL 

404cdef void* __nvmlDeviceReadPRMCounters_v1 = NULL 

405cdef void* __nvmlDeviceSetRusdSettings_v1 = NULL 

406  

407  

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

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

410 return <void*>handle 

411  

412  

413cdef int _init_nvml() except -1 nogil: 

414 global __py_nvml_init 

415 cdef void* handle = NULL 

416  

417 with gil, __symbol_lock: 

418 # Recheck the flag after obtaining the locks 

419 if __py_nvml_init: 

420 return 0 

421  

422 # Load function 

423 global __nvmlInit_v2 

424 __nvmlInit_v2 = dlsym(RTLD_DEFAULT, 'nvmlInit_v2') 

425 if __nvmlInit_v2 == NULL: 

426 if handle == NULL: 

427 handle = load_library() 

428 __nvmlInit_v2 = dlsym(handle, 'nvmlInit_v2') 

429  

430 global __nvmlInitWithFlags 

431 __nvmlInitWithFlags = dlsym(RTLD_DEFAULT, 'nvmlInitWithFlags') 

432 if __nvmlInitWithFlags == NULL: 

433 if handle == NULL: 

434 handle = load_library() 

435 __nvmlInitWithFlags = dlsym(handle, 'nvmlInitWithFlags') 

436  

437 global __nvmlShutdown 

438 __nvmlShutdown = dlsym(RTLD_DEFAULT, 'nvmlShutdown') 

439 if __nvmlShutdown == NULL: 

440 if handle == NULL: 

441 handle = load_library() 

442 __nvmlShutdown = dlsym(handle, 'nvmlShutdown') 

443  

444 global __nvmlErrorString 

445 __nvmlErrorString = dlsym(RTLD_DEFAULT, 'nvmlErrorString') 

446 if __nvmlErrorString == NULL: 

447 if handle == NULL: 

448 handle = load_library() 

449 __nvmlErrorString = dlsym(handle, 'nvmlErrorString') 

450  

451 global __nvmlSystemGetDriverVersion 

452 __nvmlSystemGetDriverVersion = dlsym(RTLD_DEFAULT, 'nvmlSystemGetDriverVersion') 

453 if __nvmlSystemGetDriverVersion == NULL: 

454 if handle == NULL: 

455 handle = load_library() 

456 __nvmlSystemGetDriverVersion = dlsym(handle, 'nvmlSystemGetDriverVersion') 

457  

458 global __nvmlSystemGetNVMLVersion 

459 __nvmlSystemGetNVMLVersion = dlsym(RTLD_DEFAULT, 'nvmlSystemGetNVMLVersion') 

460 if __nvmlSystemGetNVMLVersion == NULL: 

461 if handle == NULL: 

462 handle = load_library() 

463 __nvmlSystemGetNVMLVersion = dlsym(handle, 'nvmlSystemGetNVMLVersion') 

464  

465 global __nvmlSystemGetCudaDriverVersion 

466 __nvmlSystemGetCudaDriverVersion = dlsym(RTLD_DEFAULT, 'nvmlSystemGetCudaDriverVersion') 

467 if __nvmlSystemGetCudaDriverVersion == NULL: 

468 if handle == NULL: 

469 handle = load_library() 

470 __nvmlSystemGetCudaDriverVersion = dlsym(handle, 'nvmlSystemGetCudaDriverVersion') 

471  

472 global __nvmlSystemGetCudaDriverVersion_v2 

473 __nvmlSystemGetCudaDriverVersion_v2 = dlsym(RTLD_DEFAULT, 'nvmlSystemGetCudaDriverVersion_v2') 

474 if __nvmlSystemGetCudaDriverVersion_v2 == NULL: 

475 if handle == NULL: 

476 handle = load_library() 

477 __nvmlSystemGetCudaDriverVersion_v2 = dlsym(handle, 'nvmlSystemGetCudaDriverVersion_v2') 

478  

479 global __nvmlSystemGetProcessName 

480 __nvmlSystemGetProcessName = dlsym(RTLD_DEFAULT, 'nvmlSystemGetProcessName') 

481 if __nvmlSystemGetProcessName == NULL: 

482 if handle == NULL: 

483 handle = load_library() 

484 __nvmlSystemGetProcessName = dlsym(handle, 'nvmlSystemGetProcessName') 

485  

486 global __nvmlSystemGetHicVersion 

487 __nvmlSystemGetHicVersion = dlsym(RTLD_DEFAULT, 'nvmlSystemGetHicVersion') 

488 if __nvmlSystemGetHicVersion == NULL: 

489 if handle == NULL: 

490 handle = load_library() 

491 __nvmlSystemGetHicVersion = dlsym(handle, 'nvmlSystemGetHicVersion') 

492  

493 global __nvmlSystemGetTopologyGpuSet 

494 __nvmlSystemGetTopologyGpuSet = dlsym(RTLD_DEFAULT, 'nvmlSystemGetTopologyGpuSet') 

495 if __nvmlSystemGetTopologyGpuSet == NULL: 

496 if handle == NULL: 

497 handle = load_library() 

498 __nvmlSystemGetTopologyGpuSet = dlsym(handle, 'nvmlSystemGetTopologyGpuSet') 

499  

500 global __nvmlSystemGetDriverBranch 

501 __nvmlSystemGetDriverBranch = dlsym(RTLD_DEFAULT, 'nvmlSystemGetDriverBranch') 

502 if __nvmlSystemGetDriverBranch == NULL: 

503 if handle == NULL: 

504 handle = load_library() 

505 __nvmlSystemGetDriverBranch = dlsym(handle, 'nvmlSystemGetDriverBranch') 

506  

507 global __nvmlUnitGetCount 

508 __nvmlUnitGetCount = dlsym(RTLD_DEFAULT, 'nvmlUnitGetCount') 

509 if __nvmlUnitGetCount == NULL: 

510 if handle == NULL: 

511 handle = load_library() 

512 __nvmlUnitGetCount = dlsym(handle, 'nvmlUnitGetCount') 

513  

514 global __nvmlUnitGetHandleByIndex 

515 __nvmlUnitGetHandleByIndex = dlsym(RTLD_DEFAULT, 'nvmlUnitGetHandleByIndex') 

516 if __nvmlUnitGetHandleByIndex == NULL: 

517 if handle == NULL: 

518 handle = load_library() 

519 __nvmlUnitGetHandleByIndex = dlsym(handle, 'nvmlUnitGetHandleByIndex') 

520  

521 global __nvmlUnitGetUnitInfo 

522 __nvmlUnitGetUnitInfo = dlsym(RTLD_DEFAULT, 'nvmlUnitGetUnitInfo') 

523 if __nvmlUnitGetUnitInfo == NULL: 

524 if handle == NULL: 

525 handle = load_library() 

526 __nvmlUnitGetUnitInfo = dlsym(handle, 'nvmlUnitGetUnitInfo') 

527  

528 global __nvmlUnitGetLedState 

529 __nvmlUnitGetLedState = dlsym(RTLD_DEFAULT, 'nvmlUnitGetLedState') 

530 if __nvmlUnitGetLedState == NULL: 

531 if handle == NULL: 

532 handle = load_library() 

533 __nvmlUnitGetLedState = dlsym(handle, 'nvmlUnitGetLedState') 

534  

535 global __nvmlUnitGetPsuInfo 

536 __nvmlUnitGetPsuInfo = dlsym(RTLD_DEFAULT, 'nvmlUnitGetPsuInfo') 

537 if __nvmlUnitGetPsuInfo == NULL: 

538 if handle == NULL: 

539 handle = load_library() 

540 __nvmlUnitGetPsuInfo = dlsym(handle, 'nvmlUnitGetPsuInfo') 

541  

542 global __nvmlUnitGetTemperature 

543 __nvmlUnitGetTemperature = dlsym(RTLD_DEFAULT, 'nvmlUnitGetTemperature') 

544 if __nvmlUnitGetTemperature == NULL: 

545 if handle == NULL: 

546 handle = load_library() 

547 __nvmlUnitGetTemperature = dlsym(handle, 'nvmlUnitGetTemperature') 

548  

549 global __nvmlUnitGetFanSpeedInfo 

550 __nvmlUnitGetFanSpeedInfo = dlsym(RTLD_DEFAULT, 'nvmlUnitGetFanSpeedInfo') 

551 if __nvmlUnitGetFanSpeedInfo == NULL: 

552 if handle == NULL: 

553 handle = load_library() 

554 __nvmlUnitGetFanSpeedInfo = dlsym(handle, 'nvmlUnitGetFanSpeedInfo') 

555  

556 global __nvmlUnitGetDevices 

557 __nvmlUnitGetDevices = dlsym(RTLD_DEFAULT, 'nvmlUnitGetDevices') 

558 if __nvmlUnitGetDevices == NULL: 

559 if handle == NULL: 

560 handle = load_library() 

561 __nvmlUnitGetDevices = dlsym(handle, 'nvmlUnitGetDevices') 

562  

563 global __nvmlDeviceGetCount_v2 

564 __nvmlDeviceGetCount_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCount_v2') 

565 if __nvmlDeviceGetCount_v2 == NULL: 

566 if handle == NULL: 

567 handle = load_library() 

568 __nvmlDeviceGetCount_v2 = dlsym(handle, 'nvmlDeviceGetCount_v2') 

569  

570 global __nvmlDeviceGetAttributes_v2 

571 __nvmlDeviceGetAttributes_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAttributes_v2') 

572 if __nvmlDeviceGetAttributes_v2 == NULL: 

573 if handle == NULL: 

574 handle = load_library() 

575 __nvmlDeviceGetAttributes_v2 = dlsym(handle, 'nvmlDeviceGetAttributes_v2') 

576  

577 global __nvmlDeviceGetHandleByIndex_v2 

578 __nvmlDeviceGetHandleByIndex_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHandleByIndex_v2') 

579 if __nvmlDeviceGetHandleByIndex_v2 == NULL: 

580 if handle == NULL: 

581 handle = load_library() 

582 __nvmlDeviceGetHandleByIndex_v2 = dlsym(handle, 'nvmlDeviceGetHandleByIndex_v2') 

583  

584 global __nvmlDeviceGetHandleBySerial 

585 __nvmlDeviceGetHandleBySerial = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHandleBySerial') 

586 if __nvmlDeviceGetHandleBySerial == NULL: 

587 if handle == NULL: 

588 handle = load_library() 

589 __nvmlDeviceGetHandleBySerial = dlsym(handle, 'nvmlDeviceGetHandleBySerial') 

590  

591 global __nvmlDeviceGetHandleByUUID 

592 __nvmlDeviceGetHandleByUUID = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHandleByUUID') 

593 if __nvmlDeviceGetHandleByUUID == NULL: 

594 if handle == NULL: 

595 handle = load_library() 

596 __nvmlDeviceGetHandleByUUID = dlsym(handle, 'nvmlDeviceGetHandleByUUID') 

597  

598 global __nvmlDeviceGetHandleByUUIDV 

599 __nvmlDeviceGetHandleByUUIDV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHandleByUUIDV') 

600 if __nvmlDeviceGetHandleByUUIDV == NULL: 

601 if handle == NULL: 

602 handle = load_library() 

603 __nvmlDeviceGetHandleByUUIDV = dlsym(handle, 'nvmlDeviceGetHandleByUUIDV') 

604  

605 global __nvmlDeviceGetHandleByPciBusId_v2 

606 __nvmlDeviceGetHandleByPciBusId_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHandleByPciBusId_v2') 

607 if __nvmlDeviceGetHandleByPciBusId_v2 == NULL: 

608 if handle == NULL: 

609 handle = load_library() 

610 __nvmlDeviceGetHandleByPciBusId_v2 = dlsym(handle, 'nvmlDeviceGetHandleByPciBusId_v2') 

611  

612 global __nvmlDeviceGetName 

613 __nvmlDeviceGetName = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetName') 

614 if __nvmlDeviceGetName == NULL: 

615 if handle == NULL: 

616 handle = load_library() 

617 __nvmlDeviceGetName = dlsym(handle, 'nvmlDeviceGetName') 

618  

619 global __nvmlDeviceGetBrand 

620 __nvmlDeviceGetBrand = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBrand') 

621 if __nvmlDeviceGetBrand == NULL: 

622 if handle == NULL: 

623 handle = load_library() 

624 __nvmlDeviceGetBrand = dlsym(handle, 'nvmlDeviceGetBrand') 

625  

626 global __nvmlDeviceGetIndex 

627 __nvmlDeviceGetIndex = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetIndex') 

628 if __nvmlDeviceGetIndex == NULL: 

629 if handle == NULL: 

630 handle = load_library() 

631 __nvmlDeviceGetIndex = dlsym(handle, 'nvmlDeviceGetIndex') 

632  

633 global __nvmlDeviceGetSerial 

634 __nvmlDeviceGetSerial = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSerial') 

635 if __nvmlDeviceGetSerial == NULL: 

636 if handle == NULL: 

637 handle = load_library() 

638 __nvmlDeviceGetSerial = dlsym(handle, 'nvmlDeviceGetSerial') 

639  

640 global __nvmlDeviceGetModuleId 

641 __nvmlDeviceGetModuleId = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetModuleId') 

642 if __nvmlDeviceGetModuleId == NULL: 

643 if handle == NULL: 

644 handle = load_library() 

645 __nvmlDeviceGetModuleId = dlsym(handle, 'nvmlDeviceGetModuleId') 

646  

647 global __nvmlDeviceGetC2cModeInfoV 

648 __nvmlDeviceGetC2cModeInfoV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetC2cModeInfoV') 

649 if __nvmlDeviceGetC2cModeInfoV == NULL: 

650 if handle == NULL: 

651 handle = load_library() 

652 __nvmlDeviceGetC2cModeInfoV = dlsym(handle, 'nvmlDeviceGetC2cModeInfoV') 

653  

654 global __nvmlDeviceGetMemoryAffinity 

655 __nvmlDeviceGetMemoryAffinity = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemoryAffinity') 

656 if __nvmlDeviceGetMemoryAffinity == NULL: 

657 if handle == NULL: 

658 handle = load_library() 

659 __nvmlDeviceGetMemoryAffinity = dlsym(handle, 'nvmlDeviceGetMemoryAffinity') 

660  

661 global __nvmlDeviceGetCpuAffinityWithinScope 

662 __nvmlDeviceGetCpuAffinityWithinScope = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCpuAffinityWithinScope') 

663 if __nvmlDeviceGetCpuAffinityWithinScope == NULL: 

664 if handle == NULL: 

665 handle = load_library() 

666 __nvmlDeviceGetCpuAffinityWithinScope = dlsym(handle, 'nvmlDeviceGetCpuAffinityWithinScope') 

667  

668 global __nvmlDeviceGetCpuAffinity 

669 __nvmlDeviceGetCpuAffinity = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCpuAffinity') 

670 if __nvmlDeviceGetCpuAffinity == NULL: 

671 if handle == NULL: 

672 handle = load_library() 

673 __nvmlDeviceGetCpuAffinity = dlsym(handle, 'nvmlDeviceGetCpuAffinity') 

674  

675 global __nvmlDeviceSetCpuAffinity 

676 __nvmlDeviceSetCpuAffinity = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetCpuAffinity') 

677 if __nvmlDeviceSetCpuAffinity == NULL: 

678 if handle == NULL: 

679 handle = load_library() 

680 __nvmlDeviceSetCpuAffinity = dlsym(handle, 'nvmlDeviceSetCpuAffinity') 

681  

682 global __nvmlDeviceClearCpuAffinity 

683 __nvmlDeviceClearCpuAffinity = dlsym(RTLD_DEFAULT, 'nvmlDeviceClearCpuAffinity') 

684 if __nvmlDeviceClearCpuAffinity == NULL: 

685 if handle == NULL: 

686 handle = load_library() 

687 __nvmlDeviceClearCpuAffinity = dlsym(handle, 'nvmlDeviceClearCpuAffinity') 

688  

689 global __nvmlDeviceGetNumaNodeId 

690 __nvmlDeviceGetNumaNodeId = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNumaNodeId') 

691 if __nvmlDeviceGetNumaNodeId == NULL: 

692 if handle == NULL: 

693 handle = load_library() 

694 __nvmlDeviceGetNumaNodeId = dlsym(handle, 'nvmlDeviceGetNumaNodeId') 

695  

696 global __nvmlDeviceGetTopologyCommonAncestor 

697 __nvmlDeviceGetTopologyCommonAncestor = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTopologyCommonAncestor') 

698 if __nvmlDeviceGetTopologyCommonAncestor == NULL: 

699 if handle == NULL: 

700 handle = load_library() 

701 __nvmlDeviceGetTopologyCommonAncestor = dlsym(handle, 'nvmlDeviceGetTopologyCommonAncestor') 

702  

703 global __nvmlDeviceGetTopologyNearestGpus 

704 __nvmlDeviceGetTopologyNearestGpus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTopologyNearestGpus') 

705 if __nvmlDeviceGetTopologyNearestGpus == NULL: 

706 if handle == NULL: 

707 handle = load_library() 

708 __nvmlDeviceGetTopologyNearestGpus = dlsym(handle, 'nvmlDeviceGetTopologyNearestGpus') 

709  

710 global __nvmlDeviceGetP2PStatus 

711 __nvmlDeviceGetP2PStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetP2PStatus') 

712 if __nvmlDeviceGetP2PStatus == NULL: 

713 if handle == NULL: 

714 handle = load_library() 

715 __nvmlDeviceGetP2PStatus = dlsym(handle, 'nvmlDeviceGetP2PStatus') 

716  

717 global __nvmlDeviceGetUUID 

718 __nvmlDeviceGetUUID = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetUUID') 

719 if __nvmlDeviceGetUUID == NULL: 

720 if handle == NULL: 

721 handle = load_library() 

722 __nvmlDeviceGetUUID = dlsym(handle, 'nvmlDeviceGetUUID') 

723  

724 global __nvmlDeviceGetMinorNumber 

725 __nvmlDeviceGetMinorNumber = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMinorNumber') 

726 if __nvmlDeviceGetMinorNumber == NULL: 

727 if handle == NULL: 

728 handle = load_library() 

729 __nvmlDeviceGetMinorNumber = dlsym(handle, 'nvmlDeviceGetMinorNumber') 

730  

731 global __nvmlDeviceGetBoardPartNumber 

732 __nvmlDeviceGetBoardPartNumber = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBoardPartNumber') 

733 if __nvmlDeviceGetBoardPartNumber == NULL: 

734 if handle == NULL: 

735 handle = load_library() 

736 __nvmlDeviceGetBoardPartNumber = dlsym(handle, 'nvmlDeviceGetBoardPartNumber') 

737  

738 global __nvmlDeviceGetInforomVersion 

739 __nvmlDeviceGetInforomVersion = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetInforomVersion') 

740 if __nvmlDeviceGetInforomVersion == NULL: 

741 if handle == NULL: 

742 handle = load_library() 

743 __nvmlDeviceGetInforomVersion = dlsym(handle, 'nvmlDeviceGetInforomVersion') 

744  

745 global __nvmlDeviceGetInforomImageVersion 

746 __nvmlDeviceGetInforomImageVersion = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetInforomImageVersion') 

747 if __nvmlDeviceGetInforomImageVersion == NULL: 

748 if handle == NULL: 

749 handle = load_library() 

750 __nvmlDeviceGetInforomImageVersion = dlsym(handle, 'nvmlDeviceGetInforomImageVersion') 

751  

752 global __nvmlDeviceGetInforomConfigurationChecksum 

753 __nvmlDeviceGetInforomConfigurationChecksum = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetInforomConfigurationChecksum') 

754 if __nvmlDeviceGetInforomConfigurationChecksum == NULL: 

755 if handle == NULL: 

756 handle = load_library() 

757 __nvmlDeviceGetInforomConfigurationChecksum = dlsym(handle, 'nvmlDeviceGetInforomConfigurationChecksum') 

758  

759 global __nvmlDeviceValidateInforom 

760 __nvmlDeviceValidateInforom = dlsym(RTLD_DEFAULT, 'nvmlDeviceValidateInforom') 

761 if __nvmlDeviceValidateInforom == NULL: 

762 if handle == NULL: 

763 handle = load_library() 

764 __nvmlDeviceValidateInforom = dlsym(handle, 'nvmlDeviceValidateInforom') 

765  

766 global __nvmlDeviceGetLastBBXFlushTime 

767 __nvmlDeviceGetLastBBXFlushTime = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetLastBBXFlushTime') 

768 if __nvmlDeviceGetLastBBXFlushTime == NULL: 

769 if handle == NULL: 

770 handle = load_library() 

771 __nvmlDeviceGetLastBBXFlushTime = dlsym(handle, 'nvmlDeviceGetLastBBXFlushTime') 

772  

773 global __nvmlDeviceGetDisplayMode 

774 __nvmlDeviceGetDisplayMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDisplayMode') 

775 if __nvmlDeviceGetDisplayMode == NULL: 

776 if handle == NULL: 

777 handle = load_library() 

778 __nvmlDeviceGetDisplayMode = dlsym(handle, 'nvmlDeviceGetDisplayMode') 

779  

780 global __nvmlDeviceGetDisplayActive 

781 __nvmlDeviceGetDisplayActive = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDisplayActive') 

782 if __nvmlDeviceGetDisplayActive == NULL: 

783 if handle == NULL: 

784 handle = load_library() 

785 __nvmlDeviceGetDisplayActive = dlsym(handle, 'nvmlDeviceGetDisplayActive') 

786  

787 global __nvmlDeviceGetPersistenceMode 

788 __nvmlDeviceGetPersistenceMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPersistenceMode') 

789 if __nvmlDeviceGetPersistenceMode == NULL: 

790 if handle == NULL: 

791 handle = load_library() 

792 __nvmlDeviceGetPersistenceMode = dlsym(handle, 'nvmlDeviceGetPersistenceMode') 

793  

794 global __nvmlDeviceGetPciInfoExt 

795 __nvmlDeviceGetPciInfoExt = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPciInfoExt') 

796 if __nvmlDeviceGetPciInfoExt == NULL: 

797 if handle == NULL: 

798 handle = load_library() 

799 __nvmlDeviceGetPciInfoExt = dlsym(handle, 'nvmlDeviceGetPciInfoExt') 

800  

801 global __nvmlDeviceGetPciInfo_v3 

802 __nvmlDeviceGetPciInfo_v3 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPciInfo_v3') 

803 if __nvmlDeviceGetPciInfo_v3 == NULL: 

804 if handle == NULL: 

805 handle = load_library() 

806 __nvmlDeviceGetPciInfo_v3 = dlsym(handle, 'nvmlDeviceGetPciInfo_v3') 

807  

808 global __nvmlDeviceGetMaxPcieLinkGeneration 

809 __nvmlDeviceGetMaxPcieLinkGeneration = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMaxPcieLinkGeneration') 

810 if __nvmlDeviceGetMaxPcieLinkGeneration == NULL: 

811 if handle == NULL: 

812 handle = load_library() 

813 __nvmlDeviceGetMaxPcieLinkGeneration = dlsym(handle, 'nvmlDeviceGetMaxPcieLinkGeneration') 

814  

815 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

816 __nvmlDeviceGetGpuMaxPcieLinkGeneration = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuMaxPcieLinkGeneration') 

817 if __nvmlDeviceGetGpuMaxPcieLinkGeneration == NULL: 

818 if handle == NULL: 

819 handle = load_library() 

820 __nvmlDeviceGetGpuMaxPcieLinkGeneration = dlsym(handle, 'nvmlDeviceGetGpuMaxPcieLinkGeneration') 

821  

822 global __nvmlDeviceGetMaxPcieLinkWidth 

823 __nvmlDeviceGetMaxPcieLinkWidth = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMaxPcieLinkWidth') 

824 if __nvmlDeviceGetMaxPcieLinkWidth == NULL: 

825 if handle == NULL: 

826 handle = load_library() 

827 __nvmlDeviceGetMaxPcieLinkWidth = dlsym(handle, 'nvmlDeviceGetMaxPcieLinkWidth') 

828  

829 global __nvmlDeviceGetCurrPcieLinkGeneration 

830 __nvmlDeviceGetCurrPcieLinkGeneration = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCurrPcieLinkGeneration') 

831 if __nvmlDeviceGetCurrPcieLinkGeneration == NULL: 

832 if handle == NULL: 

833 handle = load_library() 

834 __nvmlDeviceGetCurrPcieLinkGeneration = dlsym(handle, 'nvmlDeviceGetCurrPcieLinkGeneration') 

835  

836 global __nvmlDeviceGetCurrPcieLinkWidth 

837 __nvmlDeviceGetCurrPcieLinkWidth = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCurrPcieLinkWidth') 

838 if __nvmlDeviceGetCurrPcieLinkWidth == NULL: 

839 if handle == NULL: 

840 handle = load_library() 

841 __nvmlDeviceGetCurrPcieLinkWidth = dlsym(handle, 'nvmlDeviceGetCurrPcieLinkWidth') 

842  

843 global __nvmlDeviceGetPcieThroughput 

844 __nvmlDeviceGetPcieThroughput = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPcieThroughput') 

845 if __nvmlDeviceGetPcieThroughput == NULL: 

846 if handle == NULL: 

847 handle = load_library() 

848 __nvmlDeviceGetPcieThroughput = dlsym(handle, 'nvmlDeviceGetPcieThroughput') 

849  

850 global __nvmlDeviceGetPcieReplayCounter 

851 __nvmlDeviceGetPcieReplayCounter = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPcieReplayCounter') 

852 if __nvmlDeviceGetPcieReplayCounter == NULL: 

853 if handle == NULL: 

854 handle = load_library() 

855 __nvmlDeviceGetPcieReplayCounter = dlsym(handle, 'nvmlDeviceGetPcieReplayCounter') 

856  

857 global __nvmlDeviceGetClockInfo 

858 __nvmlDeviceGetClockInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetClockInfo') 

859 if __nvmlDeviceGetClockInfo == NULL: 

860 if handle == NULL: 

861 handle = load_library() 

862 __nvmlDeviceGetClockInfo = dlsym(handle, 'nvmlDeviceGetClockInfo') 

863  

864 global __nvmlDeviceGetMaxClockInfo 

865 __nvmlDeviceGetMaxClockInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMaxClockInfo') 

866 if __nvmlDeviceGetMaxClockInfo == NULL: 

867 if handle == NULL: 

868 handle = load_library() 

869 __nvmlDeviceGetMaxClockInfo = dlsym(handle, 'nvmlDeviceGetMaxClockInfo') 

870  

871 global __nvmlDeviceGetGpcClkVfOffset 

872 __nvmlDeviceGetGpcClkVfOffset = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpcClkVfOffset') 

873 if __nvmlDeviceGetGpcClkVfOffset == NULL: 

874 if handle == NULL: 

875 handle = load_library() 

876 __nvmlDeviceGetGpcClkVfOffset = dlsym(handle, 'nvmlDeviceGetGpcClkVfOffset') 

877  

878 global __nvmlDeviceGetClock 

879 __nvmlDeviceGetClock = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetClock') 

880 if __nvmlDeviceGetClock == NULL: 

881 if handle == NULL: 

882 handle = load_library() 

883 __nvmlDeviceGetClock = dlsym(handle, 'nvmlDeviceGetClock') 

884  

885 global __nvmlDeviceGetMaxCustomerBoostClock 

886 __nvmlDeviceGetMaxCustomerBoostClock = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMaxCustomerBoostClock') 

887 if __nvmlDeviceGetMaxCustomerBoostClock == NULL: 

888 if handle == NULL: 

889 handle = load_library() 

890 __nvmlDeviceGetMaxCustomerBoostClock = dlsym(handle, 'nvmlDeviceGetMaxCustomerBoostClock') 

891  

892 global __nvmlDeviceGetSupportedMemoryClocks 

893 __nvmlDeviceGetSupportedMemoryClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedMemoryClocks') 

894 if __nvmlDeviceGetSupportedMemoryClocks == NULL: 

895 if handle == NULL: 

896 handle = load_library() 

897 __nvmlDeviceGetSupportedMemoryClocks = dlsym(handle, 'nvmlDeviceGetSupportedMemoryClocks') 

898  

899 global __nvmlDeviceGetSupportedGraphicsClocks 

900 __nvmlDeviceGetSupportedGraphicsClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedGraphicsClocks') 

901 if __nvmlDeviceGetSupportedGraphicsClocks == NULL: 

902 if handle == NULL: 

903 handle = load_library() 

904 __nvmlDeviceGetSupportedGraphicsClocks = dlsym(handle, 'nvmlDeviceGetSupportedGraphicsClocks') 

905  

906 global __nvmlDeviceGetAutoBoostedClocksEnabled 

907 __nvmlDeviceGetAutoBoostedClocksEnabled = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAutoBoostedClocksEnabled') 

908 if __nvmlDeviceGetAutoBoostedClocksEnabled == NULL: 

909 if handle == NULL: 

910 handle = load_library() 

911 __nvmlDeviceGetAutoBoostedClocksEnabled = dlsym(handle, 'nvmlDeviceGetAutoBoostedClocksEnabled') 

912  

913 global __nvmlDeviceGetFanSpeed 

914 __nvmlDeviceGetFanSpeed = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFanSpeed') 

915 if __nvmlDeviceGetFanSpeed == NULL: 

916 if handle == NULL: 

917 handle = load_library() 

918 __nvmlDeviceGetFanSpeed = dlsym(handle, 'nvmlDeviceGetFanSpeed') 

919  

920 global __nvmlDeviceGetFanSpeed_v2 

921 __nvmlDeviceGetFanSpeed_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFanSpeed_v2') 

922 if __nvmlDeviceGetFanSpeed_v2 == NULL: 

923 if handle == NULL: 

924 handle = load_library() 

925 __nvmlDeviceGetFanSpeed_v2 = dlsym(handle, 'nvmlDeviceGetFanSpeed_v2') 

926  

927 global __nvmlDeviceGetFanSpeedRPM 

928 __nvmlDeviceGetFanSpeedRPM = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFanSpeedRPM') 

929 if __nvmlDeviceGetFanSpeedRPM == NULL: 

930 if handle == NULL: 

931 handle = load_library() 

932 __nvmlDeviceGetFanSpeedRPM = dlsym(handle, 'nvmlDeviceGetFanSpeedRPM') 

933  

934 global __nvmlDeviceGetTargetFanSpeed 

935 __nvmlDeviceGetTargetFanSpeed = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTargetFanSpeed') 

936 if __nvmlDeviceGetTargetFanSpeed == NULL: 

937 if handle == NULL: 

938 handle = load_library() 

939 __nvmlDeviceGetTargetFanSpeed = dlsym(handle, 'nvmlDeviceGetTargetFanSpeed') 

940  

941 global __nvmlDeviceGetMinMaxFanSpeed 

942 __nvmlDeviceGetMinMaxFanSpeed = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMinMaxFanSpeed') 

943 if __nvmlDeviceGetMinMaxFanSpeed == NULL: 

944 if handle == NULL: 

945 handle = load_library() 

946 __nvmlDeviceGetMinMaxFanSpeed = dlsym(handle, 'nvmlDeviceGetMinMaxFanSpeed') 

947  

948 global __nvmlDeviceGetFanControlPolicy_v2 

949 __nvmlDeviceGetFanControlPolicy_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFanControlPolicy_v2') 

950 if __nvmlDeviceGetFanControlPolicy_v2 == NULL: 

951 if handle == NULL: 

952 handle = load_library() 

953 __nvmlDeviceGetFanControlPolicy_v2 = dlsym(handle, 'nvmlDeviceGetFanControlPolicy_v2') 

954  

955 global __nvmlDeviceGetNumFans 

956 __nvmlDeviceGetNumFans = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNumFans') 

957 if __nvmlDeviceGetNumFans == NULL: 

958 if handle == NULL: 

959 handle = load_library() 

960 __nvmlDeviceGetNumFans = dlsym(handle, 'nvmlDeviceGetNumFans') 

961  

962 global __nvmlDeviceGetCoolerInfo 

963 __nvmlDeviceGetCoolerInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCoolerInfo') 

964 if __nvmlDeviceGetCoolerInfo == NULL: 

965 if handle == NULL: 

966 handle = load_library() 

967 __nvmlDeviceGetCoolerInfo = dlsym(handle, 'nvmlDeviceGetCoolerInfo') 

968  

969 global __nvmlDeviceGetTemperatureV 

970 __nvmlDeviceGetTemperatureV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTemperatureV') 

971 if __nvmlDeviceGetTemperatureV == NULL: 

972 if handle == NULL: 

973 handle = load_library() 

974 __nvmlDeviceGetTemperatureV = dlsym(handle, 'nvmlDeviceGetTemperatureV') 

975  

976 global __nvmlDeviceGetTemperatureThreshold 

977 __nvmlDeviceGetTemperatureThreshold = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTemperatureThreshold') 

978 if __nvmlDeviceGetTemperatureThreshold == NULL: 

979 if handle == NULL: 

980 handle = load_library() 

981 __nvmlDeviceGetTemperatureThreshold = dlsym(handle, 'nvmlDeviceGetTemperatureThreshold') 

982  

983 global __nvmlDeviceGetMarginTemperature 

984 __nvmlDeviceGetMarginTemperature = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMarginTemperature') 

985 if __nvmlDeviceGetMarginTemperature == NULL: 

986 if handle == NULL: 

987 handle = load_library() 

988 __nvmlDeviceGetMarginTemperature = dlsym(handle, 'nvmlDeviceGetMarginTemperature') 

989  

990 global __nvmlDeviceGetThermalSettings 

991 __nvmlDeviceGetThermalSettings = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetThermalSettings') 

992 if __nvmlDeviceGetThermalSettings == NULL: 

993 if handle == NULL: 

994 handle = load_library() 

995 __nvmlDeviceGetThermalSettings = dlsym(handle, 'nvmlDeviceGetThermalSettings') 

996  

997 global __nvmlDeviceGetPerformanceState 

998 __nvmlDeviceGetPerformanceState = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPerformanceState') 

999 if __nvmlDeviceGetPerformanceState == NULL: 

1000 if handle == NULL: 

1001 handle = load_library() 

1002 __nvmlDeviceGetPerformanceState = dlsym(handle, 'nvmlDeviceGetPerformanceState') 

1003  

1004 global __nvmlDeviceGetCurrentClocksEventReasons 

1005 __nvmlDeviceGetCurrentClocksEventReasons = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCurrentClocksEventReasons') 

1006 if __nvmlDeviceGetCurrentClocksEventReasons == NULL: 

1007 if handle == NULL: 

1008 handle = load_library() 

1009 __nvmlDeviceGetCurrentClocksEventReasons = dlsym(handle, 'nvmlDeviceGetCurrentClocksEventReasons') 

1010  

1011 global __nvmlDeviceGetSupportedClocksEventReasons 

1012 __nvmlDeviceGetSupportedClocksEventReasons = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedClocksEventReasons') 

1013 if __nvmlDeviceGetSupportedClocksEventReasons == NULL: 

1014 if handle == NULL: 

1015 handle = load_library() 

1016 __nvmlDeviceGetSupportedClocksEventReasons = dlsym(handle, 'nvmlDeviceGetSupportedClocksEventReasons') 

1017  

1018 global __nvmlDeviceGetPowerState 

1019 __nvmlDeviceGetPowerState = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerState') 

1020 if __nvmlDeviceGetPowerState == NULL: 

1021 if handle == NULL: 

1022 handle = load_library() 

1023 __nvmlDeviceGetPowerState = dlsym(handle, 'nvmlDeviceGetPowerState') 

1024  

1025 global __nvmlDeviceGetDynamicPstatesInfo 

1026 __nvmlDeviceGetDynamicPstatesInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDynamicPstatesInfo') 

1027 if __nvmlDeviceGetDynamicPstatesInfo == NULL: 

1028 if handle == NULL: 

1029 handle = load_library() 

1030 __nvmlDeviceGetDynamicPstatesInfo = dlsym(handle, 'nvmlDeviceGetDynamicPstatesInfo') 

1031  

1032 global __nvmlDeviceGetMemClkVfOffset 

1033 __nvmlDeviceGetMemClkVfOffset = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemClkVfOffset') 

1034 if __nvmlDeviceGetMemClkVfOffset == NULL: 

1035 if handle == NULL: 

1036 handle = load_library() 

1037 __nvmlDeviceGetMemClkVfOffset = dlsym(handle, 'nvmlDeviceGetMemClkVfOffset') 

1038  

1039 global __nvmlDeviceGetMinMaxClockOfPState 

1040 __nvmlDeviceGetMinMaxClockOfPState = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMinMaxClockOfPState') 

1041 if __nvmlDeviceGetMinMaxClockOfPState == NULL: 

1042 if handle == NULL: 

1043 handle = load_library() 

1044 __nvmlDeviceGetMinMaxClockOfPState = dlsym(handle, 'nvmlDeviceGetMinMaxClockOfPState') 

1045  

1046 global __nvmlDeviceGetSupportedPerformanceStates 

1047 __nvmlDeviceGetSupportedPerformanceStates = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedPerformanceStates') 

1048 if __nvmlDeviceGetSupportedPerformanceStates == NULL: 

1049 if handle == NULL: 

1050 handle = load_library() 

1051 __nvmlDeviceGetSupportedPerformanceStates = dlsym(handle, 'nvmlDeviceGetSupportedPerformanceStates') 

1052  

1053 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

1054 __nvmlDeviceGetGpcClkMinMaxVfOffset = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpcClkMinMaxVfOffset') 

1055 if __nvmlDeviceGetGpcClkMinMaxVfOffset == NULL: 

1056 if handle == NULL: 

1057 handle = load_library() 

1058 __nvmlDeviceGetGpcClkMinMaxVfOffset = dlsym(handle, 'nvmlDeviceGetGpcClkMinMaxVfOffset') 

1059  

1060 global __nvmlDeviceGetMemClkMinMaxVfOffset 

1061 __nvmlDeviceGetMemClkMinMaxVfOffset = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemClkMinMaxVfOffset') 

1062 if __nvmlDeviceGetMemClkMinMaxVfOffset == NULL: 

1063 if handle == NULL: 

1064 handle = load_library() 

1065 __nvmlDeviceGetMemClkMinMaxVfOffset = dlsym(handle, 'nvmlDeviceGetMemClkMinMaxVfOffset') 

1066  

1067 global __nvmlDeviceGetClockOffsets 

1068 __nvmlDeviceGetClockOffsets = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetClockOffsets') 

1069 if __nvmlDeviceGetClockOffsets == NULL: 

1070 if handle == NULL: 

1071 handle = load_library() 

1072 __nvmlDeviceGetClockOffsets = dlsym(handle, 'nvmlDeviceGetClockOffsets') 

1073  

1074 global __nvmlDeviceSetClockOffsets 

1075 __nvmlDeviceSetClockOffsets = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetClockOffsets') 

1076 if __nvmlDeviceSetClockOffsets == NULL: 

1077 if handle == NULL: 

1078 handle = load_library() 

1079 __nvmlDeviceSetClockOffsets = dlsym(handle, 'nvmlDeviceSetClockOffsets') 

1080  

1081 global __nvmlDeviceGetPerformanceModes 

1082 __nvmlDeviceGetPerformanceModes = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPerformanceModes') 

1083 if __nvmlDeviceGetPerformanceModes == NULL: 

1084 if handle == NULL: 

1085 handle = load_library() 

1086 __nvmlDeviceGetPerformanceModes = dlsym(handle, 'nvmlDeviceGetPerformanceModes') 

1087  

1088 global __nvmlDeviceGetCurrentClockFreqs 

1089 __nvmlDeviceGetCurrentClockFreqs = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCurrentClockFreqs') 

1090 if __nvmlDeviceGetCurrentClockFreqs == NULL: 

1091 if handle == NULL: 

1092 handle = load_library() 

1093 __nvmlDeviceGetCurrentClockFreqs = dlsym(handle, 'nvmlDeviceGetCurrentClockFreqs') 

1094  

1095 global __nvmlDeviceGetPowerManagementLimit 

1096 __nvmlDeviceGetPowerManagementLimit = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementLimit') 

1097 if __nvmlDeviceGetPowerManagementLimit == NULL: 

1098 if handle == NULL: 

1099 handle = load_library() 

1100 __nvmlDeviceGetPowerManagementLimit = dlsym(handle, 'nvmlDeviceGetPowerManagementLimit') 

1101  

1102 global __nvmlDeviceGetPowerManagementLimitConstraints 

1103 __nvmlDeviceGetPowerManagementLimitConstraints = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementLimitConstraints') 

1104 if __nvmlDeviceGetPowerManagementLimitConstraints == NULL: 

1105 if handle == NULL: 

1106 handle = load_library() 

1107 __nvmlDeviceGetPowerManagementLimitConstraints = dlsym(handle, 'nvmlDeviceGetPowerManagementLimitConstraints') 

1108  

1109 global __nvmlDeviceGetPowerManagementDefaultLimit 

1110 __nvmlDeviceGetPowerManagementDefaultLimit = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerManagementDefaultLimit') 

1111 if __nvmlDeviceGetPowerManagementDefaultLimit == NULL: 

1112 if handle == NULL: 

1113 handle = load_library() 

1114 __nvmlDeviceGetPowerManagementDefaultLimit = dlsym(handle, 'nvmlDeviceGetPowerManagementDefaultLimit') 

1115  

1116 global __nvmlDeviceGetPowerUsage 

1117 __nvmlDeviceGetPowerUsage = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerUsage') 

1118 if __nvmlDeviceGetPowerUsage == NULL: 

1119 if handle == NULL: 

1120 handle = load_library() 

1121 __nvmlDeviceGetPowerUsage = dlsym(handle, 'nvmlDeviceGetPowerUsage') 

1122  

1123 global __nvmlDeviceGetTotalEnergyConsumption 

1124 __nvmlDeviceGetTotalEnergyConsumption = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTotalEnergyConsumption') 

1125 if __nvmlDeviceGetTotalEnergyConsumption == NULL: 

1126 if handle == NULL: 

1127 handle = load_library() 

1128 __nvmlDeviceGetTotalEnergyConsumption = dlsym(handle, 'nvmlDeviceGetTotalEnergyConsumption') 

1129  

1130 global __nvmlDeviceGetEnforcedPowerLimit 

1131 __nvmlDeviceGetEnforcedPowerLimit = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEnforcedPowerLimit') 

1132 if __nvmlDeviceGetEnforcedPowerLimit == NULL: 

1133 if handle == NULL: 

1134 handle = load_library() 

1135 __nvmlDeviceGetEnforcedPowerLimit = dlsym(handle, 'nvmlDeviceGetEnforcedPowerLimit') 

1136  

1137 global __nvmlDeviceGetGpuOperationMode 

1138 __nvmlDeviceGetGpuOperationMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuOperationMode') 

1139 if __nvmlDeviceGetGpuOperationMode == NULL: 

1140 if handle == NULL: 

1141 handle = load_library() 

1142 __nvmlDeviceGetGpuOperationMode = dlsym(handle, 'nvmlDeviceGetGpuOperationMode') 

1143  

1144 global __nvmlDeviceGetMemoryInfo_v2 

1145 __nvmlDeviceGetMemoryInfo_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemoryInfo_v2') 

1146 if __nvmlDeviceGetMemoryInfo_v2 == NULL: 

1147 if handle == NULL: 

1148 handle = load_library() 

1149 __nvmlDeviceGetMemoryInfo_v2 = dlsym(handle, 'nvmlDeviceGetMemoryInfo_v2') 

1150  

1151 global __nvmlDeviceGetComputeMode 

1152 __nvmlDeviceGetComputeMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetComputeMode') 

1153 if __nvmlDeviceGetComputeMode == NULL: 

1154 if handle == NULL: 

1155 handle = load_library() 

1156 __nvmlDeviceGetComputeMode = dlsym(handle, 'nvmlDeviceGetComputeMode') 

1157  

1158 global __nvmlDeviceGetCudaComputeCapability 

1159 __nvmlDeviceGetCudaComputeCapability = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCudaComputeCapability') 

1160 if __nvmlDeviceGetCudaComputeCapability == NULL: 

1161 if handle == NULL: 

1162 handle = load_library() 

1163 __nvmlDeviceGetCudaComputeCapability = dlsym(handle, 'nvmlDeviceGetCudaComputeCapability') 

1164  

1165 global __nvmlDeviceGetDramEncryptionMode 

1166 __nvmlDeviceGetDramEncryptionMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDramEncryptionMode') 

1167 if __nvmlDeviceGetDramEncryptionMode == NULL: 

1168 if handle == NULL: 

1169 handle = load_library() 

1170 __nvmlDeviceGetDramEncryptionMode = dlsym(handle, 'nvmlDeviceGetDramEncryptionMode') 

1171  

1172 global __nvmlDeviceSetDramEncryptionMode 

1173 __nvmlDeviceSetDramEncryptionMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetDramEncryptionMode') 

1174 if __nvmlDeviceSetDramEncryptionMode == NULL: 

1175 if handle == NULL: 

1176 handle = load_library() 

1177 __nvmlDeviceSetDramEncryptionMode = dlsym(handle, 'nvmlDeviceSetDramEncryptionMode') 

1178  

1179 global __nvmlDeviceGetEccMode 

1180 __nvmlDeviceGetEccMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEccMode') 

1181 if __nvmlDeviceGetEccMode == NULL: 

1182 if handle == NULL: 

1183 handle = load_library() 

1184 __nvmlDeviceGetEccMode = dlsym(handle, 'nvmlDeviceGetEccMode') 

1185  

1186 global __nvmlDeviceGetDefaultEccMode 

1187 __nvmlDeviceGetDefaultEccMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDefaultEccMode') 

1188 if __nvmlDeviceGetDefaultEccMode == NULL: 

1189 if handle == NULL: 

1190 handle = load_library() 

1191 __nvmlDeviceGetDefaultEccMode = dlsym(handle, 'nvmlDeviceGetDefaultEccMode') 

1192  

1193 global __nvmlDeviceGetBoardId 

1194 __nvmlDeviceGetBoardId = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBoardId') 

1195 if __nvmlDeviceGetBoardId == NULL: 

1196 if handle == NULL: 

1197 handle = load_library() 

1198 __nvmlDeviceGetBoardId = dlsym(handle, 'nvmlDeviceGetBoardId') 

1199  

1200 global __nvmlDeviceGetMultiGpuBoard 

1201 __nvmlDeviceGetMultiGpuBoard = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMultiGpuBoard') 

1202 if __nvmlDeviceGetMultiGpuBoard == NULL: 

1203 if handle == NULL: 

1204 handle = load_library() 

1205 __nvmlDeviceGetMultiGpuBoard = dlsym(handle, 'nvmlDeviceGetMultiGpuBoard') 

1206  

1207 global __nvmlDeviceGetTotalEccErrors 

1208 __nvmlDeviceGetTotalEccErrors = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetTotalEccErrors') 

1209 if __nvmlDeviceGetTotalEccErrors == NULL: 

1210 if handle == NULL: 

1211 handle = load_library() 

1212 __nvmlDeviceGetTotalEccErrors = dlsym(handle, 'nvmlDeviceGetTotalEccErrors') 

1213  

1214 global __nvmlDeviceGetMemoryErrorCounter 

1215 __nvmlDeviceGetMemoryErrorCounter = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemoryErrorCounter') 

1216 if __nvmlDeviceGetMemoryErrorCounter == NULL: 

1217 if handle == NULL: 

1218 handle = load_library() 

1219 __nvmlDeviceGetMemoryErrorCounter = dlsym(handle, 'nvmlDeviceGetMemoryErrorCounter') 

1220  

1221 global __nvmlDeviceGetUtilizationRates 

1222 __nvmlDeviceGetUtilizationRates = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetUtilizationRates') 

1223 if __nvmlDeviceGetUtilizationRates == NULL: 

1224 if handle == NULL: 

1225 handle = load_library() 

1226 __nvmlDeviceGetUtilizationRates = dlsym(handle, 'nvmlDeviceGetUtilizationRates') 

1227  

1228 global __nvmlDeviceGetEncoderUtilization 

1229 __nvmlDeviceGetEncoderUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEncoderUtilization') 

1230 if __nvmlDeviceGetEncoderUtilization == NULL: 

1231 if handle == NULL: 

1232 handle = load_library() 

1233 __nvmlDeviceGetEncoderUtilization = dlsym(handle, 'nvmlDeviceGetEncoderUtilization') 

1234  

1235 global __nvmlDeviceGetEncoderCapacity 

1236 __nvmlDeviceGetEncoderCapacity = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEncoderCapacity') 

1237 if __nvmlDeviceGetEncoderCapacity == NULL: 

1238 if handle == NULL: 

1239 handle = load_library() 

1240 __nvmlDeviceGetEncoderCapacity = dlsym(handle, 'nvmlDeviceGetEncoderCapacity') 

1241  

1242 global __nvmlDeviceGetEncoderStats 

1243 __nvmlDeviceGetEncoderStats = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEncoderStats') 

1244 if __nvmlDeviceGetEncoderStats == NULL: 

1245 if handle == NULL: 

1246 handle = load_library() 

1247 __nvmlDeviceGetEncoderStats = dlsym(handle, 'nvmlDeviceGetEncoderStats') 

1248  

1249 global __nvmlDeviceGetEncoderSessions 

1250 __nvmlDeviceGetEncoderSessions = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetEncoderSessions') 

1251 if __nvmlDeviceGetEncoderSessions == NULL: 

1252 if handle == NULL: 

1253 handle = load_library() 

1254 __nvmlDeviceGetEncoderSessions = dlsym(handle, 'nvmlDeviceGetEncoderSessions') 

1255  

1256 global __nvmlDeviceGetDecoderUtilization 

1257 __nvmlDeviceGetDecoderUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDecoderUtilization') 

1258 if __nvmlDeviceGetDecoderUtilization == NULL: 

1259 if handle == NULL: 

1260 handle = load_library() 

1261 __nvmlDeviceGetDecoderUtilization = dlsym(handle, 'nvmlDeviceGetDecoderUtilization') 

1262  

1263 global __nvmlDeviceGetJpgUtilization 

1264 __nvmlDeviceGetJpgUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetJpgUtilization') 

1265 if __nvmlDeviceGetJpgUtilization == NULL: 

1266 if handle == NULL: 

1267 handle = load_library() 

1268 __nvmlDeviceGetJpgUtilization = dlsym(handle, 'nvmlDeviceGetJpgUtilization') 

1269  

1270 global __nvmlDeviceGetOfaUtilization 

1271 __nvmlDeviceGetOfaUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetOfaUtilization') 

1272 if __nvmlDeviceGetOfaUtilization == NULL: 

1273 if handle == NULL: 

1274 handle = load_library() 

1275 __nvmlDeviceGetOfaUtilization = dlsym(handle, 'nvmlDeviceGetOfaUtilization') 

1276  

1277 global __nvmlDeviceGetFBCStats 

1278 __nvmlDeviceGetFBCStats = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFBCStats') 

1279 if __nvmlDeviceGetFBCStats == NULL: 

1280 if handle == NULL: 

1281 handle = load_library() 

1282 __nvmlDeviceGetFBCStats = dlsym(handle, 'nvmlDeviceGetFBCStats') 

1283  

1284 global __nvmlDeviceGetFBCSessions 

1285 __nvmlDeviceGetFBCSessions = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFBCSessions') 

1286 if __nvmlDeviceGetFBCSessions == NULL: 

1287 if handle == NULL: 

1288 handle = load_library() 

1289 __nvmlDeviceGetFBCSessions = dlsym(handle, 'nvmlDeviceGetFBCSessions') 

1290  

1291 global __nvmlDeviceGetDriverModel_v2 

1292 __nvmlDeviceGetDriverModel_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDriverModel_v2') 

1293 if __nvmlDeviceGetDriverModel_v2 == NULL: 

1294 if handle == NULL: 

1295 handle = load_library() 

1296 __nvmlDeviceGetDriverModel_v2 = dlsym(handle, 'nvmlDeviceGetDriverModel_v2') 

1297  

1298 global __nvmlDeviceGetVbiosVersion 

1299 __nvmlDeviceGetVbiosVersion = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVbiosVersion') 

1300 if __nvmlDeviceGetVbiosVersion == NULL: 

1301 if handle == NULL: 

1302 handle = load_library() 

1303 __nvmlDeviceGetVbiosVersion = dlsym(handle, 'nvmlDeviceGetVbiosVersion') 

1304  

1305 global __nvmlDeviceGetBridgeChipInfo 

1306 __nvmlDeviceGetBridgeChipInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBridgeChipInfo') 

1307 if __nvmlDeviceGetBridgeChipInfo == NULL: 

1308 if handle == NULL: 

1309 handle = load_library() 

1310 __nvmlDeviceGetBridgeChipInfo = dlsym(handle, 'nvmlDeviceGetBridgeChipInfo') 

1311  

1312 global __nvmlDeviceGetComputeRunningProcesses_v3 

1313 __nvmlDeviceGetComputeRunningProcesses_v3 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetComputeRunningProcesses_v3') 

1314 if __nvmlDeviceGetComputeRunningProcesses_v3 == NULL: 

1315 if handle == NULL: 

1316 handle = load_library() 

1317 __nvmlDeviceGetComputeRunningProcesses_v3 = dlsym(handle, 'nvmlDeviceGetComputeRunningProcesses_v3') 

1318  

1319 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

1320 __nvmlDeviceGetMPSComputeRunningProcesses_v3 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMPSComputeRunningProcesses_v3') 

1321 if __nvmlDeviceGetMPSComputeRunningProcesses_v3 == NULL: 

1322 if handle == NULL: 

1323 handle = load_library() 

1324 __nvmlDeviceGetMPSComputeRunningProcesses_v3 = dlsym(handle, 'nvmlDeviceGetMPSComputeRunningProcesses_v3') 

1325  

1326 global __nvmlDeviceGetRunningProcessDetailList 

1327 __nvmlDeviceGetRunningProcessDetailList = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRunningProcessDetailList') 

1328 if __nvmlDeviceGetRunningProcessDetailList == NULL: 

1329 if handle == NULL: 

1330 handle = load_library() 

1331 __nvmlDeviceGetRunningProcessDetailList = dlsym(handle, 'nvmlDeviceGetRunningProcessDetailList') 

1332  

1333 global __nvmlDeviceOnSameBoard 

1334 __nvmlDeviceOnSameBoard = dlsym(RTLD_DEFAULT, 'nvmlDeviceOnSameBoard') 

1335 if __nvmlDeviceOnSameBoard == NULL: 

1336 if handle == NULL: 

1337 handle = load_library() 

1338 __nvmlDeviceOnSameBoard = dlsym(handle, 'nvmlDeviceOnSameBoard') 

1339  

1340 global __nvmlDeviceGetAPIRestriction 

1341 __nvmlDeviceGetAPIRestriction = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAPIRestriction') 

1342 if __nvmlDeviceGetAPIRestriction == NULL: 

1343 if handle == NULL: 

1344 handle = load_library() 

1345 __nvmlDeviceGetAPIRestriction = dlsym(handle, 'nvmlDeviceGetAPIRestriction') 

1346  

1347 global __nvmlDeviceGetSamples 

1348 __nvmlDeviceGetSamples = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSamples') 

1349 if __nvmlDeviceGetSamples == NULL: 

1350 if handle == NULL: 

1351 handle = load_library() 

1352 __nvmlDeviceGetSamples = dlsym(handle, 'nvmlDeviceGetSamples') 

1353  

1354 global __nvmlDeviceGetBAR1MemoryInfo 

1355 __nvmlDeviceGetBAR1MemoryInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBAR1MemoryInfo') 

1356 if __nvmlDeviceGetBAR1MemoryInfo == NULL: 

1357 if handle == NULL: 

1358 handle = load_library() 

1359 __nvmlDeviceGetBAR1MemoryInfo = dlsym(handle, 'nvmlDeviceGetBAR1MemoryInfo') 

1360  

1361 global __nvmlDeviceGetIrqNum 

1362 __nvmlDeviceGetIrqNum = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetIrqNum') 

1363 if __nvmlDeviceGetIrqNum == NULL: 

1364 if handle == NULL: 

1365 handle = load_library() 

1366 __nvmlDeviceGetIrqNum = dlsym(handle, 'nvmlDeviceGetIrqNum') 

1367  

1368 global __nvmlDeviceGetNumGpuCores 

1369 __nvmlDeviceGetNumGpuCores = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNumGpuCores') 

1370 if __nvmlDeviceGetNumGpuCores == NULL: 

1371 if handle == NULL: 

1372 handle = load_library() 

1373 __nvmlDeviceGetNumGpuCores = dlsym(handle, 'nvmlDeviceGetNumGpuCores') 

1374  

1375 global __nvmlDeviceGetPowerSource 

1376 __nvmlDeviceGetPowerSource = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerSource') 

1377 if __nvmlDeviceGetPowerSource == NULL: 

1378 if handle == NULL: 

1379 handle = load_library() 

1380 __nvmlDeviceGetPowerSource = dlsym(handle, 'nvmlDeviceGetPowerSource') 

1381  

1382 global __nvmlDeviceGetMemoryBusWidth 

1383 __nvmlDeviceGetMemoryBusWidth = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMemoryBusWidth') 

1384 if __nvmlDeviceGetMemoryBusWidth == NULL: 

1385 if handle == NULL: 

1386 handle = load_library() 

1387 __nvmlDeviceGetMemoryBusWidth = dlsym(handle, 'nvmlDeviceGetMemoryBusWidth') 

1388  

1389 global __nvmlDeviceGetPcieLinkMaxSpeed 

1390 __nvmlDeviceGetPcieLinkMaxSpeed = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPcieLinkMaxSpeed') 

1391 if __nvmlDeviceGetPcieLinkMaxSpeed == NULL: 

1392 if handle == NULL: 

1393 handle = load_library() 

1394 __nvmlDeviceGetPcieLinkMaxSpeed = dlsym(handle, 'nvmlDeviceGetPcieLinkMaxSpeed') 

1395  

1396 global __nvmlDeviceGetPcieSpeed 

1397 __nvmlDeviceGetPcieSpeed = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPcieSpeed') 

1398 if __nvmlDeviceGetPcieSpeed == NULL: 

1399 if handle == NULL: 

1400 handle = load_library() 

1401 __nvmlDeviceGetPcieSpeed = dlsym(handle, 'nvmlDeviceGetPcieSpeed') 

1402  

1403 global __nvmlDeviceGetAdaptiveClockInfoStatus 

1404 __nvmlDeviceGetAdaptiveClockInfoStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAdaptiveClockInfoStatus') 

1405 if __nvmlDeviceGetAdaptiveClockInfoStatus == NULL: 

1406 if handle == NULL: 

1407 handle = load_library() 

1408 __nvmlDeviceGetAdaptiveClockInfoStatus = dlsym(handle, 'nvmlDeviceGetAdaptiveClockInfoStatus') 

1409  

1410 global __nvmlDeviceGetBusType 

1411 __nvmlDeviceGetBusType = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetBusType') 

1412 if __nvmlDeviceGetBusType == NULL: 

1413 if handle == NULL: 

1414 handle = load_library() 

1415 __nvmlDeviceGetBusType = dlsym(handle, 'nvmlDeviceGetBusType') 

1416  

1417 global __nvmlDeviceGetGpuFabricInfoV 

1418 __nvmlDeviceGetGpuFabricInfoV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuFabricInfoV') 

1419 if __nvmlDeviceGetGpuFabricInfoV == NULL: 

1420 if handle == NULL: 

1421 handle = load_library() 

1422 __nvmlDeviceGetGpuFabricInfoV = dlsym(handle, 'nvmlDeviceGetGpuFabricInfoV') 

1423  

1424 global __nvmlSystemGetConfComputeCapabilities 

1425 __nvmlSystemGetConfComputeCapabilities = dlsym(RTLD_DEFAULT, 'nvmlSystemGetConfComputeCapabilities') 

1426 if __nvmlSystemGetConfComputeCapabilities == NULL: 

1427 if handle == NULL: 

1428 handle = load_library() 

1429 __nvmlSystemGetConfComputeCapabilities = dlsym(handle, 'nvmlSystemGetConfComputeCapabilities') 

1430  

1431 global __nvmlSystemGetConfComputeState 

1432 __nvmlSystemGetConfComputeState = dlsym(RTLD_DEFAULT, 'nvmlSystemGetConfComputeState') 

1433 if __nvmlSystemGetConfComputeState == NULL: 

1434 if handle == NULL: 

1435 handle = load_library() 

1436 __nvmlSystemGetConfComputeState = dlsym(handle, 'nvmlSystemGetConfComputeState') 

1437  

1438 global __nvmlDeviceGetConfComputeMemSizeInfo 

1439 __nvmlDeviceGetConfComputeMemSizeInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetConfComputeMemSizeInfo') 

1440 if __nvmlDeviceGetConfComputeMemSizeInfo == NULL: 

1441 if handle == NULL: 

1442 handle = load_library() 

1443 __nvmlDeviceGetConfComputeMemSizeInfo = dlsym(handle, 'nvmlDeviceGetConfComputeMemSizeInfo') 

1444  

1445 global __nvmlSystemGetConfComputeGpusReadyState 

1446 __nvmlSystemGetConfComputeGpusReadyState = dlsym(RTLD_DEFAULT, 'nvmlSystemGetConfComputeGpusReadyState') 

1447 if __nvmlSystemGetConfComputeGpusReadyState == NULL: 

1448 if handle == NULL: 

1449 handle = load_library() 

1450 __nvmlSystemGetConfComputeGpusReadyState = dlsym(handle, 'nvmlSystemGetConfComputeGpusReadyState') 

1451  

1452 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

1453 __nvmlDeviceGetConfComputeProtectedMemoryUsage = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetConfComputeProtectedMemoryUsage') 

1454 if __nvmlDeviceGetConfComputeProtectedMemoryUsage == NULL: 

1455 if handle == NULL: 

1456 handle = load_library() 

1457 __nvmlDeviceGetConfComputeProtectedMemoryUsage = dlsym(handle, 'nvmlDeviceGetConfComputeProtectedMemoryUsage') 

1458  

1459 global __nvmlDeviceGetConfComputeGpuCertificate 

1460 __nvmlDeviceGetConfComputeGpuCertificate = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetConfComputeGpuCertificate') 

1461 if __nvmlDeviceGetConfComputeGpuCertificate == NULL: 

1462 if handle == NULL: 

1463 handle = load_library() 

1464 __nvmlDeviceGetConfComputeGpuCertificate = dlsym(handle, 'nvmlDeviceGetConfComputeGpuCertificate') 

1465  

1466 global __nvmlDeviceGetConfComputeGpuAttestationReport 

1467 __nvmlDeviceGetConfComputeGpuAttestationReport = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetConfComputeGpuAttestationReport') 

1468 if __nvmlDeviceGetConfComputeGpuAttestationReport == NULL: 

1469 if handle == NULL: 

1470 handle = load_library() 

1471 __nvmlDeviceGetConfComputeGpuAttestationReport = dlsym(handle, 'nvmlDeviceGetConfComputeGpuAttestationReport') 2a FbGbHbg wb@ ?b@b[ [b]b] ^brb^ _bx _ `b` { {by | |b} ~ }b~babacH bbbc, cbccD dbdcebecI fbfcJ gbgci Ibhc) hbicjcibkcK JblcmcjbncE kbocsblbpcz mbqcs nbrce sctct uc3cu vctbL wc6 M xc7 j yc8 N zc9 O Ac! P Bc# Q CcR DcS EcT FcU GcV HcW IcX JcobY KcpbZ Lcub0 Mcqb1 NcOcKbPcLbMbQcRcNbScTcObUco h k q b * $ A 2 Pb% B 3 p c v ' ( $cF + m d 4 C l n w f G QbRbSbTbxbVcWcUbXcVb/ WbXbYbvbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b

1472  

1473 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

1474 __nvmlSystemGetConfComputeKeyRotationThresholdInfo = dlsym(RTLD_DEFAULT, 'nvmlSystemGetConfComputeKeyRotationThresholdInfo') 

1475 if __nvmlSystemGetConfComputeKeyRotationThresholdInfo == NULL: 

1476 if handle == NULL: 

1477 handle = load_library() 

1478 __nvmlSystemGetConfComputeKeyRotationThresholdInfo = dlsym(handle, 'nvmlSystemGetConfComputeKeyRotationThresholdInfo') 

1479  

1480 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

1481 __nvmlDeviceSetConfComputeUnprotectedMemSize = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetConfComputeUnprotectedMemSize') 

1482 if __nvmlDeviceSetConfComputeUnprotectedMemSize == NULL: 

1483 if handle == NULL: 

1484 handle = load_library() 

1485 __nvmlDeviceSetConfComputeUnprotectedMemSize = dlsym(handle, 'nvmlDeviceSetConfComputeUnprotectedMemSize') 

1486  

1487 global __nvmlSystemSetConfComputeGpusReadyState 

1488 __nvmlSystemSetConfComputeGpusReadyState = dlsym(RTLD_DEFAULT, 'nvmlSystemSetConfComputeGpusReadyState') 

1489 if __nvmlSystemSetConfComputeGpusReadyState == NULL: 

1490 if handle == NULL: 

1491 handle = load_library() 

1492 __nvmlSystemSetConfComputeGpusReadyState = dlsym(handle, 'nvmlSystemSetConfComputeGpusReadyState') 

1493  

1494 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

1495 __nvmlSystemSetConfComputeKeyRotationThresholdInfo = dlsym(RTLD_DEFAULT, 'nvmlSystemSetConfComputeKeyRotationThresholdInfo') 

1496 if __nvmlSystemSetConfComputeKeyRotationThresholdInfo == NULL: 

1497 if handle == NULL: 

1498 handle = load_library() 

1499 __nvmlSystemSetConfComputeKeyRotationThresholdInfo = dlsym(handle, 'nvmlSystemSetConfComputeKeyRotationThresholdInfo') 

1500  

1501 global __nvmlSystemGetConfComputeSettings 

1502 __nvmlSystemGetConfComputeSettings = dlsym(RTLD_DEFAULT, 'nvmlSystemGetConfComputeSettings') 

1503 if __nvmlSystemGetConfComputeSettings == NULL: 

1504 if handle == NULL: 

1505 handle = load_library() 

1506 __nvmlSystemGetConfComputeSettings = dlsym(handle, 'nvmlSystemGetConfComputeSettings') 

1507  

1508 global __nvmlDeviceGetGspFirmwareVersion 

1509 __nvmlDeviceGetGspFirmwareVersion = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGspFirmwareVersion') 

1510 if __nvmlDeviceGetGspFirmwareVersion == NULL: 

1511 if handle == NULL: 

1512 handle = load_library() 

1513 __nvmlDeviceGetGspFirmwareVersion = dlsym(handle, 'nvmlDeviceGetGspFirmwareVersion') 

1514  

1515 global __nvmlDeviceGetGspFirmwareMode 

1516 __nvmlDeviceGetGspFirmwareMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGspFirmwareMode') 

1517 if __nvmlDeviceGetGspFirmwareMode == NULL: 

1518 if handle == NULL: 

1519 handle = load_library() 

1520 __nvmlDeviceGetGspFirmwareMode = dlsym(handle, 'nvmlDeviceGetGspFirmwareMode') 

1521  

1522 global __nvmlDeviceGetSramEccErrorStatus 

1523 __nvmlDeviceGetSramEccErrorStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSramEccErrorStatus') 

1524 if __nvmlDeviceGetSramEccErrorStatus == NULL: 

1525 if handle == NULL: 

1526 handle = load_library() 

1527 __nvmlDeviceGetSramEccErrorStatus = dlsym(handle, 'nvmlDeviceGetSramEccErrorStatus') 

1528  

1529 global __nvmlDeviceGetAccountingMode 

1530 __nvmlDeviceGetAccountingMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAccountingMode') 

1531 if __nvmlDeviceGetAccountingMode == NULL: 

1532 if handle == NULL: 

1533 handle = load_library() 

1534 __nvmlDeviceGetAccountingMode = dlsym(handle, 'nvmlDeviceGetAccountingMode') 

1535  

1536 global __nvmlDeviceGetAccountingStats 

1537 __nvmlDeviceGetAccountingStats = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAccountingStats') 

1538 if __nvmlDeviceGetAccountingStats == NULL: 

1539 if handle == NULL: 

1540 handle = load_library() 

1541 __nvmlDeviceGetAccountingStats = dlsym(handle, 'nvmlDeviceGetAccountingStats') 

1542  

1543 global __nvmlDeviceGetAccountingPids 

1544 __nvmlDeviceGetAccountingPids = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAccountingPids') 

1545 if __nvmlDeviceGetAccountingPids == NULL: 

1546 if handle == NULL: 

1547 handle = load_library() 

1548 __nvmlDeviceGetAccountingPids = dlsym(handle, 'nvmlDeviceGetAccountingPids') 

1549  

1550 global __nvmlDeviceGetAccountingBufferSize 

1551 __nvmlDeviceGetAccountingBufferSize = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAccountingBufferSize') 

1552 if __nvmlDeviceGetAccountingBufferSize == NULL: 

1553 if handle == NULL: 

1554 handle = load_library() 

1555 __nvmlDeviceGetAccountingBufferSize = dlsym(handle, 'nvmlDeviceGetAccountingBufferSize') 

1556  

1557 global __nvmlDeviceGetRetiredPages 

1558 __nvmlDeviceGetRetiredPages = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRetiredPages') 

1559 if __nvmlDeviceGetRetiredPages == NULL: 

1560 if handle == NULL: 

1561 handle = load_library() 

1562 __nvmlDeviceGetRetiredPages = dlsym(handle, 'nvmlDeviceGetRetiredPages') 

1563  

1564 global __nvmlDeviceGetRetiredPages_v2 

1565 __nvmlDeviceGetRetiredPages_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRetiredPages_v2') 

1566 if __nvmlDeviceGetRetiredPages_v2 == NULL: 

1567 if handle == NULL: 

1568 handle = load_library() 

1569 __nvmlDeviceGetRetiredPages_v2 = dlsym(handle, 'nvmlDeviceGetRetiredPages_v2') 

1570  

1571 global __nvmlDeviceGetRetiredPagesPendingStatus 

1572 __nvmlDeviceGetRetiredPagesPendingStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRetiredPagesPendingStatus') 

1573 if __nvmlDeviceGetRetiredPagesPendingStatus == NULL: 

1574 if handle == NULL: 

1575 handle = load_library() 

1576 __nvmlDeviceGetRetiredPagesPendingStatus = dlsym(handle, 'nvmlDeviceGetRetiredPagesPendingStatus') 

1577  

1578 global __nvmlDeviceGetRemappedRows 

1579 __nvmlDeviceGetRemappedRows = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRemappedRows') 

1580 if __nvmlDeviceGetRemappedRows == NULL: 

1581 if handle == NULL: 

1582 handle = load_library() 

1583 __nvmlDeviceGetRemappedRows = dlsym(handle, 'nvmlDeviceGetRemappedRows') 

1584  

1585 global __nvmlDeviceGetRowRemapperHistogram 

1586 __nvmlDeviceGetRowRemapperHistogram = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRowRemapperHistogram') 

1587 if __nvmlDeviceGetRowRemapperHistogram == NULL: 

1588 if handle == NULL: 

1589 handle = load_library() 

1590 __nvmlDeviceGetRowRemapperHistogram = dlsym(handle, 'nvmlDeviceGetRowRemapperHistogram') 

1591  

1592 global __nvmlDeviceGetArchitecture 

1593 __nvmlDeviceGetArchitecture = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetArchitecture') 

1594 if __nvmlDeviceGetArchitecture == NULL: 

1595 if handle == NULL: 

1596 handle = load_library() 

1597 __nvmlDeviceGetArchitecture = dlsym(handle, 'nvmlDeviceGetArchitecture') 

1598  

1599 global __nvmlDeviceGetClkMonStatus 

1600 __nvmlDeviceGetClkMonStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetClkMonStatus') 

1601 if __nvmlDeviceGetClkMonStatus == NULL: 

1602 if handle == NULL: 

1603 handle = load_library() 

1604 __nvmlDeviceGetClkMonStatus = dlsym(handle, 'nvmlDeviceGetClkMonStatus') 

1605  

1606 global __nvmlDeviceGetProcessUtilization 

1607 __nvmlDeviceGetProcessUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetProcessUtilization') 

1608 if __nvmlDeviceGetProcessUtilization == NULL: 

1609 if handle == NULL: 

1610 handle = load_library() 

1611 __nvmlDeviceGetProcessUtilization = dlsym(handle, 'nvmlDeviceGetProcessUtilization') 

1612  

1613 global __nvmlDeviceGetProcessesUtilizationInfo 

1614 __nvmlDeviceGetProcessesUtilizationInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetProcessesUtilizationInfo') 

1615 if __nvmlDeviceGetProcessesUtilizationInfo == NULL: 

1616 if handle == NULL: 

1617 handle = load_library() 

1618 __nvmlDeviceGetProcessesUtilizationInfo = dlsym(handle, 'nvmlDeviceGetProcessesUtilizationInfo') 

1619  

1620 global __nvmlDeviceGetPlatformInfo 

1621 __nvmlDeviceGetPlatformInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPlatformInfo') 

1622 if __nvmlDeviceGetPlatformInfo == NULL: 

1623 if handle == NULL: 

1624 handle = load_library() 

1625 __nvmlDeviceGetPlatformInfo = dlsym(handle, 'nvmlDeviceGetPlatformInfo') 

1626  

1627 global __nvmlUnitSetLedState 

1628 __nvmlUnitSetLedState = dlsym(RTLD_DEFAULT, 'nvmlUnitSetLedState') 

1629 if __nvmlUnitSetLedState == NULL: 

1630 if handle == NULL: 

1631 handle = load_library() 

1632 __nvmlUnitSetLedState = dlsym(handle, 'nvmlUnitSetLedState') 

1633  

1634 global __nvmlDeviceSetPersistenceMode 

1635 __nvmlDeviceSetPersistenceMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetPersistenceMode') 

1636 if __nvmlDeviceSetPersistenceMode == NULL: 

1637 if handle == NULL: 

1638 handle = load_library() 

1639 __nvmlDeviceSetPersistenceMode = dlsym(handle, 'nvmlDeviceSetPersistenceMode') 

1640  

1641 global __nvmlDeviceSetComputeMode 

1642 __nvmlDeviceSetComputeMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetComputeMode') 

1643 if __nvmlDeviceSetComputeMode == NULL: 

1644 if handle == NULL: 

1645 handle = load_library() 

1646 __nvmlDeviceSetComputeMode = dlsym(handle, 'nvmlDeviceSetComputeMode') 

1647  

1648 global __nvmlDeviceSetEccMode 

1649 __nvmlDeviceSetEccMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetEccMode') 

1650 if __nvmlDeviceSetEccMode == NULL: 

1651 if handle == NULL: 

1652 handle = load_library() 

1653 __nvmlDeviceSetEccMode = dlsym(handle, 'nvmlDeviceSetEccMode') 

1654  

1655 global __nvmlDeviceClearEccErrorCounts 

1656 __nvmlDeviceClearEccErrorCounts = dlsym(RTLD_DEFAULT, 'nvmlDeviceClearEccErrorCounts') 

1657 if __nvmlDeviceClearEccErrorCounts == NULL: 

1658 if handle == NULL: 

1659 handle = load_library() 

1660 __nvmlDeviceClearEccErrorCounts = dlsym(handle, 'nvmlDeviceClearEccErrorCounts') 

1661  

1662 global __nvmlDeviceSetDriverModel 

1663 __nvmlDeviceSetDriverModel = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetDriverModel') 

1664 if __nvmlDeviceSetDriverModel == NULL: 

1665 if handle == NULL: 

1666 handle = load_library() 

1667 __nvmlDeviceSetDriverModel = dlsym(handle, 'nvmlDeviceSetDriverModel') 

1668  

1669 global __nvmlDeviceSetGpuLockedClocks 

1670 __nvmlDeviceSetGpuLockedClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetGpuLockedClocks') 

1671 if __nvmlDeviceSetGpuLockedClocks == NULL: 

1672 if handle == NULL: 

1673 handle = load_library() 

1674 __nvmlDeviceSetGpuLockedClocks = dlsym(handle, 'nvmlDeviceSetGpuLockedClocks') 

1675  

1676 global __nvmlDeviceResetGpuLockedClocks 

1677 __nvmlDeviceResetGpuLockedClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceResetGpuLockedClocks') 

1678 if __nvmlDeviceResetGpuLockedClocks == NULL: 

1679 if handle == NULL: 

1680 handle = load_library() 

1681 __nvmlDeviceResetGpuLockedClocks = dlsym(handle, 'nvmlDeviceResetGpuLockedClocks') 

1682  

1683 global __nvmlDeviceSetMemoryLockedClocks 

1684 __nvmlDeviceSetMemoryLockedClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetMemoryLockedClocks') 

1685 if __nvmlDeviceSetMemoryLockedClocks == NULL: 

1686 if handle == NULL: 

1687 handle = load_library() 

1688 __nvmlDeviceSetMemoryLockedClocks = dlsym(handle, 'nvmlDeviceSetMemoryLockedClocks') 

1689  

1690 global __nvmlDeviceResetMemoryLockedClocks 

1691 __nvmlDeviceResetMemoryLockedClocks = dlsym(RTLD_DEFAULT, 'nvmlDeviceResetMemoryLockedClocks') 

1692 if __nvmlDeviceResetMemoryLockedClocks == NULL: 

1693 if handle == NULL: 

1694 handle = load_library() 

1695 __nvmlDeviceResetMemoryLockedClocks = dlsym(handle, 'nvmlDeviceResetMemoryLockedClocks') 

1696  

1697 global __nvmlDeviceSetAutoBoostedClocksEnabled 

1698 __nvmlDeviceSetAutoBoostedClocksEnabled = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetAutoBoostedClocksEnabled') 

1699 if __nvmlDeviceSetAutoBoostedClocksEnabled == NULL: 

1700 if handle == NULL: 

1701 handle = load_library() 

1702 __nvmlDeviceSetAutoBoostedClocksEnabled = dlsym(handle, 'nvmlDeviceSetAutoBoostedClocksEnabled') 

1703  

1704 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

1705 __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetDefaultAutoBoostedClocksEnabled') 

1706 if __nvmlDeviceSetDefaultAutoBoostedClocksEnabled == NULL: 

1707 if handle == NULL: 

1708 handle = load_library() 

1709 __nvmlDeviceSetDefaultAutoBoostedClocksEnabled = dlsym(handle, 'nvmlDeviceSetDefaultAutoBoostedClocksEnabled') 

1710  

1711 global __nvmlDeviceSetDefaultFanSpeed_v2 

1712 __nvmlDeviceSetDefaultFanSpeed_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetDefaultFanSpeed_v2') 

1713 if __nvmlDeviceSetDefaultFanSpeed_v2 == NULL: 

1714 if handle == NULL: 

1715 handle = load_library() 

1716 __nvmlDeviceSetDefaultFanSpeed_v2 = dlsym(handle, 'nvmlDeviceSetDefaultFanSpeed_v2') 

1717  

1718 global __nvmlDeviceSetFanControlPolicy 

1719 __nvmlDeviceSetFanControlPolicy = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetFanControlPolicy') 

1720 if __nvmlDeviceSetFanControlPolicy == NULL: 

1721 if handle == NULL: 

1722 handle = load_library() 

1723 __nvmlDeviceSetFanControlPolicy = dlsym(handle, 'nvmlDeviceSetFanControlPolicy') 

1724  

1725 global __nvmlDeviceSetTemperatureThreshold 

1726 __nvmlDeviceSetTemperatureThreshold = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetTemperatureThreshold') 

1727 if __nvmlDeviceSetTemperatureThreshold == NULL: 

1728 if handle == NULL: 

1729 handle = load_library() 

1730 __nvmlDeviceSetTemperatureThreshold = dlsym(handle, 'nvmlDeviceSetTemperatureThreshold') 

1731  

1732 global __nvmlDeviceSetGpuOperationMode 

1733 __nvmlDeviceSetGpuOperationMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetGpuOperationMode') 

1734 if __nvmlDeviceSetGpuOperationMode == NULL: 

1735 if handle == NULL: 

1736 handle = load_library() 

1737 __nvmlDeviceSetGpuOperationMode = dlsym(handle, 'nvmlDeviceSetGpuOperationMode') 

1738  

1739 global __nvmlDeviceSetAPIRestriction 

1740 __nvmlDeviceSetAPIRestriction = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetAPIRestriction') 

1741 if __nvmlDeviceSetAPIRestriction == NULL: 

1742 if handle == NULL: 

1743 handle = load_library() 

1744 __nvmlDeviceSetAPIRestriction = dlsym(handle, 'nvmlDeviceSetAPIRestriction') 

1745  

1746 global __nvmlDeviceSetFanSpeed_v2 

1747 __nvmlDeviceSetFanSpeed_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetFanSpeed_v2') 

1748 if __nvmlDeviceSetFanSpeed_v2 == NULL: 

1749 if handle == NULL: 

1750 handle = load_library() 

1751 __nvmlDeviceSetFanSpeed_v2 = dlsym(handle, 'nvmlDeviceSetFanSpeed_v2') 

1752  

1753 global __nvmlDeviceSetAccountingMode 

1754 __nvmlDeviceSetAccountingMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetAccountingMode') 

1755 if __nvmlDeviceSetAccountingMode == NULL: 

1756 if handle == NULL: 

1757 handle = load_library() 

1758 __nvmlDeviceSetAccountingMode = dlsym(handle, 'nvmlDeviceSetAccountingMode') 

1759  

1760 global __nvmlDeviceClearAccountingPids 

1761 __nvmlDeviceClearAccountingPids = dlsym(RTLD_DEFAULT, 'nvmlDeviceClearAccountingPids') 

1762 if __nvmlDeviceClearAccountingPids == NULL: 

1763 if handle == NULL: 

1764 handle = load_library() 

1765 __nvmlDeviceClearAccountingPids = dlsym(handle, 'nvmlDeviceClearAccountingPids') 

1766  

1767 global __nvmlDeviceSetPowerManagementLimit_v2 

1768 __nvmlDeviceSetPowerManagementLimit_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetPowerManagementLimit_v2') 

1769 if __nvmlDeviceSetPowerManagementLimit_v2 == NULL: 

1770 if handle == NULL: 

1771 handle = load_library() 

1772 __nvmlDeviceSetPowerManagementLimit_v2 = dlsym(handle, 'nvmlDeviceSetPowerManagementLimit_v2') 

1773  

1774 global __nvmlDeviceGetNvLinkState 

1775 __nvmlDeviceGetNvLinkState = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkState') 

1776 if __nvmlDeviceGetNvLinkState == NULL: 

1777 if handle == NULL: 

1778 handle = load_library() 

1779 __nvmlDeviceGetNvLinkState = dlsym(handle, 'nvmlDeviceGetNvLinkState') 

1780  

1781 global __nvmlDeviceGetNvLinkVersion 

1782 __nvmlDeviceGetNvLinkVersion = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkVersion') 

1783 if __nvmlDeviceGetNvLinkVersion == NULL: 

1784 if handle == NULL: 

1785 handle = load_library() 

1786 __nvmlDeviceGetNvLinkVersion = dlsym(handle, 'nvmlDeviceGetNvLinkVersion') 

1787  

1788 global __nvmlDeviceGetNvLinkCapability 

1789 __nvmlDeviceGetNvLinkCapability = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkCapability') 

1790 if __nvmlDeviceGetNvLinkCapability == NULL: 

1791 if handle == NULL: 

1792 handle = load_library() 

1793 __nvmlDeviceGetNvLinkCapability = dlsym(handle, 'nvmlDeviceGetNvLinkCapability') 

1794  

1795 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

1796 __nvmlDeviceGetNvLinkRemotePciInfo_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkRemotePciInfo_v2') 

1797 if __nvmlDeviceGetNvLinkRemotePciInfo_v2 == NULL: 

1798 if handle == NULL: 

1799 handle = load_library() 

1800 __nvmlDeviceGetNvLinkRemotePciInfo_v2 = dlsym(handle, 'nvmlDeviceGetNvLinkRemotePciInfo_v2') 

1801  

1802 global __nvmlDeviceGetNvLinkErrorCounter 

1803 __nvmlDeviceGetNvLinkErrorCounter = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkErrorCounter') 

1804 if __nvmlDeviceGetNvLinkErrorCounter == NULL: 

1805 if handle == NULL: 

1806 handle = load_library() 

1807 __nvmlDeviceGetNvLinkErrorCounter = dlsym(handle, 'nvmlDeviceGetNvLinkErrorCounter') 

1808  

1809 global __nvmlDeviceResetNvLinkErrorCounters 

1810 __nvmlDeviceResetNvLinkErrorCounters = dlsym(RTLD_DEFAULT, 'nvmlDeviceResetNvLinkErrorCounters') 

1811 if __nvmlDeviceResetNvLinkErrorCounters == NULL: 

1812 if handle == NULL: 

1813 handle = load_library() 

1814 __nvmlDeviceResetNvLinkErrorCounters = dlsym(handle, 'nvmlDeviceResetNvLinkErrorCounters') 

1815  

1816 global __nvmlDeviceGetNvLinkRemoteDeviceType 

1817 __nvmlDeviceGetNvLinkRemoteDeviceType = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkRemoteDeviceType') 

1818 if __nvmlDeviceGetNvLinkRemoteDeviceType == NULL: 

1819 if handle == NULL: 

1820 handle = load_library() 

1821 __nvmlDeviceGetNvLinkRemoteDeviceType = dlsym(handle, 'nvmlDeviceGetNvLinkRemoteDeviceType') 

1822  

1823 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

1824 __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetNvLinkDeviceLowPowerThreshold') 

1825 if __nvmlDeviceSetNvLinkDeviceLowPowerThreshold == NULL: 

1826 if handle == NULL: 

1827 handle = load_library() 

1828 __nvmlDeviceSetNvLinkDeviceLowPowerThreshold = dlsym(handle, 'nvmlDeviceSetNvLinkDeviceLowPowerThreshold') 

1829  

1830 global __nvmlSystemSetNvlinkBwMode 

1831 __nvmlSystemSetNvlinkBwMode = dlsym(RTLD_DEFAULT, 'nvmlSystemSetNvlinkBwMode') 

1832 if __nvmlSystemSetNvlinkBwMode == NULL: 

1833 if handle == NULL: 

1834 handle = load_library() 

1835 __nvmlSystemSetNvlinkBwMode = dlsym(handle, 'nvmlSystemSetNvlinkBwMode') 

1836  

1837 global __nvmlSystemGetNvlinkBwMode 

1838 __nvmlSystemGetNvlinkBwMode = dlsym(RTLD_DEFAULT, 'nvmlSystemGetNvlinkBwMode') 

1839 if __nvmlSystemGetNvlinkBwMode == NULL: 

1840 if handle == NULL: 

1841 handle = load_library() 

1842 __nvmlSystemGetNvlinkBwMode = dlsym(handle, 'nvmlSystemGetNvlinkBwMode') 

1843  

1844 global __nvmlDeviceGetNvlinkSupportedBwModes 

1845 __nvmlDeviceGetNvlinkSupportedBwModes = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvlinkSupportedBwModes') 

1846 if __nvmlDeviceGetNvlinkSupportedBwModes == NULL: 

1847 if handle == NULL: 

1848 handle = load_library() 

1849 __nvmlDeviceGetNvlinkSupportedBwModes = dlsym(handle, 'nvmlDeviceGetNvlinkSupportedBwModes') 

1850  

1851 global __nvmlDeviceGetNvlinkBwMode 

1852 __nvmlDeviceGetNvlinkBwMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvlinkBwMode') 

1853 if __nvmlDeviceGetNvlinkBwMode == NULL: 

1854 if handle == NULL: 

1855 handle = load_library() 

1856 __nvmlDeviceGetNvlinkBwMode = dlsym(handle, 'nvmlDeviceGetNvlinkBwMode') 

1857  

1858 global __nvmlDeviceSetNvlinkBwMode 

1859 __nvmlDeviceSetNvlinkBwMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetNvlinkBwMode') 

1860 if __nvmlDeviceSetNvlinkBwMode == NULL: 

1861 if handle == NULL: 

1862 handle = load_library() 

1863 __nvmlDeviceSetNvlinkBwMode = dlsym(handle, 'nvmlDeviceSetNvlinkBwMode') 

1864  

1865 global __nvmlEventSetCreate 

1866 __nvmlEventSetCreate = dlsym(RTLD_DEFAULT, 'nvmlEventSetCreate') 

1867 if __nvmlEventSetCreate == NULL: 

1868 if handle == NULL: 

1869 handle = load_library() 

1870 __nvmlEventSetCreate = dlsym(handle, 'nvmlEventSetCreate') 

1871  

1872 global __nvmlDeviceRegisterEvents 

1873 __nvmlDeviceRegisterEvents = dlsym(RTLD_DEFAULT, 'nvmlDeviceRegisterEvents') 

1874 if __nvmlDeviceRegisterEvents == NULL: 

1875 if handle == NULL: 

1876 handle = load_library() 

1877 __nvmlDeviceRegisterEvents = dlsym(handle, 'nvmlDeviceRegisterEvents') 

1878  

1879 global __nvmlDeviceGetSupportedEventTypes 

1880 __nvmlDeviceGetSupportedEventTypes = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedEventTypes') 

1881 if __nvmlDeviceGetSupportedEventTypes == NULL: 

1882 if handle == NULL: 

1883 handle = load_library() 

1884 __nvmlDeviceGetSupportedEventTypes = dlsym(handle, 'nvmlDeviceGetSupportedEventTypes') 

1885  

1886 global __nvmlEventSetWait_v2 

1887 __nvmlEventSetWait_v2 = dlsym(RTLD_DEFAULT, 'nvmlEventSetWait_v2') 

1888 if __nvmlEventSetWait_v2 == NULL: 

1889 if handle == NULL: 

1890 handle = load_library() 

1891 __nvmlEventSetWait_v2 = dlsym(handle, 'nvmlEventSetWait_v2') 

1892  

1893 global __nvmlEventSetFree 

1894 __nvmlEventSetFree = dlsym(RTLD_DEFAULT, 'nvmlEventSetFree') 

1895 if __nvmlEventSetFree == NULL: 

1896 if handle == NULL: 

1897 handle = load_library() 

1898 __nvmlEventSetFree = dlsym(handle, 'nvmlEventSetFree') 

1899  

1900 global __nvmlSystemEventSetCreate 

1901 __nvmlSystemEventSetCreate = dlsym(RTLD_DEFAULT, 'nvmlSystemEventSetCreate') 

1902 if __nvmlSystemEventSetCreate == NULL: 

1903 if handle == NULL: 

1904 handle = load_library() 

1905 __nvmlSystemEventSetCreate = dlsym(handle, 'nvmlSystemEventSetCreate') 

1906  

1907 global __nvmlSystemEventSetFree 

1908 __nvmlSystemEventSetFree = dlsym(RTLD_DEFAULT, 'nvmlSystemEventSetFree') 

1909 if __nvmlSystemEventSetFree == NULL: 

1910 if handle == NULL: 

1911 handle = load_library() 

1912 __nvmlSystemEventSetFree = dlsym(handle, 'nvmlSystemEventSetFree') 

1913  

1914 global __nvmlSystemRegisterEvents 

1915 __nvmlSystemRegisterEvents = dlsym(RTLD_DEFAULT, 'nvmlSystemRegisterEvents') 

1916 if __nvmlSystemRegisterEvents == NULL: 

1917 if handle == NULL: 

1918 handle = load_library() 

1919 __nvmlSystemRegisterEvents = dlsym(handle, 'nvmlSystemRegisterEvents') 

1920  

1921 global __nvmlSystemEventSetWait 

1922 __nvmlSystemEventSetWait = dlsym(RTLD_DEFAULT, 'nvmlSystemEventSetWait') 

1923 if __nvmlSystemEventSetWait == NULL: 

1924 if handle == NULL: 

1925 handle = load_library() 

1926 __nvmlSystemEventSetWait = dlsym(handle, 'nvmlSystemEventSetWait') 

1927  

1928 global __nvmlDeviceModifyDrainState 

1929 __nvmlDeviceModifyDrainState = dlsym(RTLD_DEFAULT, 'nvmlDeviceModifyDrainState') 

1930 if __nvmlDeviceModifyDrainState == NULL: 

1931 if handle == NULL: 

1932 handle = load_library() 

1933 __nvmlDeviceModifyDrainState = dlsym(handle, 'nvmlDeviceModifyDrainState') 

1934  

1935 global __nvmlDeviceQueryDrainState 

1936 __nvmlDeviceQueryDrainState = dlsym(RTLD_DEFAULT, 'nvmlDeviceQueryDrainState') 

1937 if __nvmlDeviceQueryDrainState == NULL: 

1938 if handle == NULL: 

1939 handle = load_library() 

1940 __nvmlDeviceQueryDrainState = dlsym(handle, 'nvmlDeviceQueryDrainState') 

1941  

1942 global __nvmlDeviceRemoveGpu_v2 

1943 __nvmlDeviceRemoveGpu_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceRemoveGpu_v2') 

1944 if __nvmlDeviceRemoveGpu_v2 == NULL: 

1945 if handle == NULL: 

1946 handle = load_library() 

1947 __nvmlDeviceRemoveGpu_v2 = dlsym(handle, 'nvmlDeviceRemoveGpu_v2') 

1948  

1949 global __nvmlDeviceDiscoverGpus 

1950 __nvmlDeviceDiscoverGpus = dlsym(RTLD_DEFAULT, 'nvmlDeviceDiscoverGpus') 

1951 if __nvmlDeviceDiscoverGpus == NULL: 

1952 if handle == NULL: 

1953 handle = load_library() 

1954 __nvmlDeviceDiscoverGpus = dlsym(handle, 'nvmlDeviceDiscoverGpus') 

1955  

1956 global __nvmlDeviceGetFieldValues 

1957 __nvmlDeviceGetFieldValues = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetFieldValues') 

1958 if __nvmlDeviceGetFieldValues == NULL: 

1959 if handle == NULL: 

1960 handle = load_library() 

1961 __nvmlDeviceGetFieldValues = dlsym(handle, 'nvmlDeviceGetFieldValues') 

1962  

1963 global __nvmlDeviceClearFieldValues 

1964 __nvmlDeviceClearFieldValues = dlsym(RTLD_DEFAULT, 'nvmlDeviceClearFieldValues') 

1965 if __nvmlDeviceClearFieldValues == NULL: 

1966 if handle == NULL: 

1967 handle = load_library() 

1968 __nvmlDeviceClearFieldValues = dlsym(handle, 'nvmlDeviceClearFieldValues') 

1969  

1970 global __nvmlDeviceGetVirtualizationMode 

1971 __nvmlDeviceGetVirtualizationMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVirtualizationMode') 

1972 if __nvmlDeviceGetVirtualizationMode == NULL: 

1973 if handle == NULL: 

1974 handle = load_library() 

1975 __nvmlDeviceGetVirtualizationMode = dlsym(handle, 'nvmlDeviceGetVirtualizationMode') 

1976  

1977 global __nvmlDeviceGetHostVgpuMode 

1978 __nvmlDeviceGetHostVgpuMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHostVgpuMode') 

1979 if __nvmlDeviceGetHostVgpuMode == NULL: 

1980 if handle == NULL: 

1981 handle = load_library() 

1982 __nvmlDeviceGetHostVgpuMode = dlsym(handle, 'nvmlDeviceGetHostVgpuMode') 

1983  

1984 global __nvmlDeviceSetVirtualizationMode 

1985 __nvmlDeviceSetVirtualizationMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetVirtualizationMode') 

1986 if __nvmlDeviceSetVirtualizationMode == NULL: 

1987 if handle == NULL: 

1988 handle = load_library() 

1989 __nvmlDeviceSetVirtualizationMode = dlsym(handle, 'nvmlDeviceSetVirtualizationMode') 

1990  

1991 global __nvmlDeviceGetVgpuHeterogeneousMode 

1992 __nvmlDeviceGetVgpuHeterogeneousMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuHeterogeneousMode') 

1993 if __nvmlDeviceGetVgpuHeterogeneousMode == NULL: 

1994 if handle == NULL: 

1995 handle = load_library() 

1996 __nvmlDeviceGetVgpuHeterogeneousMode = dlsym(handle, 'nvmlDeviceGetVgpuHeterogeneousMode') 

1997  

1998 global __nvmlDeviceSetVgpuHeterogeneousMode 

1999 __nvmlDeviceSetVgpuHeterogeneousMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetVgpuHeterogeneousMode') 

2000 if __nvmlDeviceSetVgpuHeterogeneousMode == NULL: 

2001 if handle == NULL: 

2002 handle = load_library() 

2003 __nvmlDeviceSetVgpuHeterogeneousMode = dlsym(handle, 'nvmlDeviceSetVgpuHeterogeneousMode') 

2004  

2005 global __nvmlVgpuInstanceGetPlacementId 

2006 __nvmlVgpuInstanceGetPlacementId = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetPlacementId') 

2007 if __nvmlVgpuInstanceGetPlacementId == NULL: 

2008 if handle == NULL: 

2009 handle = load_library() 

2010 __nvmlVgpuInstanceGetPlacementId = dlsym(handle, 'nvmlVgpuInstanceGetPlacementId') 

2011  

2012 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

2013 __nvmlDeviceGetVgpuTypeSupportedPlacements = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuTypeSupportedPlacements') 

2014 if __nvmlDeviceGetVgpuTypeSupportedPlacements == NULL: 

2015 if handle == NULL: 

2016 handle = load_library() 

2017 __nvmlDeviceGetVgpuTypeSupportedPlacements = dlsym(handle, 'nvmlDeviceGetVgpuTypeSupportedPlacements') 

2018  

2019 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

2020 __nvmlDeviceGetVgpuTypeCreatablePlacements = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuTypeCreatablePlacements') 

2021 if __nvmlDeviceGetVgpuTypeCreatablePlacements == NULL: 

2022 if handle == NULL: 

2023 handle = load_library() 

2024 __nvmlDeviceGetVgpuTypeCreatablePlacements = dlsym(handle, 'nvmlDeviceGetVgpuTypeCreatablePlacements') 

2025  

2026 global __nvmlVgpuTypeGetGspHeapSize 

2027 __nvmlVgpuTypeGetGspHeapSize = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetGspHeapSize') 

2028 if __nvmlVgpuTypeGetGspHeapSize == NULL: 

2029 if handle == NULL: 

2030 handle = load_library() 

2031 __nvmlVgpuTypeGetGspHeapSize = dlsym(handle, 'nvmlVgpuTypeGetGspHeapSize') 

2032  

2033 global __nvmlVgpuTypeGetFbReservation 

2034 __nvmlVgpuTypeGetFbReservation = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetFbReservation') 

2035 if __nvmlVgpuTypeGetFbReservation == NULL: 

2036 if handle == NULL: 

2037 handle = load_library() 

2038 __nvmlVgpuTypeGetFbReservation = dlsym(handle, 'nvmlVgpuTypeGetFbReservation') 

2039  

2040 global __nvmlVgpuInstanceGetRuntimeStateSize 

2041 __nvmlVgpuInstanceGetRuntimeStateSize = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetRuntimeStateSize') 

2042 if __nvmlVgpuInstanceGetRuntimeStateSize == NULL: 

2043 if handle == NULL: 

2044 handle = load_library() 

2045 __nvmlVgpuInstanceGetRuntimeStateSize = dlsym(handle, 'nvmlVgpuInstanceGetRuntimeStateSize') 

2046  

2047 global __nvmlDeviceSetVgpuCapabilities 

2048 __nvmlDeviceSetVgpuCapabilities = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetVgpuCapabilities') 

2049 if __nvmlDeviceSetVgpuCapabilities == NULL: 

2050 if handle == NULL: 

2051 handle = load_library() 

2052 __nvmlDeviceSetVgpuCapabilities = dlsym(handle, 'nvmlDeviceSetVgpuCapabilities') 

2053  

2054 global __nvmlDeviceGetGridLicensableFeatures_v4 

2055 __nvmlDeviceGetGridLicensableFeatures_v4 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGridLicensableFeatures_v4') 

2056 if __nvmlDeviceGetGridLicensableFeatures_v4 == NULL: 

2057 if handle == NULL: 

2058 handle = load_library() 

2059 __nvmlDeviceGetGridLicensableFeatures_v4 = dlsym(handle, 'nvmlDeviceGetGridLicensableFeatures_v4') 

2060  

2061 global __nvmlGetVgpuDriverCapabilities 

2062 __nvmlGetVgpuDriverCapabilities = dlsym(RTLD_DEFAULT, 'nvmlGetVgpuDriverCapabilities') 

2063 if __nvmlGetVgpuDriverCapabilities == NULL: 

2064 if handle == NULL: 

2065 handle = load_library() 

2066 __nvmlGetVgpuDriverCapabilities = dlsym(handle, 'nvmlGetVgpuDriverCapabilities') 

2067  

2068 global __nvmlDeviceGetVgpuCapabilities 

2069 __nvmlDeviceGetVgpuCapabilities = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuCapabilities') 

2070 if __nvmlDeviceGetVgpuCapabilities == NULL: 

2071 if handle == NULL: 

2072 handle = load_library() 

2073 __nvmlDeviceGetVgpuCapabilities = dlsym(handle, 'nvmlDeviceGetVgpuCapabilities') 

2074  

2075 global __nvmlDeviceGetSupportedVgpus 

2076 __nvmlDeviceGetSupportedVgpus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSupportedVgpus') 

2077 if __nvmlDeviceGetSupportedVgpus == NULL: 

2078 if handle == NULL: 

2079 handle = load_library() 

2080 __nvmlDeviceGetSupportedVgpus = dlsym(handle, 'nvmlDeviceGetSupportedVgpus') 

2081  

2082 global __nvmlDeviceGetCreatableVgpus 

2083 __nvmlDeviceGetCreatableVgpus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCreatableVgpus') 

2084 if __nvmlDeviceGetCreatableVgpus == NULL: 

2085 if handle == NULL: 

2086 handle = load_library() 

2087 __nvmlDeviceGetCreatableVgpus = dlsym(handle, 'nvmlDeviceGetCreatableVgpus') 

2088  

2089 global __nvmlVgpuTypeGetClass 

2090 __nvmlVgpuTypeGetClass = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetClass') 

2091 if __nvmlVgpuTypeGetClass == NULL: 

2092 if handle == NULL: 

2093 handle = load_library() 

2094 __nvmlVgpuTypeGetClass = dlsym(handle, 'nvmlVgpuTypeGetClass') 

2095  

2096 global __nvmlVgpuTypeGetName 

2097 __nvmlVgpuTypeGetName = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetName') 

2098 if __nvmlVgpuTypeGetName == NULL: 

2099 if handle == NULL: 

2100 handle = load_library() 

2101 __nvmlVgpuTypeGetName = dlsym(handle, 'nvmlVgpuTypeGetName') 

2102  

2103 global __nvmlVgpuTypeGetGpuInstanceProfileId 

2104 __nvmlVgpuTypeGetGpuInstanceProfileId = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetGpuInstanceProfileId') 

2105 if __nvmlVgpuTypeGetGpuInstanceProfileId == NULL: 

2106 if handle == NULL: 

2107 handle = load_library() 

2108 __nvmlVgpuTypeGetGpuInstanceProfileId = dlsym(handle, 'nvmlVgpuTypeGetGpuInstanceProfileId') 

2109  

2110 global __nvmlVgpuTypeGetDeviceID 

2111 __nvmlVgpuTypeGetDeviceID = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetDeviceID') 

2112 if __nvmlVgpuTypeGetDeviceID == NULL: 

2113 if handle == NULL: 

2114 handle = load_library() 

2115 __nvmlVgpuTypeGetDeviceID = dlsym(handle, 'nvmlVgpuTypeGetDeviceID') 

2116  

2117 global __nvmlVgpuTypeGetFramebufferSize 

2118 __nvmlVgpuTypeGetFramebufferSize = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetFramebufferSize') 

2119 if __nvmlVgpuTypeGetFramebufferSize == NULL: 

2120 if handle == NULL: 

2121 handle = load_library() 

2122 __nvmlVgpuTypeGetFramebufferSize = dlsym(handle, 'nvmlVgpuTypeGetFramebufferSize') 

2123  

2124 global __nvmlVgpuTypeGetNumDisplayHeads 

2125 __nvmlVgpuTypeGetNumDisplayHeads = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetNumDisplayHeads') 

2126 if __nvmlVgpuTypeGetNumDisplayHeads == NULL: 

2127 if handle == NULL: 

2128 handle = load_library() 

2129 __nvmlVgpuTypeGetNumDisplayHeads = dlsym(handle, 'nvmlVgpuTypeGetNumDisplayHeads') 

2130  

2131 global __nvmlVgpuTypeGetResolution 

2132 __nvmlVgpuTypeGetResolution = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetResolution') 

2133 if __nvmlVgpuTypeGetResolution == NULL: 

2134 if handle == NULL: 

2135 handle = load_library() 

2136 __nvmlVgpuTypeGetResolution = dlsym(handle, 'nvmlVgpuTypeGetResolution') 

2137  

2138 global __nvmlVgpuTypeGetLicense 

2139 __nvmlVgpuTypeGetLicense = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetLicense') 

2140 if __nvmlVgpuTypeGetLicense == NULL: 

2141 if handle == NULL: 

2142 handle = load_library() 

2143 __nvmlVgpuTypeGetLicense = dlsym(handle, 'nvmlVgpuTypeGetLicense') 

2144  

2145 global __nvmlVgpuTypeGetFrameRateLimit 

2146 __nvmlVgpuTypeGetFrameRateLimit = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetFrameRateLimit') 

2147 if __nvmlVgpuTypeGetFrameRateLimit == NULL: 

2148 if handle == NULL: 

2149 handle = load_library() 

2150 __nvmlVgpuTypeGetFrameRateLimit = dlsym(handle, 'nvmlVgpuTypeGetFrameRateLimit') 

2151  

2152 global __nvmlVgpuTypeGetMaxInstances 

2153 __nvmlVgpuTypeGetMaxInstances = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstances') 

2154 if __nvmlVgpuTypeGetMaxInstances == NULL: 

2155 if handle == NULL: 

2156 handle = load_library() 

2157 __nvmlVgpuTypeGetMaxInstances = dlsym(handle, 'nvmlVgpuTypeGetMaxInstances') 

2158  

2159 global __nvmlVgpuTypeGetMaxInstancesPerVm 

2160 __nvmlVgpuTypeGetMaxInstancesPerVm = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstancesPerVm') 

2161 if __nvmlVgpuTypeGetMaxInstancesPerVm == NULL: 

2162 if handle == NULL: 

2163 handle = load_library() 

2164 __nvmlVgpuTypeGetMaxInstancesPerVm = dlsym(handle, 'nvmlVgpuTypeGetMaxInstancesPerVm') 

2165  

2166 global __nvmlVgpuTypeGetBAR1Info 

2167 __nvmlVgpuTypeGetBAR1Info = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetBAR1Info') 

2168 if __nvmlVgpuTypeGetBAR1Info == NULL: 

2169 if handle == NULL: 

2170 handle = load_library() 

2171 __nvmlVgpuTypeGetBAR1Info = dlsym(handle, 'nvmlVgpuTypeGetBAR1Info') 

2172  

2173 global __nvmlDeviceGetActiveVgpus 

2174 __nvmlDeviceGetActiveVgpus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetActiveVgpus') 

2175 if __nvmlDeviceGetActiveVgpus == NULL: 

2176 if handle == NULL: 

2177 handle = load_library() 

2178 __nvmlDeviceGetActiveVgpus = dlsym(handle, 'nvmlDeviceGetActiveVgpus') 

2179  

2180 global __nvmlVgpuInstanceGetVmID 

2181 __nvmlVgpuInstanceGetVmID = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetVmID') 

2182 if __nvmlVgpuInstanceGetVmID == NULL: 

2183 if handle == NULL: 

2184 handle = load_library() 

2185 __nvmlVgpuInstanceGetVmID = dlsym(handle, 'nvmlVgpuInstanceGetVmID') 

2186  

2187 global __nvmlVgpuInstanceGetUUID 

2188 __nvmlVgpuInstanceGetUUID = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetUUID') 

2189 if __nvmlVgpuInstanceGetUUID == NULL: 

2190 if handle == NULL: 

2191 handle = load_library() 

2192 __nvmlVgpuInstanceGetUUID = dlsym(handle, 'nvmlVgpuInstanceGetUUID') 

2193  

2194 global __nvmlVgpuInstanceGetVmDriverVersion 

2195 __nvmlVgpuInstanceGetVmDriverVersion = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetVmDriverVersion') 

2196 if __nvmlVgpuInstanceGetVmDriverVersion == NULL: 

2197 if handle == NULL: 

2198 handle = load_library() 

2199 __nvmlVgpuInstanceGetVmDriverVersion = dlsym(handle, 'nvmlVgpuInstanceGetVmDriverVersion') 

2200  

2201 global __nvmlVgpuInstanceGetFbUsage 

2202 __nvmlVgpuInstanceGetFbUsage = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetFbUsage') 

2203 if __nvmlVgpuInstanceGetFbUsage == NULL: 

2204 if handle == NULL: 

2205 handle = load_library() 

2206 __nvmlVgpuInstanceGetFbUsage = dlsym(handle, 'nvmlVgpuInstanceGetFbUsage') 

2207  

2208 global __nvmlVgpuInstanceGetLicenseStatus 

2209 __nvmlVgpuInstanceGetLicenseStatus = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetLicenseStatus') 

2210 if __nvmlVgpuInstanceGetLicenseStatus == NULL: 

2211 if handle == NULL: 

2212 handle = load_library() 

2213 __nvmlVgpuInstanceGetLicenseStatus = dlsym(handle, 'nvmlVgpuInstanceGetLicenseStatus') 

2214  

2215 global __nvmlVgpuInstanceGetType 

2216 __nvmlVgpuInstanceGetType = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetType') 

2217 if __nvmlVgpuInstanceGetType == NULL: 

2218 if handle == NULL: 

2219 handle = load_library() 

2220 __nvmlVgpuInstanceGetType = dlsym(handle, 'nvmlVgpuInstanceGetType') 

2221  

2222 global __nvmlVgpuInstanceGetFrameRateLimit 

2223 __nvmlVgpuInstanceGetFrameRateLimit = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetFrameRateLimit') 

2224 if __nvmlVgpuInstanceGetFrameRateLimit == NULL: 

2225 if handle == NULL: 

2226 handle = load_library() 

2227 __nvmlVgpuInstanceGetFrameRateLimit = dlsym(handle, 'nvmlVgpuInstanceGetFrameRateLimit') 

2228  

2229 global __nvmlVgpuInstanceGetEccMode 

2230 __nvmlVgpuInstanceGetEccMode = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetEccMode') 

2231 if __nvmlVgpuInstanceGetEccMode == NULL: 

2232 if handle == NULL: 

2233 handle = load_library() 

2234 __nvmlVgpuInstanceGetEccMode = dlsym(handle, 'nvmlVgpuInstanceGetEccMode') 

2235  

2236 global __nvmlVgpuInstanceGetEncoderCapacity 

2237 __nvmlVgpuInstanceGetEncoderCapacity = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderCapacity') 

2238 if __nvmlVgpuInstanceGetEncoderCapacity == NULL: 

2239 if handle == NULL: 

2240 handle = load_library() 

2241 __nvmlVgpuInstanceGetEncoderCapacity = dlsym(handle, 'nvmlVgpuInstanceGetEncoderCapacity') 

2242  

2243 global __nvmlVgpuInstanceSetEncoderCapacity 

2244 __nvmlVgpuInstanceSetEncoderCapacity = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceSetEncoderCapacity') 

2245 if __nvmlVgpuInstanceSetEncoderCapacity == NULL: 

2246 if handle == NULL: 

2247 handle = load_library() 

2248 __nvmlVgpuInstanceSetEncoderCapacity = dlsym(handle, 'nvmlVgpuInstanceSetEncoderCapacity') 

2249  

2250 global __nvmlVgpuInstanceGetEncoderStats 

2251 __nvmlVgpuInstanceGetEncoderStats = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderStats') 

2252 if __nvmlVgpuInstanceGetEncoderStats == NULL: 

2253 if handle == NULL: 

2254 handle = load_library() 

2255 __nvmlVgpuInstanceGetEncoderStats = dlsym(handle, 'nvmlVgpuInstanceGetEncoderStats') 

2256  

2257 global __nvmlVgpuInstanceGetEncoderSessions 

2258 __nvmlVgpuInstanceGetEncoderSessions = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetEncoderSessions') 

2259 if __nvmlVgpuInstanceGetEncoderSessions == NULL: 

2260 if handle == NULL: 

2261 handle = load_library() 

2262 __nvmlVgpuInstanceGetEncoderSessions = dlsym(handle, 'nvmlVgpuInstanceGetEncoderSessions') 

2263  

2264 global __nvmlVgpuInstanceGetFBCStats 

2265 __nvmlVgpuInstanceGetFBCStats = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetFBCStats') 

2266 if __nvmlVgpuInstanceGetFBCStats == NULL: 

2267 if handle == NULL: 

2268 handle = load_library() 

2269 __nvmlVgpuInstanceGetFBCStats = dlsym(handle, 'nvmlVgpuInstanceGetFBCStats') 

2270  

2271 global __nvmlVgpuInstanceGetFBCSessions 

2272 __nvmlVgpuInstanceGetFBCSessions = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetFBCSessions') 

2273 if __nvmlVgpuInstanceGetFBCSessions == NULL: 

2274 if handle == NULL: 

2275 handle = load_library() 

2276 __nvmlVgpuInstanceGetFBCSessions = dlsym(handle, 'nvmlVgpuInstanceGetFBCSessions') 

2277  

2278 global __nvmlVgpuInstanceGetGpuInstanceId 

2279 __nvmlVgpuInstanceGetGpuInstanceId = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetGpuInstanceId') 

2280 if __nvmlVgpuInstanceGetGpuInstanceId == NULL: 

2281 if handle == NULL: 

2282 handle = load_library() 

2283 __nvmlVgpuInstanceGetGpuInstanceId = dlsym(handle, 'nvmlVgpuInstanceGetGpuInstanceId') 

2284  

2285 global __nvmlVgpuInstanceGetGpuPciId 

2286 __nvmlVgpuInstanceGetGpuPciId = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetGpuPciId') 

2287 if __nvmlVgpuInstanceGetGpuPciId == NULL: 

2288 if handle == NULL: 

2289 handle = load_library() 

2290 __nvmlVgpuInstanceGetGpuPciId = dlsym(handle, 'nvmlVgpuInstanceGetGpuPciId') 

2291  

2292 global __nvmlVgpuTypeGetCapabilities 

2293 __nvmlVgpuTypeGetCapabilities = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetCapabilities') 

2294 if __nvmlVgpuTypeGetCapabilities == NULL: 

2295 if handle == NULL: 

2296 handle = load_library() 

2297 __nvmlVgpuTypeGetCapabilities = dlsym(handle, 'nvmlVgpuTypeGetCapabilities') 

2298  

2299 global __nvmlVgpuInstanceGetMdevUUID 

2300 __nvmlVgpuInstanceGetMdevUUID = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetMdevUUID') 

2301 if __nvmlVgpuInstanceGetMdevUUID == NULL: 

2302 if handle == NULL: 

2303 handle = load_library() 

2304 __nvmlVgpuInstanceGetMdevUUID = dlsym(handle, 'nvmlVgpuInstanceGetMdevUUID') 

2305  

2306 global __nvmlGpuInstanceGetCreatableVgpus 

2307 __nvmlGpuInstanceGetCreatableVgpus = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetCreatableVgpus') 

2308 if __nvmlGpuInstanceGetCreatableVgpus == NULL: 

2309 if handle == NULL: 

2310 handle = load_library() 

2311 __nvmlGpuInstanceGetCreatableVgpus = dlsym(handle, 'nvmlGpuInstanceGetCreatableVgpus') 

2312  

2313 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

2314 __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = dlsym(RTLD_DEFAULT, 'nvmlVgpuTypeGetMaxInstancesPerGpuInstance') 

2315 if __nvmlVgpuTypeGetMaxInstancesPerGpuInstance == NULL: 

2316 if handle == NULL: 

2317 handle = load_library() 

2318 __nvmlVgpuTypeGetMaxInstancesPerGpuInstance = dlsym(handle, 'nvmlVgpuTypeGetMaxInstancesPerGpuInstance') 

2319  

2320 global __nvmlGpuInstanceGetActiveVgpus 

2321 __nvmlGpuInstanceGetActiveVgpus = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetActiveVgpus') 

2322 if __nvmlGpuInstanceGetActiveVgpus == NULL: 

2323 if handle == NULL: 

2324 handle = load_library() 

2325 __nvmlGpuInstanceGetActiveVgpus = dlsym(handle, 'nvmlGpuInstanceGetActiveVgpus') 

2326  

2327 global __nvmlGpuInstanceSetVgpuSchedulerState 

2328 __nvmlGpuInstanceSetVgpuSchedulerState = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuSchedulerState') 

2329 if __nvmlGpuInstanceSetVgpuSchedulerState == NULL: 

2330 if handle == NULL: 

2331 handle = load_library() 

2332 __nvmlGpuInstanceSetVgpuSchedulerState = dlsym(handle, 'nvmlGpuInstanceSetVgpuSchedulerState') 

2333  

2334 global __nvmlGpuInstanceGetVgpuSchedulerState 

2335 __nvmlGpuInstanceGetVgpuSchedulerState = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerState') 

2336 if __nvmlGpuInstanceGetVgpuSchedulerState == NULL: 

2337 if handle == NULL: 

2338 handle = load_library() 

2339 __nvmlGpuInstanceGetVgpuSchedulerState = dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerState') 

2340  

2341 global __nvmlGpuInstanceGetVgpuSchedulerLog 

2342 __nvmlGpuInstanceGetVgpuSchedulerLog = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuSchedulerLog') 

2343 if __nvmlGpuInstanceGetVgpuSchedulerLog == NULL: 

2344 if handle == NULL: 

2345 handle = load_library() 

2346 __nvmlGpuInstanceGetVgpuSchedulerLog = dlsym(handle, 'nvmlGpuInstanceGetVgpuSchedulerLog') 

2347  

2348 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

2349 __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuTypeCreatablePlacements') 

2350 if __nvmlGpuInstanceGetVgpuTypeCreatablePlacements == NULL: 

2351 if handle == NULL: 

2352 handle = load_library() 

2353 __nvmlGpuInstanceGetVgpuTypeCreatablePlacements = dlsym(handle, 'nvmlGpuInstanceGetVgpuTypeCreatablePlacements') 

2354  

2355 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

2356 __nvmlGpuInstanceGetVgpuHeterogeneousMode = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetVgpuHeterogeneousMode') 

2357 if __nvmlGpuInstanceGetVgpuHeterogeneousMode == NULL: 

2358 if handle == NULL: 

2359 handle = load_library() 

2360 __nvmlGpuInstanceGetVgpuHeterogeneousMode = dlsym(handle, 'nvmlGpuInstanceGetVgpuHeterogeneousMode') 

2361  

2362 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

2363 __nvmlGpuInstanceSetVgpuHeterogeneousMode = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceSetVgpuHeterogeneousMode') 

2364 if __nvmlGpuInstanceSetVgpuHeterogeneousMode == NULL: 

2365 if handle == NULL: 

2366 handle = load_library() 

2367 __nvmlGpuInstanceSetVgpuHeterogeneousMode = dlsym(handle, 'nvmlGpuInstanceSetVgpuHeterogeneousMode') 

2368  

2369 global __nvmlVgpuInstanceGetMetadata 

2370 __nvmlVgpuInstanceGetMetadata = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetMetadata') 

2371 if __nvmlVgpuInstanceGetMetadata == NULL: 

2372 if handle == NULL: 

2373 handle = load_library() 

2374 __nvmlVgpuInstanceGetMetadata = dlsym(handle, 'nvmlVgpuInstanceGetMetadata') 

2375  

2376 global __nvmlDeviceGetVgpuMetadata 

2377 __nvmlDeviceGetVgpuMetadata = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuMetadata') 

2378 if __nvmlDeviceGetVgpuMetadata == NULL: 

2379 if handle == NULL: 

2380 handle = load_library() 

2381 __nvmlDeviceGetVgpuMetadata = dlsym(handle, 'nvmlDeviceGetVgpuMetadata') 

2382  

2383 global __nvmlGetVgpuCompatibility 

2384 __nvmlGetVgpuCompatibility = dlsym(RTLD_DEFAULT, 'nvmlGetVgpuCompatibility') 

2385 if __nvmlGetVgpuCompatibility == NULL: 

2386 if handle == NULL: 

2387 handle = load_library() 

2388 __nvmlGetVgpuCompatibility = dlsym(handle, 'nvmlGetVgpuCompatibility') 

2389  

2390 global __nvmlDeviceGetPgpuMetadataString 

2391 __nvmlDeviceGetPgpuMetadataString = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPgpuMetadataString') 

2392 if __nvmlDeviceGetPgpuMetadataString == NULL: 

2393 if handle == NULL: 

2394 handle = load_library() 

2395 __nvmlDeviceGetPgpuMetadataString = dlsym(handle, 'nvmlDeviceGetPgpuMetadataString') 

2396  

2397 global __nvmlDeviceGetVgpuSchedulerLog 

2398 __nvmlDeviceGetVgpuSchedulerLog = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerLog') 

2399 if __nvmlDeviceGetVgpuSchedulerLog == NULL: 

2400 if handle == NULL: 

2401 handle = load_library() 

2402 __nvmlDeviceGetVgpuSchedulerLog = dlsym(handle, 'nvmlDeviceGetVgpuSchedulerLog') 

2403  

2404 global __nvmlDeviceGetVgpuSchedulerState 

2405 __nvmlDeviceGetVgpuSchedulerState = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerState') 

2406 if __nvmlDeviceGetVgpuSchedulerState == NULL: 

2407 if handle == NULL: 

2408 handle = load_library() 

2409 __nvmlDeviceGetVgpuSchedulerState = dlsym(handle, 'nvmlDeviceGetVgpuSchedulerState') 

2410  

2411 global __nvmlDeviceGetVgpuSchedulerCapabilities 

2412 __nvmlDeviceGetVgpuSchedulerCapabilities = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuSchedulerCapabilities') 

2413 if __nvmlDeviceGetVgpuSchedulerCapabilities == NULL: 

2414 if handle == NULL: 

2415 handle = load_library() 

2416 __nvmlDeviceGetVgpuSchedulerCapabilities = dlsym(handle, 'nvmlDeviceGetVgpuSchedulerCapabilities') 

2417  

2418 global __nvmlDeviceSetVgpuSchedulerState 

2419 __nvmlDeviceSetVgpuSchedulerState = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetVgpuSchedulerState') 

2420 if __nvmlDeviceSetVgpuSchedulerState == NULL: 

2421 if handle == NULL: 

2422 handle = load_library() 

2423 __nvmlDeviceSetVgpuSchedulerState = dlsym(handle, 'nvmlDeviceSetVgpuSchedulerState') 

2424  

2425 global __nvmlGetVgpuVersion 

2426 __nvmlGetVgpuVersion = dlsym(RTLD_DEFAULT, 'nvmlGetVgpuVersion') 

2427 if __nvmlGetVgpuVersion == NULL: 

2428 if handle == NULL: 

2429 handle = load_library() 

2430 __nvmlGetVgpuVersion = dlsym(handle, 'nvmlGetVgpuVersion') 

2431  

2432 global __nvmlSetVgpuVersion 

2433 __nvmlSetVgpuVersion = dlsym(RTLD_DEFAULT, 'nvmlSetVgpuVersion') 

2434 if __nvmlSetVgpuVersion == NULL: 

2435 if handle == NULL: 

2436 handle = load_library() 

2437 __nvmlSetVgpuVersion = dlsym(handle, 'nvmlSetVgpuVersion') 

2438  

2439 global __nvmlDeviceGetVgpuUtilization 

2440 __nvmlDeviceGetVgpuUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuUtilization') 

2441 if __nvmlDeviceGetVgpuUtilization == NULL: 

2442 if handle == NULL: 

2443 handle = load_library() 

2444 __nvmlDeviceGetVgpuUtilization = dlsym(handle, 'nvmlDeviceGetVgpuUtilization') 

2445  

2446 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

2447 __nvmlDeviceGetVgpuInstancesUtilizationInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuInstancesUtilizationInfo') 

2448 if __nvmlDeviceGetVgpuInstancesUtilizationInfo == NULL: 

2449 if handle == NULL: 

2450 handle = load_library() 

2451 __nvmlDeviceGetVgpuInstancesUtilizationInfo = dlsym(handle, 'nvmlDeviceGetVgpuInstancesUtilizationInfo') 

2452  

2453 global __nvmlDeviceGetVgpuProcessUtilization 

2454 __nvmlDeviceGetVgpuProcessUtilization = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuProcessUtilization') 

2455 if __nvmlDeviceGetVgpuProcessUtilization == NULL: 

2456 if handle == NULL: 

2457 handle = load_library() 

2458 __nvmlDeviceGetVgpuProcessUtilization = dlsym(handle, 'nvmlDeviceGetVgpuProcessUtilization') 

2459  

2460 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

2461 __nvmlDeviceGetVgpuProcessesUtilizationInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetVgpuProcessesUtilizationInfo') 

2462 if __nvmlDeviceGetVgpuProcessesUtilizationInfo == NULL: 

2463 if handle == NULL: 

2464 handle = load_library() 

2465 __nvmlDeviceGetVgpuProcessesUtilizationInfo = dlsym(handle, 'nvmlDeviceGetVgpuProcessesUtilizationInfo') 

2466  

2467 global __nvmlVgpuInstanceGetAccountingMode 

2468 __nvmlVgpuInstanceGetAccountingMode = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingMode') 

2469 if __nvmlVgpuInstanceGetAccountingMode == NULL: 

2470 if handle == NULL: 

2471 handle = load_library() 

2472 __nvmlVgpuInstanceGetAccountingMode = dlsym(handle, 'nvmlVgpuInstanceGetAccountingMode') 

2473  

2474 global __nvmlVgpuInstanceGetAccountingPids 

2475 __nvmlVgpuInstanceGetAccountingPids = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingPids') 

2476 if __nvmlVgpuInstanceGetAccountingPids == NULL: 

2477 if handle == NULL: 

2478 handle = load_library() 

2479 __nvmlVgpuInstanceGetAccountingPids = dlsym(handle, 'nvmlVgpuInstanceGetAccountingPids') 

2480  

2481 global __nvmlVgpuInstanceGetAccountingStats 

2482 __nvmlVgpuInstanceGetAccountingStats = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetAccountingStats') 

2483 if __nvmlVgpuInstanceGetAccountingStats == NULL: 

2484 if handle == NULL: 

2485 handle = load_library() 

2486 __nvmlVgpuInstanceGetAccountingStats = dlsym(handle, 'nvmlVgpuInstanceGetAccountingStats') 

2487  

2488 global __nvmlVgpuInstanceClearAccountingPids 

2489 __nvmlVgpuInstanceClearAccountingPids = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceClearAccountingPids') 

2490 if __nvmlVgpuInstanceClearAccountingPids == NULL: 

2491 if handle == NULL: 

2492 handle = load_library() 

2493 __nvmlVgpuInstanceClearAccountingPids = dlsym(handle, 'nvmlVgpuInstanceClearAccountingPids') 

2494  

2495 global __nvmlVgpuInstanceGetLicenseInfo_v2 

2496 __nvmlVgpuInstanceGetLicenseInfo_v2 = dlsym(RTLD_DEFAULT, 'nvmlVgpuInstanceGetLicenseInfo_v2') 

2497 if __nvmlVgpuInstanceGetLicenseInfo_v2 == NULL: 

2498 if handle == NULL: 

2499 handle = load_library() 

2500 __nvmlVgpuInstanceGetLicenseInfo_v2 = dlsym(handle, 'nvmlVgpuInstanceGetLicenseInfo_v2') 

2501  

2502 global __nvmlGetExcludedDeviceCount 

2503 __nvmlGetExcludedDeviceCount = dlsym(RTLD_DEFAULT, 'nvmlGetExcludedDeviceCount') 

2504 if __nvmlGetExcludedDeviceCount == NULL: 

2505 if handle == NULL: 

2506 handle = load_library() 

2507 __nvmlGetExcludedDeviceCount = dlsym(handle, 'nvmlGetExcludedDeviceCount') 

2508  

2509 global __nvmlGetExcludedDeviceInfoByIndex 

2510 __nvmlGetExcludedDeviceInfoByIndex = dlsym(RTLD_DEFAULT, 'nvmlGetExcludedDeviceInfoByIndex') 

2511 if __nvmlGetExcludedDeviceInfoByIndex == NULL: 

2512 if handle == NULL: 

2513 handle = load_library() 

2514 __nvmlGetExcludedDeviceInfoByIndex = dlsym(handle, 'nvmlGetExcludedDeviceInfoByIndex') 

2515  

2516 global __nvmlDeviceSetMigMode 

2517 __nvmlDeviceSetMigMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetMigMode') 

2518 if __nvmlDeviceSetMigMode == NULL: 

2519 if handle == NULL: 

2520 handle = load_library() 

2521 __nvmlDeviceSetMigMode = dlsym(handle, 'nvmlDeviceSetMigMode') 

2522  

2523 global __nvmlDeviceGetMigMode 

2524 __nvmlDeviceGetMigMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMigMode') 

2525 if __nvmlDeviceGetMigMode == NULL: 

2526 if handle == NULL: 

2527 handle = load_library() 

2528 __nvmlDeviceGetMigMode = dlsym(handle, 'nvmlDeviceGetMigMode') 

2529  

2530 global __nvmlDeviceGetGpuInstanceProfileInfoV 

2531 __nvmlDeviceGetGpuInstanceProfileInfoV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceProfileInfoV') 

2532 if __nvmlDeviceGetGpuInstanceProfileInfoV == NULL: 

2533 if handle == NULL: 

2534 handle = load_library() 2a g @ [ ] ^ _ { | ~ abbbcbdbebfbgbIbhbibJbjbkblbmbnbe t u L M j N O P Q R S T U V W X Y Z 0 1 KbMbNbObxb

2535 __nvmlDeviceGetGpuInstanceProfileInfoV = dlsym(handle, 'nvmlDeviceGetGpuInstanceProfileInfoV') 2a g @ [ ] ^ _ { | ~ abbbcbdbebfbgbIbhbibJbjbkblbmbnbe t u L M j N O P Q R S T U V W X Y Z 0 1 KbMbNbObxb

2536  

2537 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

2538 __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstancePossiblePlacements_v2') 2a g @ [ ] ^ _ { | ~ abbbcbdbebfbgbIbhbibJbjbkblbmbnbe t u L M j N O P Q R S T U V W X Y Z 0 1 KbMbNbObxb

2539 if __nvmlDeviceGetGpuInstancePossiblePlacements_v2 == NULL: 

2540 if handle == NULL: 

2541 handle = load_library() 

2542 __nvmlDeviceGetGpuInstancePossiblePlacements_v2 = dlsym(handle, 'nvmlDeviceGetGpuInstancePossiblePlacements_v2') 

2543  

2544 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

2545 __nvmlDeviceGetGpuInstanceRemainingCapacity = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceRemainingCapacity') 

2546 if __nvmlDeviceGetGpuInstanceRemainingCapacity == NULL: 

2547 if handle == NULL: 

2548 handle = load_library() 

2549 __nvmlDeviceGetGpuInstanceRemainingCapacity = dlsym(handle, 'nvmlDeviceGetGpuInstanceRemainingCapacity') 

2550  

2551 global __nvmlDeviceCreateGpuInstance 

2552 __nvmlDeviceCreateGpuInstance = dlsym(RTLD_DEFAULT, 'nvmlDeviceCreateGpuInstance') 

2553 if __nvmlDeviceCreateGpuInstance == NULL: 

2554 if handle == NULL: 2a g ?b[b^b_b`b{b|b}bacbcccdcecfcgchcickclcncocpcqcrcscucvcwcxcj yczcAcBcCcDcEcFcGcHcIcJcKcLcMcNcPcQcScUc

2555 handle = load_library() 2a g ?b[b^b_b`b{b|b}bacbcccdcecfcgchcickclcncocpcqcrcscucvcwcxcj yczcAcBcCcDcEcFcGcHcIcJcKcLcMcNcPcQcScUc

2556 __nvmlDeviceCreateGpuInstance = dlsym(handle, 'nvmlDeviceCreateGpuInstance') 

2557  

2558 global __nvmlDeviceCreateGpuInstanceWithPlacement 

2559 __nvmlDeviceCreateGpuInstanceWithPlacement = dlsym(RTLD_DEFAULT, 'nvmlDeviceCreateGpuInstanceWithPlacement') 

2560 if __nvmlDeviceCreateGpuInstanceWithPlacement == NULL: 

2561 if handle == NULL: 

2562 handle = load_library() 

2563 __nvmlDeviceCreateGpuInstanceWithPlacement = dlsym(handle, 'nvmlDeviceCreateGpuInstanceWithPlacement') 

2564  

2565 global __nvmlGpuInstanceDestroy 

2566 __nvmlGpuInstanceDestroy = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceDestroy') 

2567 if __nvmlGpuInstanceDestroy == NULL: 

2568 if handle == NULL: 2x y H , D I J E sbz s o h k b d l f

2569 handle = load_library() 

2570 __nvmlGpuInstanceDestroy = dlsym(handle, 'nvmlGpuInstanceDestroy') 

2571  

2572 global __nvmlDeviceGetGpuInstances 

2573 __nvmlDeviceGetGpuInstances = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstances') 

2574 if __nvmlDeviceGetGpuInstances == NULL: 2a RcWc

2575 if handle == NULL: 2RcWc

2576 handle = load_library() 

2577 __nvmlDeviceGetGpuInstances = dlsym(handle, 'nvmlDeviceGetGpuInstances') 

2578  

2579 global __nvmlDeviceGetGpuInstanceById 

2580 __nvmlDeviceGetGpuInstanceById = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceById') 

2581 if __nvmlDeviceGetGpuInstanceById == NULL: 

2582 if handle == NULL: 

2583 handle = load_library() 

2584 __nvmlDeviceGetGpuInstanceById = dlsym(handle, 'nvmlDeviceGetGpuInstanceById') 2TcXc

2585  

2586 global __nvmlGpuInstanceGetInfo 

2587 __nvmlGpuInstanceGetInfo = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetInfo') 

2588 if __nvmlGpuInstanceGetInfo == NULL: 2a TcXc

2589 if handle == NULL: 

2590 handle = load_library() 

2591 __nvmlGpuInstanceGetInfo = dlsym(handle, 'nvmlGpuInstanceGetInfo') 

2592  

2593 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

2594 __nvmlGpuInstanceGetComputeInstanceProfileInfoV = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceProfileInfoV') 2a LbQbTb

2595 if __nvmlGpuInstanceGetComputeInstanceProfileInfoV == NULL: 2a LbQbTb

2596 if handle == NULL: 

2597 handle = load_library() 

2598 __nvmlGpuInstanceGetComputeInstanceProfileInfoV = dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceProfileInfoV') 2a LbQbTb

2599  

2600 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

2601 __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceRemainingCapacity') 

2602 if __nvmlGpuInstanceGetComputeInstanceRemainingCapacity == NULL: 

2603 if handle == NULL: 

2604 handle = load_library() 

2605 __nvmlGpuInstanceGetComputeInstanceRemainingCapacity = dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceRemainingCapacity') 

2606  

2607 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

2608 __nvmlGpuInstanceGetComputeInstancePossiblePlacements = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstancePossiblePlacements') 

2609 if __nvmlGpuInstanceGetComputeInstancePossiblePlacements == NULL: 

2610 if handle == NULL: 

2611 handle = load_library() 

2612 __nvmlGpuInstanceGetComputeInstancePossiblePlacements = dlsym(handle, 'nvmlGpuInstanceGetComputeInstancePossiblePlacements') 

2613  

2614 global __nvmlGpuInstanceCreateComputeInstance 

2615 __nvmlGpuInstanceCreateComputeInstance = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceCreateComputeInstance') 2a OcVc

2616 if __nvmlGpuInstanceCreateComputeInstance == NULL: 

2617 if handle == NULL: 

2618 handle = load_library() 2OcVc

2619 __nvmlGpuInstanceCreateComputeInstance = dlsym(handle, 'nvmlGpuInstanceCreateComputeInstance') 

2620  

2621 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

2622 __nvmlGpuInstanceCreateComputeInstanceWithPlacement = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceCreateComputeInstanceWithPlacement') 

2623 if __nvmlGpuInstanceCreateComputeInstanceWithPlacement == NULL: 

2624 if handle == NULL: 

2625 handle = load_library() 

2626 __nvmlGpuInstanceCreateComputeInstanceWithPlacement = dlsym(handle, 'nvmlGpuInstanceCreateComputeInstanceWithPlacement') 

2627  

2628 global __nvmlComputeInstanceDestroy 

2629 __nvmlComputeInstanceDestroy = dlsym(RTLD_DEFAULT, 'nvmlComputeInstanceDestroy') 

2630 if __nvmlComputeInstanceDestroy == NULL: 

2631 if handle == NULL: 

2632 handle = load_library() 

2633 __nvmlComputeInstanceDestroy = dlsym(handle, 'nvmlComputeInstanceDestroy') 

2634  

2635 global __nvmlGpuInstanceGetComputeInstances 

2636 __nvmlGpuInstanceGetComputeInstances = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstances') 

2637 if __nvmlGpuInstanceGetComputeInstances == NULL: 

2638 if handle == NULL: 

2639 handle = load_library() 

2640 __nvmlGpuInstanceGetComputeInstances = dlsym(handle, 'nvmlGpuInstanceGetComputeInstances') 

2641  

2642 global __nvmlGpuInstanceGetComputeInstanceById 

2643 __nvmlGpuInstanceGetComputeInstanceById = dlsym(RTLD_DEFAULT, 'nvmlGpuInstanceGetComputeInstanceById') 

2644 if __nvmlGpuInstanceGetComputeInstanceById == NULL: 2a xb

2645 if handle == NULL: 2a xb

2646 handle = load_library() 

2647 __nvmlGpuInstanceGetComputeInstanceById = dlsym(handle, 'nvmlGpuInstanceGetComputeInstanceById') 

2648  

2649 global __nvmlComputeInstanceGetInfo_v2 

2650 __nvmlComputeInstanceGetInfo_v2 = dlsym(RTLD_DEFAULT, 'nvmlComputeInstanceGetInfo_v2') 

2651 if __nvmlComputeInstanceGetInfo_v2 == NULL: 

2652 if handle == NULL: 

2653 handle = load_library() 

2654 __nvmlComputeInstanceGetInfo_v2 = dlsym(handle, 'nvmlComputeInstanceGetInfo_v2') 

2655  

2656 global __nvmlDeviceIsMigDeviceHandle 

2657 __nvmlDeviceIsMigDeviceHandle = dlsym(RTLD_DEFAULT, 'nvmlDeviceIsMigDeviceHandle') 

2658 if __nvmlDeviceIsMigDeviceHandle == NULL: 

2659 if handle == NULL: 

2660 handle = load_library() 

2661 __nvmlDeviceIsMigDeviceHandle = dlsym(handle, 'nvmlDeviceIsMigDeviceHandle') 

2662  

2663 global __nvmlDeviceGetGpuInstanceId 

2664 __nvmlDeviceGetGpuInstanceId = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceId') 

2665 if __nvmlDeviceGetGpuInstanceId == NULL: 

2666 if handle == NULL: 

2667 handle = load_library() 

2668 __nvmlDeviceGetGpuInstanceId = dlsym(handle, 'nvmlDeviceGetGpuInstanceId') 

2669  

2670 global __nvmlDeviceGetComputeInstanceId 

2671 __nvmlDeviceGetComputeInstanceId = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetComputeInstanceId') 

2672 if __nvmlDeviceGetComputeInstanceId == NULL: 

2673 if handle == NULL: 

2674 handle = load_library() 

2675 __nvmlDeviceGetComputeInstanceId = dlsym(handle, 'nvmlDeviceGetComputeInstanceId') 

2676  

2677 global __nvmlDeviceGetMaxMigDeviceCount 

2678 __nvmlDeviceGetMaxMigDeviceCount = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMaxMigDeviceCount') 

2679 if __nvmlDeviceGetMaxMigDeviceCount == NULL: 

2680 if handle == NULL: 

2681 handle = load_library() 

2682 __nvmlDeviceGetMaxMigDeviceCount = dlsym(handle, 'nvmlDeviceGetMaxMigDeviceCount') 

2683  

2684 global __nvmlDeviceGetMigDeviceHandleByIndex 

2685 __nvmlDeviceGetMigDeviceHandleByIndex = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetMigDeviceHandleByIndex') 

2686 if __nvmlDeviceGetMigDeviceHandleByIndex == NULL: 

2687 if handle == NULL: 

2688 handle = load_library() 

2689 __nvmlDeviceGetMigDeviceHandleByIndex = dlsym(handle, 'nvmlDeviceGetMigDeviceHandleByIndex') 

2690  

2691 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

2692 __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetDeviceHandleFromMigDeviceHandle') 

2693 if __nvmlDeviceGetDeviceHandleFromMigDeviceHandle == NULL: 

2694 if handle == NULL: 

2695 handle = load_library() 

2696 __nvmlDeviceGetDeviceHandleFromMigDeviceHandle = dlsym(handle, 'nvmlDeviceGetDeviceHandleFromMigDeviceHandle') 

2697  

2698 global __nvmlDeviceGetCapabilities 

2699 __nvmlDeviceGetCapabilities = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetCapabilities') 

2700 if __nvmlDeviceGetCapabilities == NULL: 

2701 if handle == NULL: 

2702 handle = load_library() 

2703 __nvmlDeviceGetCapabilities = dlsym(handle, 'nvmlDeviceGetCapabilities') 

2704  

2705 global __nvmlDevicePowerSmoothingActivatePresetProfile 

2706 __nvmlDevicePowerSmoothingActivatePresetProfile = dlsym(RTLD_DEFAULT, 'nvmlDevicePowerSmoothingActivatePresetProfile') 

2707 if __nvmlDevicePowerSmoothingActivatePresetProfile == NULL: 

2708 if handle == NULL: 

2709 handle = load_library() 

2710 __nvmlDevicePowerSmoothingActivatePresetProfile = dlsym(handle, 'nvmlDevicePowerSmoothingActivatePresetProfile') 

2711  

2712 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

2713 __nvmlDevicePowerSmoothingUpdatePresetProfileParam = dlsym(RTLD_DEFAULT, 'nvmlDevicePowerSmoothingUpdatePresetProfileParam') 

2714 if __nvmlDevicePowerSmoothingUpdatePresetProfileParam == NULL: 

2715 if handle == NULL: 

2716 handle = load_library() 

2717 __nvmlDevicePowerSmoothingUpdatePresetProfileParam = dlsym(handle, 'nvmlDevicePowerSmoothingUpdatePresetProfileParam') 

2718  

2719 global __nvmlDevicePowerSmoothingSetState 

2720 __nvmlDevicePowerSmoothingSetState = dlsym(RTLD_DEFAULT, 'nvmlDevicePowerSmoothingSetState') 

2721 if __nvmlDevicePowerSmoothingSetState == NULL: 

2722 if handle == NULL: 

2723 handle = load_library() 

2724 __nvmlDevicePowerSmoothingSetState = dlsym(handle, 'nvmlDevicePowerSmoothingSetState') 

2725  

2726 global __nvmlDeviceGetAddressingMode 

2727 __nvmlDeviceGetAddressingMode = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetAddressingMode') 

2728 if __nvmlDeviceGetAddressingMode == NULL: 

2729 if handle == NULL: 

2730 handle = load_library() 

2731 __nvmlDeviceGetAddressingMode = dlsym(handle, 'nvmlDeviceGetAddressingMode') 

2732  

2733 global __nvmlDeviceGetRepairStatus 

2734 __nvmlDeviceGetRepairStatus = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetRepairStatus') 2a FbGbHbg i K e t u L M j N O P Q R S T U V W X Y Z 0 1 o h k q b * $ A 2 Pb% B 3 p c v ' ( $cF + m d 4 C l n w f G RbSbUbVbWbXbYbvbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b

2735 if __nvmlDeviceGetRepairStatus == NULL: 2a FbGbHbg i K e t u L M j N O P Q R S T U V W X Y Z 0 1 o h k q b * $ A 2 Pb% B 3 p c v ' ( $cF + m d 4 C l n w f G RbSbUbVbWbXbYbvbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b

2736 if handle == NULL: 

2737 handle = load_library() 

2738 __nvmlDeviceGetRepairStatus = dlsym(handle, 'nvmlDeviceGetRepairStatus') 2FbGbHbg i K e t u L M j N O P Q R S T U V W X Y Z 0 1 o h k q b * $ A 2 Pb% B 3 p c v ' ( $cF + m d 4 C l n w f G RbSbUbVbWbXbYbvbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b

2739  

2740 global __nvmlDeviceGetPowerMizerMode_v1 

2741 __nvmlDeviceGetPowerMizerMode_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPowerMizerMode_v1') 

2742 if __nvmlDeviceGetPowerMizerMode_v1 == NULL: 

2743 if handle == NULL: 

2744 handle = load_library() 

2745 __nvmlDeviceGetPowerMizerMode_v1 = dlsym(handle, 'nvmlDeviceGetPowerMizerMode_v1') 

2746  

2747 global __nvmlDeviceSetPowerMizerMode_v1 

2748 __nvmlDeviceSetPowerMizerMode_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetPowerMizerMode_v1') 

2749 if __nvmlDeviceSetPowerMizerMode_v1 == NULL: 

2750 if handle == NULL: 

2751 handle = load_library() 

2752 __nvmlDeviceSetPowerMizerMode_v1 = dlsym(handle, 'nvmlDeviceSetPowerMizerMode_v1') 

2753  

2754 global __nvmlDeviceGetPdi 

2755 __nvmlDeviceGetPdi = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetPdi') 1agiKetuLMjNOPQRSTUVWXYZ01ohkqb*$A2%B3pcv'(F+md4ClnwfG

2756 if __nvmlDeviceGetPdi == NULL: 

2757 if handle == NULL: 

2758 handle = load_library() 1giKetuLMjNOPQRSTUVWXYZ01ohkqb*$A2%B3pcv'(F+md4ClnwfG

2759 __nvmlDeviceGetPdi = dlsym(handle, 'nvmlDeviceGetPdi') 

2760  

2761 global __nvmlDeviceSetHostname_v1 

2762 __nvmlDeviceSetHostname_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetHostname_v1') 

2763 if __nvmlDeviceSetHostname_v1 == NULL: 

2764 if handle == NULL: 

2765 handle = load_library() 

2766 __nvmlDeviceSetHostname_v1 = dlsym(handle, 'nvmlDeviceSetHostname_v1') 

2767  

2768 global __nvmlDeviceGetHostname_v1 

2769 __nvmlDeviceGetHostname_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetHostname_v1') 

2770 if __nvmlDeviceGetHostname_v1 == NULL: 

2771 if handle == NULL: 

2772 handle = load_library() 

2773 __nvmlDeviceGetHostname_v1 = dlsym(handle, 'nvmlDeviceGetHostname_v1') 

2774  

2775 global __nvmlDeviceGetNvLinkInfo 

2776 __nvmlDeviceGetNvLinkInfo = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetNvLinkInfo') 

2777 if __nvmlDeviceGetNvLinkInfo == NULL: 

2778 if handle == NULL: 2@ [ ] ^ _ { | ~ abbbcbdbebfbgbhbibjbkblbmbnb3c/

2779 handle = load_library() 

2780 __nvmlDeviceGetNvLinkInfo = dlsym(handle, 'nvmlDeviceGetNvLinkInfo') 

2781  

2782 global __nvmlDeviceReadWritePRM_v1 

2783 __nvmlDeviceReadWritePRM_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceReadWritePRM_v1') 

2784 if __nvmlDeviceReadWritePRM_v1 == NULL: 1a`

2785 if handle == NULL: 1`

2786 handle = load_library() 

2787 __nvmlDeviceReadWritePRM_v1 = dlsym(handle, 'nvmlDeviceReadWritePRM_v1') 

2788  

2789 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

2790 __nvmlDeviceGetGpuInstanceProfileInfoByIdV = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetGpuInstanceProfileInfoByIdV') 

2791 if __nvmlDeviceGetGpuInstanceProfileInfoByIdV == NULL: 

2792 if handle == NULL: 

2793 handle = load_library() 

2794 __nvmlDeviceGetGpuInstanceProfileInfoByIdV = dlsym(handle, 'nvmlDeviceGetGpuInstanceProfileInfoByIdV') 2tcp

2795  

2796 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

2797 __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts') 

2798 if __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts == NULL: 2a tcp

2799 if handle == NULL: 

2800 handle = load_library() 

2801 __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts = dlsym(handle, 'nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts') 

2802  

2803 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

2804 __nvmlDeviceGetUnrepairableMemoryFlag_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceGetUnrepairableMemoryFlag_v1') 1agxyHDIJzsjohkb3lf

2805 if __nvmlDeviceGetUnrepairableMemoryFlag_v1 == NULL: 1agxyHDIJzsjohkb3lf

2806 if handle == NULL: 

2807 handle = load_library() 

2808 __nvmlDeviceGetUnrepairableMemoryFlag_v1 = dlsym(handle, 'nvmlDeviceGetUnrepairableMemoryFlag_v1') 1agxyHDIJzsjohkb3lf

2809  

2810 global __nvmlDeviceReadPRMCounters_v1 

2811 __nvmlDeviceReadPRMCounters_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceReadPRMCounters_v1') 

2812 if __nvmlDeviceReadPRMCounters_v1 == NULL: 

2813 if handle == NULL: 

2814 handle = load_library() 12

2815 __nvmlDeviceReadPRMCounters_v1 = dlsym(handle, 'nvmlDeviceReadPRMCounters_v1') 12

2816  

2817 global __nvmlDeviceSetRusdSettings_v1 

2818 __nvmlDeviceSetRusdSettings_v1 = dlsym(RTLD_DEFAULT, 'nvmlDeviceSetRusdSettings_v1') 1a2

2819 if __nvmlDeviceSetRusdSettings_v1 == NULL: 

2820 if handle == NULL: 

2821 handle = load_library() 

2822 __nvmlDeviceSetRusdSettings_v1 = dlsym(handle, 'nvmlDeviceSetRusdSettings_v1') 

2823  

2824 __py_nvml_init = True 1aKp4

2825 return 0 1aKp4

2826  

2827  

2828cdef inline int _check_or_init_nvml() except -1 nogil: 1aKp4

2829 if __py_nvml_init: 2a FbGbHb: Yc4cg wb@ ?b@b[ [b]b] ^brb^ _bx _ `b` { {by | |b} ~ }b~babacH bbbc, cbccD dbdcebecI fbfcJ gbgci Ibhc) hbicjcibkcK Jblc; mcjbncE kbocsblbpcz mbqcs nbrce scZcyb5c0czb6ctct uc3cu vc1cAb7c2cBb8ctbL wc6 M xc7 j yc8 N zc9 O Ac! P Bc# Q CcR DcS EcT FcU GcV HcW IcX JcobY KcpbZ Lcub0 Mcqb1 NcOcKbPcLbMbQcRcNbScTcObUco - h k q b * $ 5 A 2 Pb= % B 3 p c v ' ( F + m 9cCbd DbEb!c#c4 C l ? n r w f G . QbRbSbTbxbVcWcUbXcVb/ WbXbYbvbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b

2830 return 0 2a FbGbHb: Yc4cg wb@ ?b@b[ [b]b] ^brb^ _bx _ `b` { {by | |b} ~ }b~babacH bbbc, cbccD dbdcebecI fbfcJ gbgci Ibhc) hbicjcibkcK Jblc; mcjbncE kbocsblbpcz mbqcs nbrce scZcyb5c0czb6ctct uc3cu vc1cAb7c2cBb8ctbL wc6 M xc7 j yc8 N zc9 O Ac! P Bc# Q CcR DcS EcT FcU GcV HcW IcX JcobY KcpbZ Lcub0 Mcqb1 NcOcKbPcLbMbQcRcNbScTcObUco - h k q b * $ 5 A 2 Pb= % B 3 p c v ' ( F + m 9cCbd DbEb!c#c4 C l ? n r w f G . QbRbSbTbxbVcWcUbXcVb/ WbXbYbvbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b

2831  

2832 return _init_nvml() 

2833  

2834  

2835cdef dict func_ptrs = None 1ajv

2836  

2837  

2838cpdef dict _inspect_function_pointers(): 1ajv

2839 global func_ptrs 

2840 if func_ptrs is not None: 

2841 return func_ptrs 

2842  

2843 _check_or_init_nvml() 

2844 cdef dict data = {} 1iC

2845  

2846 global __nvmlInit_v2 

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

2848  

2849 global __nvmlInitWithFlags 

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

2851  

2852 global __nvmlShutdown 

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

2854  

2855 global __nvmlErrorString 

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

2857  

2858 global __nvmlSystemGetDriverVersion 

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

2860  

2861 global __nvmlSystemGetNVMLVersion 

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

2863  

2864 global __nvmlSystemGetCudaDriverVersion 

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

2866  

2867 global __nvmlSystemGetCudaDriverVersion_v2 

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

2869  

2870 global __nvmlSystemGetProcessName 

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

2872  

2873 global __nvmlSystemGetHicVersion 

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

2875  

2876 global __nvmlSystemGetTopologyGpuSet 

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

2878  

2879 global __nvmlSystemGetDriverBranch 

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

2881  

2882 global __nvmlUnitGetCount 

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

2884  

2885 global __nvmlUnitGetHandleByIndex 

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

2887  

2888 global __nvmlUnitGetUnitInfo 

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

2890  

2891 global __nvmlUnitGetLedState 

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

2893  

2894 global __nvmlUnitGetPsuInfo 

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

2896  

2897 global __nvmlUnitGetTemperature 

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

2899  

2900 global __nvmlUnitGetFanSpeedInfo 

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

2902  

2903 global __nvmlUnitGetDevices 

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

2905  

2906 global __nvmlDeviceGetCount_v2 

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

2908  

2909 global __nvmlDeviceGetAttributes_v2 

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

2911  

2912 global __nvmlDeviceGetHandleByIndex_v2 

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

2914  

2915 global __nvmlDeviceGetHandleBySerial 

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

2917  

2918 global __nvmlDeviceGetHandleByUUID 

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

2920  

2921 global __nvmlDeviceGetHandleByUUIDV 

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

2923  

2924 global __nvmlDeviceGetHandleByPciBusId_v2 

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

2926  

2927 global __nvmlDeviceGetName 

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

2929  

2930 global __nvmlDeviceGetBrand 

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

2932  

2933 global __nvmlDeviceGetIndex 

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

2935  

2936 global __nvmlDeviceGetSerial 

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

2938  

2939 global __nvmlDeviceGetModuleId 

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

2941  

2942 global __nvmlDeviceGetC2cModeInfoV 

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

2944  

2945 global __nvmlDeviceGetMemoryAffinity 

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

2947  

2948 global __nvmlDeviceGetCpuAffinityWithinScope 

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

2950  

2951 global __nvmlDeviceGetCpuAffinity 

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

2953  

2954 global __nvmlDeviceSetCpuAffinity 

2955 data["__nvmlDeviceSetCpuAffinity"] = <intptr_t>__nvmlDeviceSetCpuAffinity 1`iuj'G/

2956  

2957 global __nvmlDeviceClearCpuAffinity 

2958 data["__nvmlDeviceClearCpuAffinity"] = <intptr_t>__nvmlDeviceClearCpuAffinity 1`iuj'G/

2959  

2960 global __nvmlDeviceGetNumaNodeId 

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

2962  

2963 global __nvmlDeviceGetTopologyCommonAncestor 

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

2965  

2966 global __nvmlDeviceGetTopologyNearestGpus 

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

2968  

2969 global __nvmlDeviceGetP2PStatus 

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

2971  

2972 global __nvmlDeviceGetUUID 

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

2974  

2975 global __nvmlDeviceGetMinorNumber 

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

2977  

2978 global __nvmlDeviceGetBoardPartNumber 

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

2980  

2981 global __nvmlDeviceGetInforomVersion 

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

2983  

2984 global __nvmlDeviceGetInforomImageVersion 

2985 data["__nvmlDeviceGetInforomImageVersion"] = <intptr_t>__nvmlDeviceGetInforomImageVersion 1d

2986  

2987 global __nvmlDeviceGetInforomConfigurationChecksum 

2988 data["__nvmlDeviceGetInforomConfigurationChecksum"] = <intptr_t>__nvmlDeviceGetInforomConfigurationChecksum 1d

2989  

2990 global __nvmlDeviceValidateInforom 

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

2992  

2993 global __nvmlDeviceGetLastBBXFlushTime 

2994 data["__nvmlDeviceGetLastBBXFlushTime"] = <intptr_t>__nvmlDeviceGetLastBBXFlushTime 1d

2995  

2996 global __nvmlDeviceGetDisplayMode 

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

2998  

2999 global __nvmlDeviceGetDisplayActive 

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

3001  

3002 global __nvmlDeviceGetPersistenceMode 

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

3004  

3005 global __nvmlDeviceGetPciInfoExt 

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

3007  

3008 global __nvmlDeviceGetPciInfo_v3 

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

3010  

3011 global __nvmlDeviceGetMaxPcieLinkGeneration 

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

3013  

3014 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

3015 data["__nvmlDeviceGetGpuMaxPcieLinkGeneration"] = <intptr_t>__nvmlDeviceGetGpuMaxPcieLinkGeneration 1d

3016  

3017 global __nvmlDeviceGetMaxPcieLinkWidth 

3018 data["__nvmlDeviceGetMaxPcieLinkWidth"] = <intptr_t>__nvmlDeviceGetMaxPcieLinkWidth 1d

3019  

3020 global __nvmlDeviceGetCurrPcieLinkGeneration 

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

3022  

3023 global __nvmlDeviceGetCurrPcieLinkWidth 

3024 data["__nvmlDeviceGetCurrPcieLinkWidth"] = <intptr_t>__nvmlDeviceGetCurrPcieLinkWidth 1d

3025  

3026 global __nvmlDeviceGetPcieThroughput 

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

3028  

3029 global __nvmlDeviceGetPcieReplayCounter 

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

3031  

3032 global __nvmlDeviceGetClockInfo 

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

3034  

3035 global __nvmlDeviceGetMaxClockInfo 

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

3037  

3038 global __nvmlDeviceGetGpcClkVfOffset 

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

3040  

3041 global __nvmlDeviceGetClock 

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

3043  

3044 global __nvmlDeviceGetMaxCustomerBoostClock 

3045 data["__nvmlDeviceGetMaxCustomerBoostClock"] = <intptr_t>__nvmlDeviceGetMaxCustomerBoostClock 1F

3046  

3047 global __nvmlDeviceGetSupportedMemoryClocks 

3048 data["__nvmlDeviceGetSupportedMemoryClocks"] = <intptr_t>__nvmlDeviceGetSupportedMemoryClocks 1F

3049  

3050 global __nvmlDeviceGetSupportedGraphicsClocks 

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

3052  

3053 global __nvmlDeviceGetAutoBoostedClocksEnabled 

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

3055  

3056 global __nvmlDeviceGetFanSpeed 

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

3058  

3059 global __nvmlDeviceGetFanSpeed_v2 

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

3061  

3062 global __nvmlDeviceGetFanSpeedRPM 

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

3064  

3065 global __nvmlDeviceGetTargetFanSpeed 

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

3067  

3068 global __nvmlDeviceGetMinMaxFanSpeed 

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

3070  

3071 global __nvmlDeviceGetFanControlPolicy_v2 

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

3073  

3074 global __nvmlDeviceGetNumFans 

3075 data["__nvmlDeviceGetNumFans"] = <intptr_t>__nvmlDeviceGetNumFans 1gstj

3076  

3077 global __nvmlDeviceGetCoolerInfo 

3078 data["__nvmlDeviceGetCoolerInfo"] = <intptr_t>__nvmlDeviceGetCoolerInfo 1gstj

3079  

3080 global __nvmlDeviceGetTemperatureV 

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

3082  

3083 global __nvmlDeviceGetTemperatureThreshold 

3084 data["__nvmlDeviceGetTemperatureThreshold"] = <intptr_t>__nvmlDeviceGetTemperatureThreshold 1c

3085  

3086 global __nvmlDeviceGetMarginTemperature 

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

3088  

3089 global __nvmlDeviceGetThermalSettings 

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

3091  

3092 global __nvmlDeviceGetPerformanceState 

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

3094  

3095 global __nvmlDeviceGetCurrentClocksEventReasons 

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

3097  

3098 global __nvmlDeviceGetSupportedClocksEventReasons 

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

3100  

3101 global __nvmlDeviceGetPowerState 

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

3103  

3104 global __nvmlDeviceGetDynamicPstatesInfo 

3105 data["__nvmlDeviceGetDynamicPstatesInfo"] = <intptr_t>__nvmlDeviceGetDynamicPstatesInfo 1c

3106  

3107 global __nvmlDeviceGetMemClkVfOffset 

3108 data["__nvmlDeviceGetMemClkVfOffset"] = <intptr_t>__nvmlDeviceGetMemClkVfOffset 1c

3109  

3110 global __nvmlDeviceGetMinMaxClockOfPState 

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

3112  

3113 global __nvmlDeviceGetSupportedPerformanceStates 

3114 data["__nvmlDeviceGetSupportedPerformanceStates"] = <intptr_t>__nvmlDeviceGetSupportedPerformanceStates 1c

3115  

3116 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

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

3118  

3119 global __nvmlDeviceGetMemClkMinMaxVfOffset 

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

3121  

3122 global __nvmlDeviceGetClockOffsets 

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

3124  

3125 global __nvmlDeviceSetClockOffsets 

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

3127  

3128 global __nvmlDeviceGetPerformanceModes 

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

3130  

3131 global __nvmlDeviceGetCurrentClockFreqs 

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

3133  

3134 global __nvmlDeviceGetPowerManagementLimit 

3135 data["__nvmlDeviceGetPowerManagementLimit"] = <intptr_t>__nvmlDeviceGetPowerManagementLimit 2obc

3136  

3137 global __nvmlDeviceGetPowerManagementLimitConstraints 

3138 data["__nvmlDeviceGetPowerManagementLimitConstraints"] = <intptr_t>__nvmlDeviceGetPowerManagementLimitConstraints 2obc

3139  

3140 global __nvmlDeviceGetPowerManagementDefaultLimit 

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

3142  

3143 global __nvmlDeviceGetPowerUsage 

3144 data["__nvmlDeviceGetPowerUsage"] = <intptr_t>__nvmlDeviceGetPowerUsage 1c

3145  

3146 global __nvmlDeviceGetTotalEnergyConsumption 

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

3148  

3149 global __nvmlDeviceGetEnforcedPowerLimit 

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

3151  

3152 global __nvmlDeviceGetGpuOperationMode 

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

3154  

3155 global __nvmlDeviceGetMemoryInfo_v2 

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

3157  

3158 global __nvmlDeviceGetComputeMode 

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

3160  

3161 global __nvmlDeviceGetCudaComputeCapability 

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

3163  

3164 global __nvmlDeviceGetDramEncryptionMode 

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

3166  

3167 global __nvmlDeviceSetDramEncryptionMode 

3168 data["__nvmlDeviceSetDramEncryptionMode"] = <intptr_t>__nvmlDeviceSetDramEncryptionMode 1b

3169  

3170 global __nvmlDeviceGetEccMode 

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

3172  

3173 global __nvmlDeviceGetDefaultEccMode 

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

3175  

3176 global __nvmlDeviceGetBoardId 

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

3178  

3179 global __nvmlDeviceGetMultiGpuBoard 

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

3181  

3182 global __nvmlDeviceGetTotalEccErrors 

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

3184  

3185 global __nvmlDeviceGetMemoryErrorCounter 

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

3187  

3188 global __nvmlDeviceGetUtilizationRates 

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

3190  

3191 global __nvmlDeviceGetEncoderUtilization 

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

3193  

3194 global __nvmlDeviceGetEncoderCapacity 

3195 data["__nvmlDeviceGetEncoderCapacity"] = <intptr_t>__nvmlDeviceGetEncoderCapacity 1b

3196  

3197 global __nvmlDeviceGetEncoderStats 

3198 data["__nvmlDeviceGetEncoderStats"] = <intptr_t>__nvmlDeviceGetEncoderStats 1b

3199  

3200 global __nvmlDeviceGetEncoderSessions 

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

3202  

3203 global __nvmlDeviceGetDecoderUtilization 

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

3205  

3206 global __nvmlDeviceGetJpgUtilization 

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

3208  

3209 global __nvmlDeviceGetOfaUtilization 

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

3211  

3212 global __nvmlDeviceGetFBCStats 

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

3214  

3215 global __nvmlDeviceGetFBCSessions 

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

3217  

3218 global __nvmlDeviceGetDriverModel_v2 

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

3220  

3221 global __nvmlDeviceGetVbiosVersion 

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

3223  

3224 global __nvmlDeviceGetBridgeChipInfo 

3225 data["__nvmlDeviceGetBridgeChipInfo"] = <intptr_t>__nvmlDeviceGetBridgeChipInfo 1h

3226  

3227 global __nvmlDeviceGetComputeRunningProcesses_v3 

3228 data["__nvmlDeviceGetComputeRunningProcesses_v3"] = <intptr_t>__nvmlDeviceGetComputeRunningProcesses_v3 1h

3229  

3230 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

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

3232  

3233 global __nvmlDeviceGetRunningProcessDetailList 

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

3235  

3236 global __nvmlDeviceOnSameBoard 

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

3238  

3239 global __nvmlDeviceGetAPIRestriction 

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

3241  

3242 global __nvmlDeviceGetSamples 

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

3244  

3245 global __nvmlDeviceGetBAR1MemoryInfo 

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

3247  

3248 global __nvmlDeviceGetIrqNum 

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

3250  

3251 global __nvmlDeviceGetNumGpuCores 

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

3253  

3254 global __nvmlDeviceGetPowerSource 

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

3256  

3257 global __nvmlDeviceGetMemoryBusWidth 

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

3259  

3260 global __nvmlDeviceGetPcieLinkMaxSpeed 

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

3262  

3263 global __nvmlDeviceGetPcieSpeed 

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

3265  

3266 global __nvmlDeviceGetAdaptiveClockInfoStatus 

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

3268  

3269 global __nvmlDeviceGetBusType 

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

3271  

3272 global __nvmlDeviceGetGpuFabricInfoV 

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

3274  

3275 global __nvmlSystemGetConfComputeCapabilities 

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

3277  

3278 global __nvmlSystemGetConfComputeState 

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

3280  

3281 global __nvmlDeviceGetConfComputeMemSizeInfo 

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

3283  

3284 global __nvmlSystemGetConfComputeGpusReadyState 

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

3286  

3287 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

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

3289  

3290 global __nvmlDeviceGetConfComputeGpuCertificate 

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

3292  

3293 global __nvmlDeviceGetConfComputeGpuAttestationReport 

3294 data["__nvmlDeviceGetConfComputeGpuAttestationReport"] = <intptr_t>__nvmlDeviceGetConfComputeGpuAttestationReport 1*+

3295  

3296 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

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

3298  

3299 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

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

3301  

3302 global __nvmlSystemSetConfComputeGpusReadyState 

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

3304  

3305 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

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

3307  

3308 global __nvmlSystemGetConfComputeSettings 

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

3310  

3311 global __nvmlDeviceGetGspFirmwareVersion 

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

3313  

3314 global __nvmlDeviceGetGspFirmwareMode 

3315 data["__nvmlDeviceGetGspFirmwareMode"] = <intptr_t>__nvmlDeviceGetGspFirmwareMode 1f

3316  

3317 global __nvmlDeviceGetSramEccErrorStatus 

3318 data["__nvmlDeviceGetSramEccErrorStatus"] = <intptr_t>__nvmlDeviceGetSramEccErrorStatus 1f

3319  

3320 global __nvmlDeviceGetAccountingMode 

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

3322  

3323 global __nvmlDeviceGetAccountingStats 

3324 data["__nvmlDeviceGetAccountingStats"] = <intptr_t>__nvmlDeviceGetAccountingStats 1Df

3325  

3326 global __nvmlDeviceGetAccountingPids 

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

3328  

3329 global __nvmlDeviceGetAccountingBufferSize 

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

3331  

3332 global __nvmlDeviceGetRetiredPages 

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

3334  

3335 global __nvmlDeviceGetRetiredPages_v2 

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

3337  

3338 global __nvmlDeviceGetRetiredPagesPendingStatus 

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

3340  

3341 global __nvmlDeviceGetRemappedRows 

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

3343  

3344 global __nvmlDeviceGetRowRemapperHistogram 

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

3346  

3347 global __nvmlDeviceGetArchitecture 

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

3349  

3350 global __nvmlDeviceGetClkMonStatus 

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

3352  

3353 global __nvmlDeviceGetProcessUtilization 

3354 data["__nvmlDeviceGetProcessUtilization"] = <intptr_t>__nvmlDeviceGetProcessUtilization 1bn

3355  

3356 global __nvmlDeviceGetProcessesUtilizationInfo 

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

3358  

3359 global __nvmlDeviceGetPlatformInfo 

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

3361  

3362 global __nvmlUnitSetLedState 

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

3364  

3365 global __nvmlDeviceSetPersistenceMode 

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

3367  

3368 global __nvmlDeviceSetComputeMode 

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

3370  

3371 global __nvmlDeviceSetEccMode 

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

3373  

3374 global __nvmlDeviceClearEccErrorCounts 

3375 data["__nvmlDeviceClearEccErrorCounts"] = <intptr_t>__nvmlDeviceClearEccErrorCounts 1q

3376  

3377 global __nvmlDeviceSetDriverModel 

3378 data["__nvmlDeviceSetDriverModel"] = <intptr_t>__nvmlDeviceSetDriverModel 1q

3379  

3380 global __nvmlDeviceSetGpuLockedClocks 

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

3382  

3383 global __nvmlDeviceResetGpuLockedClocks 

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

3385  

3386 global __nvmlDeviceSetMemoryLockedClocks 

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

3388  

3389 global __nvmlDeviceResetMemoryLockedClocks 

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

3391  

3392 global __nvmlDeviceSetAutoBoostedClocksEnabled 

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

3394  

3395 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

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

3397  

3398 global __nvmlDeviceSetDefaultFanSpeed_v2 

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

3400  

3401 global __nvmlDeviceSetFanControlPolicy 

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

3403  

3404 global __nvmlDeviceSetTemperatureThreshold 

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

3406  

3407 global __nvmlDeviceSetGpuOperationMode 

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

3409  

3410 global __nvmlDeviceSetAPIRestriction 

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

3412  

3413 global __nvmlDeviceSetFanSpeed_v2 

3414 data["__nvmlDeviceSetFanSpeed_v2"] = <intptr_t>__nvmlDeviceSetFanSpeed_v2 1b

3415  

3416 global __nvmlDeviceSetAccountingMode 

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

3418  

3419 global __nvmlDeviceClearAccountingPids 

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

3421  

3422 global __nvmlDeviceSetPowerManagementLimit_v2 

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

3424  

3425 global __nvmlDeviceGetNvLinkState 

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

3427  

3428 global __nvmlDeviceGetNvLinkVersion 

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

3430  

3431 global __nvmlDeviceGetNvLinkCapability 

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

3433  

3434 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

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

3436  

3437 global __nvmlDeviceGetNvLinkErrorCounter 

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

3439  

3440 global __nvmlDeviceResetNvLinkErrorCounters 

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

3442  

3443 global __nvmlDeviceGetNvLinkRemoteDeviceType 

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

3445  

3446 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

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

3448  

3449 global __nvmlSystemSetNvlinkBwMode 

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

3451  

3452 global __nvmlSystemGetNvlinkBwMode 

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

3454  

3455 global __nvmlDeviceGetNvlinkSupportedBwModes 

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

3457  

3458 global __nvmlDeviceGetNvlinkBwMode 

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

3460  

3461 global __nvmlDeviceSetNvlinkBwMode 

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

3463  

3464 global __nvmlEventSetCreate 

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

3466  

3467 global __nvmlDeviceRegisterEvents 

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

3469  

3470 global __nvmlDeviceGetSupportedEventTypes 

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

3472  

3473 global __nvmlEventSetWait_v2 

3474 data["__nvmlEventSetWait_v2"] = <intptr_t>__nvmlEventSetWait_v2 2rb

3475  

3476 global __nvmlEventSetFree 

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

3478  

3479 global __nvmlSystemEventSetCreate 

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

3481  

3482 global __nvmlSystemEventSetFree 

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

3484  

3485 global __nvmlSystemRegisterEvents 

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

3487  

3488 global __nvmlSystemEventSetWait 

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

3490  

3491 global __nvmlDeviceModifyDrainState 

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

3493  

3494 global __nvmlDeviceQueryDrainState 

3495 data["__nvmlDeviceQueryDrainState"] = <intptr_t>__nvmlDeviceQueryDrainState 1}

3496  

3497 global __nvmlDeviceRemoveGpu_v2 

3498 data["__nvmlDeviceRemoveGpu_v2"] = <intptr_t>__nvmlDeviceRemoveGpu_v2 1}

3499  

3500 global __nvmlDeviceDiscoverGpus 

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

3502  

3503 global __nvmlDeviceGetFieldValues 

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

3505  

3506 global __nvmlDeviceClearFieldValues 

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

3508  

3509 global __nvmlDeviceGetVirtualizationMode 

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

3511  

3512 global __nvmlDeviceGetHostVgpuMode 

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

3514  

3515 global __nvmlDeviceSetVirtualizationMode 

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

3517  

3518 global __nvmlDeviceGetVgpuHeterogeneousMode 

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

3520  

3521 global __nvmlDeviceSetVgpuHeterogeneousMode 

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

3523  

3524 global __nvmlVgpuInstanceGetPlacementId 

3525 data["__nvmlVgpuInstanceGetPlacementId"] = <intptr_t>__nvmlVgpuInstanceGetPlacementId 2pb

3526  

3527 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

3528 data["__nvmlDeviceGetVgpuTypeSupportedPlacements"] = <intptr_t>__nvmlDeviceGetVgpuTypeSupportedPlacements 2pb

3529  

3530 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

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

3532  

3533 global __nvmlVgpuTypeGetGspHeapSize 

3534 data["__nvmlVgpuTypeGetGspHeapSize"] = <intptr_t>__nvmlVgpuTypeGetGspHeapSize 2ub

3535  

3536 global __nvmlVgpuTypeGetFbReservation 

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

3538  

3539 global __nvmlVgpuInstanceGetRuntimeStateSize 

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

3541  

3542 global __nvmlDeviceSetVgpuCapabilities 

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

3544  

3545 global __nvmlDeviceGetGridLicensableFeatures_v4 

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

3547  

3548 global __nvmlGetVgpuDriverCapabilities 

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

3550  

3551 global __nvmlDeviceGetVgpuCapabilities 

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

3553  

3554 global __nvmlDeviceGetSupportedVgpus 

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

3556  

3557 global __nvmlDeviceGetCreatableVgpus 

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

3559  

3560 global __nvmlVgpuTypeGetClass 

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

3562  

3563 global __nvmlVgpuTypeGetName 

3564 data["__nvmlVgpuTypeGetName"] = <intptr_t>__nvmlVgpuTypeGetName 2tbB

3565  

3566 global __nvmlVgpuTypeGetGpuInstanceProfileId 

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

3568  

3569 global __nvmlVgpuTypeGetDeviceID 

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

3571  

3572 global __nvmlVgpuTypeGetFramebufferSize 

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

3574  

3575 global __nvmlVgpuTypeGetNumDisplayHeads 

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

3577  

3578 global __nvmlVgpuTypeGetResolution 

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

3580  

3581 global __nvmlVgpuTypeGetLicense 

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

3583  

3584 global __nvmlVgpuTypeGetFrameRateLimit 

3585 data["__nvmlVgpuTypeGetFrameRateLimit"] = <intptr_t>__nvmlVgpuTypeGetFrameRateLimit 1%

3586  

3587 global __nvmlVgpuTypeGetMaxInstances 

3588 data["__nvmlVgpuTypeGetMaxInstances"] = <intptr_t>__nvmlVgpuTypeGetMaxInstances 1%

3589  

3590 global __nvmlVgpuTypeGetMaxInstancesPerVm 

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

3592  

3593 global __nvmlVgpuTypeGetBAR1Info 

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

3595  

3596 global __nvmlDeviceGetActiveVgpus 

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

3598  

3599 global __nvmlVgpuInstanceGetVmID 

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

3601  

3602 global __nvmlVgpuInstanceGetUUID 

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

3604  

3605 global __nvmlVgpuInstanceGetVmDriverVersion 

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

3607  

3608 global __nvmlVgpuInstanceGetFbUsage 

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

3610  

3611 global __nvmlVgpuInstanceGetLicenseStatus 

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

3613  

3614 global __nvmlVgpuInstanceGetType 

3615 data["__nvmlVgpuInstanceGetType"] = <intptr_t>__nvmlVgpuInstanceGetType 1E

3616  

3617 global __nvmlVgpuInstanceGetFrameRateLimit 

3618 data["__nvmlVgpuInstanceGetFrameRateLimit"] = <intptr_t>__nvmlVgpuInstanceGetFrameRateLimit 1E

3619  

3620 global __nvmlVgpuInstanceGetEccMode 

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

3622  

3623 global __nvmlVgpuInstanceGetEncoderCapacity 

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

3625  

3626 global __nvmlVgpuInstanceSetEncoderCapacity 

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

3628  

3629 global __nvmlVgpuInstanceGetEncoderStats 

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

3631  

3632 global __nvmlVgpuInstanceGetEncoderSessions 

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

3634  

3635 global __nvmlVgpuInstanceGetFBCStats 

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

3637  

3638 global __nvmlVgpuInstanceGetFBCSessions 

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

3640  

3641 global __nvmlVgpuInstanceGetGpuInstanceId 

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

3643  

3644 global __nvmlVgpuInstanceGetGpuPciId 

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

3646  

3647 global __nvmlVgpuTypeGetCapabilities 

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

3649  

3650 global __nvmlVgpuInstanceGetMdevUUID 

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

3652  

3653 global __nvmlGpuInstanceGetCreatableVgpus 

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

3655  

3656 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

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

3658  

3659 global __nvmlGpuInstanceGetActiveVgpus 

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

3661  

3662 global __nvmlGpuInstanceSetVgpuSchedulerState 

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

3664  

3665 global __nvmlGpuInstanceGetVgpuSchedulerState 

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

3667  

3668 global __nvmlGpuInstanceGetVgpuSchedulerLog 

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

3670  

3671 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

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

3673  

3674 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

3675 data["__nvmlGpuInstanceGetVgpuHeterogeneousMode"] = <intptr_t>__nvmlGpuInstanceGetVgpuHeterogeneousMode 2qb

3676  

3677 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

3678 data["__nvmlGpuInstanceSetVgpuHeterogeneousMode"] = <intptr_t>__nvmlGpuInstanceSetVgpuHeterogeneousMode 2qb

3679  

3680 global __nvmlVgpuInstanceGetMetadata 

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

3682  

3683 global __nvmlDeviceGetVgpuMetadata 

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

3685  

3686 global __nvmlGetVgpuCompatibility 

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

3688  

3689 global __nvmlDeviceGetPgpuMetadataString 

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

3691  

3692 global __nvmlDeviceGetVgpuSchedulerLog 

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

3694  

3695 global __nvmlDeviceGetVgpuSchedulerState 

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

3697  

3698 global __nvmlDeviceGetVgpuSchedulerCapabilities 

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

3700  

3701 global __nvmlDeviceSetVgpuSchedulerState 

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

3703  

3704 global __nvmlGetVgpuVersion 

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

3706  

3707 global __nvmlSetVgpuVersion 

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

3709  

3710 global __nvmlDeviceGetVgpuUtilization 

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

3712  

3713 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

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

3715  

3716 global __nvmlDeviceGetVgpuProcessUtilization 

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

3718  

3719 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

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

3721  

3722 global __nvmlVgpuInstanceGetAccountingMode 

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

3724  

3725 global __nvmlVgpuInstanceGetAccountingPids 

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

3727  

3728 global __nvmlVgpuInstanceGetAccountingStats 

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

3730  

3731 global __nvmlVgpuInstanceClearAccountingPids 

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

3733  

3734 global __nvmlVgpuInstanceGetLicenseInfo_v2 

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

3736  

3737 global __nvmlGetExcludedDeviceCount 

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

3739  

3740 global __nvmlGetExcludedDeviceInfoByIndex 

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

3742  

3743 global __nvmlDeviceSetMigMode 

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

3745  

3746 global __nvmlDeviceGetMigMode 

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

3748  

3749 global __nvmlDeviceGetGpuInstanceProfileInfoV 

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

3751  

3752 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

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

3754  

3755 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

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

3757  

3758 global __nvmlDeviceCreateGpuInstance 

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

3760  

3761 global __nvmlDeviceCreateGpuInstanceWithPlacement 

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

3763  

3764 global __nvmlGpuInstanceDestroy 

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

3766  

3767 global __nvmlDeviceGetGpuInstances 

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

3769  

3770 global __nvmlDeviceGetGpuInstanceById 

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

3772  

3773 global __nvmlGpuInstanceGetInfo 

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

3775  

3776 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

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

3778  

3779 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

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

3781  

3782 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

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

3784  

3785 global __nvmlGpuInstanceCreateComputeInstance 

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

3787  

3788 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

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

3790  

3791 global __nvmlComputeInstanceDestroy 

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

3793  

3794 global __nvmlGpuInstanceGetComputeInstances 

3795 data["__nvmlGpuInstanceGetComputeInstances"] = <intptr_t>__nvmlGpuInstanceGetComputeInstances 1z

3796  

3797 global __nvmlGpuInstanceGetComputeInstanceById 

3798 data["__nvmlGpuInstanceGetComputeInstanceById"] = <intptr_t>__nvmlGpuInstanceGetComputeInstanceById 1z

3799  

3800 global __nvmlComputeInstanceGetInfo_v2 

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

3802  

3803 global __nvmlDeviceIsMigDeviceHandle 

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

3805  

3806 global __nvmlDeviceGetGpuInstanceId 

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

3808  

3809 global __nvmlDeviceGetComputeInstanceId 

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

3811  

3812 global __nvmlDeviceGetMaxMigDeviceCount 

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

3814  

3815 global __nvmlDeviceGetMigDeviceHandleByIndex 

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

3817  

3818 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

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

3820  

3821 global __nvmlDeviceGetCapabilities 

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

3823  

3824 global __nvmlDevicePowerSmoothingActivatePresetProfile 

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

3826  

3827 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

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

3829  

3830 global __nvmlDevicePowerSmoothingSetState 

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

3832  

3833 global __nvmlDeviceGetAddressingMode 

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

3835  

3836 global __nvmlDeviceGetRepairStatus 

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

3838  

3839 global __nvmlDeviceGetPowerMizerMode_v1 

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

3841  

3842 global __nvmlDeviceSetPowerMizerMode_v1 

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

3844  

3845 global __nvmlDeviceGetPdi 

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

3847  

3848 global __nvmlDeviceSetHostname_v1 

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

3850  

3851 global __nvmlDeviceGetHostname_v1 

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

3853  

3854 global __nvmlDeviceGetNvLinkInfo 

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

3856  

3857 global __nvmlDeviceReadWritePRM_v1 

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

3859  

3860 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

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

3862  

3863 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

3864 data["__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts"] = <intptr_t>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 1A

3865  

3866 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

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

3868  

3869 global __nvmlDeviceReadPRMCounters_v1 

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

3871  

3872 global __nvmlDeviceSetRusdSettings_v1 

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

3874  

3875 func_ptrs = data 

3876 return data 

3877  

3878  

3879cpdef _inspect_function_pointer(str name): 

3880 global func_ptrs 

3881 if func_ptrs is None: 

3882 func_ptrs = _inspect_function_pointers() 

3883 return func_ptrs[name] 

3884  

3885  

3886############################################################################### 

3887# Wrapper functions 

3888############################################################################### 

3889  

3890cdef nvmlReturn_t _nvmlInit_v2() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3891 global __nvmlInit_v2 

3892 _check_or_init_nvml() 2a Ycg @ [ ] ^ _ { | ~ abbbcbdbebfbgbIbhbibJb; jbkblbmbnbe ybzbt u AbBbL M j N O P Q R S T U V W X Y Z 0 1 KbMbNbObvb

3893 if __nvmlInit_v2 == NULL: 2a Ycg @ [ ] ^ _ { | ~ abbbcbdbebfbgbIbhbibJb; jbkblbmbnbe ybzbt u AbBbL M j N O P Q R S T U V W X Y Z 0 1 KbMbNbObvb

3894 with gil: 

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

3896 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlInit_v2)( 2a Ycg @ [ ] ^ _ { | ~ abbbcbdbebfbgbIbhbibJb; jbkblbmbnbe ybzbt u AbBbL M j N O P Q R S T U V W X Y Z 0 1 KbMbNbObvb

3897 ) 

3898  

3899  

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

3901 global __nvmlInitWithFlags 

3902 _check_or_init_nvml() 

3903 if __nvmlInitWithFlags == NULL: 

3904 with gil: 

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

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

3907 flags) 

3908  

3909  

3910cdef nvmlReturn_t _nvmlShutdown() except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

3911 global __nvmlShutdown 

3912 _check_or_init_nvml() 2a 4cg ?b[b^b_b`b{b|b}bacbcccdcecfcgchcickclc; ncocpcqcrce sc5c6cucvc7c8cwcxcyczcAcBcCcDcEcFcGcHcIcJcKcLcMcNcPcQcScUc

3913 if __nvmlShutdown == NULL: 2a 4cg ?b[b^b_b`b{b|b}bacbcccdcecfcgchcickclc; ncocpcqcrce sc5c6cucvc7c8cwcxcyczcAcBcCcDcEcFcGcHcIcJcKcLcMcNcPcQcScUc

3914 with gil: 

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

3916 return (<nvmlReturn_t (*)() noexcept nogil>__nvmlShutdown)( 2a 4cg ?b[b^b_b`b{b|b}bacbcccdcecfcgchcickclc; ncocpcqcrce sc5c6cucvc7c8cwcxcyczcAcBcCcDcEcFcGcHcIcJcKcLcMcNcPcQcScUc

3917 ) 

3918  

3919  

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

3921 global __nvmlErrorString 

3922 _check_or_init_nvml() 2a : x y H , D I J ; E sbz s 6 7 8 9 ! # h k b 5 d l r f .

3923 if __nvmlErrorString == NULL: 2: x y H , D I J ; E sbz s 6 7 8 9 ! # h k b 5 d l r f .

3924 with gil: 

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

3926 return (<const char* (*)(nvmlReturn_t) noexcept nogil>__nvmlErrorString)( 2: x y H , D I J ; E sbz s 6 7 8 9 ! # h k b 5 d l r f .

3927 result) 

3928  

3929  

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

3931 global __nvmlSystemGetDriverVersion 

3932 _check_or_init_nvml() 2a RcWc

3933 if __nvmlSystemGetDriverVersion == NULL: 2RcWc

3934 with gil: 

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

3936 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetDriverVersion)( 2RcWc

3937 version, length) 

3938  

3939  

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

3941 global __nvmlSystemGetNVMLVersion 

3942 _check_or_init_nvml() 2a TcXc

3943 if __nvmlSystemGetNVMLVersion == NULL: 2TcXc

3944 with gil: 

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

3946 return (<nvmlReturn_t (*)(char*, unsigned int) noexcept nogil>__nvmlSystemGetNVMLVersion)( 2TcXc

3947 version, length) 

3948  

3949  

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

3951 global __nvmlSystemGetCudaDriverVersion 

3952 _check_or_init_nvml() 2a LbQbTb

3953 if __nvmlSystemGetCudaDriverVersion == NULL: 2a LbQbTb

3954 with gil: 

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

3956 return (<nvmlReturn_t (*)(int*) noexcept nogil>__nvmlSystemGetCudaDriverVersion)( 2a LbQbTb

3957 cudaDriverVersion) 

3958  

3959  

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

3961 global __nvmlSystemGetCudaDriverVersion_v2 

3962 _check_or_init_nvml() 

3963 if __nvmlSystemGetCudaDriverVersion_v2 == NULL: 

3964 with gil: 

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

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

3967 cudaDriverVersion) 

3968  

3969  

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

3971 global __nvmlSystemGetProcessName 

3972 _check_or_init_nvml() 2a OcVc

3973 if __nvmlSystemGetProcessName == NULL: 2OcVc

3974 with gil: 

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

3976 return (<nvmlReturn_t (*)(unsigned int, char*, unsigned int) noexcept nogil>__nvmlSystemGetProcessName)( 2OcVc

3977 pid, name, length) 

3978  

3979  

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

3981 global __nvmlSystemGetHicVersion 

3982 _check_or_init_nvml() 

3983 if __nvmlSystemGetHicVersion == NULL: 

3984 with gil: 

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

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

3987 hwbcCount, hwbcEntries) 

3988  

3989  

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

3991 global __nvmlSystemGetTopologyGpuSet 

3992 _check_or_init_nvml() 2a Cb

3993 if __nvmlSystemGetTopologyGpuSet == NULL: 2Cb

3994 with gil: 

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

3996 return (<nvmlReturn_t (*)(unsigned int, unsigned int*, nvmlDevice_t*) noexcept nogil>__nvmlSystemGetTopologyGpuSet)( 2Cb

3997 cpuNumber, count, deviceArray) 

3998  

3999  

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

4001 global __nvmlSystemGetDriverBranch 

4002 _check_or_init_nvml() 2a xb

4003 if __nvmlSystemGetDriverBranch == NULL: 2a xb

4004 with gil: 

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

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

4007 branchInfo, length) 

4008  

4009  

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

4011 global __nvmlUnitGetCount 

4012 _check_or_init_nvml() 

4013 if __nvmlUnitGetCount == NULL: 

4014 with gil: 1I

4015 raise FunctionNotFoundError("function nvmlUnitGetCount is not found") 1I

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

4017 unitCount) 

4018  

4019  

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

4021 global __nvmlUnitGetHandleByIndex 

4022 _check_or_init_nvml() 

4023 if __nvmlUnitGetHandleByIndex == NULL: 

4024 with gil: 1J

4025 raise FunctionNotFoundError("function nvmlUnitGetHandleByIndex is not found") 1J

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

4027 index, unit) 

4028  

4029  

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

4031 global __nvmlUnitGetUnitInfo 

4032 _check_or_init_nvml() 

4033 if __nvmlUnitGetUnitInfo == NULL: 

4034 with gil: 

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

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

4037 unit, info) 

4038  

4039  

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

4041 global __nvmlUnitGetLedState 

4042 _check_or_init_nvml() 

4043 if __nvmlUnitGetLedState == NULL: 

4044 with gil: 

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

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

4047 unit, state) 

4048  

4049  

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

4051 global __nvmlUnitGetPsuInfo 

4052 _check_or_init_nvml() 

4053 if __nvmlUnitGetPsuInfo == NULL: 

4054 with gil: 

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

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

4057 unit, psu) 

4058  

4059  

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

4061 global __nvmlUnitGetTemperature 

4062 _check_or_init_nvml() 

4063 if __nvmlUnitGetTemperature == NULL: 

4064 with gil: 

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

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

4067 unit, type, temp) 

4068  

4069  

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

4071 global __nvmlUnitGetFanSpeedInfo 

4072 _check_or_init_nvml() 

4073 if __nvmlUnitGetFanSpeedInfo == NULL: 

4074 with gil: 

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

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

4077 unit, fanSpeeds) 

4078  

4079  

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

4081 global __nvmlUnitGetDevices 

4082 _check_or_init_nvml() 

4083 if __nvmlUnitGetDevices == NULL: 

4084 with gil: 

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

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

4087 unit, deviceCount, devices) 

4088  

4089  

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

4091 global __nvmlDeviceGetCount_v2 

4092 _check_or_init_nvml() 2a FbGbHbg i K ; e ybzbt u AbBbL M j N O P Q R S T U V W X Y Z 0 1 o - h k q b * $ 5 A 2 Pb= % B 3 p c v ' ( F + m 9cd DbEb!c#c4 C l ? n r w f G RbSbUbVbWbXbYbvbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b

4093 if __nvmlDeviceGetCount_v2 == NULL: 2FbGbHbg i K ; e ybzbt u AbBbL M j N O P Q R S T U V W X Y Z 0 1 o - h k q b * $ 5 A 2 Pb= % B 3 p c v ' ( F + m 9cd DbEb!c#c4 C l ? n r w f G RbSbUbVbWbXbYbvbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b

4094 with gil: 

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

4096 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlDeviceGetCount_v2)( 2FbGbHbg i K ; e ybzbt u AbBbL M j N O P Q R S T U V W X Y Z 0 1 o - h k q b * $ 5 A 2 Pb= % B 3 p c v ' ( F + m 9cd DbEb!c#c4 C l ? n r w f G RbSbUbVbWbXbYbvbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b

4097 deviceCount) 

4098  

4099  

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

4101 global __nvmlDeviceGetAttributes_v2 

4102 _check_or_init_nvml() 1a5

4103 if __nvmlDeviceGetAttributes_v2 == NULL: 15

4104 with gil: 

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

4106 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceAttributes_t*) noexcept nogil>__nvmlDeviceGetAttributes_v2)( 15

4107 device, attributes) 

4108  

4109  

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

4111 global __nvmlDeviceGetHandleByIndex_v2 

4112 _check_or_init_nvml() 2a g i K e ybzbt u AbBbL M j N O P Q R S T U V W X Y Z 0 1 o - h k q b * $ 5 A 2 = % B 3 p c v ' ( F + m d DbEb4 C l ? n r w f G

4113 if __nvmlDeviceGetHandleByIndex_v2 == NULL: 2g i K e ybzbt u AbBbL M j N O P Q R S T U V W X Y Z 0 1 o - h k q b * $ 5 A 2 = % B 3 p c v ' ( F + m d DbEb4 C l ? n r w f G

4114 with gil: 

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

4116 return (<nvmlReturn_t (*)(unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByIndex_v2)( 2g i K e ybzbt u AbBbL M j N O P Q R S T U V W X Y Z 0 1 o - h k q b * $ 5 A 2 = % B 3 p c v ' ( F + m d DbEb4 C l ? n r w f G

4117 index, device) 

4118  

4119  

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

4121 global __nvmlDeviceGetHandleBySerial 

4122 _check_or_init_nvml() 

4123 if __nvmlDeviceGetHandleBySerial == NULL: 

4124 with gil: 

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

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

4127 serial, device) 

4128  

4129  

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

4131 global __nvmlDeviceGetHandleByUUID 

4132 _check_or_init_nvml() 2a Yc@ [ ] ^ _ { | ~ abbbcbdbebfbgbhbibjbkblbmbnb3c/

4133 if __nvmlDeviceGetHandleByUUID == NULL: 2Yc@ [ ] ^ _ { | ~ abbbcbdbebfbgbhbibjbkblbmbnb3c/

4134 with gil: 

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

4136 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUID)( 2Yc@ [ ] ^ _ { | ~ abbbcbdbebfbgbhbibjbkblbmbnb3c/

4137 uuid, device) 

4138  

4139  

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

4141 global __nvmlDeviceGetHandleByUUIDV 

4142 _check_or_init_nvml() 1a`

4143 if __nvmlDeviceGetHandleByUUIDV == NULL: 1`

4144 with gil: 

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

4146 return (<nvmlReturn_t (*)(const nvmlUUID_t*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByUUIDV)( 1`

4147 uuid, device) 

4148  

4149  

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

4151 global __nvmlDeviceGetHandleByPciBusId_v2 

4152 _check_or_init_nvml() 2a tcp

4153 if __nvmlDeviceGetHandleByPciBusId_v2 == NULL: 2tcp

4154 with gil: 2E sb

4155 raise FunctionNotFoundError("function nvmlDeviceGetHandleByPciBusId_v2 is not found") 2E sb

4156 return (<nvmlReturn_t (*)(const char*, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetHandleByPciBusId_v2)( 2tcp

4157 pciBusId, device) 

4158  

4159  

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

4161 global __nvmlDeviceGetName 

4162 _check_or_init_nvml() 1agxyDze6789!#hkb53lf

4163 if __nvmlDeviceGetName == NULL: 1gxyDze6789!#hkb53lf

4164 with gil: 

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

4166 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetName)( 1gxyDze6789!#hkb53lf

4167 device, name, length) 

4168  

4169  

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

4171 global __nvmlDeviceGetBrand 

4172 _check_or_init_nvml() 1a2

4173 if __nvmlDeviceGetBrand == NULL: 12

4174 with gil: 1E

4175 raise FunctionNotFoundError("function nvmlDeviceGetBrand is not found") 1E

4176 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBrandType_t*) noexcept nogil>__nvmlDeviceGetBrand)( 12

4177 device, type) 

4178  

4179  

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

4181 global __nvmlDeviceGetIndex 

4182 _check_or_init_nvml() 1aKp4

4183 if __nvmlDeviceGetIndex == NULL: 1Kp4

4184 with gil: 

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

4186 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIndex)( 1Kp4

4187 device, index) 

4188  

4189  

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

4191 global __nvmlDeviceGetSerial 

4192 _check_or_init_nvml() 1aev

4193 if __nvmlDeviceGetSerial == NULL: 1ev

4194 with gil: 

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

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

4197 device, serial, length) 

4198  

4199  

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

4201 global __nvmlDeviceGetModuleId 

4202 _check_or_init_nvml() 1aiC

4203 if __nvmlDeviceGetModuleId == NULL: 1iC

4204 with gil: 2wbrbx y } H , D I J i ) jcz s tb6 7 j 8 9 ! # obpbubqbo h k q b $ A B c v ( m d C l n w f

4205 raise FunctionNotFoundError("function nvmlDeviceGetModuleId is not found") 2wbrbx y } H , D I J i ) jcz s tb6 7 j 8 9 ! # obpbubqbo h k q b $ A B c v ( m d C l n w f

4206 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetModuleId)( 1iC

4207 device, moduleId) 

4208  

4209  

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

4211 global __nvmlDeviceGetC2cModeInfoV 

4212 _check_or_init_nvml() 1ak

4213 if __nvmlDeviceGetC2cModeInfoV == NULL: 1k

4214 with gil: 

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

4216 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlC2cModeInfo_v1_t*) noexcept nogil>__nvmlDeviceGetC2cModeInfoV)( 1k

4217 device, c2cModeInfo) 

4218  

4219  

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

4221 global __nvmlDeviceGetMemoryAffinity 

4222 _check_or_init_nvml() 2a 1c2c-

4223 if __nvmlDeviceGetMemoryAffinity == NULL: 21c2c-

4224 with gil: 

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

4226 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*, nvmlAffinityScope_t) noexcept nogil>__nvmlDeviceGetMemoryAffinity)( 21c2c-

4227 device, nodeSetSize, nodeSet, scope) 

4228  

4229  

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

4231 global __nvmlDeviceGetCpuAffinityWithinScope 

4232 _check_or_init_nvml() 2a Zc0c- = Cb

4233 if __nvmlDeviceGetCpuAffinityWithinScope == NULL: 2Zc0c- = Cb

4234 with gil: 

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

4236 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned long*, nvmlAffinityScope_t) noexcept nogil>__nvmlDeviceGetCpuAffinityWithinScope)( 2Zc0c- = Cb

4237 device, cpuSetSize, cpuSet, scope) 

4238  

4239  

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

4241 global __nvmlDeviceGetCpuAffinity 

4242 _check_or_init_nvml() 

4243 if __nvmlDeviceGetCpuAffinity == NULL: 

4244 with gil: 1)

4245 raise FunctionNotFoundError("function nvmlDeviceGetCpuAffinity is not found") 1)

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

4247 device, cpuSetSize, cpuSet) 

4248  

4249  

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

4251 global __nvmlDeviceSetCpuAffinity 

4252 _check_or_init_nvml() 

4253 if __nvmlDeviceSetCpuAffinity == NULL: 

4254 with gil: 

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

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

4257 device) 

4258  

4259  

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

4261 global __nvmlDeviceClearCpuAffinity 

4262 _check_or_init_nvml() 

4263 if __nvmlDeviceClearCpuAffinity == NULL: 

4264 with gil: 

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

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

4267 device) 

4268  

4269  

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

4271 global __nvmlDeviceGetNumaNodeId 

4272 _check_or_init_nvml() 1al

4273 if __nvmlDeviceGetNumaNodeId == NULL: 1l

4274 with gil: 

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

4276 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumaNodeId)( 1l

4277 device, node) 

4278  

4279  

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

4281 global __nvmlDeviceGetTopologyCommonAncestor 

4282 _check_or_init_nvml() 

4283 if __nvmlDeviceGetTopologyCommonAncestor == NULL: 

4284 with gil: 

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

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

4287 device1, device2, pathInfo) 

4288  

4289  

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

4291 global __nvmlDeviceGetTopologyNearestGpus 

4292 _check_or_init_nvml() 2a Eb

4293 if __nvmlDeviceGetTopologyNearestGpus == NULL: 2Eb

4294 with gil: 

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

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

4297 device, level, count, deviceArray) 

4298  

4299  

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

4301 global __nvmlDeviceGetP2PStatus 

4302 _check_or_init_nvml() 

4303 if __nvmlDeviceGetP2PStatus == NULL: 

4304 with gil: 

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

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

4307 device1, device2, p2pIndex, p2pStatus) 

4308  

4309  

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

4311 global __nvmlDeviceGetUUID 

4312 _check_or_init_nvml() 1a`ieu'G/

4313 if __nvmlDeviceGetUUID == NULL: 1`ieu'G/

4314 with gil: 

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

4316 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int) noexcept nogil>__nvmlDeviceGetUUID)( 1`ieu'G/

4317 device, uuid, length) 

4318  

4319  

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

4321 global __nvmlDeviceGetMinorNumber 

4322 _check_or_init_nvml() 2a Db

4323 if __nvmlDeviceGetMinorNumber == NULL: 2Db

4324 with gil: 

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

4326 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMinorNumber)( 2Db

4327 device, minorNumber) 

4328  

4329  

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

4331 global __nvmlDeviceGetBoardPartNumber 

4332 _check_or_init_nvml() 1ad

4333 if __nvmlDeviceGetBoardPartNumber == NULL: 1d

4334 with gil: 

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

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

4337 device, partNumber, length) 

4338  

4339  

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

4341 global __nvmlDeviceGetInforomVersion 

4342 _check_or_init_nvml() 1ad

4343 if __nvmlDeviceGetInforomVersion == NULL: 1d

4344 with gil: 

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

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

4347 device, object, version, length) 

4348  

4349  

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

4351 global __nvmlDeviceGetInforomImageVersion 

4352 _check_or_init_nvml() 1ad

4353 if __nvmlDeviceGetInforomImageVersion == NULL: 1d

4354 with gil: 

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

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

4357 device, version, length) 

4358  

4359  

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

4361 global __nvmlDeviceGetInforomConfigurationChecksum 

4362 _check_or_init_nvml() 1ad

4363 if __nvmlDeviceGetInforomConfigurationChecksum == NULL: 1d

4364 with gil: 

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

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

4367 device, checksum) 

4368  

4369  

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

4371 global __nvmlDeviceValidateInforom 

4372 _check_or_init_nvml() 1ad

4373 if __nvmlDeviceValidateInforom == NULL: 1d

4374 with gil: 

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

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

4377 device) 

4378  

4379  

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

4381 global __nvmlDeviceGetLastBBXFlushTime 

4382 _check_or_init_nvml() 1ad

4383 if __nvmlDeviceGetLastBBXFlushTime == NULL: 1d

4384 with gil: 

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

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

4387 device, timestamp, durationUs) 

4388  

4389  

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

4391 global __nvmlDeviceGetDisplayMode 

4392 _check_or_init_nvml() 1aF

4393 if __nvmlDeviceGetDisplayMode == NULL: 1F

4394 with gil: 

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

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

4397 device, display) 

4398  

4399  

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

4401 global __nvmlDeviceGetDisplayActive 

4402 _check_or_init_nvml() 1aF

4403 if __nvmlDeviceGetDisplayActive == NULL: 1F

4404 with gil: 

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

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

4407 device, isActive) 

4408  

4409  

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

4411 global __nvmlDeviceGetPersistenceMode 

4412 _check_or_init_nvml() 1a?

4413 if __nvmlDeviceGetPersistenceMode == NULL: 1?

4414 with gil: 

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

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

4417 device, mode) 

4418  

4419  

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

4421 global __nvmlDeviceGetPciInfoExt 

4422 _check_or_init_nvml() 1apcG/

4423 if __nvmlDeviceGetPciInfoExt == NULL: 1pcG/

4424 with gil: 

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

4426 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfoExt_t*) noexcept nogil>__nvmlDeviceGetPciInfoExt)( 1pcG/

4427 device, pci) 

4428  

4429  

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

4431 global __nvmlDeviceGetPciInfo_v3 

4432 _check_or_init_nvml() 1agset

4433 if __nvmlDeviceGetPciInfo_v3 == NULL: 1gset

4434 with gil: 

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

4436 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetPciInfo_v3)( 1gset

4437 device, pci) 

4438  

4439  

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

4441 global __nvmlDeviceGetMaxPcieLinkGeneration 

4442 _check_or_init_nvml() 1ac

4443 if __nvmlDeviceGetMaxPcieLinkGeneration == NULL: 1c

4444 with gil: 

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

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

4447 device, maxLinkGen) 

4448  

4449  

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

4451 global __nvmlDeviceGetGpuMaxPcieLinkGeneration 

4452 _check_or_init_nvml() 1ac

4453 if __nvmlDeviceGetGpuMaxPcieLinkGeneration == NULL: 1c

4454 with gil: 1,

4455 raise FunctionNotFoundError("function nvmlDeviceGetGpuMaxPcieLinkGeneration is not found") 1,

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

4457 device, maxLinkGenDevice) 

4458  

4459  

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

4461 global __nvmlDeviceGetMaxPcieLinkWidth 

4462 _check_or_init_nvml() 1ac

4463 if __nvmlDeviceGetMaxPcieLinkWidth == NULL: 1c

4464 with gil: 

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

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

4467 device, maxLinkWidth) 

4468  

4469  

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

4471 global __nvmlDeviceGetCurrPcieLinkGeneration 

4472 _check_or_init_nvml() 1ac

4473 if __nvmlDeviceGetCurrPcieLinkGeneration == NULL: 1c

4474 with gil: 

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

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

4477 device, currLinkGen) 

4478  

4479  

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

4481 global __nvmlDeviceGetCurrPcieLinkWidth 

4482 _check_or_init_nvml() 1ac

4483 if __nvmlDeviceGetCurrPcieLinkWidth == NULL: 1c

4484 with gil: 16789!#

4485 raise FunctionNotFoundError("function nvmlDeviceGetCurrPcieLinkWidth is not found") 16789!#

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

4487 device, currLinkWidth) 

4488  

4489  

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

4491 global __nvmlDeviceGetPcieThroughput 

4492 _check_or_init_nvml() 2a obc

4493 if __nvmlDeviceGetPcieThroughput == NULL: 2obc

4494 with gil: 

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

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

4497 device, counter, value) 

4498  

4499  

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

4501 global __nvmlDeviceGetPcieReplayCounter 

4502 _check_or_init_nvml() 1ac

4503 if __nvmlDeviceGetPcieReplayCounter == NULL: 1c

4504 with gil: 

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

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

4507 device, value) 

4508  

4509  

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

4511 global __nvmlDeviceGetClockInfo 

4512 _check_or_init_nvml() 

4513 if __nvmlDeviceGetClockInfo == NULL: 

4514 with gil: 

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

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

4517 device, type, clock) 

4518  

4519  

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

4521 global __nvmlDeviceGetMaxClockInfo 

4522 _check_or_init_nvml() 1ab

4523 if __nvmlDeviceGetMaxClockInfo == NULL: 1b

4524 with gil: 

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

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

4527 device, type, clock) 

4528  

4529  

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

4531 global __nvmlDeviceGetGpcClkVfOffset 

4532 _check_or_init_nvml() 

4533 if __nvmlDeviceGetGpcClkVfOffset == NULL: 

4534 with gil: 

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

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

4537 device, offset) 

4538  

4539  

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

4541 global __nvmlDeviceGetClock 

4542 _check_or_init_nvml() 1ab

4543 if __nvmlDeviceGetClock == NULL: 1b

4544 with gil: 

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

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

4547 device, clockType, clockId, clockMHz) 

4548  

4549  

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

4551 global __nvmlDeviceGetMaxCustomerBoostClock 

4552 _check_or_init_nvml() 1ab

4553 if __nvmlDeviceGetMaxCustomerBoostClock == NULL: 1b

4554 with gil: 

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

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

4557 device, clockType, clockMHz) 

4558  

4559  

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

4561 global __nvmlDeviceGetSupportedMemoryClocks 

4562 _check_or_init_nvml() 

4563 if __nvmlDeviceGetSupportedMemoryClocks == NULL: 

4564 with gil: 1y

4565 raise FunctionNotFoundError("function nvmlDeviceGetSupportedMemoryClocks is not found") 1y

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

4567 device, count, clocksMHz) 

4568  

4569  

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

4571 global __nvmlDeviceGetSupportedGraphicsClocks 

4572 _check_or_init_nvml() 

4573 if __nvmlDeviceGetSupportedGraphicsClocks == NULL: 

4574 with gil: 

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

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

4577 device, memoryClockMHz, count, clocksMHz) 

4578  

4579  

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

4581 global __nvmlDeviceGetAutoBoostedClocksEnabled 

4582 _check_or_init_nvml() 1ah

4583 if __nvmlDeviceGetAutoBoostedClocksEnabled == NULL: 1h

4584 with gil: 

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

4586 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAutoBoostedClocksEnabled)( 1h

4587 device, isEnabled, defaultIsEnabled) 

4588  

4589  

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

4591 global __nvmlDeviceGetFanSpeed 

4592 _check_or_init_nvml() 

4593 if __nvmlDeviceGetFanSpeed == NULL: 

4594 with gil: 

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

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

4597 device, speed) 

4598  

4599  

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

4601 global __nvmlDeviceGetFanSpeed_v2 

4602 _check_or_init_nvml() 

4603 if __nvmlDeviceGetFanSpeed_v2 == NULL: 

4604 with gil: 

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

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

4607 device, fan, speed) 

4608  

4609  

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

4611 global __nvmlDeviceGetFanSpeedRPM 

4612 _check_or_init_nvml() 

4613 if __nvmlDeviceGetFanSpeedRPM == NULL: 

4614 with gil: 

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

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

4617 device, fanSpeed) 

4618  

4619  

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

4621 global __nvmlDeviceGetTargetFanSpeed 

4622 _check_or_init_nvml() 

4623 if __nvmlDeviceGetTargetFanSpeed == NULL: 

4624 with gil: 

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

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

4627 device, fan, targetSpeed) 

4628  

4629  

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

4631 global __nvmlDeviceGetMinMaxFanSpeed 

4632 _check_or_init_nvml() 

4633 if __nvmlDeviceGetMinMaxFanSpeed == NULL: 

4634 with gil: 

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

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

4637 device, minSpeed, maxSpeed) 

4638  

4639  

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

4641 global __nvmlDeviceGetFanControlPolicy_v2 

4642 _check_or_init_nvml() 

4643 if __nvmlDeviceGetFanControlPolicy_v2 == NULL: 

4644 with gil: 

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

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

4647 device, fan, policy) 

4648  

4649  

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

4651 global __nvmlDeviceGetNumFans 

4652 _check_or_init_nvml() 1a*+

4653 if __nvmlDeviceGetNumFans == NULL: 1*+

4654 with gil: 

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

4656 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumFans)( 1*+

4657 device, numFans) 

4658  

4659  

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

4661 global __nvmlDeviceGetCoolerInfo 

4662 _check_or_init_nvml() 

4663 if __nvmlDeviceGetCoolerInfo == NULL: 

4664 with gil: 

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

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

4667 device, coolerInfo) 

4668  

4669  

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

4671 global __nvmlDeviceGetTemperatureV 

4672 _check_or_init_nvml() 1af

4673 if __nvmlDeviceGetTemperatureV == NULL: 1f

4674 with gil: 

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

4676 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperature_t*) noexcept nogil>__nvmlDeviceGetTemperatureV)( 1f

4677 device, temperature) 

4678  

4679  

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

4681 global __nvmlDeviceGetTemperatureThreshold 

4682 _check_or_init_nvml() 1aDf

4683 if __nvmlDeviceGetTemperatureThreshold == NULL: 1Df

4684 with gil: 

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

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

4687 device, thresholdType, temp) 

4688  

4689  

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

4691 global __nvmlDeviceGetMarginTemperature 

4692 _check_or_init_nvml() 

4693 if __nvmlDeviceGetMarginTemperature == NULL: 

4694 with gil: 

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

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

4697 device, marginTempInfo) 

4698  

4699  

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

4701 global __nvmlDeviceGetThermalSettings 

4702 _check_or_init_nvml() 

4703 if __nvmlDeviceGetThermalSettings == NULL: 

4704 with gil: 

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

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

4707 device, sensorIndex, pThermalSettings) 

4708  

4709  

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

4711 global __nvmlDeviceGetPerformanceState 

4712 _check_or_init_nvml() 1abn

4713 if __nvmlDeviceGetPerformanceState == NULL: 1bn

4714 with gil: 1s

4715 raise FunctionNotFoundError("function nvmlDeviceGetPerformanceState is not found") 1s

4716 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t*) noexcept nogil>__nvmlDeviceGetPerformanceState)( 1bn

4717 device, pState) 

4718  

4719  

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

4721 global __nvmlDeviceGetCurrentClocksEventReasons 

4722 _check_or_init_nvml() 1aq

4723 if __nvmlDeviceGetCurrentClocksEventReasons == NULL: 1q

4724 with gil: 2mcm

4725 raise FunctionNotFoundError("function nvmlDeviceGetCurrentClocksEventReasons is not found") 2mcm

4726 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetCurrentClocksEventReasons)( 1q

4727 device, clocksEventReasons) 

4728  

4729  

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

4731 global __nvmlDeviceGetSupportedClocksEventReasons 

4732 _check_or_init_nvml() 1aq

4733 if __nvmlDeviceGetSupportedClocksEventReasons == NULL: 1q

4734 with gil: 1m

4735 raise FunctionNotFoundError("function nvmlDeviceGetSupportedClocksEventReasons is not found") 1m

4736 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedClocksEventReasons)( 1q

4737 device, supportedClocksEventReasons) 

4738  

4739  

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

4741 global __nvmlDeviceGetPowerState 

4742 _check_or_init_nvml() 

4743 if __nvmlDeviceGetPowerState == NULL: 

4744 with gil: 1i)

4745 raise FunctionNotFoundError("function nvmlDeviceGetPowerState is not found") 1i)

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

4747 device, pState) 

4748  

4749  

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

4751 global __nvmlDeviceGetDynamicPstatesInfo 

4752 _check_or_init_nvml() 1an

4753 if __nvmlDeviceGetDynamicPstatesInfo == NULL: 1n

4754 with gil: 

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

4756 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuDynamicPstatesInfo_t*) noexcept nogil>__nvmlDeviceGetDynamicPstatesInfo)( 1n

4757 device, pDynamicPstatesInfo) 

4758  

4759  

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

4761 global __nvmlDeviceGetMemClkVfOffset 

4762 _check_or_init_nvml() 

4763 if __nvmlDeviceGetMemClkVfOffset == NULL: 

4764 with gil: 

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

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

4767 device, offset) 

4768  

4769  

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

4771 global __nvmlDeviceGetMinMaxClockOfPState 

4772 _check_or_init_nvml() 1ab

4773 if __nvmlDeviceGetMinMaxClockOfPState == NULL: 1b

4774 with gil: 1x

4775 raise FunctionNotFoundError("function nvmlDeviceGetMinMaxClockOfPState is not found") 1x

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

4777 device, type, pstate, minClockMHz, maxClockMHz) 

4778  

4779  

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

4781 global __nvmlDeviceGetSupportedPerformanceStates 

4782 _check_or_init_nvml() 1an

4783 if __nvmlDeviceGetSupportedPerformanceStates == NULL: 1n

4784 with gil: 

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

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

4787 device, pstates, size) 

4788  

4789  

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

4791 global __nvmlDeviceGetGpcClkMinMaxVfOffset 

4792 _check_or_init_nvml() 

4793 if __nvmlDeviceGetGpcClkMinMaxVfOffset == NULL: 

4794 with gil: 

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

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

4797 device, minOffset, maxOffset) 

4798  

4799  

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

4801 global __nvmlDeviceGetMemClkMinMaxVfOffset 

4802 _check_or_init_nvml() 

4803 if __nvmlDeviceGetMemClkMinMaxVfOffset == NULL: 

4804 with gil: 

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

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

4807 device, minOffset, maxOffset) 

4808  

4809  

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

4811 global __nvmlDeviceGetClockOffsets 

4812 _check_or_init_nvml() 1ab

4813 if __nvmlDeviceGetClockOffsets == NULL: 1b

4814 with gil: 

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

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

4817 device, info) 

4818  

4819  

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

4821 global __nvmlDeviceSetClockOffsets 

4822 _check_or_init_nvml() 

4823 if __nvmlDeviceSetClockOffsets == NULL: 

4824 with gil: 

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

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

4827 device, info) 

4828  

4829  

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

4831 global __nvmlDeviceGetPerformanceModes 

4832 _check_or_init_nvml() 2a rb

4833 if __nvmlDeviceGetPerformanceModes == NULL: 2rb

4834 with gil: 

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

4836 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePerfModes_t*) noexcept nogil>__nvmlDeviceGetPerformanceModes)( 2rb

4837 device, perfModes) 

4838  

4839  

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

4841 global __nvmlDeviceGetCurrentClockFreqs 

4842 _check_or_init_nvml() 2a wb

4843 if __nvmlDeviceGetCurrentClockFreqs == NULL: 2wb

4844 with gil: 

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

4846 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCurrentClockFreqs_t*) noexcept nogil>__nvmlDeviceGetCurrentClockFreqs)( 2wb

4847 device, currentClockFreqs) 

4848  

4849  

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

4851 global __nvmlDeviceGetPowerManagementLimit 

4852 _check_or_init_nvml() 1a}

4853 if __nvmlDeviceGetPowerManagementLimit == NULL: 1}

4854 with gil: 

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

4856 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerManagementLimit)( 1}

4857 device, limit) 

4858  

4859  

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

4861 global __nvmlDeviceGetPowerManagementLimitConstraints 

4862 _check_or_init_nvml() 

4863 if __nvmlDeviceGetPowerManagementLimitConstraints == NULL: 

4864 with gil: 2~b

4865 raise FunctionNotFoundError("function nvmlDeviceGetPowerManagementLimitConstraints is not found") 2~b

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

4867 device, minLimit, maxLimit) 

4868  

4869  

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

4871 global __nvmlDeviceGetPowerManagementDefaultLimit 

4872 _check_or_init_nvml() 

4873 if __nvmlDeviceGetPowerManagementDefaultLimit == NULL: 

4874 with gil: 

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

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

4877 device, defaultLimit) 

4878  

4879  

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

4881 global __nvmlDeviceGetPowerUsage 

4882 _check_or_init_nvml() 2a pb

4883 if __nvmlDeviceGetPowerUsage == NULL: 2pb

4884 with gil: 

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

4886 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPowerUsage)( 2pb

4887 device, power) 

4888  

4889  

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

4891 global __nvmlDeviceGetTotalEnergyConsumption 

4892 _check_or_init_nvml() 2a ub

4893 if __nvmlDeviceGetTotalEnergyConsumption == NULL: 2ub

4894 with gil: 

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

4896 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetTotalEnergyConsumption)( 2ub

4897 device, energy) 

4898  

4899  

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

4901 global __nvmlDeviceGetEnforcedPowerLimit 

4902 _check_or_init_nvml() 

4903 if __nvmlDeviceGetEnforcedPowerLimit == NULL: 

4904 with gil: 

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

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

4907 device, limit) 

4908  

4909  

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

4911 global __nvmlDeviceGetGpuOperationMode 

4912 _check_or_init_nvml() 

4913 if __nvmlDeviceGetGpuOperationMode == NULL: 

4914 with gil: 

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

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

4917 device, current, pending) 

4918  

4919  

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

4921 global __nvmlDeviceGetMemoryInfo_v2 

4922 _check_or_init_nvml() 2a tbB

4923 if __nvmlDeviceGetMemoryInfo_v2 == NULL: 2tbB

4924 with gil: 

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

4926 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_v2_t*) noexcept nogil>__nvmlDeviceGetMemoryInfo_v2)( 2tbB

4927 device, memory) 

4928  

4929  

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

4931 global __nvmlDeviceGetComputeMode 

4932 _check_or_init_nvml() 1a:

4933 if __nvmlDeviceGetComputeMode == NULL: 1:

4934 with gil: 

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

4936 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t*) noexcept nogil>__nvmlDeviceGetComputeMode)( 1:

4937 device, mode) 

4938  

4939  

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

4941 global __nvmlDeviceGetCudaComputeCapability 

4942 _check_or_init_nvml() 1a%

4943 if __nvmlDeviceGetCudaComputeCapability == NULL: 1%

4944 with gil: 

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

4946 return (<nvmlReturn_t (*)(nvmlDevice_t, int*, int*) noexcept nogil>__nvmlDeviceGetCudaComputeCapability)( 1%

4947 device, major, minor) 

4948  

4949  

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

4951 global __nvmlDeviceGetDramEncryptionMode 

4952 _check_or_init_nvml() 

4953 if __nvmlDeviceGetDramEncryptionMode == NULL: 

4954 with gil: 

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

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

4957 device, current, pending) 

4958  

4959  

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

4961 global __nvmlDeviceSetDramEncryptionMode 

4962 _check_or_init_nvml() 

4963 if __nvmlDeviceSetDramEncryptionMode == NULL: 

4964 with gil: 

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

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

4967 device, dramEncryption) 

4968  

4969  

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

4971 global __nvmlDeviceGetEccMode 

4972 _check_or_init_nvml() 1aE

4973 if __nvmlDeviceGetEccMode == NULL: 1E

4974 with gil: 

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

4976 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetEccMode)( 1E

4977 device, current, pending) 

4978  

4979  

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

4981 global __nvmlDeviceGetDefaultEccMode 

4982 _check_or_init_nvml() 

4983 if __nvmlDeviceGetDefaultEccMode == NULL: 

4984 with gil: 

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

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

4987 device, defaultMode) 

4988  

4989  

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

4991 global __nvmlDeviceGetBoardId 

4992 _check_or_init_nvml() 

4993 if __nvmlDeviceGetBoardId == NULL: 

4994 with gil: 

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

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

4997 device, boardId) 

4998  

4999  

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

5001 global __nvmlDeviceGetMultiGpuBoard 

5002 _check_or_init_nvml() 

5003 if __nvmlDeviceGetMultiGpuBoard == NULL: 

5004 with gil: 

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

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

5007 device, multiGpuBool) 

5008  

5009  

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

5011 global __nvmlDeviceGetTotalEccErrors 

5012 _check_or_init_nvml() 

5013 if __nvmlDeviceGetTotalEccErrors == NULL: 

5014 with gil: 

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

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

5017 device, errorType, counterType, eccCounts) 

5018  

5019  

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

5021 global __nvmlDeviceGetMemoryErrorCounter 

5022 _check_or_init_nvml() 

5023 if __nvmlDeviceGetMemoryErrorCounter == NULL: 

5024 with gil: 

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

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

5027 device, errorType, counterType, locationType, count) 

5028  

5029  

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

5031 global __nvmlDeviceGetUtilizationRates 

5032 _check_or_init_nvml() 2a qb

5033 if __nvmlDeviceGetUtilizationRates == NULL: 2qb

5034 with gil: 

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

5036 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUtilization_t*) noexcept nogil>__nvmlDeviceGetUtilizationRates)( 2qb

5037 device, utilization) 

5038  

5039  

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

5041 global __nvmlDeviceGetEncoderUtilization 

5042 _check_or_init_nvml() 

5043 if __nvmlDeviceGetEncoderUtilization == NULL: 

5044 with gil: 

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

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

5047 device, utilization, samplingPeriodUs) 

5048  

5049  

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

5051 global __nvmlDeviceGetEncoderCapacity 

5052 _check_or_init_nvml() 

5053 if __nvmlDeviceGetEncoderCapacity == NULL: 

5054 with gil: 

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

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

5057 device, encoderQueryType, encoderCapacity) 

5058  

5059  

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

5061 global __nvmlDeviceGetEncoderStats 

5062 _check_or_init_nvml() 

5063 if __nvmlDeviceGetEncoderStats == NULL: 

5064 with gil: 

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

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

5067 device, sessionCount, averageFps, averageLatency) 

5068  

5069  

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

5071 global __nvmlDeviceGetEncoderSessions 

5072 _check_or_init_nvml() 

5073 if __nvmlDeviceGetEncoderSessions == NULL: 

5074 with gil: 

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

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

5077 device, sessionCount, sessionInfos) 

5078  

5079  

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

5081 global __nvmlDeviceGetDecoderUtilization 

5082 _check_or_init_nvml() 

5083 if __nvmlDeviceGetDecoderUtilization == NULL: 

5084 with gil: 

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

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

5087 device, utilization, samplingPeriodUs) 

5088  

5089  

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

5091 global __nvmlDeviceGetJpgUtilization 

5092 _check_or_init_nvml() 

5093 if __nvmlDeviceGetJpgUtilization == NULL: 

5094 with gil: 

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

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

5097 device, utilization, samplingPeriodUs) 

5098  

5099  

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

5101 global __nvmlDeviceGetOfaUtilization 

5102 _check_or_init_nvml() 

5103 if __nvmlDeviceGetOfaUtilization == NULL: 

5104 with gil: 

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

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

5107 device, utilization, samplingPeriodUs) 

5108  

5109  

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

5111 global __nvmlDeviceGetFBCStats 

5112 _check_or_init_nvml() 

5113 if __nvmlDeviceGetFBCStats == NULL: 

5114 with gil: 

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

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

5117 device, fbcStats) 

5118  

5119  

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

5121 global __nvmlDeviceGetFBCSessions 

5122 _check_or_init_nvml() 

5123 if __nvmlDeviceGetFBCSessions == NULL: 

5124 with gil: 

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

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

5127 device, sessionCount, sessionInfo) 

5128  

5129  

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

5131 global __nvmlDeviceGetDriverModel_v2 

5132 _check_or_init_nvml() 

5133 if __nvmlDeviceGetDriverModel_v2 == NULL: 

5134 with gil: 

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

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

5137 device, current, pending) 

5138  

5139  

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

5141 global __nvmlDeviceGetVbiosVersion 

5142 _check_or_init_nvml() 

5143 if __nvmlDeviceGetVbiosVersion == NULL: 

5144 with gil: 

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

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

5147 device, version, length) 

5148  

5149  

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

5151 global __nvmlDeviceGetBridgeChipInfo 

5152 _check_or_init_nvml() 1az

5153 if __nvmlDeviceGetBridgeChipInfo == NULL: 1z

5154 with gil: 

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

5156 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBridgeChipHierarchy_t*) noexcept nogil>__nvmlDeviceGetBridgeChipInfo)( 1z

5157 device, bridgeHierarchy) 

5158  

5159  

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

5161 global __nvmlDeviceGetComputeRunningProcesses_v3 

5162 _check_or_init_nvml() 

5163 if __nvmlDeviceGetComputeRunningProcesses_v3 == NULL: 

5164 with gil: 

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

5166 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlProcessInfo_t*) noexcept nogil>__nvmlDeviceGetComputeRunningProcesses_v3)( 

5167 device, infoCount, infos) 

5168  

5169  

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

5171 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 

5172 _check_or_init_nvml() 

5173 if __nvmlDeviceGetMPSComputeRunningProcesses_v3 == NULL: 

5174 with gil: 

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

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

5177 device, infoCount, infos) 

5178  

5179  

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

5181 global __nvmlDeviceGetRunningProcessDetailList 

5182 _check_or_init_nvml() 

5183 if __nvmlDeviceGetRunningProcessDetailList == NULL: 

5184 with gil: 

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

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

5187 device, plist) 

5188  

5189  

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

5191 global __nvmlDeviceOnSameBoard 

5192 _check_or_init_nvml() 

5193 if __nvmlDeviceOnSameBoard == NULL: 

5194 with gil: 

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

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

5197 device1, device2, onSameBoard) 

5198  

5199  

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

5201 global __nvmlDeviceGetAPIRestriction 

5202 _check_or_init_nvml() 

5203 if __nvmlDeviceGetAPIRestriction == NULL: 

5204 with gil: 

5205 raise FunctionNotFoundError("function nvmlDeviceGetAPIRestriction is not found") 

5206 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAPIRestriction)( 

5207 device, apiType, isRestricted) 

5208  

5209  

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

5211 global __nvmlDeviceGetSamples 

5212 _check_or_init_nvml() 

5213 if __nvmlDeviceGetSamples == NULL: 

5214 with gil: 

5215 raise FunctionNotFoundError("function nvmlDeviceGetSamples is not found") 

5216 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlSamplingType_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlSample_t*) noexcept nogil>__nvmlDeviceGetSamples)( 

5217 device, type, lastSeenTimeStamp, sampleValType, sampleCount, samples) 

5218  

5219  

5220cdef nvmlReturn_t _nvmlDeviceGetBAR1MemoryInfo(nvmlDevice_t device, nvmlBAR1Memory_t* bar1Memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5221 global __nvmlDeviceGetBAR1MemoryInfo 

5222 _check_or_init_nvml() 1aA

5223 if __nvmlDeviceGetBAR1MemoryInfo == NULL: 1A

5224 with gil: 

5225 raise FunctionNotFoundError("function nvmlDeviceGetBAR1MemoryInfo is not found") 

5226 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBAR1Memory_t*) noexcept nogil>__nvmlDeviceGetBAR1MemoryInfo)( 1A

5227 device, bar1Memory) 

5228  

5229  

5230cdef nvmlReturn_t _nvmlDeviceGetIrqNum(nvmlDevice_t device, unsigned int* irqNum) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5231 global __nvmlDeviceGetIrqNum 

5232 _check_or_init_nvml() 

5233 if __nvmlDeviceGetIrqNum == NULL: 

5234 with gil: 

5235 raise FunctionNotFoundError("function nvmlDeviceGetIrqNum is not found") 

5236 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetIrqNum)( 

5237 device, irqNum) 

5238  

5239  

5240cdef nvmlReturn_t _nvmlDeviceGetNumGpuCores(nvmlDevice_t device, unsigned int* numCores) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5241 global __nvmlDeviceGetNumGpuCores 

5242 _check_or_init_nvml() 

5243 if __nvmlDeviceGetNumGpuCores == NULL: 

5244 with gil: 

5245 raise FunctionNotFoundError("function nvmlDeviceGetNumGpuCores is not found") 

5246 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNumGpuCores)( 

5247 device, numCores) 

5248  

5249  

5250cdef nvmlReturn_t _nvmlDeviceGetPowerSource(nvmlDevice_t device, nvmlPowerSource_t* powerSource) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5251 global __nvmlDeviceGetPowerSource 

5252 _check_or_init_nvml() 

5253 if __nvmlDeviceGetPowerSource == NULL: 

5254 with gil: 

5255 raise FunctionNotFoundError("function nvmlDeviceGetPowerSource is not found") 

5256 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSource_t*) noexcept nogil>__nvmlDeviceGetPowerSource)( 

5257 device, powerSource) 

5258  

5259  

5260cdef nvmlReturn_t _nvmlDeviceGetMemoryBusWidth(nvmlDevice_t device, unsigned int* busWidth) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5261 global __nvmlDeviceGetMemoryBusWidth 

5262 _check_or_init_nvml() 

5263 if __nvmlDeviceGetMemoryBusWidth == NULL: 

5264 with gil: 

5265 raise FunctionNotFoundError("function nvmlDeviceGetMemoryBusWidth is not found") 

5266 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMemoryBusWidth)( 

5267 device, busWidth) 

5268  

5269  

5270cdef nvmlReturn_t _nvmlDeviceGetPcieLinkMaxSpeed(nvmlDevice_t device, unsigned int* maxSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5271 global __nvmlDeviceGetPcieLinkMaxSpeed 

5272 _check_or_init_nvml() 

5273 if __nvmlDeviceGetPcieLinkMaxSpeed == NULL: 

5274 with gil: 

5275 raise FunctionNotFoundError("function nvmlDeviceGetPcieLinkMaxSpeed is not found") 

5276 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieLinkMaxSpeed)( 

5277 device, maxSpeed) 

5278  

5279  

5280cdef nvmlReturn_t _nvmlDeviceGetPcieSpeed(nvmlDevice_t device, unsigned int* pcieSpeed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5281 global __nvmlDeviceGetPcieSpeed 

5282 _check_or_init_nvml() 

5283 if __nvmlDeviceGetPcieSpeed == NULL: 

5284 with gil: 

5285 raise FunctionNotFoundError("function nvmlDeviceGetPcieSpeed is not found") 

5286 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetPcieSpeed)( 

5287 device, pcieSpeed) 

5288  

5289  

5290cdef nvmlReturn_t _nvmlDeviceGetAdaptiveClockInfoStatus(nvmlDevice_t device, unsigned int* adaptiveClockStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5291 global __nvmlDeviceGetAdaptiveClockInfoStatus 

5292 _check_or_init_nvml() 

5293 if __nvmlDeviceGetAdaptiveClockInfoStatus == NULL: 

5294 with gil: 

5295 raise FunctionNotFoundError("function nvmlDeviceGetAdaptiveClockInfoStatus is not found") 

5296 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAdaptiveClockInfoStatus)( 

5297 device, adaptiveClockStatus) 

5298  

5299  

5300cdef nvmlReturn_t _nvmlDeviceGetBusType(nvmlDevice_t device, nvmlBusType_t* type) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5301 global __nvmlDeviceGetBusType 

5302 _check_or_init_nvml() 

5303 if __nvmlDeviceGetBusType == NULL: 

5304 with gil: 

5305 raise FunctionNotFoundError("function nvmlDeviceGetBusType is not found") 

5306 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlBusType_t*) noexcept nogil>__nvmlDeviceGetBusType)( 

5307 device, type) 

5308  

5309  

5310cdef nvmlReturn_t _nvmlDeviceGetGpuFabricInfoV(nvmlDevice_t device, nvmlGpuFabricInfoV_t* gpuFabricInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5311 global __nvmlDeviceGetGpuFabricInfoV 

5312 _check_or_init_nvml() 

5313 if __nvmlDeviceGetGpuFabricInfoV == NULL: 

5314 with gil: 

5315 raise FunctionNotFoundError("function nvmlDeviceGetGpuFabricInfoV is not found") 

5316 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuFabricInfoV_t*) noexcept nogil>__nvmlDeviceGetGpuFabricInfoV)( 

5317 device, gpuFabricInfo) 

5318  

5319  

5320cdef nvmlReturn_t _nvmlSystemGetConfComputeCapabilities(nvmlConfComputeSystemCaps_t* capabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5321 global __nvmlSystemGetConfComputeCapabilities 

5322 _check_or_init_nvml() 

5323 if __nvmlSystemGetConfComputeCapabilities == NULL: 

5324 with gil: 

5325 raise FunctionNotFoundError("function nvmlSystemGetConfComputeCapabilities is not found") 

5326 return (<nvmlReturn_t (*)(nvmlConfComputeSystemCaps_t*) noexcept nogil>__nvmlSystemGetConfComputeCapabilities)( 

5327 capabilities) 

5328  

5329  

5330cdef nvmlReturn_t _nvmlSystemGetConfComputeState(nvmlConfComputeSystemState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5331 global __nvmlSystemGetConfComputeState 

5332 _check_or_init_nvml() 

5333 if __nvmlSystemGetConfComputeState == NULL: 

5334 with gil: 

5335 raise FunctionNotFoundError("function nvmlSystemGetConfComputeState is not found") 

5336 return (<nvmlReturn_t (*)(nvmlConfComputeSystemState_t*) noexcept nogil>__nvmlSystemGetConfComputeState)( 

5337 state) 

5338  

5339  

5340cdef nvmlReturn_t _nvmlDeviceGetConfComputeMemSizeInfo(nvmlDevice_t device, nvmlConfComputeMemSizeInfo_t* memInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5341 global __nvmlDeviceGetConfComputeMemSizeInfo 

5342 _check_or_init_nvml() 

5343 if __nvmlDeviceGetConfComputeMemSizeInfo == NULL: 

5344 with gil: 

5345 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeMemSizeInfo is not found") 

5346 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeMemSizeInfo_t*) noexcept nogil>__nvmlDeviceGetConfComputeMemSizeInfo)( 

5347 device, memInfo) 

5348  

5349  

5350cdef nvmlReturn_t _nvmlSystemGetConfComputeGpusReadyState(unsigned int* isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5351 global __nvmlSystemGetConfComputeGpusReadyState 

5352 _check_or_init_nvml() 

5353 if __nvmlSystemGetConfComputeGpusReadyState == NULL: 

5354 with gil: 

5355 raise FunctionNotFoundError("function nvmlSystemGetConfComputeGpusReadyState is not found") 

5356 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetConfComputeGpusReadyState)( 

5357 isAcceptingWork) 

5358  

5359  

5360cdef nvmlReturn_t _nvmlDeviceGetConfComputeProtectedMemoryUsage(nvmlDevice_t device, nvmlMemory_t* memory) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5361 global __nvmlDeviceGetConfComputeProtectedMemoryUsage 

5362 _check_or_init_nvml() 

5363 if __nvmlDeviceGetConfComputeProtectedMemoryUsage == NULL: 

5364 with gil: 

5365 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeProtectedMemoryUsage is not found") 

5366 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlMemory_t*) noexcept nogil>__nvmlDeviceGetConfComputeProtectedMemoryUsage)( 

5367 device, memory) 

5368  

5369  

5370cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuCertificate(nvmlDevice_t device, nvmlConfComputeGpuCertificate_t* gpuCert) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5371 global __nvmlDeviceGetConfComputeGpuCertificate 

5372 _check_or_init_nvml() 1aI

5373 if __nvmlDeviceGetConfComputeGpuCertificate == NULL: 1I

5374 with gil: 

5375 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuCertificate is not found") 

5376 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuCertificate_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuCertificate)( 1I

5377 device, gpuCert) 

5378  

5379  

5380cdef nvmlReturn_t _nvmlDeviceGetConfComputeGpuAttestationReport(nvmlDevice_t device, nvmlConfComputeGpuAttestationReport_t* gpuAtstReport) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5381 global __nvmlDeviceGetConfComputeGpuAttestationReport 

5382 _check_or_init_nvml() 1aJ

5383 if __nvmlDeviceGetConfComputeGpuAttestationReport == NULL: 1J

5384 with gil: 

5385 raise FunctionNotFoundError("function nvmlDeviceGetConfComputeGpuAttestationReport is not found") 

5386 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlConfComputeGpuAttestationReport_t*) noexcept nogil>__nvmlDeviceGetConfComputeGpuAttestationReport)( 1J

5387 device, gpuAtstReport) 

5388  

5389  

5390cdef nvmlReturn_t _nvmlSystemGetConfComputeKeyRotationThresholdInfo(nvmlConfComputeGetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5391 global __nvmlSystemGetConfComputeKeyRotationThresholdInfo 

5392 _check_or_init_nvml() 

5393 if __nvmlSystemGetConfComputeKeyRotationThresholdInfo == NULL: 

5394 with gil: 

5395 raise FunctionNotFoundError("function nvmlSystemGetConfComputeKeyRotationThresholdInfo is not found") 

5396 return (<nvmlReturn_t (*)(nvmlConfComputeGetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemGetConfComputeKeyRotationThresholdInfo)( 

5397 pKeyRotationThrInfo) 

5398  

5399  

5400cdef nvmlReturn_t _nvmlDeviceSetConfComputeUnprotectedMemSize(nvmlDevice_t device, unsigned long long sizeKiB) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5401 global __nvmlDeviceSetConfComputeUnprotectedMemSize 

5402 _check_or_init_nvml() 

5403 if __nvmlDeviceSetConfComputeUnprotectedMemSize == NULL: 

5404 with gil: 

5405 raise FunctionNotFoundError("function nvmlDeviceSetConfComputeUnprotectedMemSize is not found") 

5406 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long) noexcept nogil>__nvmlDeviceSetConfComputeUnprotectedMemSize)( 

5407 device, sizeKiB) 

5408  

5409  

5410cdef nvmlReturn_t _nvmlSystemSetConfComputeGpusReadyState(unsigned int isAcceptingWork) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5411 global __nvmlSystemSetConfComputeGpusReadyState 

5412 _check_or_init_nvml() 

5413 if __nvmlSystemSetConfComputeGpusReadyState == NULL: 

5414 with gil: 

5415 raise FunctionNotFoundError("function nvmlSystemSetConfComputeGpusReadyState is not found") 

5416 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetConfComputeGpusReadyState)( 

5417 isAcceptingWork) 

5418  

5419  

5420cdef nvmlReturn_t _nvmlSystemSetConfComputeKeyRotationThresholdInfo(nvmlConfComputeSetKeyRotationThresholdInfo_t* pKeyRotationThrInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5421 global __nvmlSystemSetConfComputeKeyRotationThresholdInfo 

5422 _check_or_init_nvml() 

5423 if __nvmlSystemSetConfComputeKeyRotationThresholdInfo == NULL: 

5424 with gil: 

5425 raise FunctionNotFoundError("function nvmlSystemSetConfComputeKeyRotationThresholdInfo is not found") 

5426 return (<nvmlReturn_t (*)(nvmlConfComputeSetKeyRotationThresholdInfo_t*) noexcept nogil>__nvmlSystemSetConfComputeKeyRotationThresholdInfo)( 

5427 pKeyRotationThrInfo) 

5428  

5429  

5430cdef nvmlReturn_t _nvmlSystemGetConfComputeSettings(nvmlSystemConfComputeSettings_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5431 global __nvmlSystemGetConfComputeSettings 

5432 _check_or_init_nvml() 

5433 if __nvmlSystemGetConfComputeSettings == NULL: 

5434 with gil: 

5435 raise FunctionNotFoundError("function nvmlSystemGetConfComputeSettings is not found") 

5436 return (<nvmlReturn_t (*)(nvmlSystemConfComputeSettings_t*) noexcept nogil>__nvmlSystemGetConfComputeSettings)( 

5437 settings) 

5438  

5439  

5440cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareVersion(nvmlDevice_t device, char* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5441 global __nvmlDeviceGetGspFirmwareVersion 

5442 _check_or_init_nvml() 

5443 if __nvmlDeviceGetGspFirmwareVersion == NULL: 

5444 with gil: 

5445 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareVersion is not found") 

5446 return (<nvmlReturn_t (*)(nvmlDevice_t, char*) noexcept nogil>__nvmlDeviceGetGspFirmwareVersion)( 

5447 device, version) 

5448  

5449  

5450cdef nvmlReturn_t _nvmlDeviceGetGspFirmwareMode(nvmlDevice_t device, unsigned int* isEnabled, unsigned int* defaultMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5451 global __nvmlDeviceGetGspFirmwareMode 

5452 _check_or_init_nvml() 

5453 if __nvmlDeviceGetGspFirmwareMode == NULL: 

5454 with gil: 

5455 raise FunctionNotFoundError("function nvmlDeviceGetGspFirmwareMode is not found") 

5456 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetGspFirmwareMode)( 

5457 device, isEnabled, defaultMode) 

5458  

5459  

5460cdef nvmlReturn_t _nvmlDeviceGetSramEccErrorStatus(nvmlDevice_t device, nvmlEccSramErrorStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5461 global __nvmlDeviceGetSramEccErrorStatus 

5462 _check_or_init_nvml() 

5463 if __nvmlDeviceGetSramEccErrorStatus == NULL: 

5464 with gil: 

5465 raise FunctionNotFoundError("function nvmlDeviceGetSramEccErrorStatus is not found") 

5466 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramErrorStatus_t*) noexcept nogil>__nvmlDeviceGetSramEccErrorStatus)( 

5467 device, status) 

5468  

5469  

5470cdef nvmlReturn_t _nvmlDeviceGetAccountingMode(nvmlDevice_t device, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5471 global __nvmlDeviceGetAccountingMode 

5472 _check_or_init_nvml() 

5473 if __nvmlDeviceGetAccountingMode == NULL: 

5474 with gil: 

5475 raise FunctionNotFoundError("function nvmlDeviceGetAccountingMode is not found") 

5476 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetAccountingMode)( 

5477 device, mode) 

5478  

5479  

5480cdef nvmlReturn_t _nvmlDeviceGetAccountingStats(nvmlDevice_t device, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5481 global __nvmlDeviceGetAccountingStats 

5482 _check_or_init_nvml() 

5483 if __nvmlDeviceGetAccountingStats == NULL: 

5484 with gil: 

5485 raise FunctionNotFoundError("function nvmlDeviceGetAccountingStats is not found") 

5486 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlDeviceGetAccountingStats)( 

5487 device, pid, stats) 

5488  

5489  

5490cdef nvmlReturn_t _nvmlDeviceGetAccountingPids(nvmlDevice_t device, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5491 global __nvmlDeviceGetAccountingPids 

5492 _check_or_init_nvml() 

5493 if __nvmlDeviceGetAccountingPids == NULL: 

5494 with gil: 

5495 raise FunctionNotFoundError("function nvmlDeviceGetAccountingPids is not found") 

5496 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingPids)( 

5497 device, count, pids) 

5498  

5499  

5500cdef nvmlReturn_t _nvmlDeviceGetAccountingBufferSize(nvmlDevice_t device, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5501 global __nvmlDeviceGetAccountingBufferSize 

5502 _check_or_init_nvml() 

5503 if __nvmlDeviceGetAccountingBufferSize == NULL: 

5504 with gil: 

5505 raise FunctionNotFoundError("function nvmlDeviceGetAccountingBufferSize is not found") 

5506 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetAccountingBufferSize)( 

5507 device, bufferSize) 

5508  

5509  

5510cdef nvmlReturn_t _nvmlDeviceGetRetiredPages(nvmlDevice_t device, nvmlPageRetirementCause_t cause, unsigned int* pageCount, unsigned long long* addresses) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5511 global __nvmlDeviceGetRetiredPages 

5512 _check_or_init_nvml() 2a E sb

5513 if __nvmlDeviceGetRetiredPages == NULL: 2E sb

5514 with gil: 

5515 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages is not found") 

5516 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages)( 2E sb

5517 device, cause, pageCount, addresses) 

5518  

5519  

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

5521 global __nvmlDeviceGetRetiredPages_v2 

5522 _check_or_init_nvml() 

5523 if __nvmlDeviceGetRetiredPages_v2 == NULL: 

5524 with gil: 

5525 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPages_v2 is not found") 

5526 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPageRetirementCause_t, unsigned int*, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlDeviceGetRetiredPages_v2)( 

5527 device, cause, pageCount, addresses, timestamps) 

5528  

5529  

5530cdef nvmlReturn_t _nvmlDeviceGetRetiredPagesPendingStatus(nvmlDevice_t device, nvmlEnableState_t* isPending) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5531 global __nvmlDeviceGetRetiredPagesPendingStatus 

5532 _check_or_init_nvml() 1aE

5533 if __nvmlDeviceGetRetiredPagesPendingStatus == NULL: 1E

5534 with gil: 

5535 raise FunctionNotFoundError("function nvmlDeviceGetRetiredPagesPendingStatus is not found") 

5536 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetRetiredPagesPendingStatus)( 1E

5537 device, isPending) 

5538  

5539  

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

5541 global __nvmlDeviceGetRemappedRows 

5542 _check_or_init_nvml() 

5543 if __nvmlDeviceGetRemappedRows == NULL: 

5544 with gil: 

5545 raise FunctionNotFoundError("function nvmlDeviceGetRemappedRows is not found") 

5546 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetRemappedRows)( 

5547 device, corrRows, uncRows, isPending, failureOccurred) 

5548  

5549  

5550cdef nvmlReturn_t _nvmlDeviceGetRowRemapperHistogram(nvmlDevice_t device, nvmlRowRemapperHistogramValues_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5551 global __nvmlDeviceGetRowRemapperHistogram 

5552 _check_or_init_nvml() 

5553 if __nvmlDeviceGetRowRemapperHistogram == NULL: 

5554 with gil: 

5555 raise FunctionNotFoundError("function nvmlDeviceGetRowRemapperHistogram is not found") 

5556 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRowRemapperHistogramValues_t*) noexcept nogil>__nvmlDeviceGetRowRemapperHistogram)( 

5557 device, values) 

5558  

5559  

5560cdef nvmlReturn_t _nvmlDeviceGetArchitecture(nvmlDevice_t device, nvmlDeviceArchitecture_t* arch) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5561 global __nvmlDeviceGetArchitecture 

5562 _check_or_init_nvml() 2a : wbrbx y } H , D I J i ) jcz s e Zc0c1c2ctb6 7 8 9 ! # obpbubqbo - h k q b $ 5 A = B c v ( m Cbd C l n w f

5563 if __nvmlDeviceGetArchitecture == NULL: 2: wbrbx y } H , D I J i ) jcz s e Zc0c1c2ctb6 7 8 9 ! # obpbubqbo - h k q b $ 5 A = B c v ( m Cbd C l n w f

5564 with gil: 

5565 raise FunctionNotFoundError("function nvmlDeviceGetArchitecture is not found") 

5566 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceArchitecture_t*) noexcept nogil>__nvmlDeviceGetArchitecture)( 2: wbrbx y } H , D I J i ) jcz s e Zc0c1c2ctb6 7 8 9 ! # obpbubqbo - h k q b $ 5 A = B c v ( m Cbd C l n w f

5567 device, arch) 

5568  

5569  

5570cdef nvmlReturn_t _nvmlDeviceGetClkMonStatus(nvmlDevice_t device, nvmlClkMonStatus_t* status) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5571 global __nvmlDeviceGetClkMonStatus 

5572 _check_or_init_nvml() 

5573 if __nvmlDeviceGetClkMonStatus == NULL: 

5574 with gil: 

5575 raise FunctionNotFoundError("function nvmlDeviceGetClkMonStatus is not found") 

5576 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlClkMonStatus_t*) noexcept nogil>__nvmlDeviceGetClkMonStatus)( 

5577 device, status) 

5578  

5579  

5580cdef nvmlReturn_t _nvmlDeviceGetProcessUtilization(nvmlDevice_t device, nvmlProcessUtilizationSample_t* utilization, unsigned int* processSamplesCount, unsigned long long lastSeenTimeStamp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5581 global __nvmlDeviceGetProcessUtilization 

5582 _check_or_init_nvml() 

5583 if __nvmlDeviceGetProcessUtilization == NULL: 

5584 with gil: 

5585 raise FunctionNotFoundError("function nvmlDeviceGetProcessUtilization is not found") 

5586 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessUtilizationSample_t*, unsigned int*, unsigned long long) noexcept nogil>__nvmlDeviceGetProcessUtilization)( 

5587 device, utilization, processSamplesCount, lastSeenTimeStamp) 

5588  

5589  

5590cdef nvmlReturn_t _nvmlDeviceGetProcessesUtilizationInfo(nvmlDevice_t device, nvmlProcessesUtilizationInfo_t* procesesUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5591 global __nvmlDeviceGetProcessesUtilizationInfo 

5592 _check_or_init_nvml() 

5593 if __nvmlDeviceGetProcessesUtilizationInfo == NULL: 

5594 with gil: 

5595 raise FunctionNotFoundError("function nvmlDeviceGetProcessesUtilizationInfo is not found") 

5596 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetProcessesUtilizationInfo)( 

5597 device, procesesUtilInfo) 

5598  

5599  

5600cdef nvmlReturn_t _nvmlDeviceGetPlatformInfo(nvmlDevice_t device, nvmlPlatformInfo_t* platformInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5601 global __nvmlDeviceGetPlatformInfo 

5602 _check_or_init_nvml() 1a)

5603 if __nvmlDeviceGetPlatformInfo == NULL: 1)

5604 with gil: 

5605 raise FunctionNotFoundError("function nvmlDeviceGetPlatformInfo is not found") 

5606 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPlatformInfo_t*) noexcept nogil>__nvmlDeviceGetPlatformInfo)( 1)

5607 device, platformInfo) 

5608  

5609  

5610cdef nvmlReturn_t _nvmlUnitSetLedState(nvmlUnit_t unit, nvmlLedColor_t color) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5611 global __nvmlUnitSetLedState 

5612 _check_or_init_nvml() 

5613 if __nvmlUnitSetLedState == NULL: 

5614 with gil: 

5615 raise FunctionNotFoundError("function nvmlUnitSetLedState is not found") 

5616 return (<nvmlReturn_t (*)(nvmlUnit_t, nvmlLedColor_t) noexcept nogil>__nvmlUnitSetLedState)( 

5617 unit, color) 

5618  

5619  

5620cdef nvmlReturn_t _nvmlDeviceSetPersistenceMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5621 global __nvmlDeviceSetPersistenceMode 

5622 _check_or_init_nvml() 1a?

5623 if __nvmlDeviceSetPersistenceMode == NULL: 1?

5624 with gil: 

5625 raise FunctionNotFoundError("function nvmlDeviceSetPersistenceMode is not found") 

5626 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetPersistenceMode)( 1?

5627 device, mode) 

5628  

5629  

5630cdef nvmlReturn_t _nvmlDeviceSetComputeMode(nvmlDevice_t device, nvmlComputeMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5631 global __nvmlDeviceSetComputeMode 

5632 _check_or_init_nvml() 1a:

5633 if __nvmlDeviceSetComputeMode == NULL: 1:

5634 with gil: 

5635 raise FunctionNotFoundError("function nvmlDeviceSetComputeMode is not found") 

5636 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlComputeMode_t) noexcept nogil>__nvmlDeviceSetComputeMode)( 1:

5637 device, mode) 

5638  

5639  

5640cdef nvmlReturn_t _nvmlDeviceSetEccMode(nvmlDevice_t device, nvmlEnableState_t ecc) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5641 global __nvmlDeviceSetEccMode 

5642 _check_or_init_nvml() 

5643 if __nvmlDeviceSetEccMode == NULL: 

5644 with gil: 

5645 raise FunctionNotFoundError("function nvmlDeviceSetEccMode is not found") 

5646 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetEccMode)( 

5647 device, ecc) 

5648  

5649  

5650cdef nvmlReturn_t _nvmlDeviceClearEccErrorCounts(nvmlDevice_t device, nvmlEccCounterType_t counterType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5651 global __nvmlDeviceClearEccErrorCounts 

5652 _check_or_init_nvml() 

5653 if __nvmlDeviceClearEccErrorCounts == NULL: 

5654 with gil: 

5655 raise FunctionNotFoundError("function nvmlDeviceClearEccErrorCounts is not found") 

5656 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccCounterType_t) noexcept nogil>__nvmlDeviceClearEccErrorCounts)( 

5657 device, counterType) 

5658  

5659  

5660cdef nvmlReturn_t _nvmlDeviceSetDriverModel(nvmlDevice_t device, nvmlDriverModel_t driverModel, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5661 global __nvmlDeviceSetDriverModel 

5662 _check_or_init_nvml() 

5663 if __nvmlDeviceSetDriverModel == NULL: 

5664 with gil: 

5665 raise FunctionNotFoundError("function nvmlDeviceSetDriverModel is not found") 

5666 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDriverModel_t, unsigned int) noexcept nogil>__nvmlDeviceSetDriverModel)( 

5667 device, driverModel, flags) 

5668  

5669  

5670cdef nvmlReturn_t _nvmlDeviceSetGpuLockedClocks(nvmlDevice_t device, unsigned int minGpuClockMHz, unsigned int maxGpuClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5671 global __nvmlDeviceSetGpuLockedClocks 

5672 _check_or_init_nvml() 

5673 if __nvmlDeviceSetGpuLockedClocks == NULL: 

5674 with gil: 

5675 raise FunctionNotFoundError("function nvmlDeviceSetGpuLockedClocks is not found") 

5676 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetGpuLockedClocks)( 

5677 device, minGpuClockMHz, maxGpuClockMHz) 

5678  

5679  

5680cdef nvmlReturn_t _nvmlDeviceResetGpuLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5681 global __nvmlDeviceResetGpuLockedClocks 

5682 _check_or_init_nvml() 

5683 if __nvmlDeviceResetGpuLockedClocks == NULL: 

5684 with gil: 

5685 raise FunctionNotFoundError("function nvmlDeviceResetGpuLockedClocks is not found") 

5686 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetGpuLockedClocks)( 

5687 device) 

5688  

5689  

5690cdef nvmlReturn_t _nvmlDeviceSetMemoryLockedClocks(nvmlDevice_t device, unsigned int minMemClockMHz, unsigned int maxMemClockMHz) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5691 global __nvmlDeviceSetMemoryLockedClocks 

5692 _check_or_init_nvml() 

5693 if __nvmlDeviceSetMemoryLockedClocks == NULL: 

5694 with gil: 

5695 raise FunctionNotFoundError("function nvmlDeviceSetMemoryLockedClocks is not found") 

5696 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetMemoryLockedClocks)( 

5697 device, minMemClockMHz, maxMemClockMHz) 

5698  

5699  

5700cdef nvmlReturn_t _nvmlDeviceResetMemoryLockedClocks(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5701 global __nvmlDeviceResetMemoryLockedClocks 

5702 _check_or_init_nvml() 

5703 if __nvmlDeviceResetMemoryLockedClocks == NULL: 

5704 with gil: 

5705 raise FunctionNotFoundError("function nvmlDeviceResetMemoryLockedClocks is not found") 

5706 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceResetMemoryLockedClocks)( 

5707 device) 

5708  

5709  

5710cdef nvmlReturn_t _nvmlDeviceSetAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5711 global __nvmlDeviceSetAutoBoostedClocksEnabled 

5712 _check_or_init_nvml() 

5713 if __nvmlDeviceSetAutoBoostedClocksEnabled == NULL: 

5714 with gil: 

5715 raise FunctionNotFoundError("function nvmlDeviceSetAutoBoostedClocksEnabled is not found") 

5716 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAutoBoostedClocksEnabled)( 

5717 device, enabled) 

5718  

5719  

5720cdef nvmlReturn_t _nvmlDeviceSetDefaultAutoBoostedClocksEnabled(nvmlDevice_t device, nvmlEnableState_t enabled, unsigned int flags) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5721 global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled 

5722 _check_or_init_nvml() 

5723 if __nvmlDeviceSetDefaultAutoBoostedClocksEnabled == NULL: 

5724 with gil: 

5725 raise FunctionNotFoundError("function nvmlDeviceSetDefaultAutoBoostedClocksEnabled is not found") 

5726 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultAutoBoostedClocksEnabled)( 

5727 device, enabled, flags) 

5728  

5729  

5730cdef nvmlReturn_t _nvmlDeviceSetDefaultFanSpeed_v2(nvmlDevice_t device, unsigned int fan) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5731 global __nvmlDeviceSetDefaultFanSpeed_v2 

5732 _check_or_init_nvml() 

5733 if __nvmlDeviceSetDefaultFanSpeed_v2 == NULL: 

5734 with gil: 

5735 raise FunctionNotFoundError("function nvmlDeviceSetDefaultFanSpeed_v2 is not found") 

5736 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceSetDefaultFanSpeed_v2)( 

5737 device, fan) 

5738  

5739  

5740cdef nvmlReturn_t _nvmlDeviceSetFanControlPolicy(nvmlDevice_t device, unsigned int fan, nvmlFanControlPolicy_t policy) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5741 global __nvmlDeviceSetFanControlPolicy 

5742 _check_or_init_nvml() 

5743 if __nvmlDeviceSetFanControlPolicy == NULL: 

5744 with gil: 

5745 raise FunctionNotFoundError("function nvmlDeviceSetFanControlPolicy is not found") 

5746 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlFanControlPolicy_t) noexcept nogil>__nvmlDeviceSetFanControlPolicy)( 

5747 device, fan, policy) 

5748  

5749  

5750cdef nvmlReturn_t _nvmlDeviceSetTemperatureThreshold(nvmlDevice_t device, nvmlTemperatureThresholds_t thresholdType, int* temp) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5751 global __nvmlDeviceSetTemperatureThreshold 

5752 _check_or_init_nvml() 

5753 if __nvmlDeviceSetTemperatureThreshold == NULL: 

5754 with gil: 1e

5755 raise FunctionNotFoundError("function nvmlDeviceSetTemperatureThreshold is not found") 1e

5756 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlTemperatureThresholds_t, int*) noexcept nogil>__nvmlDeviceSetTemperatureThreshold)( 

5757 device, thresholdType, temp) 

5758  

5759  

5760cdef nvmlReturn_t _nvmlDeviceSetGpuOperationMode(nvmlDevice_t device, nvmlGpuOperationMode_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5761 global __nvmlDeviceSetGpuOperationMode 

5762 _check_or_init_nvml() 

5763 if __nvmlDeviceSetGpuOperationMode == NULL: 

5764 with gil: 

5765 raise FunctionNotFoundError("function nvmlDeviceSetGpuOperationMode is not found") 

5766 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuOperationMode_t) noexcept nogil>__nvmlDeviceSetGpuOperationMode)( 

5767 device, mode) 

5768  

5769  

5770cdef nvmlReturn_t _nvmlDeviceSetAPIRestriction(nvmlDevice_t device, nvmlRestrictedAPI_t apiType, nvmlEnableState_t isRestricted) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5771 global __nvmlDeviceSetAPIRestriction 

5772 _check_or_init_nvml() 

5773 if __nvmlDeviceSetAPIRestriction == NULL: 

5774 with gil: 

5775 raise FunctionNotFoundError("function nvmlDeviceSetAPIRestriction is not found") 

5776 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRestrictedAPI_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAPIRestriction)( 

5777 device, apiType, isRestricted) 

5778  

5779  

5780cdef nvmlReturn_t _nvmlDeviceSetFanSpeed_v2(nvmlDevice_t device, unsigned int fan, unsigned int speed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5781 global __nvmlDeviceSetFanSpeed_v2 

5782 _check_or_init_nvml() 

5783 if __nvmlDeviceSetFanSpeed_v2 == NULL: 

5784 with gil: 2@b

5785 raise FunctionNotFoundError("function nvmlDeviceSetFanSpeed_v2 is not found") 2@b

5786 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int) noexcept nogil>__nvmlDeviceSetFanSpeed_v2)( 

5787 device, fan, speed) 

5788  

5789  

5790cdef nvmlReturn_t _nvmlDeviceSetAccountingMode(nvmlDevice_t device, nvmlEnableState_t mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5791 global __nvmlDeviceSetAccountingMode 

5792 _check_or_init_nvml() 

5793 if __nvmlDeviceSetAccountingMode == NULL: 

5794 with gil: 

5795 raise FunctionNotFoundError("function nvmlDeviceSetAccountingMode is not found") 

5796 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetAccountingMode)( 

5797 device, mode) 

5798  

5799  

5800cdef nvmlReturn_t _nvmlDeviceClearAccountingPids(nvmlDevice_t device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5801 global __nvmlDeviceClearAccountingPids 

5802 _check_or_init_nvml() 

5803 if __nvmlDeviceClearAccountingPids == NULL: 

5804 with gil: 

5805 raise FunctionNotFoundError("function nvmlDeviceClearAccountingPids is not found") 

5806 return (<nvmlReturn_t (*)(nvmlDevice_t) noexcept nogil>__nvmlDeviceClearAccountingPids)( 

5807 device) 

5808  

5809  

5810cdef nvmlReturn_t _nvmlDeviceSetPowerManagementLimit_v2(nvmlDevice_t device, nvmlPowerValue_v2_t* powerValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5811 global __nvmlDeviceSetPowerManagementLimit_v2 

5812 _check_or_init_nvml() 1a,

5813 if __nvmlDeviceSetPowerManagementLimit_v2 == NULL: 1,

5814 with gil: 

5815 raise FunctionNotFoundError("function nvmlDeviceSetPowerManagementLimit_v2 is not found") 

5816 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerValue_v2_t*) noexcept nogil>__nvmlDeviceSetPowerManagementLimit_v2)( 1,

5817 device, powerValue) 

5818  

5819  

5820cdef nvmlReturn_t _nvmlDeviceGetNvLinkState(nvmlDevice_t device, unsigned int link, nvmlEnableState_t* isActive) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5821 global __nvmlDeviceGetNvLinkState 

5822 _check_or_init_nvml() 

5823 if __nvmlDeviceGetNvLinkState == NULL: 

5824 with gil: 1o

5825 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkState is not found") 1o

5826 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceGetNvLinkState)( 

5827 device, link, isActive) 

5828  

5829  

5830cdef nvmlReturn_t _nvmlDeviceGetNvLinkVersion(nvmlDevice_t device, unsigned int link, unsigned int* version) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5831 global __nvmlDeviceGetNvLinkVersion 

5832 _check_or_init_nvml() 

5833 if __nvmlDeviceGetNvLinkVersion == NULL: 

5834 with gil: 1w

5835 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkVersion is not found") 1w

5836 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkVersion)( 

5837 device, link, version) 

5838  

5839  

5840cdef nvmlReturn_t _nvmlDeviceGetNvLinkCapability(nvmlDevice_t device, unsigned int link, nvmlNvLinkCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5841 global __nvmlDeviceGetNvLinkCapability 

5842 _check_or_init_nvml() 1a6789!#

5843 if __nvmlDeviceGetNvLinkCapability == NULL: 16789!#

5844 with gil: 

5845 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkCapability is not found") 

5846 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetNvLinkCapability)( 16789!#

5847 device, link, capability, capResult) 

5848  

5849  

5850cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemotePciInfo_v2(nvmlDevice_t device, unsigned int link, nvmlPciInfo_t* pci) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5851 global __nvmlDeviceGetNvLinkRemotePciInfo_v2 

5852 _check_or_init_nvml() 

5853 if __nvmlDeviceGetNvLinkRemotePciInfo_v2 == NULL: 

5854 with gil: 

5855 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemotePciInfo_v2 is not found") 

5856 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemotePciInfo_v2)( 

5857 device, link, pci) 

5858  

5859  

5860cdef nvmlReturn_t _nvmlDeviceGetNvLinkErrorCounter(nvmlDevice_t device, unsigned int link, nvmlNvLinkErrorCounter_t counter, unsigned long long* counterValue) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5861 global __nvmlDeviceGetNvLinkErrorCounter 

5862 _check_or_init_nvml() 

5863 if __nvmlDeviceGetNvLinkErrorCounter == NULL: 

5864 with gil: 2]b

5865 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkErrorCounter is not found") 2]b

5866 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlNvLinkErrorCounter_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetNvLinkErrorCounter)( 

5867 device, link, counter, counterValue) 

5868  

5869  

5870cdef nvmlReturn_t _nvmlDeviceResetNvLinkErrorCounters(nvmlDevice_t device, unsigned int link) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5871 global __nvmlDeviceResetNvLinkErrorCounters 

5872 _check_or_init_nvml() 

5873 if __nvmlDeviceResetNvLinkErrorCounters == NULL: 

5874 with gil: 

5875 raise FunctionNotFoundError("function nvmlDeviceResetNvLinkErrorCounters is not found") 

5876 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int) noexcept nogil>__nvmlDeviceResetNvLinkErrorCounters)( 

5877 device, link) 

5878  

5879  

5880cdef nvmlReturn_t _nvmlDeviceGetNvLinkRemoteDeviceType(nvmlDevice_t device, unsigned int link, nvmlIntNvLinkDeviceType_t* pNvLinkDeviceType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5881 global __nvmlDeviceGetNvLinkRemoteDeviceType 

5882 _check_or_init_nvml() 

5883 if __nvmlDeviceGetNvLinkRemoteDeviceType == NULL: 

5884 with gil: 

5885 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkRemoteDeviceType is not found") 

5886 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlIntNvLinkDeviceType_t*) noexcept nogil>__nvmlDeviceGetNvLinkRemoteDeviceType)( 

5887 device, link, pNvLinkDeviceType) 

5888  

5889  

5890cdef nvmlReturn_t _nvmlDeviceSetNvLinkDeviceLowPowerThreshold(nvmlDevice_t device, nvmlNvLinkPowerThres_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5891 global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold 

5892 _check_or_init_nvml() 

5893 if __nvmlDeviceSetNvLinkDeviceLowPowerThreshold == NULL: 

5894 with gil: 

5895 raise FunctionNotFoundError("function nvmlDeviceSetNvLinkDeviceLowPowerThreshold is not found") 

5896 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkPowerThres_t*) noexcept nogil>__nvmlDeviceSetNvLinkDeviceLowPowerThreshold)( 

5897 device, info) 

5898  

5899  

5900cdef nvmlReturn_t _nvmlSystemSetNvlinkBwMode(unsigned int nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5901 global __nvmlSystemSetNvlinkBwMode 

5902 _check_or_init_nvml() 

5903 if __nvmlSystemSetNvlinkBwMode == NULL: 

5904 with gil: 1H

5905 raise FunctionNotFoundError("function nvmlSystemSetNvlinkBwMode is not found") 1H

5906 return (<nvmlReturn_t (*)(unsigned int) noexcept nogil>__nvmlSystemSetNvlinkBwMode)( 

5907 nvlinkBwMode) 

5908  

5909  

5910cdef nvmlReturn_t _nvmlSystemGetNvlinkBwMode(unsigned int* nvlinkBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5911 global __nvmlSystemGetNvlinkBwMode 

5912 _check_or_init_nvml() 

5913 if __nvmlSystemGetNvlinkBwMode == NULL: 

5914 with gil: 

5915 raise FunctionNotFoundError("function nvmlSystemGetNvlinkBwMode is not found") 

5916 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlSystemGetNvlinkBwMode)( 

5917 nvlinkBwMode) 

5918  

5919  

5920cdef nvmlReturn_t _nvmlDeviceGetNvlinkSupportedBwModes(nvmlDevice_t device, nvmlNvlinkSupportedBwModes_t* supportedBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5921 global __nvmlDeviceGetNvlinkSupportedBwModes 

5922 _check_or_init_nvml() 1ay

5923 if __nvmlDeviceGetNvlinkSupportedBwModes == NULL: 1y

5924 with gil: 

5925 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkSupportedBwModes is not found") 

5926 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSupportedBwModes_t*) noexcept nogil>__nvmlDeviceGetNvlinkSupportedBwModes)( 1y

5927 device, supportedBwMode) 

5928  

5929  

5930cdef nvmlReturn_t _nvmlDeviceGetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkGetBwMode_t* getBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5931 global __nvmlDeviceGetNvlinkBwMode 

5932 _check_or_init_nvml() 

5933 if __nvmlDeviceGetNvlinkBwMode == NULL: 

5934 with gil: 

5935 raise FunctionNotFoundError("function nvmlDeviceGetNvlinkBwMode is not found") 

5936 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkGetBwMode_t*) noexcept nogil>__nvmlDeviceGetNvlinkBwMode)( 

5937 device, getBwMode) 

5938  

5939  

5940cdef nvmlReturn_t _nvmlDeviceSetNvlinkBwMode(nvmlDevice_t device, nvmlNvlinkSetBwMode_t* setBwMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5941 global __nvmlDeviceSetNvlinkBwMode 

5942 _check_or_init_nvml() 

5943 if __nvmlDeviceSetNvlinkBwMode == NULL: 

5944 with gil: 

5945 raise FunctionNotFoundError("function nvmlDeviceSetNvlinkBwMode is not found") 

5946 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvlinkSetBwMode_t*) noexcept nogil>__nvmlDeviceSetNvlinkBwMode)( 

5947 device, setBwMode) 

5948  

5949  

5950cdef nvmlReturn_t _nvmlEventSetCreate(nvmlEventSet_t* set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5951 global __nvmlEventSetCreate 

5952 _check_or_init_nvml() 1ar

5953 if __nvmlEventSetCreate == NULL: 1r

5954 with gil: 

5955 raise FunctionNotFoundError("function nvmlEventSetCreate is not found") 

5956 return (<nvmlReturn_t (*)(nvmlEventSet_t*) noexcept nogil>__nvmlEventSetCreate)( 1r

5957 set) 

5958  

5959  

5960cdef nvmlReturn_t _nvmlDeviceRegisterEvents(nvmlDevice_t device, unsigned long long eventTypes, nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5961 global __nvmlDeviceRegisterEvents 

5962 _check_or_init_nvml() 1r

5963 if __nvmlDeviceRegisterEvents == NULL: 1r

5964 with gil: 

5965 raise FunctionNotFoundError("function nvmlDeviceRegisterEvents is not found") 

5966 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlEventSet_t) noexcept nogil>__nvmlDeviceRegisterEvents)( 1r

5967 device, eventTypes, set) 

5968  

5969  

5970cdef nvmlReturn_t _nvmlDeviceGetSupportedEventTypes(nvmlDevice_t device, unsigned long long* eventTypes) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5971 global __nvmlDeviceGetSupportedEventTypes 

5972 _check_or_init_nvml() 1r

5973 if __nvmlDeviceGetSupportedEventTypes == NULL: 1r

5974 with gil: 

5975 raise FunctionNotFoundError("function nvmlDeviceGetSupportedEventTypes is not found") 

5976 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long*) noexcept nogil>__nvmlDeviceGetSupportedEventTypes)( 1r

5977 device, eventTypes) 

5978  

5979  

5980cdef nvmlReturn_t _nvmlEventSetWait_v2(nvmlEventSet_t set, nvmlEventData_t* data, unsigned int timeoutms) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5981 global __nvmlEventSetWait_v2 

5982 _check_or_init_nvml() 1r

5983 if __nvmlEventSetWait_v2 == NULL: 1r

5984 with gil: 

5985 raise FunctionNotFoundError("function nvmlEventSetWait_v2 is not found") 

5986 return (<nvmlReturn_t (*)(nvmlEventSet_t, nvmlEventData_t*, unsigned int) noexcept nogil>__nvmlEventSetWait_v2)( 1r

5987 set, data, timeoutms) 

5988  

5989  

5990cdef nvmlReturn_t _nvmlEventSetFree(nvmlEventSet_t set) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

5991 global __nvmlEventSetFree 

5992 _check_or_init_nvml() 1r

5993 if __nvmlEventSetFree == NULL: 1r

5994 with gil: 

5995 raise FunctionNotFoundError("function nvmlEventSetFree is not found") 

5996 return (<nvmlReturn_t (*)(nvmlEventSet_t) noexcept nogil>__nvmlEventSetFree)( 1r

5997 set) 

5998  

5999  

6000cdef nvmlReturn_t _nvmlSystemEventSetCreate(nvmlSystemEventSetCreateRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6001 global __nvmlSystemEventSetCreate 

6002 _check_or_init_nvml() 1.

6003 if __nvmlSystemEventSetCreate == NULL: 1.

6004 with gil: 

6005 raise FunctionNotFoundError("function nvmlSystemEventSetCreate is not found") 

6006 return (<nvmlReturn_t (*)(nvmlSystemEventSetCreateRequest_t*) noexcept nogil>__nvmlSystemEventSetCreate)( 1.

6007 request) 

6008  

6009  

6010cdef nvmlReturn_t _nvmlSystemEventSetFree(nvmlSystemEventSetFreeRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6011 global __nvmlSystemEventSetFree 

6012 _check_or_init_nvml() 1.

6013 if __nvmlSystemEventSetFree == NULL: 1.

6014 with gil: 

6015 raise FunctionNotFoundError("function nvmlSystemEventSetFree is not found") 

6016 return (<nvmlReturn_t (*)(nvmlSystemEventSetFreeRequest_t*) noexcept nogil>__nvmlSystemEventSetFree)( 1.

6017 request) 

6018  

6019  

6020cdef nvmlReturn_t _nvmlSystemRegisterEvents(nvmlSystemRegisterEventRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6021 global __nvmlSystemRegisterEvents 

6022 _check_or_init_nvml() 1.

6023 if __nvmlSystemRegisterEvents == NULL: 1.

6024 with gil: 

6025 raise FunctionNotFoundError("function nvmlSystemRegisterEvents is not found") 

6026 return (<nvmlReturn_t (*)(nvmlSystemRegisterEventRequest_t*) noexcept nogil>__nvmlSystemRegisterEvents)( 1.

6027 request) 

6028  

6029  

6030cdef nvmlReturn_t _nvmlSystemEventSetWait(nvmlSystemEventSetWaitRequest_t* request) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6031 global __nvmlSystemEventSetWait 

6032 _check_or_init_nvml() 1.

6033 if __nvmlSystemEventSetWait == NULL: 1.

6034 with gil: 

6035 raise FunctionNotFoundError("function nvmlSystemEventSetWait is not found") 

6036 return (<nvmlReturn_t (*)(nvmlSystemEventSetWaitRequest_t*) noexcept nogil>__nvmlSystemEventSetWait)( 1.

6037 request) 

6038  

6039  

6040cdef nvmlReturn_t _nvmlDeviceModifyDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t newState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6041 global __nvmlDeviceModifyDrainState 

6042 _check_or_init_nvml() 

6043 if __nvmlDeviceModifyDrainState == NULL: 

6044 with gil: 

6045 raise FunctionNotFoundError("function nvmlDeviceModifyDrainState is not found") 

6046 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t) noexcept nogil>__nvmlDeviceModifyDrainState)( 

6047 pciInfo, newState) 

6048  

6049  

6050cdef nvmlReturn_t _nvmlDeviceQueryDrainState(nvmlPciInfo_t* pciInfo, nvmlEnableState_t* currentState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6051 global __nvmlDeviceQueryDrainState 

6052 _check_or_init_nvml() 

6053 if __nvmlDeviceQueryDrainState == NULL: 

6054 with gil: 

6055 raise FunctionNotFoundError("function nvmlDeviceQueryDrainState is not found") 

6056 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlEnableState_t*) noexcept nogil>__nvmlDeviceQueryDrainState)( 

6057 pciInfo, currentState) 

6058  

6059  

6060cdef nvmlReturn_t _nvmlDeviceRemoveGpu_v2(nvmlPciInfo_t* pciInfo, nvmlDetachGpuState_t gpuState, nvmlPcieLinkState_t linkState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6061 global __nvmlDeviceRemoveGpu_v2 

6062 _check_or_init_nvml() 

6063 if __nvmlDeviceRemoveGpu_v2 == NULL: 

6064 with gil: 

6065 raise FunctionNotFoundError("function nvmlDeviceRemoveGpu_v2 is not found") 

6066 return (<nvmlReturn_t (*)(nvmlPciInfo_t*, nvmlDetachGpuState_t, nvmlPcieLinkState_t) noexcept nogil>__nvmlDeviceRemoveGpu_v2)( 

6067 pciInfo, gpuState, linkState) 

6068  

6069  

6070cdef nvmlReturn_t _nvmlDeviceDiscoverGpus(nvmlPciInfo_t* pciInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6071 global __nvmlDeviceDiscoverGpus 

6072 _check_or_init_nvml() 1s

6073 if __nvmlDeviceDiscoverGpus == NULL: 1s

6074 with gil: 

6075 raise FunctionNotFoundError("function nvmlDeviceDiscoverGpus is not found") 

6076 return (<nvmlReturn_t (*)(nvmlPciInfo_t*) noexcept nogil>__nvmlDeviceDiscoverGpus)( 1s

6077 pciInfo) 

6078  

6079  

6080cdef nvmlReturn_t _nvmlDeviceGetFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6081 global __nvmlDeviceGetFieldValues 

6082 _check_or_init_nvml() 2mcm

6083 if __nvmlDeviceGetFieldValues == NULL: 2mcm

6084 with gil: 

6085 raise FunctionNotFoundError("function nvmlDeviceGetFieldValues is not found") 

6086 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceGetFieldValues)( 2mcm

6087 device, valuesCount, values) 

6088  

6089  

6090cdef nvmlReturn_t _nvmlDeviceClearFieldValues(nvmlDevice_t device, int valuesCount, nvmlFieldValue_t* values) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6091 global __nvmlDeviceClearFieldValues 

6092 _check_or_init_nvml() 1m

6093 if __nvmlDeviceClearFieldValues == NULL: 1m

6094 with gil: 

6095 raise FunctionNotFoundError("function nvmlDeviceClearFieldValues is not found") 

6096 return (<nvmlReturn_t (*)(nvmlDevice_t, int, nvmlFieldValue_t*) noexcept nogil>__nvmlDeviceClearFieldValues)( 1m

6097 device, valuesCount, values) 

6098  

6099  

6100cdef nvmlReturn_t _nvmlDeviceGetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t* pVirtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6101 global __nvmlDeviceGetVirtualizationMode 

6102 _check_or_init_nvml() 1i)

6103 if __nvmlDeviceGetVirtualizationMode == NULL: 1i)

6104 with gil: 

6105 raise FunctionNotFoundError("function nvmlDeviceGetVirtualizationMode is not found") 

6106 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t*) noexcept nogil>__nvmlDeviceGetVirtualizationMode)( 1i)

6107 device, pVirtualMode) 

6108  

6109  

6110cdef nvmlReturn_t _nvmlDeviceGetHostVgpuMode(nvmlDevice_t device, nvmlHostVgpuMode_t* pHostVgpuMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6111 global __nvmlDeviceGetHostVgpuMode 

6112 _check_or_init_nvml() 

6113 if __nvmlDeviceGetHostVgpuMode == NULL: 

6114 with gil: 

6115 raise FunctionNotFoundError("function nvmlDeviceGetHostVgpuMode is not found") 

6116 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostVgpuMode_t*) noexcept nogil>__nvmlDeviceGetHostVgpuMode)( 

6117 device, pHostVgpuMode) 

6118  

6119  

6120cdef nvmlReturn_t _nvmlDeviceSetVirtualizationMode(nvmlDevice_t device, nvmlGpuVirtualizationMode_t virtualMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6121 global __nvmlDeviceSetVirtualizationMode 

6122 _check_or_init_nvml() 

6123 if __nvmlDeviceSetVirtualizationMode == NULL: 

6124 with gil: 

6125 raise FunctionNotFoundError("function nvmlDeviceSetVirtualizationMode is not found") 

6126 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGpuVirtualizationMode_t) noexcept nogil>__nvmlDeviceSetVirtualizationMode)( 

6127 device, virtualMode) 

6128  

6129  

6130cdef nvmlReturn_t _nvmlDeviceGetVgpuHeterogeneousMode(nvmlDevice_t device, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6131 global __nvmlDeviceGetVgpuHeterogeneousMode 

6132 _check_or_init_nvml() 1x

6133 if __nvmlDeviceGetVgpuHeterogeneousMode == NULL: 1x

6134 with gil: 

6135 raise FunctionNotFoundError("function nvmlDeviceGetVgpuHeterogeneousMode is not found") 

6136 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceGetVgpuHeterogeneousMode)( 1x

6137 device, pHeterogeneousMode) 

6138  

6139  

6140cdef nvmlReturn_t _nvmlDeviceSetVgpuHeterogeneousMode(nvmlDevice_t device, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6141 global __nvmlDeviceSetVgpuHeterogeneousMode 

6142 _check_or_init_nvml() 

6143 if __nvmlDeviceSetVgpuHeterogeneousMode == NULL: 

6144 with gil: 

6145 raise FunctionNotFoundError("function nvmlDeviceSetVgpuHeterogeneousMode is not found") 

6146 return (<nvmlReturn_t (*)(nvmlDevice_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlDeviceSetVgpuHeterogeneousMode)( 

6147 device, pHeterogeneousMode) 

6148  

6149  

6150cdef nvmlReturn_t _nvmlVgpuInstanceGetPlacementId(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuPlacementId_t* pPlacement) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6151 global __nvmlVgpuInstanceGetPlacementId 

6152 _check_or_init_nvml() 

6153 if __nvmlVgpuInstanceGetPlacementId == NULL: 

6154 with gil: 

6155 raise FunctionNotFoundError("function nvmlVgpuInstanceGetPlacementId is not found") 

6156 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuPlacementId_t*) noexcept nogil>__nvmlVgpuInstanceGetPlacementId)( 

6157 vgpuInstance, pPlacement) 

6158  

6159  

6160cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeSupportedPlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6161 global __nvmlDeviceGetVgpuTypeSupportedPlacements 

6162 _check_or_init_nvml() 

6163 if __nvmlDeviceGetVgpuTypeSupportedPlacements == NULL: 

6164 with gil: 

6165 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeSupportedPlacements is not found") 

6166 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeSupportedPlacements)( 

6167 device, vgpuTypeId, pPlacementList) 

6168  

6169  

6170cdef nvmlReturn_t _nvmlDeviceGetVgpuTypeCreatablePlacements(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuPlacementList_t* pPlacementList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6171 global __nvmlDeviceGetVgpuTypeCreatablePlacements 

6172 _check_or_init_nvml() 

6173 if __nvmlDeviceGetVgpuTypeCreatablePlacements == NULL: 

6174 with gil: 

6175 raise FunctionNotFoundError("function nvmlDeviceGetVgpuTypeCreatablePlacements is not found") 

6176 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, nvmlVgpuPlacementList_t*) noexcept nogil>__nvmlDeviceGetVgpuTypeCreatablePlacements)( 

6177 device, vgpuTypeId, pPlacementList) 

6178  

6179  

6180cdef nvmlReturn_t _nvmlVgpuTypeGetGspHeapSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* gspHeapSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6181 global __nvmlVgpuTypeGetGspHeapSize 

6182 _check_or_init_nvml() 

6183 if __nvmlVgpuTypeGetGspHeapSize == NULL: 

6184 with gil: 

6185 raise FunctionNotFoundError("function nvmlVgpuTypeGetGspHeapSize is not found") 

6186 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetGspHeapSize)( 

6187 vgpuTypeId, gspHeapSize) 

6188  

6189  

6190cdef nvmlReturn_t _nvmlVgpuTypeGetFbReservation(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbReservation) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6191 global __nvmlVgpuTypeGetFbReservation 

6192 _check_or_init_nvml() 

6193 if __nvmlVgpuTypeGetFbReservation == NULL: 

6194 with gil: 

6195 raise FunctionNotFoundError("function nvmlVgpuTypeGetFbReservation is not found") 

6196 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFbReservation)( 

6197 vgpuTypeId, fbReservation) 

6198  

6199  

6200cdef nvmlReturn_t _nvmlVgpuInstanceGetRuntimeStateSize(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuRuntimeState_t* pState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6201 global __nvmlVgpuInstanceGetRuntimeStateSize 

6202 _check_or_init_nvml() 

6203 if __nvmlVgpuInstanceGetRuntimeStateSize == NULL: 

6204 with gil: 

6205 raise FunctionNotFoundError("function nvmlVgpuInstanceGetRuntimeStateSize is not found") 

6206 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuRuntimeState_t*) noexcept nogil>__nvmlVgpuInstanceGetRuntimeStateSize)( 

6207 vgpuInstance, pState) 

6208  

6209  

6210cdef nvmlReturn_t _nvmlDeviceSetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, nvmlEnableState_t state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6211 global __nvmlDeviceSetVgpuCapabilities 

6212 _check_or_init_nvml() 

6213 if __nvmlDeviceSetVgpuCapabilities == NULL: 

6214 with gil: 

6215 raise FunctionNotFoundError("function nvmlDeviceSetVgpuCapabilities is not found") 

6216 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, nvmlEnableState_t) noexcept nogil>__nvmlDeviceSetVgpuCapabilities)( 

6217 device, capability, state) 

6218  

6219  

6220cdef nvmlReturn_t _nvmlDeviceGetGridLicensableFeatures_v4(nvmlDevice_t device, nvmlGridLicensableFeatures_t* pGridLicensableFeatures) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6221 global __nvmlDeviceGetGridLicensableFeatures_v4 

6222 _check_or_init_nvml() 2~b

6223 if __nvmlDeviceGetGridLicensableFeatures_v4 == NULL: 2~b

6224 with gil: 

6225 raise FunctionNotFoundError("function nvmlDeviceGetGridLicensableFeatures_v4 is not found") 

6226 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlGridLicensableFeatures_t*) noexcept nogil>__nvmlDeviceGetGridLicensableFeatures_v4)( 2~b

6227 device, pGridLicensableFeatures) 

6228  

6229  

6230cdef nvmlReturn_t _nvmlGetVgpuDriverCapabilities(nvmlVgpuDriverCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6231 global __nvmlGetVgpuDriverCapabilities 

6232 _check_or_init_nvml() 

6233 if __nvmlGetVgpuDriverCapabilities == NULL: 

6234 with gil: 

6235 raise FunctionNotFoundError("function nvmlGetVgpuDriverCapabilities is not found") 

6236 return (<nvmlReturn_t (*)(nvmlVgpuDriverCapability_t, unsigned int*) noexcept nogil>__nvmlGetVgpuDriverCapabilities)( 

6237 capability, capResult) 

6238  

6239  

6240cdef nvmlReturn_t _nvmlDeviceGetVgpuCapabilities(nvmlDevice_t device, nvmlDeviceVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6241 global __nvmlDeviceGetVgpuCapabilities 

6242 _check_or_init_nvml() 

6243 if __nvmlDeviceGetVgpuCapabilities == NULL: 

6244 with gil: 

6245 raise FunctionNotFoundError("function nvmlDeviceGetVgpuCapabilities is not found") 

6246 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuCapabilities)( 

6247 device, capability, capResult) 

6248  

6249  

6250cdef nvmlReturn_t _nvmlDeviceGetSupportedVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6251 global __nvmlDeviceGetSupportedVgpus 

6252 _check_or_init_nvml() 

6253 if __nvmlDeviceGetSupportedVgpus == NULL: 

6254 with gil: 

6255 raise FunctionNotFoundError("function nvmlDeviceGetSupportedVgpus is not found") 

6256 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetSupportedVgpus)( 

6257 device, vgpuCount, vgpuTypeIds) 

6258  

6259  

6260cdef nvmlReturn_t _nvmlDeviceGetCreatableVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuTypeId_t* vgpuTypeIds) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6261 global __nvmlDeviceGetCreatableVgpus 

6262 _check_or_init_nvml() 

6263 if __nvmlDeviceGetCreatableVgpus == NULL: 

6264 with gil: 

6265 raise FunctionNotFoundError("function nvmlDeviceGetCreatableVgpus is not found") 

6266 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlDeviceGetCreatableVgpus)( 

6267 device, vgpuCount, vgpuTypeIds) 

6268  

6269  

6270cdef nvmlReturn_t _nvmlVgpuTypeGetClass(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeClass, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6271 global __nvmlVgpuTypeGetClass 

6272 _check_or_init_nvml() 

6273 if __nvmlVgpuTypeGetClass == NULL: 

6274 with gil: 

6275 raise FunctionNotFoundError("function nvmlVgpuTypeGetClass is not found") 

6276 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetClass)( 

6277 vgpuTypeId, vgpuTypeClass, size) 

6278  

6279  

6280cdef nvmlReturn_t _nvmlVgpuTypeGetName(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeName, unsigned int* size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6281 global __nvmlVgpuTypeGetName 

6282 _check_or_init_nvml() 

6283 if __nvmlVgpuTypeGetName == NULL: 

6284 with gil: 

6285 raise FunctionNotFoundError("function nvmlVgpuTypeGetName is not found") 

6286 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetName)( 

6287 vgpuTypeId, vgpuTypeName, size) 

6288  

6289  

6290cdef nvmlReturn_t _nvmlVgpuTypeGetGpuInstanceProfileId(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* gpuInstanceProfileId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6291 global __nvmlVgpuTypeGetGpuInstanceProfileId 

6292 _check_or_init_nvml() 

6293 if __nvmlVgpuTypeGetGpuInstanceProfileId == NULL: 

6294 with gil: 

6295 raise FunctionNotFoundError("function nvmlVgpuTypeGetGpuInstanceProfileId is not found") 

6296 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetGpuInstanceProfileId)( 

6297 vgpuTypeId, gpuInstanceProfileId) 

6298  

6299  

6300cdef nvmlReturn_t _nvmlVgpuTypeGetDeviceID(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* deviceID, unsigned long long* subsystemID) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6301 global __nvmlVgpuTypeGetDeviceID 

6302 _check_or_init_nvml() 

6303 if __nvmlVgpuTypeGetDeviceID == NULL: 

6304 with gil: 

6305 raise FunctionNotFoundError("function nvmlVgpuTypeGetDeviceID is not found") 

6306 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetDeviceID)( 

6307 vgpuTypeId, deviceID, subsystemID) 

6308  

6309  

6310cdef nvmlReturn_t _nvmlVgpuTypeGetFramebufferSize(nvmlVgpuTypeId_t vgpuTypeId, unsigned long long* fbSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6311 global __nvmlVgpuTypeGetFramebufferSize 

6312 _check_or_init_nvml() 

6313 if __nvmlVgpuTypeGetFramebufferSize == NULL: 

6314 with gil: 

6315 raise FunctionNotFoundError("function nvmlVgpuTypeGetFramebufferSize is not found") 

6316 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned long long*) noexcept nogil>__nvmlVgpuTypeGetFramebufferSize)( 

6317 vgpuTypeId, fbSize) 

6318  

6319  

6320cdef nvmlReturn_t _nvmlVgpuTypeGetNumDisplayHeads(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* numDisplayHeads) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6321 global __nvmlVgpuTypeGetNumDisplayHeads 

6322 _check_or_init_nvml() 

6323 if __nvmlVgpuTypeGetNumDisplayHeads == NULL: 

6324 with gil: 

6325 raise FunctionNotFoundError("function nvmlVgpuTypeGetNumDisplayHeads is not found") 

6326 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetNumDisplayHeads)( 

6327 vgpuTypeId, numDisplayHeads) 

6328  

6329  

6330cdef nvmlReturn_t _nvmlVgpuTypeGetResolution(nvmlVgpuTypeId_t vgpuTypeId, unsigned int displayIndex, unsigned int* xdim, unsigned int* ydim) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6331 global __nvmlVgpuTypeGetResolution 

6332 _check_or_init_nvml() 

6333 if __nvmlVgpuTypeGetResolution == NULL: 

6334 with gil: 

6335 raise FunctionNotFoundError("function nvmlVgpuTypeGetResolution is not found") 

6336 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetResolution)( 

6337 vgpuTypeId, displayIndex, xdim, ydim) 

6338  

6339  

6340cdef nvmlReturn_t _nvmlVgpuTypeGetLicense(nvmlVgpuTypeId_t vgpuTypeId, char* vgpuTypeLicenseString, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6341 global __nvmlVgpuTypeGetLicense 

6342 _check_or_init_nvml() 

6343 if __nvmlVgpuTypeGetLicense == NULL: 

6344 with gil: 

6345 raise FunctionNotFoundError("function nvmlVgpuTypeGetLicense is not found") 

6346 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, char*, unsigned int) noexcept nogil>__nvmlVgpuTypeGetLicense)( 

6347 vgpuTypeId, vgpuTypeLicenseString, size) 

6348  

6349  

6350cdef nvmlReturn_t _nvmlVgpuTypeGetFrameRateLimit(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6351 global __nvmlVgpuTypeGetFrameRateLimit 

6352 _check_or_init_nvml() 

6353 if __nvmlVgpuTypeGetFrameRateLimit == NULL: 

6354 with gil: 

6355 raise FunctionNotFoundError("function nvmlVgpuTypeGetFrameRateLimit is not found") 

6356 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetFrameRateLimit)( 

6357 vgpuTypeId, frameRateLimit) 

6358  

6359  

6360cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstances(nvmlDevice_t device, nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6361 global __nvmlVgpuTypeGetMaxInstances 

6362 _check_or_init_nvml() 

6363 if __nvmlVgpuTypeGetMaxInstances == NULL: 

6364 with gil: 

6365 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstances is not found") 

6366 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstances)( 

6367 device, vgpuTypeId, vgpuInstanceCount) 

6368  

6369  

6370cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerVm(nvmlVgpuTypeId_t vgpuTypeId, unsigned int* vgpuInstanceCountPerVm) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6371 global __nvmlVgpuTypeGetMaxInstancesPerVm 

6372 _check_or_init_nvml() 

6373 if __nvmlVgpuTypeGetMaxInstancesPerVm == NULL: 

6374 with gil: 

6375 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerVm is not found") 

6376 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerVm)( 

6377 vgpuTypeId, vgpuInstanceCountPerVm) 

6378  

6379  

6380cdef nvmlReturn_t _nvmlVgpuTypeGetBAR1Info(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuTypeBar1Info_t* bar1Info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6381 global __nvmlVgpuTypeGetBAR1Info 

6382 _check_or_init_nvml() 

6383 if __nvmlVgpuTypeGetBAR1Info == NULL: 

6384 with gil: 

6385 raise FunctionNotFoundError("function nvmlVgpuTypeGetBAR1Info is not found") 

6386 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuTypeBar1Info_t*) noexcept nogil>__nvmlVgpuTypeGetBAR1Info)( 

6387 vgpuTypeId, bar1Info) 

6388  

6389  

6390cdef nvmlReturn_t _nvmlDeviceGetActiveVgpus(nvmlDevice_t device, unsigned int* vgpuCount, nvmlVgpuInstance_t* vgpuInstances) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6391 global __nvmlDeviceGetActiveVgpus 

6392 _check_or_init_nvml() 

6393 if __nvmlDeviceGetActiveVgpus == NULL: 

6394 with gil: 

6395 raise FunctionNotFoundError("function nvmlDeviceGetActiveVgpus is not found") 

6396 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, nvmlVgpuInstance_t*) noexcept nogil>__nvmlDeviceGetActiveVgpus)( 

6397 device, vgpuCount, vgpuInstances) 

6398  

6399  

6400cdef nvmlReturn_t _nvmlVgpuInstanceGetVmID(nvmlVgpuInstance_t vgpuInstance, char* vmId, unsigned int size, nvmlVgpuVmIdType_t* vmIdType) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6401 global __nvmlVgpuInstanceGetVmID 

6402 _check_or_init_nvml() 

6403 if __nvmlVgpuInstanceGetVmID == NULL: 

6404 with gil: 

6405 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmID is not found") 

6406 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int, nvmlVgpuVmIdType_t*) noexcept nogil>__nvmlVgpuInstanceGetVmID)( 

6407 vgpuInstance, vmId, size, vmIdType) 

6408  

6409  

6410cdef nvmlReturn_t _nvmlVgpuInstanceGetUUID(nvmlVgpuInstance_t vgpuInstance, char* uuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6411 global __nvmlVgpuInstanceGetUUID 

6412 _check_or_init_nvml() 

6413 if __nvmlVgpuInstanceGetUUID == NULL: 

6414 with gil: 

6415 raise FunctionNotFoundError("function nvmlVgpuInstanceGetUUID is not found") 

6416 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetUUID)( 

6417 vgpuInstance, uuid, size) 

6418  

6419  

6420cdef nvmlReturn_t _nvmlVgpuInstanceGetVmDriverVersion(nvmlVgpuInstance_t vgpuInstance, char* version, unsigned int length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6421 global __nvmlVgpuInstanceGetVmDriverVersion 

6422 _check_or_init_nvml() 

6423 if __nvmlVgpuInstanceGetVmDriverVersion == NULL: 

6424 with gil: 

6425 raise FunctionNotFoundError("function nvmlVgpuInstanceGetVmDriverVersion is not found") 

6426 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetVmDriverVersion)( 

6427 vgpuInstance, version, length) 

6428  

6429  

6430cdef nvmlReturn_t _nvmlVgpuInstanceGetFbUsage(nvmlVgpuInstance_t vgpuInstance, unsigned long long* fbUsage) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6431 global __nvmlVgpuInstanceGetFbUsage 

6432 _check_or_init_nvml() 

6433 if __nvmlVgpuInstanceGetFbUsage == NULL: 

6434 with gil: 

6435 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFbUsage is not found") 

6436 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned long long*) noexcept nogil>__nvmlVgpuInstanceGetFbUsage)( 

6437 vgpuInstance, fbUsage) 

6438  

6439  

6440cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseStatus(nvmlVgpuInstance_t vgpuInstance, unsigned int* licensed) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6441 global __nvmlVgpuInstanceGetLicenseStatus 

6442 _check_or_init_nvml() 

6443 if __nvmlVgpuInstanceGetLicenseStatus == NULL: 

6444 with gil: 

6445 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseStatus is not found") 

6446 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetLicenseStatus)( 

6447 vgpuInstance, licensed) 

6448  

6449  

6450cdef nvmlReturn_t _nvmlVgpuInstanceGetType(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuTypeId_t* vgpuTypeId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6451 global __nvmlVgpuInstanceGetType 

6452 _check_or_init_nvml() 

6453 if __nvmlVgpuInstanceGetType == NULL: 

6454 with gil: 

6455 raise FunctionNotFoundError("function nvmlVgpuInstanceGetType is not found") 

6456 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuTypeId_t*) noexcept nogil>__nvmlVgpuInstanceGetType)( 

6457 vgpuInstance, vgpuTypeId) 

6458  

6459  

6460cdef nvmlReturn_t _nvmlVgpuInstanceGetFrameRateLimit(nvmlVgpuInstance_t vgpuInstance, unsigned int* frameRateLimit) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6461 global __nvmlVgpuInstanceGetFrameRateLimit 

6462 _check_or_init_nvml() 

6463 if __nvmlVgpuInstanceGetFrameRateLimit == NULL: 

6464 with gil: 

6465 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFrameRateLimit is not found") 

6466 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetFrameRateLimit)( 

6467 vgpuInstance, frameRateLimit) 

6468  

6469  

6470cdef nvmlReturn_t _nvmlVgpuInstanceGetEccMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* eccMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6471 global __nvmlVgpuInstanceGetEccMode 

6472 _check_or_init_nvml() 

6473 if __nvmlVgpuInstanceGetEccMode == NULL: 

6474 with gil: 

6475 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEccMode is not found") 

6476 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetEccMode)( 

6477 vgpuInstance, eccMode) 

6478  

6479  

6480cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int* encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6481 global __nvmlVgpuInstanceGetEncoderCapacity 

6482 _check_or_init_nvml() 

6483 if __nvmlVgpuInstanceGetEncoderCapacity == NULL: 

6484 with gil: 

6485 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderCapacity is not found") 

6486 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderCapacity)( 

6487 vgpuInstance, encoderCapacity) 

6488  

6489  

6490cdef nvmlReturn_t _nvmlVgpuInstanceSetEncoderCapacity(nvmlVgpuInstance_t vgpuInstance, unsigned int encoderCapacity) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6491 global __nvmlVgpuInstanceSetEncoderCapacity 

6492 _check_or_init_nvml() 

6493 if __nvmlVgpuInstanceSetEncoderCapacity == NULL: 

6494 with gil: 

6495 raise FunctionNotFoundError("function nvmlVgpuInstanceSetEncoderCapacity is not found") 

6496 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int) noexcept nogil>__nvmlVgpuInstanceSetEncoderCapacity)( 

6497 vgpuInstance, encoderCapacity) 

6498  

6499  

6500cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderStats(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, unsigned int* averageFps, unsigned int* averageLatency) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6501 global __nvmlVgpuInstanceGetEncoderStats 

6502 _check_or_init_nvml() 

6503 if __nvmlVgpuInstanceGetEncoderStats == NULL: 

6504 with gil: 

6505 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderStats is not found") 

6506 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetEncoderStats)( 

6507 vgpuInstance, sessionCount, averageFps, averageLatency) 

6508  

6509  

6510cdef nvmlReturn_t _nvmlVgpuInstanceGetEncoderSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlEncoderSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6511 global __nvmlVgpuInstanceGetEncoderSessions 

6512 _check_or_init_nvml() 

6513 if __nvmlVgpuInstanceGetEncoderSessions == NULL: 

6514 with gil: 

6515 raise FunctionNotFoundError("function nvmlVgpuInstanceGetEncoderSessions is not found") 

6516 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlEncoderSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetEncoderSessions)( 

6517 vgpuInstance, sessionCount, sessionInfo) 

6518  

6519  

6520cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCStats(nvmlVgpuInstance_t vgpuInstance, nvmlFBCStats_t* fbcStats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6521 global __nvmlVgpuInstanceGetFBCStats 

6522 _check_or_init_nvml() 

6523 if __nvmlVgpuInstanceGetFBCStats == NULL: 

6524 with gil: 

6525 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCStats is not found") 

6526 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlFBCStats_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCStats)( 

6527 vgpuInstance, fbcStats) 

6528  

6529  

6530cdef nvmlReturn_t _nvmlVgpuInstanceGetFBCSessions(nvmlVgpuInstance_t vgpuInstance, unsigned int* sessionCount, nvmlFBCSessionInfo_t* sessionInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6531 global __nvmlVgpuInstanceGetFBCSessions 

6532 _check_or_init_nvml() 

6533 if __nvmlVgpuInstanceGetFBCSessions == NULL: 

6534 with gil: 

6535 raise FunctionNotFoundError("function nvmlVgpuInstanceGetFBCSessions is not found") 

6536 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, nvmlFBCSessionInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetFBCSessions)( 

6537 vgpuInstance, sessionCount, sessionInfo) 

6538  

6539  

6540cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuInstanceId(nvmlVgpuInstance_t vgpuInstance, unsigned int* gpuInstanceId) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6541 global __nvmlVgpuInstanceGetGpuInstanceId 

6542 _check_or_init_nvml() 

6543 if __nvmlVgpuInstanceGetGpuInstanceId == NULL: 

6544 with gil: 

6545 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuInstanceId is not found") 

6546 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuInstanceId)( 

6547 vgpuInstance, gpuInstanceId) 

6548  

6549  

6550cdef nvmlReturn_t _nvmlVgpuInstanceGetGpuPciId(nvmlVgpuInstance_t vgpuInstance, char* vgpuPciId, unsigned int* length) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6551 global __nvmlVgpuInstanceGetGpuPciId 

6552 _check_or_init_nvml() 

6553 if __nvmlVgpuInstanceGetGpuPciId == NULL: 

6554 with gil: 

6555 raise FunctionNotFoundError("function nvmlVgpuInstanceGetGpuPciId is not found") 

6556 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetGpuPciId)( 

6557 vgpuInstance, vgpuPciId, length) 

6558  

6559  

6560cdef nvmlReturn_t _nvmlVgpuTypeGetCapabilities(nvmlVgpuTypeId_t vgpuTypeId, nvmlVgpuCapability_t capability, unsigned int* capResult) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6561 global __nvmlVgpuTypeGetCapabilities 

6562 _check_or_init_nvml() 

6563 if __nvmlVgpuTypeGetCapabilities == NULL: 

6564 with gil: 

6565 raise FunctionNotFoundError("function nvmlVgpuTypeGetCapabilities is not found") 

6566 return (<nvmlReturn_t (*)(nvmlVgpuTypeId_t, nvmlVgpuCapability_t, unsigned int*) noexcept nogil>__nvmlVgpuTypeGetCapabilities)( 

6567 vgpuTypeId, capability, capResult) 

6568  

6569  

6570cdef nvmlReturn_t _nvmlVgpuInstanceGetMdevUUID(nvmlVgpuInstance_t vgpuInstance, char* mdevUuid, unsigned int size) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6571 global __nvmlVgpuInstanceGetMdevUUID 

6572 _check_or_init_nvml() 

6573 if __nvmlVgpuInstanceGetMdevUUID == NULL: 

6574 with gil: 

6575 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMdevUUID is not found") 

6576 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, char*, unsigned int) noexcept nogil>__nvmlVgpuInstanceGetMdevUUID)( 

6577 vgpuInstance, mdevUuid, size) 

6578  

6579  

6580cdef nvmlReturn_t _nvmlGpuInstanceGetCreatableVgpus(nvmlGpuInstance_t gpuInstance, nvmlVgpuTypeIdInfo_t* pVgpus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6581 global __nvmlGpuInstanceGetCreatableVgpus 

6582 _check_or_init_nvml() 

6583 if __nvmlGpuInstanceGetCreatableVgpus == NULL: 

6584 with gil: 

6585 raise FunctionNotFoundError("function nvmlGpuInstanceGetCreatableVgpus is not found") 

6586 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuTypeIdInfo_t*) noexcept nogil>__nvmlGpuInstanceGetCreatableVgpus)( 

6587 gpuInstance, pVgpus) 

6588  

6589  

6590cdef nvmlReturn_t _nvmlVgpuTypeGetMaxInstancesPerGpuInstance(nvmlVgpuTypeMaxInstance_t* pMaxInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6591 global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance 

6592 _check_or_init_nvml() 

6593 if __nvmlVgpuTypeGetMaxInstancesPerGpuInstance == NULL: 

6594 with gil: 

6595 raise FunctionNotFoundError("function nvmlVgpuTypeGetMaxInstancesPerGpuInstance is not found") 

6596 return (<nvmlReturn_t (*)(nvmlVgpuTypeMaxInstance_t*) noexcept nogil>__nvmlVgpuTypeGetMaxInstancesPerGpuInstance)( 

6597 pMaxInstance) 

6598  

6599  

6600cdef nvmlReturn_t _nvmlGpuInstanceGetActiveVgpus(nvmlGpuInstance_t gpuInstance, nvmlActiveVgpuInstanceInfo_t* pVgpuInstanceInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6601 global __nvmlGpuInstanceGetActiveVgpus 

6602 _check_or_init_nvml() 

6603 if __nvmlGpuInstanceGetActiveVgpus == NULL: 

6604 with gil: 

6605 raise FunctionNotFoundError("function nvmlGpuInstanceGetActiveVgpus is not found") 

6606 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlActiveVgpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetActiveVgpus)( 

6607 gpuInstance, pVgpuInstanceInfo) 

6608  

6609  

6610cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_t* pScheduler) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6611 global __nvmlGpuInstanceSetVgpuSchedulerState 

6612 _check_or_init_nvml() 

6613 if __nvmlGpuInstanceSetVgpuSchedulerState == NULL: 

6614 with gil: 

6615 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState is not found") 

6616 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerState_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuSchedulerState)( 

6617 gpuInstance, pScheduler) 

6618  

6619  

6620cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerState(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerStateInfo_t* pSchedulerStateInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6621 global __nvmlGpuInstanceGetVgpuSchedulerState 

6622 _check_or_init_nvml() 

6623 if __nvmlGpuInstanceGetVgpuSchedulerState == NULL: 

6624 with gil: 

6625 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerState is not found") 

6626 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerStateInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerState)( 

6627 gpuInstance, pSchedulerStateInfo) 

6628  

6629  

6630cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6631 global __nvmlGpuInstanceGetVgpuSchedulerLog 

6632 _check_or_init_nvml() 

6633 if __nvmlGpuInstanceGetVgpuSchedulerLog == NULL: 

6634 with gil: 

6635 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuSchedulerLog is not found") 

6636 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuSchedulerLogInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuSchedulerLog)( 

6637 gpuInstance, pSchedulerLogInfo) 

6638  

6639  

6640cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuTypeCreatablePlacements(nvmlGpuInstance_t gpuInstance, nvmlVgpuCreatablePlacementInfo_t* pCreatablePlacementInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6641 global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements 

6642 _check_or_init_nvml() 

6643 if __nvmlGpuInstanceGetVgpuTypeCreatablePlacements == NULL: 

6644 with gil: 

6645 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuTypeCreatablePlacements is not found") 

6646 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuCreatablePlacementInfo_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuTypeCreatablePlacements)( 

6647 gpuInstance, pCreatablePlacementInfo) 

6648  

6649  

6650cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6651 global __nvmlGpuInstanceGetVgpuHeterogeneousMode 

6652 _check_or_init_nvml() 

6653 if __nvmlGpuInstanceGetVgpuHeterogeneousMode == NULL: 

6654 with gil: 

6655 raise FunctionNotFoundError("function nvmlGpuInstanceGetVgpuHeterogeneousMode is not found") 

6656 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceGetVgpuHeterogeneousMode)( 

6657 gpuInstance, pHeterogeneousMode) 

6658  

6659  

6660cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuHeterogeneousMode(nvmlGpuInstance_t gpuInstance, const nvmlVgpuHeterogeneousMode_t* pHeterogeneousMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6661 global __nvmlGpuInstanceSetVgpuHeterogeneousMode 

6662 _check_or_init_nvml() 

6663 if __nvmlGpuInstanceSetVgpuHeterogeneousMode == NULL: 

6664 with gil: 

6665 raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuHeterogeneousMode is not found") 

6666 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, const nvmlVgpuHeterogeneousMode_t*) noexcept nogil>__nvmlGpuInstanceSetVgpuHeterogeneousMode)( 

6667 gpuInstance, pHeterogeneousMode) 

6668  

6669  

6670cdef nvmlReturn_t _nvmlVgpuInstanceGetMetadata(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuMetadata_t* vgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6671 global __nvmlVgpuInstanceGetMetadata 

6672 _check_or_init_nvml() 

6673 if __nvmlVgpuInstanceGetMetadata == NULL: 

6674 with gil: 

6675 raise FunctionNotFoundError("function nvmlVgpuInstanceGetMetadata is not found") 

6676 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetMetadata)( 

6677 vgpuInstance, vgpuMetadata, bufferSize) 

6678  

6679  

6680cdef nvmlReturn_t _nvmlDeviceGetVgpuMetadata(nvmlDevice_t device, nvmlVgpuPgpuMetadata_t* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6681 global __nvmlDeviceGetVgpuMetadata 

6682 _check_or_init_nvml() 

6683 if __nvmlDeviceGetVgpuMetadata == NULL: 

6684 with gil: 

6685 raise FunctionNotFoundError("function nvmlDeviceGetVgpuMetadata is not found") 

6686 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuPgpuMetadata_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetVgpuMetadata)( 

6687 device, pgpuMetadata, bufferSize) 

6688  

6689  

6690cdef nvmlReturn_t _nvmlGetVgpuCompatibility(nvmlVgpuMetadata_t* vgpuMetadata, nvmlVgpuPgpuMetadata_t* pgpuMetadata, nvmlVgpuPgpuCompatibility_t* compatibilityInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6691 global __nvmlGetVgpuCompatibility 

6692 _check_or_init_nvml() 

6693 if __nvmlGetVgpuCompatibility == NULL: 

6694 with gil: 

6695 raise FunctionNotFoundError("function nvmlGetVgpuCompatibility is not found") 

6696 return (<nvmlReturn_t (*)(nvmlVgpuMetadata_t*, nvmlVgpuPgpuMetadata_t*, nvmlVgpuPgpuCompatibility_t*) noexcept nogil>__nvmlGetVgpuCompatibility)( 

6697 vgpuMetadata, pgpuMetadata, compatibilityInfo) 

6698  

6699  

6700cdef nvmlReturn_t _nvmlDeviceGetPgpuMetadataString(nvmlDevice_t device, char* pgpuMetadata, unsigned int* bufferSize) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6701 global __nvmlDeviceGetPgpuMetadataString 

6702 _check_or_init_nvml() 

6703 if __nvmlDeviceGetPgpuMetadataString == NULL: 

6704 with gil: 

6705 raise FunctionNotFoundError("function nvmlDeviceGetPgpuMetadataString is not found") 

6706 return (<nvmlReturn_t (*)(nvmlDevice_t, char*, unsigned int*) noexcept nogil>__nvmlDeviceGetPgpuMetadataString)( 

6707 device, pgpuMetadata, bufferSize) 

6708  

6709  

6710cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog(nvmlDevice_t device, nvmlVgpuSchedulerLog_t* pSchedulerLog) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6711 global __nvmlDeviceGetVgpuSchedulerLog 

6712 _check_or_init_nvml() 

6713 if __nvmlDeviceGetVgpuSchedulerLog == NULL: 

6714 with gil: 

6715 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerLog is not found") 

6716 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerLog_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerLog)( 

6717 device, pSchedulerLog) 

6718  

6719  

6720cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerGetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6721 global __nvmlDeviceGetVgpuSchedulerState 

6722 _check_or_init_nvml() 

6723 if __nvmlDeviceGetVgpuSchedulerState == NULL: 

6724 with gil: 

6725 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerState is not found") 

6726 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerGetState_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerState)( 

6727 device, pSchedulerState) 

6728  

6729  

6730cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerCapabilities(nvmlDevice_t device, nvmlVgpuSchedulerCapabilities_t* pCapabilities) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6731 global __nvmlDeviceGetVgpuSchedulerCapabilities 

6732 _check_or_init_nvml() 

6733 if __nvmlDeviceGetVgpuSchedulerCapabilities == NULL: 

6734 with gil: 

6735 raise FunctionNotFoundError("function nvmlDeviceGetVgpuSchedulerCapabilities is not found") 

6736 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerCapabilities_t*) noexcept nogil>__nvmlDeviceGetVgpuSchedulerCapabilities)( 

6737 device, pCapabilities) 

6738  

6739  

6740cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState(nvmlDevice_t device, nvmlVgpuSchedulerSetState_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6741 global __nvmlDeviceSetVgpuSchedulerState 

6742 _check_or_init_nvml() 

6743 if __nvmlDeviceSetVgpuSchedulerState == NULL: 

6744 with gil: 

6745 raise FunctionNotFoundError("function nvmlDeviceSetVgpuSchedulerState is not found") 

6746 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuSchedulerSetState_t*) noexcept nogil>__nvmlDeviceSetVgpuSchedulerState)( 

6747 device, pSchedulerState) 

6748  

6749  

6750cdef nvmlReturn_t _nvmlGetVgpuVersion(nvmlVgpuVersion_t* supported, nvmlVgpuVersion_t* current) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6751 global __nvmlGetVgpuVersion 

6752 _check_or_init_nvml() 

6753 if __nvmlGetVgpuVersion == NULL: 

6754 with gil: 

6755 raise FunctionNotFoundError("function nvmlGetVgpuVersion is not found") 

6756 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*, nvmlVgpuVersion_t*) noexcept nogil>__nvmlGetVgpuVersion)( 

6757 supported, current) 

6758  

6759  

6760cdef nvmlReturn_t _nvmlSetVgpuVersion(nvmlVgpuVersion_t* vgpuVersion) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6761 global __nvmlSetVgpuVersion 

6762 _check_or_init_nvml() 

6763 if __nvmlSetVgpuVersion == NULL: 

6764 with gil: 

6765 raise FunctionNotFoundError("function nvmlSetVgpuVersion is not found") 

6766 return (<nvmlReturn_t (*)(nvmlVgpuVersion_t*) noexcept nogil>__nvmlSetVgpuVersion)( 

6767 vgpuVersion) 

6768  

6769  

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

6771 global __nvmlDeviceGetVgpuUtilization 

6772 _check_or_init_nvml() 

6773 if __nvmlDeviceGetVgpuUtilization == NULL: 

6774 with gil: 

6775 raise FunctionNotFoundError("function nvmlDeviceGetVgpuUtilization is not found") 

6776 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, nvmlValueType_t*, unsigned int*, nvmlVgpuInstanceUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuUtilization)( 

6777 device, lastSeenTimeStamp, sampleValType, vgpuInstanceSamplesCount, utilizationSamples) 

6778  

6779  

6780cdef nvmlReturn_t _nvmlDeviceGetVgpuInstancesUtilizationInfo(nvmlDevice_t device, nvmlVgpuInstancesUtilizationInfo_t* vgpuUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6781 global __nvmlDeviceGetVgpuInstancesUtilizationInfo 

6782 _check_or_init_nvml() 

6783 if __nvmlDeviceGetVgpuInstancesUtilizationInfo == NULL: 

6784 with gil: 

6785 raise FunctionNotFoundError("function nvmlDeviceGetVgpuInstancesUtilizationInfo is not found") 

6786 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuInstancesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuInstancesUtilizationInfo)( 

6787 device, vgpuUtilInfo) 

6788  

6789  

6790cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessUtilization(nvmlDevice_t device, unsigned long long lastSeenTimeStamp, unsigned int* vgpuProcessSamplesCount, nvmlVgpuProcessUtilizationSample_t* utilizationSamples) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6791 global __nvmlDeviceGetVgpuProcessUtilization 

6792 _check_or_init_nvml() 

6793 if __nvmlDeviceGetVgpuProcessUtilization == NULL: 

6794 with gil: 

6795 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessUtilization is not found") 

6796 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned long long, unsigned int*, nvmlVgpuProcessUtilizationSample_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessUtilization)( 

6797 device, lastSeenTimeStamp, vgpuProcessSamplesCount, utilizationSamples) 

6798  

6799  

6800cdef nvmlReturn_t _nvmlDeviceGetVgpuProcessesUtilizationInfo(nvmlDevice_t device, nvmlVgpuProcessesUtilizationInfo_t* vgpuProcUtilInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6801 global __nvmlDeviceGetVgpuProcessesUtilizationInfo 

6802 _check_or_init_nvml() 

6803 if __nvmlDeviceGetVgpuProcessesUtilizationInfo == NULL: 

6804 with gil: 

6805 raise FunctionNotFoundError("function nvmlDeviceGetVgpuProcessesUtilizationInfo is not found") 

6806 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlVgpuProcessesUtilizationInfo_t*) noexcept nogil>__nvmlDeviceGetVgpuProcessesUtilizationInfo)( 

6807 device, vgpuProcUtilInfo) 

6808  

6809  

6810cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingMode(nvmlVgpuInstance_t vgpuInstance, nvmlEnableState_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6811 global __nvmlVgpuInstanceGetAccountingMode 

6812 _check_or_init_nvml() 

6813 if __nvmlVgpuInstanceGetAccountingMode == NULL: 

6814 with gil: 

6815 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingMode is not found") 

6816 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlEnableState_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingMode)( 

6817 vgpuInstance, mode) 

6818  

6819  

6820cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingPids(nvmlVgpuInstance_t vgpuInstance, unsigned int* count, unsigned int* pids) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6821 global __nvmlVgpuInstanceGetAccountingPids 

6822 _check_or_init_nvml() 

6823 if __nvmlVgpuInstanceGetAccountingPids == NULL: 

6824 with gil: 

6825 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingPids is not found") 

6826 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlVgpuInstanceGetAccountingPids)( 

6827 vgpuInstance, count, pids) 

6828  

6829  

6830cdef nvmlReturn_t _nvmlVgpuInstanceGetAccountingStats(nvmlVgpuInstance_t vgpuInstance, unsigned int pid, nvmlAccountingStats_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6831 global __nvmlVgpuInstanceGetAccountingStats 

6832 _check_or_init_nvml() 

6833 if __nvmlVgpuInstanceGetAccountingStats == NULL: 

6834 with gil: 

6835 raise FunctionNotFoundError("function nvmlVgpuInstanceGetAccountingStats is not found") 

6836 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, unsigned int, nvmlAccountingStats_t*) noexcept nogil>__nvmlVgpuInstanceGetAccountingStats)( 

6837 vgpuInstance, pid, stats) 

6838  

6839  

6840cdef nvmlReturn_t _nvmlVgpuInstanceClearAccountingPids(nvmlVgpuInstance_t vgpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6841 global __nvmlVgpuInstanceClearAccountingPids 

6842 _check_or_init_nvml() 

6843 if __nvmlVgpuInstanceClearAccountingPids == NULL: 

6844 with gil: 

6845 raise FunctionNotFoundError("function nvmlVgpuInstanceClearAccountingPids is not found") 

6846 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t) noexcept nogil>__nvmlVgpuInstanceClearAccountingPids)( 

6847 vgpuInstance) 

6848  

6849  

6850cdef nvmlReturn_t _nvmlVgpuInstanceGetLicenseInfo_v2(nvmlVgpuInstance_t vgpuInstance, nvmlVgpuLicenseInfo_t* licenseInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6851 global __nvmlVgpuInstanceGetLicenseInfo_v2 

6852 _check_or_init_nvml() 

6853 if __nvmlVgpuInstanceGetLicenseInfo_v2 == NULL: 

6854 with gil: 

6855 raise FunctionNotFoundError("function nvmlVgpuInstanceGetLicenseInfo_v2 is not found") 

6856 return (<nvmlReturn_t (*)(nvmlVgpuInstance_t, nvmlVgpuLicenseInfo_t*) noexcept nogil>__nvmlVgpuInstanceGetLicenseInfo_v2)( 

6857 vgpuInstance, licenseInfo) 

6858  

6859  

6860cdef nvmlReturn_t _nvmlGetExcludedDeviceCount(unsigned int* deviceCount) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6861 global __nvmlGetExcludedDeviceCount 

6862 _check_or_init_nvml() 

6863 if __nvmlGetExcludedDeviceCount == NULL: 

6864 with gil: 

6865 raise FunctionNotFoundError("function nvmlGetExcludedDeviceCount is not found") 

6866 return (<nvmlReturn_t (*)(unsigned int*) noexcept nogil>__nvmlGetExcludedDeviceCount)( 

6867 deviceCount) 

6868  

6869  

6870cdef nvmlReturn_t _nvmlGetExcludedDeviceInfoByIndex(unsigned int index, nvmlExcludedDeviceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6871 global __nvmlGetExcludedDeviceInfoByIndex 

6872 _check_or_init_nvml() 

6873 if __nvmlGetExcludedDeviceInfoByIndex == NULL: 

6874 with gil: 

6875 raise FunctionNotFoundError("function nvmlGetExcludedDeviceInfoByIndex is not found") 

6876 return (<nvmlReturn_t (*)(unsigned int, nvmlExcludedDeviceInfo_t*) noexcept nogil>__nvmlGetExcludedDeviceInfoByIndex)( 

6877 index, info) 

6878  

6879  

6880cdef nvmlReturn_t _nvmlDeviceSetMigMode(nvmlDevice_t device, unsigned int mode, nvmlReturn_t* activationStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6881 global __nvmlDeviceSetMigMode 

6882 _check_or_init_nvml() 

6883 if __nvmlDeviceSetMigMode == NULL: 

6884 with gil: 

6885 raise FunctionNotFoundError("function nvmlDeviceSetMigMode is not found") 

6886 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlReturn_t*) noexcept nogil>__nvmlDeviceSetMigMode)( 

6887 device, mode, activationStatus) 

6888  

6889  

6890cdef nvmlReturn_t _nvmlDeviceGetMigMode(nvmlDevice_t device, unsigned int* currentMode, unsigned int* pendingMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6891 global __nvmlDeviceGetMigMode 

6892 _check_or_init_nvml() 

6893 if __nvmlDeviceGetMigMode == NULL: 

6894 with gil: 

6895 raise FunctionNotFoundError("function nvmlDeviceGetMigMode is not found") 

6896 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*, unsigned int*) noexcept nogil>__nvmlDeviceGetMigMode)( 

6897 device, currentMode, pendingMode) 

6898  

6899  

6900cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoV(nvmlDevice_t device, unsigned int profile, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6901 global __nvmlDeviceGetGpuInstanceProfileInfoV 

6902 _check_or_init_nvml() 

6903 if __nvmlDeviceGetGpuInstanceProfileInfoV == NULL: 

6904 with gil: 

6905 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoV is not found") 

6906 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoV)( 

6907 device, profile, info) 

6908  

6909  

6910cdef nvmlReturn_t _nvmlDeviceGetGpuInstancePossiblePlacements_v2(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6911 global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 

6912 _check_or_init_nvml() 

6913 if __nvmlDeviceGetGpuInstancePossiblePlacements_v2 == NULL: 

6914 with gil: 

6915 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstancePossiblePlacements_v2 is not found") 

6916 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstancePossiblePlacements_v2)( 

6917 device, profileId, placements, count) 

6918  

6919  

6920cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceRemainingCapacity(nvmlDevice_t device, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6921 global __nvmlDeviceGetGpuInstanceRemainingCapacity 

6922 _check_or_init_nvml() 

6923 if __nvmlDeviceGetGpuInstanceRemainingCapacity == NULL: 

6924 with gil: 

6925 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceRemainingCapacity is not found") 

6926 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceRemainingCapacity)( 

6927 device, profileId, count) 

6928  

6929  

6930cdef nvmlReturn_t _nvmlDeviceCreateGpuInstance(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6931 global __nvmlDeviceCreateGpuInstance 

6932 _check_or_init_nvml() 

6933 if __nvmlDeviceCreateGpuInstance == NULL: 

6934 with gil: 

6935 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstance is not found") 

6936 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstance)( 

6937 device, profileId, gpuInstance) 

6938  

6939  

6940cdef nvmlReturn_t _nvmlDeviceCreateGpuInstanceWithPlacement(nvmlDevice_t device, unsigned int profileId, const nvmlGpuInstancePlacement_t* placement, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6941 global __nvmlDeviceCreateGpuInstanceWithPlacement 

6942 _check_or_init_nvml() 

6943 if __nvmlDeviceCreateGpuInstanceWithPlacement == NULL: 

6944 with gil: 

6945 raise FunctionNotFoundError("function nvmlDeviceCreateGpuInstanceWithPlacement is not found") 

6946 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, const nvmlGpuInstancePlacement_t*, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceCreateGpuInstanceWithPlacement)( 

6947 device, profileId, placement, gpuInstance) 

6948  

6949  

6950cdef nvmlReturn_t _nvmlGpuInstanceDestroy(nvmlGpuInstance_t gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6951 global __nvmlGpuInstanceDestroy 

6952 _check_or_init_nvml() 

6953 if __nvmlGpuInstanceDestroy == NULL: 

6954 with gil: 

6955 raise FunctionNotFoundError("function nvmlGpuInstanceDestroy is not found") 

6956 return (<nvmlReturn_t (*)(nvmlGpuInstance_t) noexcept nogil>__nvmlGpuInstanceDestroy)( 

6957 gpuInstance) 

6958  

6959  

6960cdef nvmlReturn_t _nvmlDeviceGetGpuInstances(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstance_t* gpuInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6961 global __nvmlDeviceGetGpuInstances 

6962 _check_or_init_nvml() 

6963 if __nvmlDeviceGetGpuInstances == NULL: 

6964 with gil: 

6965 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstances is not found") 

6966 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstances)( 

6967 device, profileId, gpuInstances, count) 

6968  

6969  

6970cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceById(nvmlDevice_t device, unsigned int id, nvmlGpuInstance_t* gpuInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6971 global __nvmlDeviceGetGpuInstanceById 

6972 _check_or_init_nvml() 

6973 if __nvmlDeviceGetGpuInstanceById == NULL: 

6974 with gil: 

6975 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceById is not found") 

6976 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstance_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceById)( 

6977 device, id, gpuInstance) 

6978  

6979  

6980cdef nvmlReturn_t _nvmlGpuInstanceGetInfo(nvmlGpuInstance_t gpuInstance, nvmlGpuInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6981 global __nvmlGpuInstanceGetInfo 

6982 _check_or_init_nvml() 

6983 if __nvmlGpuInstanceGetInfo == NULL: 

6984 with gil: 

6985 raise FunctionNotFoundError("function nvmlGpuInstanceGetInfo is not found") 

6986 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, nvmlGpuInstanceInfo_t*) noexcept nogil>__nvmlGpuInstanceGetInfo)( 

6987 gpuInstance, info) 

6988  

6989  

6990cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceProfileInfoV(nvmlGpuInstance_t gpuInstance, unsigned int profile, unsigned int engProfile, nvmlComputeInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

6991 global __nvmlGpuInstanceGetComputeInstanceProfileInfoV 

6992 _check_or_init_nvml() 

6993 if __nvmlGpuInstanceGetComputeInstanceProfileInfoV == NULL: 

6994 with gil: 

6995 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceProfileInfoV is not found") 

6996 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int, nvmlComputeInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceProfileInfoV)( 

6997 gpuInstance, profile, engProfile, info) 

6998  

6999  

7000cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceRemainingCapacity(nvmlGpuInstance_t gpuInstance, unsigned int profileId, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7001 global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity 

7002 _check_or_init_nvml() 

7003 if __nvmlGpuInstanceGetComputeInstanceRemainingCapacity == NULL: 

7004 with gil: 

7005 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceRemainingCapacity is not found") 

7006 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceRemainingCapacity)( 

7007 gpuInstance, profileId, count) 

7008  

7009  

7010cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstancePossiblePlacements(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstancePlacement_t* placements, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7011 global __nvmlGpuInstanceGetComputeInstancePossiblePlacements 

7012 _check_or_init_nvml() 

7013 if __nvmlGpuInstanceGetComputeInstancePossiblePlacements == NULL: 

7014 with gil: 

7015 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstancePossiblePlacements is not found") 

7016 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstancePlacement_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstancePossiblePlacements)( 

7017 gpuInstance, profileId, placements, count) 

7018  

7019  

7020cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstance(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7021 global __nvmlGpuInstanceCreateComputeInstance 

7022 _check_or_init_nvml() 

7023 if __nvmlGpuInstanceCreateComputeInstance == NULL: 

7024 with gil: 

7025 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstance is not found") 

7026 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstance)( 

7027 gpuInstance, profileId, computeInstance) 

7028  

7029  

7030cdef nvmlReturn_t _nvmlGpuInstanceCreateComputeInstanceWithPlacement(nvmlGpuInstance_t gpuInstance, unsigned int profileId, const nvmlComputeInstancePlacement_t* placement, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7031 global __nvmlGpuInstanceCreateComputeInstanceWithPlacement 

7032 _check_or_init_nvml() 

7033 if __nvmlGpuInstanceCreateComputeInstanceWithPlacement == NULL: 

7034 with gil: 

7035 raise FunctionNotFoundError("function nvmlGpuInstanceCreateComputeInstanceWithPlacement is not found") 

7036 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, const nvmlComputeInstancePlacement_t*, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceCreateComputeInstanceWithPlacement)( 

7037 gpuInstance, profileId, placement, computeInstance) 

7038  

7039  

7040cdef nvmlReturn_t _nvmlComputeInstanceDestroy(nvmlComputeInstance_t computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7041 global __nvmlComputeInstanceDestroy 

7042 _check_or_init_nvml() 

7043 if __nvmlComputeInstanceDestroy == NULL: 

7044 with gil: 

7045 raise FunctionNotFoundError("function nvmlComputeInstanceDestroy is not found") 

7046 return (<nvmlReturn_t (*)(nvmlComputeInstance_t) noexcept nogil>__nvmlComputeInstanceDestroy)( 

7047 computeInstance) 

7048  

7049  

7050cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstances(nvmlGpuInstance_t gpuInstance, unsigned int profileId, nvmlComputeInstance_t* computeInstances, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7051 global __nvmlGpuInstanceGetComputeInstances 

7052 _check_or_init_nvml() 

7053 if __nvmlGpuInstanceGetComputeInstances == NULL: 

7054 with gil: 

7055 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstances is not found") 

7056 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*, unsigned int*) noexcept nogil>__nvmlGpuInstanceGetComputeInstances)( 

7057 gpuInstance, profileId, computeInstances, count) 

7058  

7059  

7060cdef nvmlReturn_t _nvmlGpuInstanceGetComputeInstanceById(nvmlGpuInstance_t gpuInstance, unsigned int id, nvmlComputeInstance_t* computeInstance) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7061 global __nvmlGpuInstanceGetComputeInstanceById 

7062 _check_or_init_nvml() 

7063 if __nvmlGpuInstanceGetComputeInstanceById == NULL: 

7064 with gil: 

7065 raise FunctionNotFoundError("function nvmlGpuInstanceGetComputeInstanceById is not found") 

7066 return (<nvmlReturn_t (*)(nvmlGpuInstance_t, unsigned int, nvmlComputeInstance_t*) noexcept nogil>__nvmlGpuInstanceGetComputeInstanceById)( 

7067 gpuInstance, id, computeInstance) 

7068  

7069  

7070cdef nvmlReturn_t _nvmlComputeInstanceGetInfo_v2(nvmlComputeInstance_t computeInstance, nvmlComputeInstanceInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7071 global __nvmlComputeInstanceGetInfo_v2 

7072 _check_or_init_nvml() 

7073 if __nvmlComputeInstanceGetInfo_v2 == NULL: 

7074 with gil: 

7075 raise FunctionNotFoundError("function nvmlComputeInstanceGetInfo_v2 is not found") 

7076 return (<nvmlReturn_t (*)(nvmlComputeInstance_t, nvmlComputeInstanceInfo_t*) noexcept nogil>__nvmlComputeInstanceGetInfo_v2)( 

7077 computeInstance, info) 

7078  

7079  

7080cdef nvmlReturn_t _nvmlDeviceIsMigDeviceHandle(nvmlDevice_t device, unsigned int* isMigDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7081 global __nvmlDeviceIsMigDeviceHandle 

7082 _check_or_init_nvml() 

7083 if __nvmlDeviceIsMigDeviceHandle == NULL: 

7084 with gil: 

7085 raise FunctionNotFoundError("function nvmlDeviceIsMigDeviceHandle is not found") 

7086 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceIsMigDeviceHandle)( 

7087 device, isMigDevice) 

7088  

7089  

7090cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7091 global __nvmlDeviceGetGpuInstanceId 

7092 _check_or_init_nvml() 

7093 if __nvmlDeviceGetGpuInstanceId == NULL: 

7094 with gil: 

7095 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceId is not found") 

7096 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetGpuInstanceId)( 

7097 device, id) 

7098  

7099  

7100cdef nvmlReturn_t _nvmlDeviceGetComputeInstanceId(nvmlDevice_t device, unsigned int* id) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7101 global __nvmlDeviceGetComputeInstanceId 

7102 _check_or_init_nvml() 

7103 if __nvmlDeviceGetComputeInstanceId == NULL: 

7104 with gil: 

7105 raise FunctionNotFoundError("function nvmlDeviceGetComputeInstanceId is not found") 

7106 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetComputeInstanceId)( 

7107 device, id) 

7108  

7109  

7110cdef nvmlReturn_t _nvmlDeviceGetMaxMigDeviceCount(nvmlDevice_t device, unsigned int* count) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7111 global __nvmlDeviceGetMaxMigDeviceCount 

7112 _check_or_init_nvml() 1e

7113 if __nvmlDeviceGetMaxMigDeviceCount == NULL: 1e

7114 with gil: 

7115 raise FunctionNotFoundError("function nvmlDeviceGetMaxMigDeviceCount is not found") 

7116 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int*) noexcept nogil>__nvmlDeviceGetMaxMigDeviceCount)( 1e

7117 device, count) 

7118  

7119  

7120cdef nvmlReturn_t _nvmlDeviceGetMigDeviceHandleByIndex(nvmlDevice_t device, unsigned int index, nvmlDevice_t* migDevice) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7121 global __nvmlDeviceGetMigDeviceHandleByIndex 

7122 _check_or_init_nvml() 

7123 if __nvmlDeviceGetMigDeviceHandleByIndex == NULL: 

7124 with gil: 

7125 raise FunctionNotFoundError("function nvmlDeviceGetMigDeviceHandleByIndex is not found") 

7126 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetMigDeviceHandleByIndex)( 

7127 device, index, migDevice) 

7128  

7129  

7130cdef nvmlReturn_t _nvmlDeviceGetDeviceHandleFromMigDeviceHandle(nvmlDevice_t migDevice, nvmlDevice_t* device) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7131 global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle 

7132 _check_or_init_nvml() 

7133 if __nvmlDeviceGetDeviceHandleFromMigDeviceHandle == NULL: 

7134 with gil: 

7135 raise FunctionNotFoundError("function nvmlDeviceGetDeviceHandleFromMigDeviceHandle is not found") 

7136 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevice_t*) noexcept nogil>__nvmlDeviceGetDeviceHandleFromMigDeviceHandle)( 

7137 migDevice, device) 

7138  

7139  

7140cdef nvmlReturn_t _nvmlDeviceGetCapabilities(nvmlDevice_t device, nvmlDeviceCapabilities_t* caps) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7141 global __nvmlDeviceGetCapabilities 

7142 _check_or_init_nvml() 2@b

7143 if __nvmlDeviceGetCapabilities == NULL: 2@b

7144 with gil: 

7145 raise FunctionNotFoundError("function nvmlDeviceGetCapabilities is not found") 

7146 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceCapabilities_t*) noexcept nogil>__nvmlDeviceGetCapabilities)( 2@b

7147 device, caps) 

7148  

7149  

7150cdef nvmlReturn_t _nvmlDevicePowerSmoothingActivatePresetProfile(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7151 global __nvmlDevicePowerSmoothingActivatePresetProfile 

7152 _check_or_init_nvml() 

7153 if __nvmlDevicePowerSmoothingActivatePresetProfile == NULL: 

7154 with gil: 

7155 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingActivatePresetProfile is not found") 

7156 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingActivatePresetProfile)( 

7157 device, profile) 

7158  

7159  

7160cdef nvmlReturn_t _nvmlDevicePowerSmoothingUpdatePresetProfileParam(nvmlDevice_t device, nvmlPowerSmoothingProfile_t* profile) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7161 global __nvmlDevicePowerSmoothingUpdatePresetProfileParam 

7162 _check_or_init_nvml() 

7163 if __nvmlDevicePowerSmoothingUpdatePresetProfileParam == NULL: 

7164 with gil: 

7165 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingUpdatePresetProfileParam is not found") 

7166 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingProfile_t*) noexcept nogil>__nvmlDevicePowerSmoothingUpdatePresetProfileParam)( 

7167 device, profile) 

7168  

7169  

7170cdef nvmlReturn_t _nvmlDevicePowerSmoothingSetState(nvmlDevice_t device, nvmlPowerSmoothingState_t* state) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7171 global __nvmlDevicePowerSmoothingSetState 

7172 _check_or_init_nvml() 

7173 if __nvmlDevicePowerSmoothingSetState == NULL: 

7174 with gil: 

7175 raise FunctionNotFoundError("function nvmlDevicePowerSmoothingSetState is not found") 

7176 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSmoothingState_t*) noexcept nogil>__nvmlDevicePowerSmoothingSetState)( 

7177 device, state) 

7178  

7179  

7180cdef nvmlReturn_t _nvmlDeviceGetAddressingMode(nvmlDevice_t device, nvmlDeviceAddressingMode_t* mode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7181 global __nvmlDeviceGetAddressingMode 

7182 _check_or_init_nvml() 1o

7183 if __nvmlDeviceGetAddressingMode == NULL: 1o

7184 with gil: 

7185 raise FunctionNotFoundError("function nvmlDeviceGetAddressingMode is not found") 

7186 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDeviceAddressingMode_t*) noexcept nogil>__nvmlDeviceGetAddressingMode)( 1o

7187 device, mode) 

7188  

7189  

7190cdef nvmlReturn_t _nvmlDeviceGetRepairStatus(nvmlDevice_t device, nvmlRepairStatus_t* repairStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7191 global __nvmlDeviceGetRepairStatus 

7192 _check_or_init_nvml() 1w

7193 if __nvmlDeviceGetRepairStatus == NULL: 1w

7194 with gil: 

7195 raise FunctionNotFoundError("function nvmlDeviceGetRepairStatus is not found") 

7196 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRepairStatus_t*) noexcept nogil>__nvmlDeviceGetRepairStatus)( 1w

7197 device, repairStatus) 

7198  

7199  

7200cdef nvmlReturn_t _nvmlDeviceGetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7201 global __nvmlDeviceGetPowerMizerMode_v1 

7202 _check_or_init_nvml() 

7203 if __nvmlDeviceGetPowerMizerMode_v1 == NULL: 

7204 with gil: 

7205 raise FunctionNotFoundError("function nvmlDeviceGetPowerMizerMode_v1 is not found") 

7206 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceGetPowerMizerMode_v1)( 

7207 device, powerMizerMode) 

7208  

7209  

7210cdef nvmlReturn_t _nvmlDeviceSetPowerMizerMode_v1(nvmlDevice_t device, nvmlDevicePowerMizerModes_v1_t* powerMizerMode) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7211 global __nvmlDeviceSetPowerMizerMode_v1 

7212 _check_or_init_nvml() 

7213 if __nvmlDeviceSetPowerMizerMode_v1 == NULL: 

7214 with gil: 

7215 raise FunctionNotFoundError("function nvmlDeviceSetPowerMizerMode_v1 is not found") 

7216 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlDevicePowerMizerModes_v1_t*) noexcept nogil>__nvmlDeviceSetPowerMizerMode_v1)( 

7217 device, powerMizerMode) 

7218  

7219  

7220cdef nvmlReturn_t _nvmlDeviceGetPdi(nvmlDevice_t device, nvmlPdi_t* pdi) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7221 global __nvmlDeviceGetPdi 

7222 _check_or_init_nvml() 2]b

7223 if __nvmlDeviceGetPdi == NULL: 2]b

7224 with gil: 

7225 raise FunctionNotFoundError("function nvmlDeviceGetPdi is not found") 

7226 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPdi_t*) noexcept nogil>__nvmlDeviceGetPdi)( 2]b

7227 device, pdi) 

7228  

7229  

7230cdef nvmlReturn_t _nvmlDeviceSetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7231 global __nvmlDeviceSetHostname_v1 

7232 _check_or_init_nvml() 

7233 if __nvmlDeviceSetHostname_v1 == NULL: 

7234 with gil: 

7235 raise FunctionNotFoundError("function nvmlDeviceSetHostname_v1 is not found") 

7236 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceSetHostname_v1)( 

7237 device, hostname) 

7238  

7239  

7240cdef nvmlReturn_t _nvmlDeviceGetHostname_v1(nvmlDevice_t device, nvmlHostname_v1_t* hostname) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7241 global __nvmlDeviceGetHostname_v1 

7242 _check_or_init_nvml() 

7243 if __nvmlDeviceGetHostname_v1 == NULL: 

7244 with gil: 

7245 raise FunctionNotFoundError("function nvmlDeviceGetHostname_v1 is not found") 

7246 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlHostname_v1_t*) noexcept nogil>__nvmlDeviceGetHostname_v1)( 

7247 device, hostname) 

7248  

7249  

7250cdef nvmlReturn_t _nvmlDeviceGetNvLinkInfo(nvmlDevice_t device, nvmlNvLinkInfo_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7251 global __nvmlDeviceGetNvLinkInfo 

7252 _check_or_init_nvml() 

7253 if __nvmlDeviceGetNvLinkInfo == NULL: 

7254 with gil: 

7255 raise FunctionNotFoundError("function nvmlDeviceGetNvLinkInfo is not found") 

7256 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlNvLinkInfo_t*) noexcept nogil>__nvmlDeviceGetNvLinkInfo)( 

7257 device, info) 

7258  

7259  

7260cdef nvmlReturn_t _nvmlDeviceReadWritePRM_v1(nvmlDevice_t device, nvmlPRMTLV_v1_t* buffer) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7261 global __nvmlDeviceReadWritePRM_v1 

7262 _check_or_init_nvml() 1H

7263 if __nvmlDeviceReadWritePRM_v1 == NULL: 1H

7264 with gil: 

7265 raise FunctionNotFoundError("function nvmlDeviceReadWritePRM_v1 is not found") 

7266 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMTLV_v1_t*) noexcept nogil>__nvmlDeviceReadWritePRM_v1)( 1H

7267 device, buffer) 

7268  

7269  

7270cdef nvmlReturn_t _nvmlDeviceGetGpuInstanceProfileInfoByIdV(nvmlDevice_t device, unsigned int profileId, nvmlGpuInstanceProfileInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7271 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV 

7272 _check_or_init_nvml() 

7273 if __nvmlDeviceGetGpuInstanceProfileInfoByIdV == NULL: 

7274 with gil: 

7275 raise FunctionNotFoundError("function nvmlDeviceGetGpuInstanceProfileInfoByIdV is not found") 

7276 return (<nvmlReturn_t (*)(nvmlDevice_t, unsigned int, nvmlGpuInstanceProfileInfo_v2_t*) noexcept nogil>__nvmlDeviceGetGpuInstanceProfileInfoByIdV)( 

7277 device, profileId, info) 

7278  

7279  

7280cdef nvmlReturn_t _nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts(nvmlDevice_t device, nvmlEccSramUniqueUncorrectedErrorCounts_t* errorCounts) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7281 global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts 

7282 _check_or_init_nvml() 

7283 if __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts == NULL: 

7284 with gil: 

7285 raise FunctionNotFoundError("function nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts is not found") 

7286 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlEccSramUniqueUncorrectedErrorCounts_t*) noexcept nogil>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts)( 

7287 device, errorCounts) 

7288  

7289  

7290cdef nvmlReturn_t _nvmlDeviceGetUnrepairableMemoryFlag_v1(nvmlDevice_t device, nvmlUnrepairableMemoryStatus_v1_t* unrepairableMemoryStatus) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7291 global __nvmlDeviceGetUnrepairableMemoryFlag_v1 

7292 _check_or_init_nvml() 

7293 if __nvmlDeviceGetUnrepairableMemoryFlag_v1 == NULL: 

7294 with gil: 

7295 raise FunctionNotFoundError("function nvmlDeviceGetUnrepairableMemoryFlag_v1 is not found") 

7296 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlUnrepairableMemoryStatus_v1_t*) noexcept nogil>__nvmlDeviceGetUnrepairableMemoryFlag_v1)( 

7297 device, unrepairableMemoryStatus) 

7298  

7299  

7300cdef nvmlReturn_t _nvmlDeviceReadPRMCounters_v1(nvmlDevice_t device, nvmlPRMCounterList_v1_t* counterList) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7301 global __nvmlDeviceReadPRMCounters_v1 

7302 _check_or_init_nvml() 

7303 if __nvmlDeviceReadPRMCounters_v1 == NULL: 

7304 with gil: 

7305 raise FunctionNotFoundError("function nvmlDeviceReadPRMCounters_v1 is not found") 

7306 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlPRMCounterList_v1_t*) noexcept nogil>__nvmlDeviceReadPRMCounters_v1)( 

7307 device, counterList) 

7308  

7309  

7310cdef nvmlReturn_t _nvmlDeviceSetRusdSettings_v1(nvmlDevice_t device, nvmlRusdSettings_v1_t* settings) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: 

7311 global __nvmlDeviceSetRusdSettings_v1 

7312 _check_or_init_nvml() 

7313 if __nvmlDeviceSetRusdSettings_v1 == NULL: 

7314 with gil: 

7315 raise FunctionNotFoundError("function nvmlDeviceSetRusdSettings_v1 is not found") 

7316 return (<nvmlReturn_t (*)(nvmlDevice_t, nvmlRusdSettings_v1_t*) noexcept nogil>__nvmlDeviceSetRusdSettings_v1)( 

7317 device, settings)