From 67a9971d0e004598075e5a75032ae10ca80fb1cf Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 11 Aug 2026 15:44:31 -0400 Subject: [PATCH 1/2] 12.9.x: Update bindings to latest generator release --- .../cuda/bindings/_internal/cufile.pxd | 16 +- .../cuda/bindings/_internal/cufile_linux.pyx | 79 +- .../cuda/bindings/_internal/driver_linux.pyx | 970 +++--- .../bindings/_internal/driver_windows.pyx | 970 +++--- .../bindings/_internal/nvfatbin_linux.pyx | 28 +- .../bindings/_internal/nvfatbin_windows.pyx | 31 +- .../cuda/bindings/_internal/nvjitlink.pxd | 10 +- .../bindings/_internal/nvjitlink_linux.pyx | 39 +- .../bindings/_internal/nvjitlink_windows.pyx | 40 +- .../cuda/bindings/_internal/nvml.pxd | 6 +- .../cuda/bindings/_internal/nvml_linux.pyx | 790 ++--- .../cuda/bindings/_internal/nvml_windows.pyx | 777 ++--- .../cuda/bindings/_internal/nvrtc_linux.pyx | 52 +- .../cuda/bindings/_internal/nvrtc_windows.pyx | 55 +- .../cuda/bindings/_internal/nvvm_linux.pyx | 32 +- .../cuda/bindings/_internal/nvvm_windows.pyx | 35 +- cuda_bindings/cuda/bindings/cufile.pxd | 10 +- cuda_bindings/cuda/bindings/cufile.pyx | 105 +- cuda_bindings/cuda/bindings/cycufile.pxd | 25 +- cuda_bindings/cuda/bindings/cycufile.pyx | 9 +- cuda_bindings/cuda/bindings/cydriver.pxd | 14 +- cuda_bindings/cuda/bindings/cynvfatbin.pxd | 3 +- cuda_bindings/cuda/bindings/cynvjitlink.pxd | 11 +- cuda_bindings/cuda/bindings/cynvjitlink.pyx | 10 +- cuda_bindings/cuda/bindings/cynvml.pxd | 7 +- cuda_bindings/cuda/bindings/cynvml.pyx | 18 +- cuda_bindings/cuda/bindings/cynvrtc.pxd | 3 +- cuda_bindings/cuda/bindings/driver.pxd | 389 +-- cuda_bindings/cuda/bindings/driver.pyx | 972 ++---- cuda_bindings/cuda/bindings/nvfatbin.pxd | 11 +- cuda_bindings/cuda/bindings/nvfatbin.pyx | 74 +- cuda_bindings/cuda/bindings/nvjitlink.pxd | 14 +- cuda_bindings/cuda/bindings/nvjitlink.pyx | 54 +- cuda_bindings/cuda/bindings/nvml.pxd | 18 +- cuda_bindings/cuda/bindings/nvml.pyx | 2766 +++++++++++++---- cuda_bindings/cuda/bindings/nvvm.pxd | 9 +- cuda_bindings/cuda/bindings/nvvm.pyx | 65 +- cuda_bindings/docs/source/module/driver.rst | 12 +- cuda_bindings/docs/source/module/nvrtc.rst | 4 +- cuda_bindings/docs/source/module/runtime.rst | 15 +- 40 files changed, 4757 insertions(+), 3791 deletions(-) diff --git a/cuda_bindings/cuda/bindings/_internal/cufile.pxd b/cuda_bindings/cuda/bindings/_internal/cufile.pxd index d8f4eb9d699..62658be1e1f 100644 --- a/cuda_bindings/cuda/bindings/_internal/cufile.pxd +++ b/cuda_bindings/cuda/bindings/_internal/cufile.pxd @@ -3,8 +3,16 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated with version 12.9.1. Do not modify it directly. +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=754c0fc21d3ba16995b80db0257818b472b3a2e9f9b95df721d27d031787f4ee + + +# <<<< PREAMBLE CONTENT >>>> + +from libcpp cimport bool as _cyb_bool + + +# <<<< END OF PREAMBLE CONTENT >>>> -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=1f7235000769edab9a1a3e7caf7036a967426f6f03a9839beb13d674e2b7a194 from ..cycufile cimport * @@ -23,7 +31,7 @@ cdef CUfileError_t _cuFileDriverClose() except?CUFILE_LOADING_ERR cdef CUfileError_t _cuFileDriverClose_v2() except?CUFILE_LOADING_ERROR nogil cdef long _cuFileUseCount() except* nogil cdef CUfileError_t _cuFileDriverGetProperties(CUfileDrvProps_t* props) except?CUFILE_LOADING_ERROR nogil -cdef CUfileError_t _cuFileDriverSetPollMode(cpp_bool poll, size_t poll_threshold_size) except?CUFILE_LOADING_ERROR nogil +cdef CUfileError_t _cuFileDriverSetPollMode(_cyb_bool poll, size_t poll_threshold_size) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t _cuFileDriverSetMaxDirectIOSize(size_t max_direct_io_size) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t _cuFileDriverSetMaxCacheSize(size_t max_cache_size) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t _cuFileDriverSetMaxPinnedMemSize(size_t max_pinned_size) except?CUFILE_LOADING_ERROR nogil @@ -38,8 +46,8 @@ cdef CUfileError_t _cuFileStreamRegister(CUstream stream, unsigned flags) except cdef CUfileError_t _cuFileStreamDeregister(CUstream stream) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t _cuFileGetVersion(int* version) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t _cuFileGetParameterSizeT(CUFileSizeTConfigParameter_t param, size_t* value) except?CUFILE_LOADING_ERROR nogil -cdef CUfileError_t _cuFileGetParameterBool(CUFileBoolConfigParameter_t param, cpp_bool* value) except?CUFILE_LOADING_ERROR nogil +cdef CUfileError_t _cuFileGetParameterBool(CUFileBoolConfigParameter_t param, _cyb_bool* value) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t _cuFileGetParameterString(CUFileStringConfigParameter_t param, char* desc_str, int len) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t _cuFileSetParameterSizeT(CUFileSizeTConfigParameter_t param, size_t value) except?CUFILE_LOADING_ERROR nogil -cdef CUfileError_t _cuFileSetParameterBool(CUFileBoolConfigParameter_t param, cpp_bool value) except?CUFILE_LOADING_ERROR nogil +cdef CUfileError_t _cuFileSetParameterBool(CUFileBoolConfigParameter_t param, _cyb_bool value) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t _cuFileSetParameterString(CUFileStringConfigParameter_t param, const char* desc_str) except?CUFILE_LOADING_ERROR nogil diff --git a/cuda_bindings/cuda/bindings/_internal/cufile_linux.pyx b/cuda_bindings/cuda/bindings/_internal/cufile_linux.pyx index 53339f575f2..cd388b4a76a 100644 --- a/cuda_bindings/cuda/bindings/_internal/cufile_linux.pyx +++ b/cuda_bindings/cuda/bindings/_internal/cufile_linux.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated with version 12.9.1. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=f82fe2e4ea86565b1f096aad374d6d4578d37de77db0518cd7e2c73332dfb78f +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=6baa85b885ea8a9f8fc01db7ce4c55af185d9080c0856563f15cc15d115db48f # <<<< PREAMBLE CONTENT >>>> @@ -45,7 +45,8 @@ cdef extern from "": const void * _cyb_RTLD_DEFAULT "RTLD_DEFAULT" cimport cython as _cyb_cython -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport intptr_t +from libcpp cimport bool as _cyb_bool import threading as _cyb_threading @@ -339,97 +340,97 @@ cpdef dict _inspect_function_pointers(): _check_or_init_cufile() cdef dict data = {} global __cuFileHandleRegister - data["__cuFileHandleRegister"] = <_cyb_intptr_t>__cuFileHandleRegister + data["__cuFileHandleRegister"] = __cuFileHandleRegister global __cuFileHandleDeregister - data["__cuFileHandleDeregister"] = <_cyb_intptr_t>__cuFileHandleDeregister + data["__cuFileHandleDeregister"] = __cuFileHandleDeregister global __cuFileBufRegister - data["__cuFileBufRegister"] = <_cyb_intptr_t>__cuFileBufRegister + data["__cuFileBufRegister"] = __cuFileBufRegister global __cuFileBufDeregister - data["__cuFileBufDeregister"] = <_cyb_intptr_t>__cuFileBufDeregister + data["__cuFileBufDeregister"] = __cuFileBufDeregister global __cuFileRead - data["__cuFileRead"] = <_cyb_intptr_t>__cuFileRead + data["__cuFileRead"] = __cuFileRead global __cuFileWrite - data["__cuFileWrite"] = <_cyb_intptr_t>__cuFileWrite + data["__cuFileWrite"] = __cuFileWrite global __cuFileDriverOpen - data["__cuFileDriverOpen"] = <_cyb_intptr_t>__cuFileDriverOpen + data["__cuFileDriverOpen"] = __cuFileDriverOpen global __cuFileDriverClose - data["__cuFileDriverClose"] = <_cyb_intptr_t>__cuFileDriverClose + data["__cuFileDriverClose"] = __cuFileDriverClose global __cuFileDriverClose_v2 - data["__cuFileDriverClose_v2"] = <_cyb_intptr_t>__cuFileDriverClose_v2 + data["__cuFileDriverClose_v2"] = __cuFileDriverClose_v2 global __cuFileUseCount - data["__cuFileUseCount"] = <_cyb_intptr_t>__cuFileUseCount + data["__cuFileUseCount"] = __cuFileUseCount global __cuFileDriverGetProperties - data["__cuFileDriverGetProperties"] = <_cyb_intptr_t>__cuFileDriverGetProperties + data["__cuFileDriverGetProperties"] = __cuFileDriverGetProperties global __cuFileDriverSetPollMode - data["__cuFileDriverSetPollMode"] = <_cyb_intptr_t>__cuFileDriverSetPollMode + data["__cuFileDriverSetPollMode"] = __cuFileDriverSetPollMode global __cuFileDriverSetMaxDirectIOSize - data["__cuFileDriverSetMaxDirectIOSize"] = <_cyb_intptr_t>__cuFileDriverSetMaxDirectIOSize + data["__cuFileDriverSetMaxDirectIOSize"] = __cuFileDriverSetMaxDirectIOSize global __cuFileDriverSetMaxCacheSize - data["__cuFileDriverSetMaxCacheSize"] = <_cyb_intptr_t>__cuFileDriverSetMaxCacheSize + data["__cuFileDriverSetMaxCacheSize"] = __cuFileDriverSetMaxCacheSize global __cuFileDriverSetMaxPinnedMemSize - data["__cuFileDriverSetMaxPinnedMemSize"] = <_cyb_intptr_t>__cuFileDriverSetMaxPinnedMemSize + data["__cuFileDriverSetMaxPinnedMemSize"] = __cuFileDriverSetMaxPinnedMemSize global __cuFileBatchIOSetUp - data["__cuFileBatchIOSetUp"] = <_cyb_intptr_t>__cuFileBatchIOSetUp + data["__cuFileBatchIOSetUp"] = __cuFileBatchIOSetUp global __cuFileBatchIOSubmit - data["__cuFileBatchIOSubmit"] = <_cyb_intptr_t>__cuFileBatchIOSubmit + data["__cuFileBatchIOSubmit"] = __cuFileBatchIOSubmit global __cuFileBatchIOGetStatus - data["__cuFileBatchIOGetStatus"] = <_cyb_intptr_t>__cuFileBatchIOGetStatus + data["__cuFileBatchIOGetStatus"] = __cuFileBatchIOGetStatus global __cuFileBatchIOCancel - data["__cuFileBatchIOCancel"] = <_cyb_intptr_t>__cuFileBatchIOCancel + data["__cuFileBatchIOCancel"] = __cuFileBatchIOCancel global __cuFileBatchIODestroy - data["__cuFileBatchIODestroy"] = <_cyb_intptr_t>__cuFileBatchIODestroy + data["__cuFileBatchIODestroy"] = __cuFileBatchIODestroy global __cuFileReadAsync - data["__cuFileReadAsync"] = <_cyb_intptr_t>__cuFileReadAsync + data["__cuFileReadAsync"] = __cuFileReadAsync global __cuFileWriteAsync - data["__cuFileWriteAsync"] = <_cyb_intptr_t>__cuFileWriteAsync + data["__cuFileWriteAsync"] = __cuFileWriteAsync global __cuFileStreamRegister - data["__cuFileStreamRegister"] = <_cyb_intptr_t>__cuFileStreamRegister + data["__cuFileStreamRegister"] = __cuFileStreamRegister global __cuFileStreamDeregister - data["__cuFileStreamDeregister"] = <_cyb_intptr_t>__cuFileStreamDeregister + data["__cuFileStreamDeregister"] = __cuFileStreamDeregister global __cuFileGetVersion - data["__cuFileGetVersion"] = <_cyb_intptr_t>__cuFileGetVersion + data["__cuFileGetVersion"] = __cuFileGetVersion global __cuFileGetParameterSizeT - data["__cuFileGetParameterSizeT"] = <_cyb_intptr_t>__cuFileGetParameterSizeT + data["__cuFileGetParameterSizeT"] = __cuFileGetParameterSizeT global __cuFileGetParameterBool - data["__cuFileGetParameterBool"] = <_cyb_intptr_t>__cuFileGetParameterBool + data["__cuFileGetParameterBool"] = __cuFileGetParameterBool global __cuFileGetParameterString - data["__cuFileGetParameterString"] = <_cyb_intptr_t>__cuFileGetParameterString + data["__cuFileGetParameterString"] = __cuFileGetParameterString global __cuFileSetParameterSizeT - data["__cuFileSetParameterSizeT"] = <_cyb_intptr_t>__cuFileSetParameterSizeT + data["__cuFileSetParameterSizeT"] = __cuFileSetParameterSizeT global __cuFileSetParameterBool - data["__cuFileSetParameterBool"] = <_cyb_intptr_t>__cuFileSetParameterBool + data["__cuFileSetParameterBool"] = __cuFileSetParameterBool global __cuFileSetParameterString - data["__cuFileSetParameterString"] = <_cyb_intptr_t>__cuFileSetParameterString + data["__cuFileSetParameterString"] = __cuFileSetParameterString _cyb_func_ptrs = data return data @@ -562,13 +563,13 @@ cdef CUfileError_t _cuFileDriverGetProperties(CUfileDrvProps_t* props) except?CUFILE_LOADING_ERROR nogil: +cdef CUfileError_t _cuFileDriverSetPollMode(_cyb_bool poll, size_t poll_threshold_size) except?CUFILE_LOADING_ERROR nogil: global __cuFileDriverSetPollMode _check_or_init_cufile() if __cuFileDriverSetPollMode == NULL: with gil: raise FunctionNotFoundError("function cuFileDriverSetPollMode is not found") - return (__cuFileDriverSetPollMode)( + return (__cuFileDriverSetPollMode)( poll, poll_threshold_size) @@ -713,13 +714,13 @@ cdef CUfileError_t _cuFileGetParameterSizeT(CUFileSizeTConfigParameter_t param, param, value) -cdef CUfileError_t _cuFileGetParameterBool(CUFileBoolConfigParameter_t param, cpp_bool* value) except?CUFILE_LOADING_ERROR nogil: +cdef CUfileError_t _cuFileGetParameterBool(CUFileBoolConfigParameter_t param, _cyb_bool* value) except?CUFILE_LOADING_ERROR nogil: global __cuFileGetParameterBool _check_or_init_cufile() if __cuFileGetParameterBool == NULL: with gil: raise FunctionNotFoundError("function cuFileGetParameterBool is not found") - return (__cuFileGetParameterBool)( + return (__cuFileGetParameterBool)( param, value) @@ -743,13 +744,13 @@ cdef CUfileError_t _cuFileSetParameterSizeT(CUFileSizeTConfigParameter_t param, param, value) -cdef CUfileError_t _cuFileSetParameterBool(CUFileBoolConfigParameter_t param, cpp_bool value) except?CUFILE_LOADING_ERROR nogil: +cdef CUfileError_t _cuFileSetParameterBool(CUFileBoolConfigParameter_t param, _cyb_bool value) except?CUFILE_LOADING_ERROR nogil: global __cuFileSetParameterBool _check_or_init_cufile() if __cuFileSetParameterBool == NULL: with gil: raise FunctionNotFoundError("function cuFileSetParameterBool is not found") - return (__cuFileSetParameterBool)( + return (__cuFileSetParameterBool)( param, value) diff --git a/cuda_bindings/cuda/bindings/_internal/driver_linux.pyx b/cuda_bindings/cuda/bindings/_internal/driver_linux.pyx index e10852013ea..34c448c5cc5 100644 --- a/cuda_bindings/cuda/bindings/_internal/driver_linux.pyx +++ b/cuda_bindings/cuda/bindings/_internal/driver_linux.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated with version 12.9.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=f37bf970f8f822c8b606546584bdfde2530c1e2cd8aa36a359b8b960aff79186 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=c4957d188c7c3258823fd50e2eb0cba162810911af7294ab726f1e49769642c8 # <<<< PREAMBLE CONTENT >>>> @@ -43,7 +43,7 @@ cdef extern from * nogil: cdef extern from "": void* _cyb_dlsym "dlsym"(void*, const char*) nogil -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport intptr_t from os import getenv as _cyb_getenv import threading as _cyb_threading @@ -2037,1453 +2037,1453 @@ cpdef dict _inspect_function_pointers(): _check_or_init_driver() cdef dict data = {} global __cuGetErrorString - data["__cuGetErrorString"] = <_cyb_intptr_t>__cuGetErrorString + data["__cuGetErrorString"] = __cuGetErrorString global __cuGetErrorName - data["__cuGetErrorName"] = <_cyb_intptr_t>__cuGetErrorName + data["__cuGetErrorName"] = __cuGetErrorName global __cuInit - data["__cuInit"] = <_cyb_intptr_t>__cuInit + data["__cuInit"] = __cuInit global __cuDriverGetVersion - data["__cuDriverGetVersion"] = <_cyb_intptr_t>__cuDriverGetVersion + data["__cuDriverGetVersion"] = __cuDriverGetVersion global __cuDeviceGet - data["__cuDeviceGet"] = <_cyb_intptr_t>__cuDeviceGet + data["__cuDeviceGet"] = __cuDeviceGet global __cuDeviceGetCount - data["__cuDeviceGetCount"] = <_cyb_intptr_t>__cuDeviceGetCount + data["__cuDeviceGetCount"] = __cuDeviceGetCount global __cuDeviceGetName - data["__cuDeviceGetName"] = <_cyb_intptr_t>__cuDeviceGetName + data["__cuDeviceGetName"] = __cuDeviceGetName global __cuDeviceGetUuid - data["__cuDeviceGetUuid"] = <_cyb_intptr_t>__cuDeviceGetUuid + data["__cuDeviceGetUuid"] = __cuDeviceGetUuid global __cuDeviceGetUuid_v2 - data["__cuDeviceGetUuid_v2"] = <_cyb_intptr_t>__cuDeviceGetUuid_v2 + data["__cuDeviceGetUuid_v2"] = __cuDeviceGetUuid_v2 global __cuDeviceGetLuid - data["__cuDeviceGetLuid"] = <_cyb_intptr_t>__cuDeviceGetLuid + data["__cuDeviceGetLuid"] = __cuDeviceGetLuid global __cuDeviceTotalMem_v2 - data["__cuDeviceTotalMem_v2"] = <_cyb_intptr_t>__cuDeviceTotalMem_v2 + data["__cuDeviceTotalMem_v2"] = __cuDeviceTotalMem_v2 global __cuDeviceGetTexture1DLinearMaxWidth - data["__cuDeviceGetTexture1DLinearMaxWidth"] = <_cyb_intptr_t>__cuDeviceGetTexture1DLinearMaxWidth + data["__cuDeviceGetTexture1DLinearMaxWidth"] = __cuDeviceGetTexture1DLinearMaxWidth global __cuDeviceGetAttribute - data["__cuDeviceGetAttribute"] = <_cyb_intptr_t>__cuDeviceGetAttribute + data["__cuDeviceGetAttribute"] = __cuDeviceGetAttribute global __cuDeviceGetNvSciSyncAttributes - data["__cuDeviceGetNvSciSyncAttributes"] = <_cyb_intptr_t>__cuDeviceGetNvSciSyncAttributes + data["__cuDeviceGetNvSciSyncAttributes"] = __cuDeviceGetNvSciSyncAttributes global __cuDeviceSetMemPool - data["__cuDeviceSetMemPool"] = <_cyb_intptr_t>__cuDeviceSetMemPool + data["__cuDeviceSetMemPool"] = __cuDeviceSetMemPool global __cuDeviceGetMemPool - data["__cuDeviceGetMemPool"] = <_cyb_intptr_t>__cuDeviceGetMemPool + data["__cuDeviceGetMemPool"] = __cuDeviceGetMemPool global __cuDeviceGetDefaultMemPool - data["__cuDeviceGetDefaultMemPool"] = <_cyb_intptr_t>__cuDeviceGetDefaultMemPool + data["__cuDeviceGetDefaultMemPool"] = __cuDeviceGetDefaultMemPool global __cuDeviceGetExecAffinitySupport - data["__cuDeviceGetExecAffinitySupport"] = <_cyb_intptr_t>__cuDeviceGetExecAffinitySupport + data["__cuDeviceGetExecAffinitySupport"] = __cuDeviceGetExecAffinitySupport global __cuFlushGPUDirectRDMAWrites - data["__cuFlushGPUDirectRDMAWrites"] = <_cyb_intptr_t>__cuFlushGPUDirectRDMAWrites + data["__cuFlushGPUDirectRDMAWrites"] = __cuFlushGPUDirectRDMAWrites global __cuDeviceGetProperties - data["__cuDeviceGetProperties"] = <_cyb_intptr_t>__cuDeviceGetProperties + data["__cuDeviceGetProperties"] = __cuDeviceGetProperties global __cuDeviceComputeCapability - data["__cuDeviceComputeCapability"] = <_cyb_intptr_t>__cuDeviceComputeCapability + data["__cuDeviceComputeCapability"] = __cuDeviceComputeCapability global __cuDevicePrimaryCtxRetain - data["__cuDevicePrimaryCtxRetain"] = <_cyb_intptr_t>__cuDevicePrimaryCtxRetain + data["__cuDevicePrimaryCtxRetain"] = __cuDevicePrimaryCtxRetain global __cuDevicePrimaryCtxRelease_v2 - data["__cuDevicePrimaryCtxRelease_v2"] = <_cyb_intptr_t>__cuDevicePrimaryCtxRelease_v2 + data["__cuDevicePrimaryCtxRelease_v2"] = __cuDevicePrimaryCtxRelease_v2 global __cuDevicePrimaryCtxSetFlags_v2 - data["__cuDevicePrimaryCtxSetFlags_v2"] = <_cyb_intptr_t>__cuDevicePrimaryCtxSetFlags_v2 + data["__cuDevicePrimaryCtxSetFlags_v2"] = __cuDevicePrimaryCtxSetFlags_v2 global __cuDevicePrimaryCtxGetState - data["__cuDevicePrimaryCtxGetState"] = <_cyb_intptr_t>__cuDevicePrimaryCtxGetState + data["__cuDevicePrimaryCtxGetState"] = __cuDevicePrimaryCtxGetState global __cuDevicePrimaryCtxReset_v2 - data["__cuDevicePrimaryCtxReset_v2"] = <_cyb_intptr_t>__cuDevicePrimaryCtxReset_v2 + data["__cuDevicePrimaryCtxReset_v2"] = __cuDevicePrimaryCtxReset_v2 global __cuCtxCreate_v2 - data["__cuCtxCreate_v2"] = <_cyb_intptr_t>__cuCtxCreate_v2 + data["__cuCtxCreate_v2"] = __cuCtxCreate_v2 global __cuCtxCreate_v3 - data["__cuCtxCreate_v3"] = <_cyb_intptr_t>__cuCtxCreate_v3 + data["__cuCtxCreate_v3"] = __cuCtxCreate_v3 global __cuCtxCreate_v4 - data["__cuCtxCreate_v4"] = <_cyb_intptr_t>__cuCtxCreate_v4 + data["__cuCtxCreate_v4"] = __cuCtxCreate_v4 global __cuCtxDestroy_v2 - data["__cuCtxDestroy_v2"] = <_cyb_intptr_t>__cuCtxDestroy_v2 + data["__cuCtxDestroy_v2"] = __cuCtxDestroy_v2 global __cuCtxPushCurrent_v2 - data["__cuCtxPushCurrent_v2"] = <_cyb_intptr_t>__cuCtxPushCurrent_v2 + data["__cuCtxPushCurrent_v2"] = __cuCtxPushCurrent_v2 global __cuCtxPopCurrent_v2 - data["__cuCtxPopCurrent_v2"] = <_cyb_intptr_t>__cuCtxPopCurrent_v2 + data["__cuCtxPopCurrent_v2"] = __cuCtxPopCurrent_v2 global __cuCtxSetCurrent - data["__cuCtxSetCurrent"] = <_cyb_intptr_t>__cuCtxSetCurrent + data["__cuCtxSetCurrent"] = __cuCtxSetCurrent global __cuCtxGetCurrent - data["__cuCtxGetCurrent"] = <_cyb_intptr_t>__cuCtxGetCurrent + data["__cuCtxGetCurrent"] = __cuCtxGetCurrent global __cuCtxGetDevice - data["__cuCtxGetDevice"] = <_cyb_intptr_t>__cuCtxGetDevice + data["__cuCtxGetDevice"] = __cuCtxGetDevice global __cuCtxGetFlags - data["__cuCtxGetFlags"] = <_cyb_intptr_t>__cuCtxGetFlags + data["__cuCtxGetFlags"] = __cuCtxGetFlags global __cuCtxSetFlags - data["__cuCtxSetFlags"] = <_cyb_intptr_t>__cuCtxSetFlags + data["__cuCtxSetFlags"] = __cuCtxSetFlags global __cuCtxGetId - data["__cuCtxGetId"] = <_cyb_intptr_t>__cuCtxGetId + data["__cuCtxGetId"] = __cuCtxGetId global __cuCtxSynchronize - data["__cuCtxSynchronize"] = <_cyb_intptr_t>__cuCtxSynchronize + data["__cuCtxSynchronize"] = __cuCtxSynchronize global __cuCtxSetLimit - data["__cuCtxSetLimit"] = <_cyb_intptr_t>__cuCtxSetLimit + data["__cuCtxSetLimit"] = __cuCtxSetLimit global __cuCtxGetLimit - data["__cuCtxGetLimit"] = <_cyb_intptr_t>__cuCtxGetLimit + data["__cuCtxGetLimit"] = __cuCtxGetLimit global __cuCtxGetCacheConfig - data["__cuCtxGetCacheConfig"] = <_cyb_intptr_t>__cuCtxGetCacheConfig + data["__cuCtxGetCacheConfig"] = __cuCtxGetCacheConfig global __cuCtxSetCacheConfig - data["__cuCtxSetCacheConfig"] = <_cyb_intptr_t>__cuCtxSetCacheConfig + data["__cuCtxSetCacheConfig"] = __cuCtxSetCacheConfig global __cuCtxGetApiVersion - data["__cuCtxGetApiVersion"] = <_cyb_intptr_t>__cuCtxGetApiVersion + data["__cuCtxGetApiVersion"] = __cuCtxGetApiVersion global __cuCtxGetStreamPriorityRange - data["__cuCtxGetStreamPriorityRange"] = <_cyb_intptr_t>__cuCtxGetStreamPriorityRange + data["__cuCtxGetStreamPriorityRange"] = __cuCtxGetStreamPriorityRange global __cuCtxResetPersistingL2Cache - data["__cuCtxResetPersistingL2Cache"] = <_cyb_intptr_t>__cuCtxResetPersistingL2Cache + data["__cuCtxResetPersistingL2Cache"] = __cuCtxResetPersistingL2Cache global __cuCtxGetExecAffinity - data["__cuCtxGetExecAffinity"] = <_cyb_intptr_t>__cuCtxGetExecAffinity + data["__cuCtxGetExecAffinity"] = __cuCtxGetExecAffinity global __cuCtxRecordEvent - data["__cuCtxRecordEvent"] = <_cyb_intptr_t>__cuCtxRecordEvent + data["__cuCtxRecordEvent"] = __cuCtxRecordEvent global __cuCtxWaitEvent - data["__cuCtxWaitEvent"] = <_cyb_intptr_t>__cuCtxWaitEvent + data["__cuCtxWaitEvent"] = __cuCtxWaitEvent global __cuCtxAttach - data["__cuCtxAttach"] = <_cyb_intptr_t>__cuCtxAttach + data["__cuCtxAttach"] = __cuCtxAttach global __cuCtxDetach - data["__cuCtxDetach"] = <_cyb_intptr_t>__cuCtxDetach + data["__cuCtxDetach"] = __cuCtxDetach global __cuCtxGetSharedMemConfig - data["__cuCtxGetSharedMemConfig"] = <_cyb_intptr_t>__cuCtxGetSharedMemConfig + data["__cuCtxGetSharedMemConfig"] = __cuCtxGetSharedMemConfig global __cuCtxSetSharedMemConfig - data["__cuCtxSetSharedMemConfig"] = <_cyb_intptr_t>__cuCtxSetSharedMemConfig + data["__cuCtxSetSharedMemConfig"] = __cuCtxSetSharedMemConfig global __cuModuleLoad - data["__cuModuleLoad"] = <_cyb_intptr_t>__cuModuleLoad + data["__cuModuleLoad"] = __cuModuleLoad global __cuModuleLoadData - data["__cuModuleLoadData"] = <_cyb_intptr_t>__cuModuleLoadData + data["__cuModuleLoadData"] = __cuModuleLoadData global __cuModuleLoadDataEx - data["__cuModuleLoadDataEx"] = <_cyb_intptr_t>__cuModuleLoadDataEx + data["__cuModuleLoadDataEx"] = __cuModuleLoadDataEx global __cuModuleLoadFatBinary - data["__cuModuleLoadFatBinary"] = <_cyb_intptr_t>__cuModuleLoadFatBinary + data["__cuModuleLoadFatBinary"] = __cuModuleLoadFatBinary global __cuModuleUnload - data["__cuModuleUnload"] = <_cyb_intptr_t>__cuModuleUnload + data["__cuModuleUnload"] = __cuModuleUnload global __cuModuleGetLoadingMode - data["__cuModuleGetLoadingMode"] = <_cyb_intptr_t>__cuModuleGetLoadingMode + data["__cuModuleGetLoadingMode"] = __cuModuleGetLoadingMode global __cuModuleGetFunction - data["__cuModuleGetFunction"] = <_cyb_intptr_t>__cuModuleGetFunction + data["__cuModuleGetFunction"] = __cuModuleGetFunction global __cuModuleGetFunctionCount - data["__cuModuleGetFunctionCount"] = <_cyb_intptr_t>__cuModuleGetFunctionCount + data["__cuModuleGetFunctionCount"] = __cuModuleGetFunctionCount global __cuModuleEnumerateFunctions - data["__cuModuleEnumerateFunctions"] = <_cyb_intptr_t>__cuModuleEnumerateFunctions + data["__cuModuleEnumerateFunctions"] = __cuModuleEnumerateFunctions global __cuModuleGetGlobal_v2 - data["__cuModuleGetGlobal_v2"] = <_cyb_intptr_t>__cuModuleGetGlobal_v2 + data["__cuModuleGetGlobal_v2"] = __cuModuleGetGlobal_v2 global __cuLinkCreate_v2 - data["__cuLinkCreate_v2"] = <_cyb_intptr_t>__cuLinkCreate_v2 + data["__cuLinkCreate_v2"] = __cuLinkCreate_v2 global __cuLinkAddData_v2 - data["__cuLinkAddData_v2"] = <_cyb_intptr_t>__cuLinkAddData_v2 + data["__cuLinkAddData_v2"] = __cuLinkAddData_v2 global __cuLinkAddFile_v2 - data["__cuLinkAddFile_v2"] = <_cyb_intptr_t>__cuLinkAddFile_v2 + data["__cuLinkAddFile_v2"] = __cuLinkAddFile_v2 global __cuLinkComplete - data["__cuLinkComplete"] = <_cyb_intptr_t>__cuLinkComplete + data["__cuLinkComplete"] = __cuLinkComplete global __cuLinkDestroy - data["__cuLinkDestroy"] = <_cyb_intptr_t>__cuLinkDestroy + data["__cuLinkDestroy"] = __cuLinkDestroy global __cuModuleGetTexRef - data["__cuModuleGetTexRef"] = <_cyb_intptr_t>__cuModuleGetTexRef + data["__cuModuleGetTexRef"] = __cuModuleGetTexRef global __cuModuleGetSurfRef - data["__cuModuleGetSurfRef"] = <_cyb_intptr_t>__cuModuleGetSurfRef + data["__cuModuleGetSurfRef"] = __cuModuleGetSurfRef global __cuLibraryLoadData - data["__cuLibraryLoadData"] = <_cyb_intptr_t>__cuLibraryLoadData + data["__cuLibraryLoadData"] = __cuLibraryLoadData global __cuLibraryLoadFromFile - data["__cuLibraryLoadFromFile"] = <_cyb_intptr_t>__cuLibraryLoadFromFile + data["__cuLibraryLoadFromFile"] = __cuLibraryLoadFromFile global __cuLibraryUnload - data["__cuLibraryUnload"] = <_cyb_intptr_t>__cuLibraryUnload + data["__cuLibraryUnload"] = __cuLibraryUnload global __cuLibraryGetKernel - data["__cuLibraryGetKernel"] = <_cyb_intptr_t>__cuLibraryGetKernel + data["__cuLibraryGetKernel"] = __cuLibraryGetKernel global __cuLibraryGetKernelCount - data["__cuLibraryGetKernelCount"] = <_cyb_intptr_t>__cuLibraryGetKernelCount + data["__cuLibraryGetKernelCount"] = __cuLibraryGetKernelCount global __cuLibraryEnumerateKernels - data["__cuLibraryEnumerateKernels"] = <_cyb_intptr_t>__cuLibraryEnumerateKernels + data["__cuLibraryEnumerateKernels"] = __cuLibraryEnumerateKernels global __cuLibraryGetModule - data["__cuLibraryGetModule"] = <_cyb_intptr_t>__cuLibraryGetModule + data["__cuLibraryGetModule"] = __cuLibraryGetModule global __cuKernelGetFunction - data["__cuKernelGetFunction"] = <_cyb_intptr_t>__cuKernelGetFunction + data["__cuKernelGetFunction"] = __cuKernelGetFunction global __cuKernelGetLibrary - data["__cuKernelGetLibrary"] = <_cyb_intptr_t>__cuKernelGetLibrary + data["__cuKernelGetLibrary"] = __cuKernelGetLibrary global __cuLibraryGetGlobal - data["__cuLibraryGetGlobal"] = <_cyb_intptr_t>__cuLibraryGetGlobal + data["__cuLibraryGetGlobal"] = __cuLibraryGetGlobal global __cuLibraryGetManaged - data["__cuLibraryGetManaged"] = <_cyb_intptr_t>__cuLibraryGetManaged + data["__cuLibraryGetManaged"] = __cuLibraryGetManaged global __cuLibraryGetUnifiedFunction - data["__cuLibraryGetUnifiedFunction"] = <_cyb_intptr_t>__cuLibraryGetUnifiedFunction + data["__cuLibraryGetUnifiedFunction"] = __cuLibraryGetUnifiedFunction global __cuKernelGetAttribute - data["__cuKernelGetAttribute"] = <_cyb_intptr_t>__cuKernelGetAttribute + data["__cuKernelGetAttribute"] = __cuKernelGetAttribute global __cuKernelSetAttribute - data["__cuKernelSetAttribute"] = <_cyb_intptr_t>__cuKernelSetAttribute + data["__cuKernelSetAttribute"] = __cuKernelSetAttribute global __cuKernelSetCacheConfig - data["__cuKernelSetCacheConfig"] = <_cyb_intptr_t>__cuKernelSetCacheConfig + data["__cuKernelSetCacheConfig"] = __cuKernelSetCacheConfig global __cuKernelGetName - data["__cuKernelGetName"] = <_cyb_intptr_t>__cuKernelGetName + data["__cuKernelGetName"] = __cuKernelGetName global __cuKernelGetParamInfo - data["__cuKernelGetParamInfo"] = <_cyb_intptr_t>__cuKernelGetParamInfo + data["__cuKernelGetParamInfo"] = __cuKernelGetParamInfo global __cuMemGetInfo_v2 - data["__cuMemGetInfo_v2"] = <_cyb_intptr_t>__cuMemGetInfo_v2 + data["__cuMemGetInfo_v2"] = __cuMemGetInfo_v2 global __cuMemAlloc_v2 - data["__cuMemAlloc_v2"] = <_cyb_intptr_t>__cuMemAlloc_v2 + data["__cuMemAlloc_v2"] = __cuMemAlloc_v2 global __cuMemAllocPitch_v2 - data["__cuMemAllocPitch_v2"] = <_cyb_intptr_t>__cuMemAllocPitch_v2 + data["__cuMemAllocPitch_v2"] = __cuMemAllocPitch_v2 global __cuMemFree_v2 - data["__cuMemFree_v2"] = <_cyb_intptr_t>__cuMemFree_v2 + data["__cuMemFree_v2"] = __cuMemFree_v2 global __cuMemGetAddressRange_v2 - data["__cuMemGetAddressRange_v2"] = <_cyb_intptr_t>__cuMemGetAddressRange_v2 + data["__cuMemGetAddressRange_v2"] = __cuMemGetAddressRange_v2 global __cuMemAllocHost_v2 - data["__cuMemAllocHost_v2"] = <_cyb_intptr_t>__cuMemAllocHost_v2 + data["__cuMemAllocHost_v2"] = __cuMemAllocHost_v2 global __cuMemFreeHost - data["__cuMemFreeHost"] = <_cyb_intptr_t>__cuMemFreeHost + data["__cuMemFreeHost"] = __cuMemFreeHost global __cuMemHostAlloc - data["__cuMemHostAlloc"] = <_cyb_intptr_t>__cuMemHostAlloc + data["__cuMemHostAlloc"] = __cuMemHostAlloc global __cuMemHostGetDevicePointer_v2 - data["__cuMemHostGetDevicePointer_v2"] = <_cyb_intptr_t>__cuMemHostGetDevicePointer_v2 + data["__cuMemHostGetDevicePointer_v2"] = __cuMemHostGetDevicePointer_v2 global __cuMemHostGetFlags - data["__cuMemHostGetFlags"] = <_cyb_intptr_t>__cuMemHostGetFlags + data["__cuMemHostGetFlags"] = __cuMemHostGetFlags global __cuMemAllocManaged - data["__cuMemAllocManaged"] = <_cyb_intptr_t>__cuMemAllocManaged + data["__cuMemAllocManaged"] = __cuMemAllocManaged global __cuDeviceRegisterAsyncNotification - data["__cuDeviceRegisterAsyncNotification"] = <_cyb_intptr_t>__cuDeviceRegisterAsyncNotification + data["__cuDeviceRegisterAsyncNotification"] = __cuDeviceRegisterAsyncNotification global __cuDeviceUnregisterAsyncNotification - data["__cuDeviceUnregisterAsyncNotification"] = <_cyb_intptr_t>__cuDeviceUnregisterAsyncNotification + data["__cuDeviceUnregisterAsyncNotification"] = __cuDeviceUnregisterAsyncNotification global __cuDeviceGetByPCIBusId - data["__cuDeviceGetByPCIBusId"] = <_cyb_intptr_t>__cuDeviceGetByPCIBusId + data["__cuDeviceGetByPCIBusId"] = __cuDeviceGetByPCIBusId global __cuDeviceGetPCIBusId - data["__cuDeviceGetPCIBusId"] = <_cyb_intptr_t>__cuDeviceGetPCIBusId + data["__cuDeviceGetPCIBusId"] = __cuDeviceGetPCIBusId global __cuIpcGetEventHandle - data["__cuIpcGetEventHandle"] = <_cyb_intptr_t>__cuIpcGetEventHandle + data["__cuIpcGetEventHandle"] = __cuIpcGetEventHandle global __cuIpcOpenEventHandle - data["__cuIpcOpenEventHandle"] = <_cyb_intptr_t>__cuIpcOpenEventHandle + data["__cuIpcOpenEventHandle"] = __cuIpcOpenEventHandle global __cuIpcGetMemHandle - data["__cuIpcGetMemHandle"] = <_cyb_intptr_t>__cuIpcGetMemHandle + data["__cuIpcGetMemHandle"] = __cuIpcGetMemHandle global __cuIpcOpenMemHandle_v2 - data["__cuIpcOpenMemHandle_v2"] = <_cyb_intptr_t>__cuIpcOpenMemHandle_v2 + data["__cuIpcOpenMemHandle_v2"] = __cuIpcOpenMemHandle_v2 global __cuIpcCloseMemHandle - data["__cuIpcCloseMemHandle"] = <_cyb_intptr_t>__cuIpcCloseMemHandle + data["__cuIpcCloseMemHandle"] = __cuIpcCloseMemHandle global __cuMemHostRegister_v2 - data["__cuMemHostRegister_v2"] = <_cyb_intptr_t>__cuMemHostRegister_v2 + data["__cuMemHostRegister_v2"] = __cuMemHostRegister_v2 global __cuMemHostUnregister - data["__cuMemHostUnregister"] = <_cyb_intptr_t>__cuMemHostUnregister + data["__cuMemHostUnregister"] = __cuMemHostUnregister global __cuMemcpy - data["__cuMemcpy"] = <_cyb_intptr_t>__cuMemcpy + data["__cuMemcpy"] = __cuMemcpy global __cuMemcpyPeer - data["__cuMemcpyPeer"] = <_cyb_intptr_t>__cuMemcpyPeer + data["__cuMemcpyPeer"] = __cuMemcpyPeer global __cuMemcpyHtoD_v2 - data["__cuMemcpyHtoD_v2"] = <_cyb_intptr_t>__cuMemcpyHtoD_v2 + data["__cuMemcpyHtoD_v2"] = __cuMemcpyHtoD_v2 global __cuMemcpyDtoH_v2 - data["__cuMemcpyDtoH_v2"] = <_cyb_intptr_t>__cuMemcpyDtoH_v2 + data["__cuMemcpyDtoH_v2"] = __cuMemcpyDtoH_v2 global __cuMemcpyDtoD_v2 - data["__cuMemcpyDtoD_v2"] = <_cyb_intptr_t>__cuMemcpyDtoD_v2 + data["__cuMemcpyDtoD_v2"] = __cuMemcpyDtoD_v2 global __cuMemcpyDtoA_v2 - data["__cuMemcpyDtoA_v2"] = <_cyb_intptr_t>__cuMemcpyDtoA_v2 + data["__cuMemcpyDtoA_v2"] = __cuMemcpyDtoA_v2 global __cuMemcpyAtoD_v2 - data["__cuMemcpyAtoD_v2"] = <_cyb_intptr_t>__cuMemcpyAtoD_v2 + data["__cuMemcpyAtoD_v2"] = __cuMemcpyAtoD_v2 global __cuMemcpyHtoA_v2 - data["__cuMemcpyHtoA_v2"] = <_cyb_intptr_t>__cuMemcpyHtoA_v2 + data["__cuMemcpyHtoA_v2"] = __cuMemcpyHtoA_v2 global __cuMemcpyAtoH_v2 - data["__cuMemcpyAtoH_v2"] = <_cyb_intptr_t>__cuMemcpyAtoH_v2 + data["__cuMemcpyAtoH_v2"] = __cuMemcpyAtoH_v2 global __cuMemcpyAtoA_v2 - data["__cuMemcpyAtoA_v2"] = <_cyb_intptr_t>__cuMemcpyAtoA_v2 + data["__cuMemcpyAtoA_v2"] = __cuMemcpyAtoA_v2 global __cuMemcpy2D_v2 - data["__cuMemcpy2D_v2"] = <_cyb_intptr_t>__cuMemcpy2D_v2 + data["__cuMemcpy2D_v2"] = __cuMemcpy2D_v2 global __cuMemcpy2DUnaligned_v2 - data["__cuMemcpy2DUnaligned_v2"] = <_cyb_intptr_t>__cuMemcpy2DUnaligned_v2 + data["__cuMemcpy2DUnaligned_v2"] = __cuMemcpy2DUnaligned_v2 global __cuMemcpy3D_v2 - data["__cuMemcpy3D_v2"] = <_cyb_intptr_t>__cuMemcpy3D_v2 + data["__cuMemcpy3D_v2"] = __cuMemcpy3D_v2 global __cuMemcpy3DPeer - data["__cuMemcpy3DPeer"] = <_cyb_intptr_t>__cuMemcpy3DPeer + data["__cuMemcpy3DPeer"] = __cuMemcpy3DPeer global __cuMemcpyAsync - data["__cuMemcpyAsync"] = <_cyb_intptr_t>__cuMemcpyAsync + data["__cuMemcpyAsync"] = __cuMemcpyAsync global __cuMemcpyPeerAsync - data["__cuMemcpyPeerAsync"] = <_cyb_intptr_t>__cuMemcpyPeerAsync + data["__cuMemcpyPeerAsync"] = __cuMemcpyPeerAsync global __cuMemcpyHtoDAsync_v2 - data["__cuMemcpyHtoDAsync_v2"] = <_cyb_intptr_t>__cuMemcpyHtoDAsync_v2 + data["__cuMemcpyHtoDAsync_v2"] = __cuMemcpyHtoDAsync_v2 global __cuMemcpyDtoHAsync_v2 - data["__cuMemcpyDtoHAsync_v2"] = <_cyb_intptr_t>__cuMemcpyDtoHAsync_v2 + data["__cuMemcpyDtoHAsync_v2"] = __cuMemcpyDtoHAsync_v2 global __cuMemcpyDtoDAsync_v2 - data["__cuMemcpyDtoDAsync_v2"] = <_cyb_intptr_t>__cuMemcpyDtoDAsync_v2 + data["__cuMemcpyDtoDAsync_v2"] = __cuMemcpyDtoDAsync_v2 global __cuMemcpyHtoAAsync_v2 - data["__cuMemcpyHtoAAsync_v2"] = <_cyb_intptr_t>__cuMemcpyHtoAAsync_v2 + data["__cuMemcpyHtoAAsync_v2"] = __cuMemcpyHtoAAsync_v2 global __cuMemcpyAtoHAsync_v2 - data["__cuMemcpyAtoHAsync_v2"] = <_cyb_intptr_t>__cuMemcpyAtoHAsync_v2 + data["__cuMemcpyAtoHAsync_v2"] = __cuMemcpyAtoHAsync_v2 global __cuMemcpy2DAsync_v2 - data["__cuMemcpy2DAsync_v2"] = <_cyb_intptr_t>__cuMemcpy2DAsync_v2 + data["__cuMemcpy2DAsync_v2"] = __cuMemcpy2DAsync_v2 global __cuMemcpy3DAsync_v2 - data["__cuMemcpy3DAsync_v2"] = <_cyb_intptr_t>__cuMemcpy3DAsync_v2 + data["__cuMemcpy3DAsync_v2"] = __cuMemcpy3DAsync_v2 global __cuMemcpy3DPeerAsync - data["__cuMemcpy3DPeerAsync"] = <_cyb_intptr_t>__cuMemcpy3DPeerAsync + data["__cuMemcpy3DPeerAsync"] = __cuMemcpy3DPeerAsync global __cuMemcpyBatchAsync - data["__cuMemcpyBatchAsync"] = <_cyb_intptr_t>__cuMemcpyBatchAsync + data["__cuMemcpyBatchAsync"] = __cuMemcpyBatchAsync global __cuMemcpy3DBatchAsync - data["__cuMemcpy3DBatchAsync"] = <_cyb_intptr_t>__cuMemcpy3DBatchAsync + data["__cuMemcpy3DBatchAsync"] = __cuMemcpy3DBatchAsync global __cuMemsetD8_v2 - data["__cuMemsetD8_v2"] = <_cyb_intptr_t>__cuMemsetD8_v2 + data["__cuMemsetD8_v2"] = __cuMemsetD8_v2 global __cuMemsetD16_v2 - data["__cuMemsetD16_v2"] = <_cyb_intptr_t>__cuMemsetD16_v2 + data["__cuMemsetD16_v2"] = __cuMemsetD16_v2 global __cuMemsetD32_v2 - data["__cuMemsetD32_v2"] = <_cyb_intptr_t>__cuMemsetD32_v2 + data["__cuMemsetD32_v2"] = __cuMemsetD32_v2 global __cuMemsetD2D8_v2 - data["__cuMemsetD2D8_v2"] = <_cyb_intptr_t>__cuMemsetD2D8_v2 + data["__cuMemsetD2D8_v2"] = __cuMemsetD2D8_v2 global __cuMemsetD2D16_v2 - data["__cuMemsetD2D16_v2"] = <_cyb_intptr_t>__cuMemsetD2D16_v2 + data["__cuMemsetD2D16_v2"] = __cuMemsetD2D16_v2 global __cuMemsetD2D32_v2 - data["__cuMemsetD2D32_v2"] = <_cyb_intptr_t>__cuMemsetD2D32_v2 + data["__cuMemsetD2D32_v2"] = __cuMemsetD2D32_v2 global __cuMemsetD8Async - data["__cuMemsetD8Async"] = <_cyb_intptr_t>__cuMemsetD8Async + data["__cuMemsetD8Async"] = __cuMemsetD8Async global __cuMemsetD16Async - data["__cuMemsetD16Async"] = <_cyb_intptr_t>__cuMemsetD16Async + data["__cuMemsetD16Async"] = __cuMemsetD16Async global __cuMemsetD32Async - data["__cuMemsetD32Async"] = <_cyb_intptr_t>__cuMemsetD32Async + data["__cuMemsetD32Async"] = __cuMemsetD32Async global __cuMemsetD2D8Async - data["__cuMemsetD2D8Async"] = <_cyb_intptr_t>__cuMemsetD2D8Async + data["__cuMemsetD2D8Async"] = __cuMemsetD2D8Async global __cuMemsetD2D16Async - data["__cuMemsetD2D16Async"] = <_cyb_intptr_t>__cuMemsetD2D16Async + data["__cuMemsetD2D16Async"] = __cuMemsetD2D16Async global __cuMemsetD2D32Async - data["__cuMemsetD2D32Async"] = <_cyb_intptr_t>__cuMemsetD2D32Async + data["__cuMemsetD2D32Async"] = __cuMemsetD2D32Async global __cuArrayCreate_v2 - data["__cuArrayCreate_v2"] = <_cyb_intptr_t>__cuArrayCreate_v2 + data["__cuArrayCreate_v2"] = __cuArrayCreate_v2 global __cuArrayGetDescriptor_v2 - data["__cuArrayGetDescriptor_v2"] = <_cyb_intptr_t>__cuArrayGetDescriptor_v2 + data["__cuArrayGetDescriptor_v2"] = __cuArrayGetDescriptor_v2 global __cuArrayGetSparseProperties - data["__cuArrayGetSparseProperties"] = <_cyb_intptr_t>__cuArrayGetSparseProperties + data["__cuArrayGetSparseProperties"] = __cuArrayGetSparseProperties global __cuMipmappedArrayGetSparseProperties - data["__cuMipmappedArrayGetSparseProperties"] = <_cyb_intptr_t>__cuMipmappedArrayGetSparseProperties + data["__cuMipmappedArrayGetSparseProperties"] = __cuMipmappedArrayGetSparseProperties global __cuArrayGetMemoryRequirements - data["__cuArrayGetMemoryRequirements"] = <_cyb_intptr_t>__cuArrayGetMemoryRequirements + data["__cuArrayGetMemoryRequirements"] = __cuArrayGetMemoryRequirements global __cuMipmappedArrayGetMemoryRequirements - data["__cuMipmappedArrayGetMemoryRequirements"] = <_cyb_intptr_t>__cuMipmappedArrayGetMemoryRequirements + data["__cuMipmappedArrayGetMemoryRequirements"] = __cuMipmappedArrayGetMemoryRequirements global __cuArrayGetPlane - data["__cuArrayGetPlane"] = <_cyb_intptr_t>__cuArrayGetPlane + data["__cuArrayGetPlane"] = __cuArrayGetPlane global __cuArrayDestroy - data["__cuArrayDestroy"] = <_cyb_intptr_t>__cuArrayDestroy + data["__cuArrayDestroy"] = __cuArrayDestroy global __cuArray3DCreate_v2 - data["__cuArray3DCreate_v2"] = <_cyb_intptr_t>__cuArray3DCreate_v2 + data["__cuArray3DCreate_v2"] = __cuArray3DCreate_v2 global __cuArray3DGetDescriptor_v2 - data["__cuArray3DGetDescriptor_v2"] = <_cyb_intptr_t>__cuArray3DGetDescriptor_v2 + data["__cuArray3DGetDescriptor_v2"] = __cuArray3DGetDescriptor_v2 global __cuMipmappedArrayCreate - data["__cuMipmappedArrayCreate"] = <_cyb_intptr_t>__cuMipmappedArrayCreate + data["__cuMipmappedArrayCreate"] = __cuMipmappedArrayCreate global __cuMipmappedArrayGetLevel - data["__cuMipmappedArrayGetLevel"] = <_cyb_intptr_t>__cuMipmappedArrayGetLevel + data["__cuMipmappedArrayGetLevel"] = __cuMipmappedArrayGetLevel global __cuMipmappedArrayDestroy - data["__cuMipmappedArrayDestroy"] = <_cyb_intptr_t>__cuMipmappedArrayDestroy + data["__cuMipmappedArrayDestroy"] = __cuMipmappedArrayDestroy global __cuMemGetHandleForAddressRange - data["__cuMemGetHandleForAddressRange"] = <_cyb_intptr_t>__cuMemGetHandleForAddressRange + data["__cuMemGetHandleForAddressRange"] = __cuMemGetHandleForAddressRange global __cuMemBatchDecompressAsync - data["__cuMemBatchDecompressAsync"] = <_cyb_intptr_t>__cuMemBatchDecompressAsync + data["__cuMemBatchDecompressAsync"] = __cuMemBatchDecompressAsync global __cuMemAddressReserve - data["__cuMemAddressReserve"] = <_cyb_intptr_t>__cuMemAddressReserve + data["__cuMemAddressReserve"] = __cuMemAddressReserve global __cuMemAddressFree - data["__cuMemAddressFree"] = <_cyb_intptr_t>__cuMemAddressFree + data["__cuMemAddressFree"] = __cuMemAddressFree global __cuMemCreate - data["__cuMemCreate"] = <_cyb_intptr_t>__cuMemCreate + data["__cuMemCreate"] = __cuMemCreate global __cuMemRelease - data["__cuMemRelease"] = <_cyb_intptr_t>__cuMemRelease + data["__cuMemRelease"] = __cuMemRelease global __cuMemMap - data["__cuMemMap"] = <_cyb_intptr_t>__cuMemMap + data["__cuMemMap"] = __cuMemMap global __cuMemMapArrayAsync - data["__cuMemMapArrayAsync"] = <_cyb_intptr_t>__cuMemMapArrayAsync + data["__cuMemMapArrayAsync"] = __cuMemMapArrayAsync global __cuMemUnmap - data["__cuMemUnmap"] = <_cyb_intptr_t>__cuMemUnmap + data["__cuMemUnmap"] = __cuMemUnmap global __cuMemSetAccess - data["__cuMemSetAccess"] = <_cyb_intptr_t>__cuMemSetAccess + data["__cuMemSetAccess"] = __cuMemSetAccess global __cuMemGetAccess - data["__cuMemGetAccess"] = <_cyb_intptr_t>__cuMemGetAccess + data["__cuMemGetAccess"] = __cuMemGetAccess global __cuMemExportToShareableHandle - data["__cuMemExportToShareableHandle"] = <_cyb_intptr_t>__cuMemExportToShareableHandle + data["__cuMemExportToShareableHandle"] = __cuMemExportToShareableHandle global __cuMemImportFromShareableHandle - data["__cuMemImportFromShareableHandle"] = <_cyb_intptr_t>__cuMemImportFromShareableHandle + data["__cuMemImportFromShareableHandle"] = __cuMemImportFromShareableHandle global __cuMemGetAllocationGranularity - data["__cuMemGetAllocationGranularity"] = <_cyb_intptr_t>__cuMemGetAllocationGranularity + data["__cuMemGetAllocationGranularity"] = __cuMemGetAllocationGranularity global __cuMemGetAllocationPropertiesFromHandle - data["__cuMemGetAllocationPropertiesFromHandle"] = <_cyb_intptr_t>__cuMemGetAllocationPropertiesFromHandle + data["__cuMemGetAllocationPropertiesFromHandle"] = __cuMemGetAllocationPropertiesFromHandle global __cuMemRetainAllocationHandle - data["__cuMemRetainAllocationHandle"] = <_cyb_intptr_t>__cuMemRetainAllocationHandle + data["__cuMemRetainAllocationHandle"] = __cuMemRetainAllocationHandle global __cuMemFreeAsync - data["__cuMemFreeAsync"] = <_cyb_intptr_t>__cuMemFreeAsync + data["__cuMemFreeAsync"] = __cuMemFreeAsync global __cuMemAllocAsync - data["__cuMemAllocAsync"] = <_cyb_intptr_t>__cuMemAllocAsync + data["__cuMemAllocAsync"] = __cuMemAllocAsync global __cuMemPoolTrimTo - data["__cuMemPoolTrimTo"] = <_cyb_intptr_t>__cuMemPoolTrimTo + data["__cuMemPoolTrimTo"] = __cuMemPoolTrimTo global __cuMemPoolSetAttribute - data["__cuMemPoolSetAttribute"] = <_cyb_intptr_t>__cuMemPoolSetAttribute + data["__cuMemPoolSetAttribute"] = __cuMemPoolSetAttribute global __cuMemPoolGetAttribute - data["__cuMemPoolGetAttribute"] = <_cyb_intptr_t>__cuMemPoolGetAttribute + data["__cuMemPoolGetAttribute"] = __cuMemPoolGetAttribute global __cuMemPoolSetAccess - data["__cuMemPoolSetAccess"] = <_cyb_intptr_t>__cuMemPoolSetAccess + data["__cuMemPoolSetAccess"] = __cuMemPoolSetAccess global __cuMemPoolGetAccess - data["__cuMemPoolGetAccess"] = <_cyb_intptr_t>__cuMemPoolGetAccess + data["__cuMemPoolGetAccess"] = __cuMemPoolGetAccess global __cuMemPoolCreate - data["__cuMemPoolCreate"] = <_cyb_intptr_t>__cuMemPoolCreate + data["__cuMemPoolCreate"] = __cuMemPoolCreate global __cuMemPoolDestroy - data["__cuMemPoolDestroy"] = <_cyb_intptr_t>__cuMemPoolDestroy + data["__cuMemPoolDestroy"] = __cuMemPoolDestroy global __cuMemAllocFromPoolAsync - data["__cuMemAllocFromPoolAsync"] = <_cyb_intptr_t>__cuMemAllocFromPoolAsync + data["__cuMemAllocFromPoolAsync"] = __cuMemAllocFromPoolAsync global __cuMemPoolExportToShareableHandle - data["__cuMemPoolExportToShareableHandle"] = <_cyb_intptr_t>__cuMemPoolExportToShareableHandle + data["__cuMemPoolExportToShareableHandle"] = __cuMemPoolExportToShareableHandle global __cuMemPoolImportFromShareableHandle - data["__cuMemPoolImportFromShareableHandle"] = <_cyb_intptr_t>__cuMemPoolImportFromShareableHandle + data["__cuMemPoolImportFromShareableHandle"] = __cuMemPoolImportFromShareableHandle global __cuMemPoolExportPointer - data["__cuMemPoolExportPointer"] = <_cyb_intptr_t>__cuMemPoolExportPointer + data["__cuMemPoolExportPointer"] = __cuMemPoolExportPointer global __cuMemPoolImportPointer - data["__cuMemPoolImportPointer"] = <_cyb_intptr_t>__cuMemPoolImportPointer + data["__cuMemPoolImportPointer"] = __cuMemPoolImportPointer global __cuMulticastCreate - data["__cuMulticastCreate"] = <_cyb_intptr_t>__cuMulticastCreate + data["__cuMulticastCreate"] = __cuMulticastCreate global __cuMulticastAddDevice - data["__cuMulticastAddDevice"] = <_cyb_intptr_t>__cuMulticastAddDevice + data["__cuMulticastAddDevice"] = __cuMulticastAddDevice global __cuMulticastBindMem - data["__cuMulticastBindMem"] = <_cyb_intptr_t>__cuMulticastBindMem + data["__cuMulticastBindMem"] = __cuMulticastBindMem global __cuMulticastBindAddr - data["__cuMulticastBindAddr"] = <_cyb_intptr_t>__cuMulticastBindAddr + data["__cuMulticastBindAddr"] = __cuMulticastBindAddr global __cuMulticastUnbind - data["__cuMulticastUnbind"] = <_cyb_intptr_t>__cuMulticastUnbind + data["__cuMulticastUnbind"] = __cuMulticastUnbind global __cuMulticastGetGranularity - data["__cuMulticastGetGranularity"] = <_cyb_intptr_t>__cuMulticastGetGranularity + data["__cuMulticastGetGranularity"] = __cuMulticastGetGranularity global __cuPointerGetAttribute - data["__cuPointerGetAttribute"] = <_cyb_intptr_t>__cuPointerGetAttribute + data["__cuPointerGetAttribute"] = __cuPointerGetAttribute global __cuMemPrefetchAsync - data["__cuMemPrefetchAsync"] = <_cyb_intptr_t>__cuMemPrefetchAsync + data["__cuMemPrefetchAsync"] = __cuMemPrefetchAsync global __cuMemPrefetchAsync_v2 - data["__cuMemPrefetchAsync_v2"] = <_cyb_intptr_t>__cuMemPrefetchAsync_v2 + data["__cuMemPrefetchAsync_v2"] = __cuMemPrefetchAsync_v2 global __cuMemAdvise - data["__cuMemAdvise"] = <_cyb_intptr_t>__cuMemAdvise + data["__cuMemAdvise"] = __cuMemAdvise global __cuMemAdvise_v2 - data["__cuMemAdvise_v2"] = <_cyb_intptr_t>__cuMemAdvise_v2 + data["__cuMemAdvise_v2"] = __cuMemAdvise_v2 global __cuMemRangeGetAttribute - data["__cuMemRangeGetAttribute"] = <_cyb_intptr_t>__cuMemRangeGetAttribute + data["__cuMemRangeGetAttribute"] = __cuMemRangeGetAttribute global __cuMemRangeGetAttributes - data["__cuMemRangeGetAttributes"] = <_cyb_intptr_t>__cuMemRangeGetAttributes + data["__cuMemRangeGetAttributes"] = __cuMemRangeGetAttributes global __cuPointerSetAttribute - data["__cuPointerSetAttribute"] = <_cyb_intptr_t>__cuPointerSetAttribute + data["__cuPointerSetAttribute"] = __cuPointerSetAttribute global __cuPointerGetAttributes - data["__cuPointerGetAttributes"] = <_cyb_intptr_t>__cuPointerGetAttributes + data["__cuPointerGetAttributes"] = __cuPointerGetAttributes global __cuStreamCreate - data["__cuStreamCreate"] = <_cyb_intptr_t>__cuStreamCreate + data["__cuStreamCreate"] = __cuStreamCreate global __cuStreamCreateWithPriority - data["__cuStreamCreateWithPriority"] = <_cyb_intptr_t>__cuStreamCreateWithPriority + data["__cuStreamCreateWithPriority"] = __cuStreamCreateWithPriority global __cuStreamGetPriority - data["__cuStreamGetPriority"] = <_cyb_intptr_t>__cuStreamGetPriority + data["__cuStreamGetPriority"] = __cuStreamGetPriority global __cuStreamGetDevice - data["__cuStreamGetDevice"] = <_cyb_intptr_t>__cuStreamGetDevice + data["__cuStreamGetDevice"] = __cuStreamGetDevice global __cuStreamGetFlags - data["__cuStreamGetFlags"] = <_cyb_intptr_t>__cuStreamGetFlags + data["__cuStreamGetFlags"] = __cuStreamGetFlags global __cuStreamGetId - data["__cuStreamGetId"] = <_cyb_intptr_t>__cuStreamGetId + data["__cuStreamGetId"] = __cuStreamGetId global __cuStreamGetCtx - data["__cuStreamGetCtx"] = <_cyb_intptr_t>__cuStreamGetCtx + data["__cuStreamGetCtx"] = __cuStreamGetCtx global __cuStreamGetCtx_v2 - data["__cuStreamGetCtx_v2"] = <_cyb_intptr_t>__cuStreamGetCtx_v2 + data["__cuStreamGetCtx_v2"] = __cuStreamGetCtx_v2 global __cuStreamWaitEvent - data["__cuStreamWaitEvent"] = <_cyb_intptr_t>__cuStreamWaitEvent + data["__cuStreamWaitEvent"] = __cuStreamWaitEvent global __cuStreamAddCallback - data["__cuStreamAddCallback"] = <_cyb_intptr_t>__cuStreamAddCallback + data["__cuStreamAddCallback"] = __cuStreamAddCallback global __cuStreamBeginCapture_v2 - data["__cuStreamBeginCapture_v2"] = <_cyb_intptr_t>__cuStreamBeginCapture_v2 + data["__cuStreamBeginCapture_v2"] = __cuStreamBeginCapture_v2 global __cuStreamBeginCaptureToGraph - data["__cuStreamBeginCaptureToGraph"] = <_cyb_intptr_t>__cuStreamBeginCaptureToGraph + data["__cuStreamBeginCaptureToGraph"] = __cuStreamBeginCaptureToGraph global __cuThreadExchangeStreamCaptureMode - data["__cuThreadExchangeStreamCaptureMode"] = <_cyb_intptr_t>__cuThreadExchangeStreamCaptureMode + data["__cuThreadExchangeStreamCaptureMode"] = __cuThreadExchangeStreamCaptureMode global __cuStreamEndCapture - data["__cuStreamEndCapture"] = <_cyb_intptr_t>__cuStreamEndCapture + data["__cuStreamEndCapture"] = __cuStreamEndCapture global __cuStreamIsCapturing - data["__cuStreamIsCapturing"] = <_cyb_intptr_t>__cuStreamIsCapturing + data["__cuStreamIsCapturing"] = __cuStreamIsCapturing global __cuStreamGetCaptureInfo_v2 - data["__cuStreamGetCaptureInfo_v2"] = <_cyb_intptr_t>__cuStreamGetCaptureInfo_v2 + data["__cuStreamGetCaptureInfo_v2"] = __cuStreamGetCaptureInfo_v2 global __cuStreamGetCaptureInfo_v3 - data["__cuStreamGetCaptureInfo_v3"] = <_cyb_intptr_t>__cuStreamGetCaptureInfo_v3 + data["__cuStreamGetCaptureInfo_v3"] = __cuStreamGetCaptureInfo_v3 global __cuStreamUpdateCaptureDependencies - data["__cuStreamUpdateCaptureDependencies"] = <_cyb_intptr_t>__cuStreamUpdateCaptureDependencies + data["__cuStreamUpdateCaptureDependencies"] = __cuStreamUpdateCaptureDependencies global __cuStreamUpdateCaptureDependencies_v2 - data["__cuStreamUpdateCaptureDependencies_v2"] = <_cyb_intptr_t>__cuStreamUpdateCaptureDependencies_v2 + data["__cuStreamUpdateCaptureDependencies_v2"] = __cuStreamUpdateCaptureDependencies_v2 global __cuStreamAttachMemAsync - data["__cuStreamAttachMemAsync"] = <_cyb_intptr_t>__cuStreamAttachMemAsync + data["__cuStreamAttachMemAsync"] = __cuStreamAttachMemAsync global __cuStreamQuery - data["__cuStreamQuery"] = <_cyb_intptr_t>__cuStreamQuery + data["__cuStreamQuery"] = __cuStreamQuery global __cuStreamSynchronize - data["__cuStreamSynchronize"] = <_cyb_intptr_t>__cuStreamSynchronize + data["__cuStreamSynchronize"] = __cuStreamSynchronize global __cuStreamDestroy_v2 - data["__cuStreamDestroy_v2"] = <_cyb_intptr_t>__cuStreamDestroy_v2 + data["__cuStreamDestroy_v2"] = __cuStreamDestroy_v2 global __cuStreamCopyAttributes - data["__cuStreamCopyAttributes"] = <_cyb_intptr_t>__cuStreamCopyAttributes + data["__cuStreamCopyAttributes"] = __cuStreamCopyAttributes global __cuStreamGetAttribute - data["__cuStreamGetAttribute"] = <_cyb_intptr_t>__cuStreamGetAttribute + data["__cuStreamGetAttribute"] = __cuStreamGetAttribute global __cuStreamSetAttribute - data["__cuStreamSetAttribute"] = <_cyb_intptr_t>__cuStreamSetAttribute + data["__cuStreamSetAttribute"] = __cuStreamSetAttribute global __cuEventCreate - data["__cuEventCreate"] = <_cyb_intptr_t>__cuEventCreate + data["__cuEventCreate"] = __cuEventCreate global __cuEventRecord - data["__cuEventRecord"] = <_cyb_intptr_t>__cuEventRecord + data["__cuEventRecord"] = __cuEventRecord global __cuEventRecordWithFlags - data["__cuEventRecordWithFlags"] = <_cyb_intptr_t>__cuEventRecordWithFlags + data["__cuEventRecordWithFlags"] = __cuEventRecordWithFlags global __cuEventQuery - data["__cuEventQuery"] = <_cyb_intptr_t>__cuEventQuery + data["__cuEventQuery"] = __cuEventQuery global __cuEventSynchronize - data["__cuEventSynchronize"] = <_cyb_intptr_t>__cuEventSynchronize + data["__cuEventSynchronize"] = __cuEventSynchronize global __cuEventDestroy_v2 - data["__cuEventDestroy_v2"] = <_cyb_intptr_t>__cuEventDestroy_v2 + data["__cuEventDestroy_v2"] = __cuEventDestroy_v2 global __cuEventElapsedTime - data["__cuEventElapsedTime"] = <_cyb_intptr_t>__cuEventElapsedTime + data["__cuEventElapsedTime"] = __cuEventElapsedTime global __cuEventElapsedTime_v2 - data["__cuEventElapsedTime_v2"] = <_cyb_intptr_t>__cuEventElapsedTime_v2 + data["__cuEventElapsedTime_v2"] = __cuEventElapsedTime_v2 global __cuImportExternalMemory - data["__cuImportExternalMemory"] = <_cyb_intptr_t>__cuImportExternalMemory + data["__cuImportExternalMemory"] = __cuImportExternalMemory global __cuExternalMemoryGetMappedBuffer - data["__cuExternalMemoryGetMappedBuffer"] = <_cyb_intptr_t>__cuExternalMemoryGetMappedBuffer + data["__cuExternalMemoryGetMappedBuffer"] = __cuExternalMemoryGetMappedBuffer global __cuExternalMemoryGetMappedMipmappedArray - data["__cuExternalMemoryGetMappedMipmappedArray"] = <_cyb_intptr_t>__cuExternalMemoryGetMappedMipmappedArray + data["__cuExternalMemoryGetMappedMipmappedArray"] = __cuExternalMemoryGetMappedMipmappedArray global __cuDestroyExternalMemory - data["__cuDestroyExternalMemory"] = <_cyb_intptr_t>__cuDestroyExternalMemory + data["__cuDestroyExternalMemory"] = __cuDestroyExternalMemory global __cuImportExternalSemaphore - data["__cuImportExternalSemaphore"] = <_cyb_intptr_t>__cuImportExternalSemaphore + data["__cuImportExternalSemaphore"] = __cuImportExternalSemaphore global __cuSignalExternalSemaphoresAsync - data["__cuSignalExternalSemaphoresAsync"] = <_cyb_intptr_t>__cuSignalExternalSemaphoresAsync + data["__cuSignalExternalSemaphoresAsync"] = __cuSignalExternalSemaphoresAsync global __cuWaitExternalSemaphoresAsync - data["__cuWaitExternalSemaphoresAsync"] = <_cyb_intptr_t>__cuWaitExternalSemaphoresAsync + data["__cuWaitExternalSemaphoresAsync"] = __cuWaitExternalSemaphoresAsync global __cuDestroyExternalSemaphore - data["__cuDestroyExternalSemaphore"] = <_cyb_intptr_t>__cuDestroyExternalSemaphore + data["__cuDestroyExternalSemaphore"] = __cuDestroyExternalSemaphore global __cuStreamWaitValue32_v2 - data["__cuStreamWaitValue32_v2"] = <_cyb_intptr_t>__cuStreamWaitValue32_v2 + data["__cuStreamWaitValue32_v2"] = __cuStreamWaitValue32_v2 global __cuStreamWaitValue64_v2 - data["__cuStreamWaitValue64_v2"] = <_cyb_intptr_t>__cuStreamWaitValue64_v2 + data["__cuStreamWaitValue64_v2"] = __cuStreamWaitValue64_v2 global __cuStreamWriteValue32_v2 - data["__cuStreamWriteValue32_v2"] = <_cyb_intptr_t>__cuStreamWriteValue32_v2 + data["__cuStreamWriteValue32_v2"] = __cuStreamWriteValue32_v2 global __cuStreamWriteValue64_v2 - data["__cuStreamWriteValue64_v2"] = <_cyb_intptr_t>__cuStreamWriteValue64_v2 + data["__cuStreamWriteValue64_v2"] = __cuStreamWriteValue64_v2 global __cuStreamBatchMemOp_v2 - data["__cuStreamBatchMemOp_v2"] = <_cyb_intptr_t>__cuStreamBatchMemOp_v2 + data["__cuStreamBatchMemOp_v2"] = __cuStreamBatchMemOp_v2 global __cuFuncGetAttribute - data["__cuFuncGetAttribute"] = <_cyb_intptr_t>__cuFuncGetAttribute + data["__cuFuncGetAttribute"] = __cuFuncGetAttribute global __cuFuncSetAttribute - data["__cuFuncSetAttribute"] = <_cyb_intptr_t>__cuFuncSetAttribute + data["__cuFuncSetAttribute"] = __cuFuncSetAttribute global __cuFuncSetCacheConfig - data["__cuFuncSetCacheConfig"] = <_cyb_intptr_t>__cuFuncSetCacheConfig + data["__cuFuncSetCacheConfig"] = __cuFuncSetCacheConfig global __cuFuncGetModule - data["__cuFuncGetModule"] = <_cyb_intptr_t>__cuFuncGetModule + data["__cuFuncGetModule"] = __cuFuncGetModule global __cuFuncGetName - data["__cuFuncGetName"] = <_cyb_intptr_t>__cuFuncGetName + data["__cuFuncGetName"] = __cuFuncGetName global __cuFuncGetParamInfo - data["__cuFuncGetParamInfo"] = <_cyb_intptr_t>__cuFuncGetParamInfo + data["__cuFuncGetParamInfo"] = __cuFuncGetParamInfo global __cuFuncIsLoaded - data["__cuFuncIsLoaded"] = <_cyb_intptr_t>__cuFuncIsLoaded + data["__cuFuncIsLoaded"] = __cuFuncIsLoaded global __cuFuncLoad - data["__cuFuncLoad"] = <_cyb_intptr_t>__cuFuncLoad + data["__cuFuncLoad"] = __cuFuncLoad global __cuLaunchKernel - data["__cuLaunchKernel"] = <_cyb_intptr_t>__cuLaunchKernel + data["__cuLaunchKernel"] = __cuLaunchKernel global __cuLaunchKernelEx - data["__cuLaunchKernelEx"] = <_cyb_intptr_t>__cuLaunchKernelEx + data["__cuLaunchKernelEx"] = __cuLaunchKernelEx global __cuLaunchCooperativeKernel - data["__cuLaunchCooperativeKernel"] = <_cyb_intptr_t>__cuLaunchCooperativeKernel + data["__cuLaunchCooperativeKernel"] = __cuLaunchCooperativeKernel global __cuLaunchCooperativeKernelMultiDevice - data["__cuLaunchCooperativeKernelMultiDevice"] = <_cyb_intptr_t>__cuLaunchCooperativeKernelMultiDevice + data["__cuLaunchCooperativeKernelMultiDevice"] = __cuLaunchCooperativeKernelMultiDevice global __cuLaunchHostFunc - data["__cuLaunchHostFunc"] = <_cyb_intptr_t>__cuLaunchHostFunc + data["__cuLaunchHostFunc"] = __cuLaunchHostFunc global __cuFuncSetBlockShape - data["__cuFuncSetBlockShape"] = <_cyb_intptr_t>__cuFuncSetBlockShape + data["__cuFuncSetBlockShape"] = __cuFuncSetBlockShape global __cuFuncSetSharedSize - data["__cuFuncSetSharedSize"] = <_cyb_intptr_t>__cuFuncSetSharedSize + data["__cuFuncSetSharedSize"] = __cuFuncSetSharedSize global __cuParamSetSize - data["__cuParamSetSize"] = <_cyb_intptr_t>__cuParamSetSize + data["__cuParamSetSize"] = __cuParamSetSize global __cuParamSeti - data["__cuParamSeti"] = <_cyb_intptr_t>__cuParamSeti + data["__cuParamSeti"] = __cuParamSeti global __cuParamSetf - data["__cuParamSetf"] = <_cyb_intptr_t>__cuParamSetf + data["__cuParamSetf"] = __cuParamSetf global __cuParamSetv - data["__cuParamSetv"] = <_cyb_intptr_t>__cuParamSetv + data["__cuParamSetv"] = __cuParamSetv global __cuLaunch - data["__cuLaunch"] = <_cyb_intptr_t>__cuLaunch + data["__cuLaunch"] = __cuLaunch global __cuLaunchGrid - data["__cuLaunchGrid"] = <_cyb_intptr_t>__cuLaunchGrid + data["__cuLaunchGrid"] = __cuLaunchGrid global __cuLaunchGridAsync - data["__cuLaunchGridAsync"] = <_cyb_intptr_t>__cuLaunchGridAsync + data["__cuLaunchGridAsync"] = __cuLaunchGridAsync global __cuParamSetTexRef - data["__cuParamSetTexRef"] = <_cyb_intptr_t>__cuParamSetTexRef + data["__cuParamSetTexRef"] = __cuParamSetTexRef global __cuFuncSetSharedMemConfig - data["__cuFuncSetSharedMemConfig"] = <_cyb_intptr_t>__cuFuncSetSharedMemConfig + data["__cuFuncSetSharedMemConfig"] = __cuFuncSetSharedMemConfig global __cuGraphCreate - data["__cuGraphCreate"] = <_cyb_intptr_t>__cuGraphCreate + data["__cuGraphCreate"] = __cuGraphCreate global __cuGraphAddKernelNode_v2 - data["__cuGraphAddKernelNode_v2"] = <_cyb_intptr_t>__cuGraphAddKernelNode_v2 + data["__cuGraphAddKernelNode_v2"] = __cuGraphAddKernelNode_v2 global __cuGraphKernelNodeGetParams_v2 - data["__cuGraphKernelNodeGetParams_v2"] = <_cyb_intptr_t>__cuGraphKernelNodeGetParams_v2 + data["__cuGraphKernelNodeGetParams_v2"] = __cuGraphKernelNodeGetParams_v2 global __cuGraphKernelNodeSetParams_v2 - data["__cuGraphKernelNodeSetParams_v2"] = <_cyb_intptr_t>__cuGraphKernelNodeSetParams_v2 + data["__cuGraphKernelNodeSetParams_v2"] = __cuGraphKernelNodeSetParams_v2 global __cuGraphAddMemcpyNode - data["__cuGraphAddMemcpyNode"] = <_cyb_intptr_t>__cuGraphAddMemcpyNode + data["__cuGraphAddMemcpyNode"] = __cuGraphAddMemcpyNode global __cuGraphMemcpyNodeGetParams - data["__cuGraphMemcpyNodeGetParams"] = <_cyb_intptr_t>__cuGraphMemcpyNodeGetParams + data["__cuGraphMemcpyNodeGetParams"] = __cuGraphMemcpyNodeGetParams global __cuGraphMemcpyNodeSetParams - data["__cuGraphMemcpyNodeSetParams"] = <_cyb_intptr_t>__cuGraphMemcpyNodeSetParams + data["__cuGraphMemcpyNodeSetParams"] = __cuGraphMemcpyNodeSetParams global __cuGraphAddMemsetNode - data["__cuGraphAddMemsetNode"] = <_cyb_intptr_t>__cuGraphAddMemsetNode + data["__cuGraphAddMemsetNode"] = __cuGraphAddMemsetNode global __cuGraphMemsetNodeGetParams - data["__cuGraphMemsetNodeGetParams"] = <_cyb_intptr_t>__cuGraphMemsetNodeGetParams + data["__cuGraphMemsetNodeGetParams"] = __cuGraphMemsetNodeGetParams global __cuGraphMemsetNodeSetParams - data["__cuGraphMemsetNodeSetParams"] = <_cyb_intptr_t>__cuGraphMemsetNodeSetParams + data["__cuGraphMemsetNodeSetParams"] = __cuGraphMemsetNodeSetParams global __cuGraphAddHostNode - data["__cuGraphAddHostNode"] = <_cyb_intptr_t>__cuGraphAddHostNode + data["__cuGraphAddHostNode"] = __cuGraphAddHostNode global __cuGraphHostNodeGetParams - data["__cuGraphHostNodeGetParams"] = <_cyb_intptr_t>__cuGraphHostNodeGetParams + data["__cuGraphHostNodeGetParams"] = __cuGraphHostNodeGetParams global __cuGraphHostNodeSetParams - data["__cuGraphHostNodeSetParams"] = <_cyb_intptr_t>__cuGraphHostNodeSetParams + data["__cuGraphHostNodeSetParams"] = __cuGraphHostNodeSetParams global __cuGraphAddChildGraphNode - data["__cuGraphAddChildGraphNode"] = <_cyb_intptr_t>__cuGraphAddChildGraphNode + data["__cuGraphAddChildGraphNode"] = __cuGraphAddChildGraphNode global __cuGraphChildGraphNodeGetGraph - data["__cuGraphChildGraphNodeGetGraph"] = <_cyb_intptr_t>__cuGraphChildGraphNodeGetGraph + data["__cuGraphChildGraphNodeGetGraph"] = __cuGraphChildGraphNodeGetGraph global __cuGraphAddEmptyNode - data["__cuGraphAddEmptyNode"] = <_cyb_intptr_t>__cuGraphAddEmptyNode + data["__cuGraphAddEmptyNode"] = __cuGraphAddEmptyNode global __cuGraphAddEventRecordNode - data["__cuGraphAddEventRecordNode"] = <_cyb_intptr_t>__cuGraphAddEventRecordNode + data["__cuGraphAddEventRecordNode"] = __cuGraphAddEventRecordNode global __cuGraphEventRecordNodeGetEvent - data["__cuGraphEventRecordNodeGetEvent"] = <_cyb_intptr_t>__cuGraphEventRecordNodeGetEvent + data["__cuGraphEventRecordNodeGetEvent"] = __cuGraphEventRecordNodeGetEvent global __cuGraphEventRecordNodeSetEvent - data["__cuGraphEventRecordNodeSetEvent"] = <_cyb_intptr_t>__cuGraphEventRecordNodeSetEvent + data["__cuGraphEventRecordNodeSetEvent"] = __cuGraphEventRecordNodeSetEvent global __cuGraphAddEventWaitNode - data["__cuGraphAddEventWaitNode"] = <_cyb_intptr_t>__cuGraphAddEventWaitNode + data["__cuGraphAddEventWaitNode"] = __cuGraphAddEventWaitNode global __cuGraphEventWaitNodeGetEvent - data["__cuGraphEventWaitNodeGetEvent"] = <_cyb_intptr_t>__cuGraphEventWaitNodeGetEvent + data["__cuGraphEventWaitNodeGetEvent"] = __cuGraphEventWaitNodeGetEvent global __cuGraphEventWaitNodeSetEvent - data["__cuGraphEventWaitNodeSetEvent"] = <_cyb_intptr_t>__cuGraphEventWaitNodeSetEvent + data["__cuGraphEventWaitNodeSetEvent"] = __cuGraphEventWaitNodeSetEvent global __cuGraphAddExternalSemaphoresSignalNode - data["__cuGraphAddExternalSemaphoresSignalNode"] = <_cyb_intptr_t>__cuGraphAddExternalSemaphoresSignalNode + data["__cuGraphAddExternalSemaphoresSignalNode"] = __cuGraphAddExternalSemaphoresSignalNode global __cuGraphExternalSemaphoresSignalNodeGetParams - data["__cuGraphExternalSemaphoresSignalNodeGetParams"] = <_cyb_intptr_t>__cuGraphExternalSemaphoresSignalNodeGetParams + data["__cuGraphExternalSemaphoresSignalNodeGetParams"] = __cuGraphExternalSemaphoresSignalNodeGetParams global __cuGraphExternalSemaphoresSignalNodeSetParams - data["__cuGraphExternalSemaphoresSignalNodeSetParams"] = <_cyb_intptr_t>__cuGraphExternalSemaphoresSignalNodeSetParams + data["__cuGraphExternalSemaphoresSignalNodeSetParams"] = __cuGraphExternalSemaphoresSignalNodeSetParams global __cuGraphAddExternalSemaphoresWaitNode - data["__cuGraphAddExternalSemaphoresWaitNode"] = <_cyb_intptr_t>__cuGraphAddExternalSemaphoresWaitNode + data["__cuGraphAddExternalSemaphoresWaitNode"] = __cuGraphAddExternalSemaphoresWaitNode global __cuGraphExternalSemaphoresWaitNodeGetParams - data["__cuGraphExternalSemaphoresWaitNodeGetParams"] = <_cyb_intptr_t>__cuGraphExternalSemaphoresWaitNodeGetParams + data["__cuGraphExternalSemaphoresWaitNodeGetParams"] = __cuGraphExternalSemaphoresWaitNodeGetParams global __cuGraphExternalSemaphoresWaitNodeSetParams - data["__cuGraphExternalSemaphoresWaitNodeSetParams"] = <_cyb_intptr_t>__cuGraphExternalSemaphoresWaitNodeSetParams + data["__cuGraphExternalSemaphoresWaitNodeSetParams"] = __cuGraphExternalSemaphoresWaitNodeSetParams global __cuGraphAddBatchMemOpNode - data["__cuGraphAddBatchMemOpNode"] = <_cyb_intptr_t>__cuGraphAddBatchMemOpNode + data["__cuGraphAddBatchMemOpNode"] = __cuGraphAddBatchMemOpNode global __cuGraphBatchMemOpNodeGetParams - data["__cuGraphBatchMemOpNodeGetParams"] = <_cyb_intptr_t>__cuGraphBatchMemOpNodeGetParams + data["__cuGraphBatchMemOpNodeGetParams"] = __cuGraphBatchMemOpNodeGetParams global __cuGraphBatchMemOpNodeSetParams - data["__cuGraphBatchMemOpNodeSetParams"] = <_cyb_intptr_t>__cuGraphBatchMemOpNodeSetParams + data["__cuGraphBatchMemOpNodeSetParams"] = __cuGraphBatchMemOpNodeSetParams global __cuGraphExecBatchMemOpNodeSetParams - data["__cuGraphExecBatchMemOpNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecBatchMemOpNodeSetParams + data["__cuGraphExecBatchMemOpNodeSetParams"] = __cuGraphExecBatchMemOpNodeSetParams global __cuGraphAddMemAllocNode - data["__cuGraphAddMemAllocNode"] = <_cyb_intptr_t>__cuGraphAddMemAllocNode + data["__cuGraphAddMemAllocNode"] = __cuGraphAddMemAllocNode global __cuGraphMemAllocNodeGetParams - data["__cuGraphMemAllocNodeGetParams"] = <_cyb_intptr_t>__cuGraphMemAllocNodeGetParams + data["__cuGraphMemAllocNodeGetParams"] = __cuGraphMemAllocNodeGetParams global __cuGraphAddMemFreeNode - data["__cuGraphAddMemFreeNode"] = <_cyb_intptr_t>__cuGraphAddMemFreeNode + data["__cuGraphAddMemFreeNode"] = __cuGraphAddMemFreeNode global __cuGraphMemFreeNodeGetParams - data["__cuGraphMemFreeNodeGetParams"] = <_cyb_intptr_t>__cuGraphMemFreeNodeGetParams + data["__cuGraphMemFreeNodeGetParams"] = __cuGraphMemFreeNodeGetParams global __cuDeviceGraphMemTrim - data["__cuDeviceGraphMemTrim"] = <_cyb_intptr_t>__cuDeviceGraphMemTrim + data["__cuDeviceGraphMemTrim"] = __cuDeviceGraphMemTrim global __cuDeviceGetGraphMemAttribute - data["__cuDeviceGetGraphMemAttribute"] = <_cyb_intptr_t>__cuDeviceGetGraphMemAttribute + data["__cuDeviceGetGraphMemAttribute"] = __cuDeviceGetGraphMemAttribute global __cuDeviceSetGraphMemAttribute - data["__cuDeviceSetGraphMemAttribute"] = <_cyb_intptr_t>__cuDeviceSetGraphMemAttribute + data["__cuDeviceSetGraphMemAttribute"] = __cuDeviceSetGraphMemAttribute global __cuGraphClone - data["__cuGraphClone"] = <_cyb_intptr_t>__cuGraphClone + data["__cuGraphClone"] = __cuGraphClone global __cuGraphNodeFindInClone - data["__cuGraphNodeFindInClone"] = <_cyb_intptr_t>__cuGraphNodeFindInClone + data["__cuGraphNodeFindInClone"] = __cuGraphNodeFindInClone global __cuGraphNodeGetType - data["__cuGraphNodeGetType"] = <_cyb_intptr_t>__cuGraphNodeGetType + data["__cuGraphNodeGetType"] = __cuGraphNodeGetType global __cuGraphGetNodes - data["__cuGraphGetNodes"] = <_cyb_intptr_t>__cuGraphGetNodes + data["__cuGraphGetNodes"] = __cuGraphGetNodes global __cuGraphGetRootNodes - data["__cuGraphGetRootNodes"] = <_cyb_intptr_t>__cuGraphGetRootNodes + data["__cuGraphGetRootNodes"] = __cuGraphGetRootNodes global __cuGraphGetEdges - data["__cuGraphGetEdges"] = <_cyb_intptr_t>__cuGraphGetEdges + data["__cuGraphGetEdges"] = __cuGraphGetEdges global __cuGraphGetEdges_v2 - data["__cuGraphGetEdges_v2"] = <_cyb_intptr_t>__cuGraphGetEdges_v2 + data["__cuGraphGetEdges_v2"] = __cuGraphGetEdges_v2 global __cuGraphNodeGetDependencies - data["__cuGraphNodeGetDependencies"] = <_cyb_intptr_t>__cuGraphNodeGetDependencies + data["__cuGraphNodeGetDependencies"] = __cuGraphNodeGetDependencies global __cuGraphNodeGetDependencies_v2 - data["__cuGraphNodeGetDependencies_v2"] = <_cyb_intptr_t>__cuGraphNodeGetDependencies_v2 + data["__cuGraphNodeGetDependencies_v2"] = __cuGraphNodeGetDependencies_v2 global __cuGraphNodeGetDependentNodes - data["__cuGraphNodeGetDependentNodes"] = <_cyb_intptr_t>__cuGraphNodeGetDependentNodes + data["__cuGraphNodeGetDependentNodes"] = __cuGraphNodeGetDependentNodes global __cuGraphNodeGetDependentNodes_v2 - data["__cuGraphNodeGetDependentNodes_v2"] = <_cyb_intptr_t>__cuGraphNodeGetDependentNodes_v2 + data["__cuGraphNodeGetDependentNodes_v2"] = __cuGraphNodeGetDependentNodes_v2 global __cuGraphAddDependencies - data["__cuGraphAddDependencies"] = <_cyb_intptr_t>__cuGraphAddDependencies + data["__cuGraphAddDependencies"] = __cuGraphAddDependencies global __cuGraphAddDependencies_v2 - data["__cuGraphAddDependencies_v2"] = <_cyb_intptr_t>__cuGraphAddDependencies_v2 + data["__cuGraphAddDependencies_v2"] = __cuGraphAddDependencies_v2 global __cuGraphRemoveDependencies - data["__cuGraphRemoveDependencies"] = <_cyb_intptr_t>__cuGraphRemoveDependencies + data["__cuGraphRemoveDependencies"] = __cuGraphRemoveDependencies global __cuGraphRemoveDependencies_v2 - data["__cuGraphRemoveDependencies_v2"] = <_cyb_intptr_t>__cuGraphRemoveDependencies_v2 + data["__cuGraphRemoveDependencies_v2"] = __cuGraphRemoveDependencies_v2 global __cuGraphDestroyNode - data["__cuGraphDestroyNode"] = <_cyb_intptr_t>__cuGraphDestroyNode + data["__cuGraphDestroyNode"] = __cuGraphDestroyNode global __cuGraphInstantiateWithFlags - data["__cuGraphInstantiateWithFlags"] = <_cyb_intptr_t>__cuGraphInstantiateWithFlags + data["__cuGraphInstantiateWithFlags"] = __cuGraphInstantiateWithFlags global __cuGraphInstantiateWithParams - data["__cuGraphInstantiateWithParams"] = <_cyb_intptr_t>__cuGraphInstantiateWithParams + data["__cuGraphInstantiateWithParams"] = __cuGraphInstantiateWithParams global __cuGraphExecGetFlags - data["__cuGraphExecGetFlags"] = <_cyb_intptr_t>__cuGraphExecGetFlags + data["__cuGraphExecGetFlags"] = __cuGraphExecGetFlags global __cuGraphExecKernelNodeSetParams_v2 - data["__cuGraphExecKernelNodeSetParams_v2"] = <_cyb_intptr_t>__cuGraphExecKernelNodeSetParams_v2 + data["__cuGraphExecKernelNodeSetParams_v2"] = __cuGraphExecKernelNodeSetParams_v2 global __cuGraphExecMemcpyNodeSetParams - data["__cuGraphExecMemcpyNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecMemcpyNodeSetParams + data["__cuGraphExecMemcpyNodeSetParams"] = __cuGraphExecMemcpyNodeSetParams global __cuGraphExecMemsetNodeSetParams - data["__cuGraphExecMemsetNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecMemsetNodeSetParams + data["__cuGraphExecMemsetNodeSetParams"] = __cuGraphExecMemsetNodeSetParams global __cuGraphExecHostNodeSetParams - data["__cuGraphExecHostNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecHostNodeSetParams + data["__cuGraphExecHostNodeSetParams"] = __cuGraphExecHostNodeSetParams global __cuGraphExecChildGraphNodeSetParams - data["__cuGraphExecChildGraphNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecChildGraphNodeSetParams + data["__cuGraphExecChildGraphNodeSetParams"] = __cuGraphExecChildGraphNodeSetParams global __cuGraphExecEventRecordNodeSetEvent - data["__cuGraphExecEventRecordNodeSetEvent"] = <_cyb_intptr_t>__cuGraphExecEventRecordNodeSetEvent + data["__cuGraphExecEventRecordNodeSetEvent"] = __cuGraphExecEventRecordNodeSetEvent global __cuGraphExecEventWaitNodeSetEvent - data["__cuGraphExecEventWaitNodeSetEvent"] = <_cyb_intptr_t>__cuGraphExecEventWaitNodeSetEvent + data["__cuGraphExecEventWaitNodeSetEvent"] = __cuGraphExecEventWaitNodeSetEvent global __cuGraphExecExternalSemaphoresSignalNodeSetParams - data["__cuGraphExecExternalSemaphoresSignalNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecExternalSemaphoresSignalNodeSetParams + data["__cuGraphExecExternalSemaphoresSignalNodeSetParams"] = __cuGraphExecExternalSemaphoresSignalNodeSetParams global __cuGraphExecExternalSemaphoresWaitNodeSetParams - data["__cuGraphExecExternalSemaphoresWaitNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecExternalSemaphoresWaitNodeSetParams + data["__cuGraphExecExternalSemaphoresWaitNodeSetParams"] = __cuGraphExecExternalSemaphoresWaitNodeSetParams global __cuGraphNodeSetEnabled - data["__cuGraphNodeSetEnabled"] = <_cyb_intptr_t>__cuGraphNodeSetEnabled + data["__cuGraphNodeSetEnabled"] = __cuGraphNodeSetEnabled global __cuGraphNodeGetEnabled - data["__cuGraphNodeGetEnabled"] = <_cyb_intptr_t>__cuGraphNodeGetEnabled + data["__cuGraphNodeGetEnabled"] = __cuGraphNodeGetEnabled global __cuGraphUpload - data["__cuGraphUpload"] = <_cyb_intptr_t>__cuGraphUpload + data["__cuGraphUpload"] = __cuGraphUpload global __cuGraphLaunch - data["__cuGraphLaunch"] = <_cyb_intptr_t>__cuGraphLaunch + data["__cuGraphLaunch"] = __cuGraphLaunch global __cuGraphExecDestroy - data["__cuGraphExecDestroy"] = <_cyb_intptr_t>__cuGraphExecDestroy + data["__cuGraphExecDestroy"] = __cuGraphExecDestroy global __cuGraphDestroy - data["__cuGraphDestroy"] = <_cyb_intptr_t>__cuGraphDestroy + data["__cuGraphDestroy"] = __cuGraphDestroy global __cuGraphExecUpdate_v2 - data["__cuGraphExecUpdate_v2"] = <_cyb_intptr_t>__cuGraphExecUpdate_v2 + data["__cuGraphExecUpdate_v2"] = __cuGraphExecUpdate_v2 global __cuGraphKernelNodeCopyAttributes - data["__cuGraphKernelNodeCopyAttributes"] = <_cyb_intptr_t>__cuGraphKernelNodeCopyAttributes + data["__cuGraphKernelNodeCopyAttributes"] = __cuGraphKernelNodeCopyAttributes global __cuGraphKernelNodeGetAttribute - data["__cuGraphKernelNodeGetAttribute"] = <_cyb_intptr_t>__cuGraphKernelNodeGetAttribute + data["__cuGraphKernelNodeGetAttribute"] = __cuGraphKernelNodeGetAttribute global __cuGraphKernelNodeSetAttribute - data["__cuGraphKernelNodeSetAttribute"] = <_cyb_intptr_t>__cuGraphKernelNodeSetAttribute + data["__cuGraphKernelNodeSetAttribute"] = __cuGraphKernelNodeSetAttribute global __cuGraphDebugDotPrint - data["__cuGraphDebugDotPrint"] = <_cyb_intptr_t>__cuGraphDebugDotPrint + data["__cuGraphDebugDotPrint"] = __cuGraphDebugDotPrint global __cuUserObjectCreate - data["__cuUserObjectCreate"] = <_cyb_intptr_t>__cuUserObjectCreate + data["__cuUserObjectCreate"] = __cuUserObjectCreate global __cuUserObjectRetain - data["__cuUserObjectRetain"] = <_cyb_intptr_t>__cuUserObjectRetain + data["__cuUserObjectRetain"] = __cuUserObjectRetain global __cuUserObjectRelease - data["__cuUserObjectRelease"] = <_cyb_intptr_t>__cuUserObjectRelease + data["__cuUserObjectRelease"] = __cuUserObjectRelease global __cuGraphRetainUserObject - data["__cuGraphRetainUserObject"] = <_cyb_intptr_t>__cuGraphRetainUserObject + data["__cuGraphRetainUserObject"] = __cuGraphRetainUserObject global __cuGraphReleaseUserObject - data["__cuGraphReleaseUserObject"] = <_cyb_intptr_t>__cuGraphReleaseUserObject + data["__cuGraphReleaseUserObject"] = __cuGraphReleaseUserObject global __cuGraphAddNode - data["__cuGraphAddNode"] = <_cyb_intptr_t>__cuGraphAddNode + data["__cuGraphAddNode"] = __cuGraphAddNode global __cuGraphAddNode_v2 - data["__cuGraphAddNode_v2"] = <_cyb_intptr_t>__cuGraphAddNode_v2 + data["__cuGraphAddNode_v2"] = __cuGraphAddNode_v2 global __cuGraphNodeSetParams - data["__cuGraphNodeSetParams"] = <_cyb_intptr_t>__cuGraphNodeSetParams + data["__cuGraphNodeSetParams"] = __cuGraphNodeSetParams global __cuGraphExecNodeSetParams - data["__cuGraphExecNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecNodeSetParams + data["__cuGraphExecNodeSetParams"] = __cuGraphExecNodeSetParams global __cuGraphConditionalHandleCreate - data["__cuGraphConditionalHandleCreate"] = <_cyb_intptr_t>__cuGraphConditionalHandleCreate + data["__cuGraphConditionalHandleCreate"] = __cuGraphConditionalHandleCreate global __cuOccupancyMaxActiveBlocksPerMultiprocessor - data["__cuOccupancyMaxActiveBlocksPerMultiprocessor"] = <_cyb_intptr_t>__cuOccupancyMaxActiveBlocksPerMultiprocessor + data["__cuOccupancyMaxActiveBlocksPerMultiprocessor"] = __cuOccupancyMaxActiveBlocksPerMultiprocessor global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags - data["__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags"] = <_cyb_intptr_t>__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags + data["__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags"] = __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags global __cuOccupancyMaxPotentialBlockSize - data["__cuOccupancyMaxPotentialBlockSize"] = <_cyb_intptr_t>__cuOccupancyMaxPotentialBlockSize + data["__cuOccupancyMaxPotentialBlockSize"] = __cuOccupancyMaxPotentialBlockSize global __cuOccupancyMaxPotentialBlockSizeWithFlags - data["__cuOccupancyMaxPotentialBlockSizeWithFlags"] = <_cyb_intptr_t>__cuOccupancyMaxPotentialBlockSizeWithFlags + data["__cuOccupancyMaxPotentialBlockSizeWithFlags"] = __cuOccupancyMaxPotentialBlockSizeWithFlags global __cuOccupancyAvailableDynamicSMemPerBlock - data["__cuOccupancyAvailableDynamicSMemPerBlock"] = <_cyb_intptr_t>__cuOccupancyAvailableDynamicSMemPerBlock + data["__cuOccupancyAvailableDynamicSMemPerBlock"] = __cuOccupancyAvailableDynamicSMemPerBlock global __cuOccupancyMaxPotentialClusterSize - data["__cuOccupancyMaxPotentialClusterSize"] = <_cyb_intptr_t>__cuOccupancyMaxPotentialClusterSize + data["__cuOccupancyMaxPotentialClusterSize"] = __cuOccupancyMaxPotentialClusterSize global __cuOccupancyMaxActiveClusters - data["__cuOccupancyMaxActiveClusters"] = <_cyb_intptr_t>__cuOccupancyMaxActiveClusters + data["__cuOccupancyMaxActiveClusters"] = __cuOccupancyMaxActiveClusters global __cuTexRefSetArray - data["__cuTexRefSetArray"] = <_cyb_intptr_t>__cuTexRefSetArray + data["__cuTexRefSetArray"] = __cuTexRefSetArray global __cuTexRefSetMipmappedArray - data["__cuTexRefSetMipmappedArray"] = <_cyb_intptr_t>__cuTexRefSetMipmappedArray + data["__cuTexRefSetMipmappedArray"] = __cuTexRefSetMipmappedArray global __cuTexRefSetAddress_v2 - data["__cuTexRefSetAddress_v2"] = <_cyb_intptr_t>__cuTexRefSetAddress_v2 + data["__cuTexRefSetAddress_v2"] = __cuTexRefSetAddress_v2 global __cuTexRefSetAddress2D_v3 - data["__cuTexRefSetAddress2D_v3"] = <_cyb_intptr_t>__cuTexRefSetAddress2D_v3 + data["__cuTexRefSetAddress2D_v3"] = __cuTexRefSetAddress2D_v3 global __cuTexRefSetFormat - data["__cuTexRefSetFormat"] = <_cyb_intptr_t>__cuTexRefSetFormat + data["__cuTexRefSetFormat"] = __cuTexRefSetFormat global __cuTexRefSetAddressMode - data["__cuTexRefSetAddressMode"] = <_cyb_intptr_t>__cuTexRefSetAddressMode + data["__cuTexRefSetAddressMode"] = __cuTexRefSetAddressMode global __cuTexRefSetFilterMode - data["__cuTexRefSetFilterMode"] = <_cyb_intptr_t>__cuTexRefSetFilterMode + data["__cuTexRefSetFilterMode"] = __cuTexRefSetFilterMode global __cuTexRefSetMipmapFilterMode - data["__cuTexRefSetMipmapFilterMode"] = <_cyb_intptr_t>__cuTexRefSetMipmapFilterMode + data["__cuTexRefSetMipmapFilterMode"] = __cuTexRefSetMipmapFilterMode global __cuTexRefSetMipmapLevelBias - data["__cuTexRefSetMipmapLevelBias"] = <_cyb_intptr_t>__cuTexRefSetMipmapLevelBias + data["__cuTexRefSetMipmapLevelBias"] = __cuTexRefSetMipmapLevelBias global __cuTexRefSetMipmapLevelClamp - data["__cuTexRefSetMipmapLevelClamp"] = <_cyb_intptr_t>__cuTexRefSetMipmapLevelClamp + data["__cuTexRefSetMipmapLevelClamp"] = __cuTexRefSetMipmapLevelClamp global __cuTexRefSetMaxAnisotropy - data["__cuTexRefSetMaxAnisotropy"] = <_cyb_intptr_t>__cuTexRefSetMaxAnisotropy + data["__cuTexRefSetMaxAnisotropy"] = __cuTexRefSetMaxAnisotropy global __cuTexRefSetBorderColor - data["__cuTexRefSetBorderColor"] = <_cyb_intptr_t>__cuTexRefSetBorderColor + data["__cuTexRefSetBorderColor"] = __cuTexRefSetBorderColor global __cuTexRefSetFlags - data["__cuTexRefSetFlags"] = <_cyb_intptr_t>__cuTexRefSetFlags + data["__cuTexRefSetFlags"] = __cuTexRefSetFlags global __cuTexRefGetAddress_v2 - data["__cuTexRefGetAddress_v2"] = <_cyb_intptr_t>__cuTexRefGetAddress_v2 + data["__cuTexRefGetAddress_v2"] = __cuTexRefGetAddress_v2 global __cuTexRefGetArray - data["__cuTexRefGetArray"] = <_cyb_intptr_t>__cuTexRefGetArray + data["__cuTexRefGetArray"] = __cuTexRefGetArray global __cuTexRefGetMipmappedArray - data["__cuTexRefGetMipmappedArray"] = <_cyb_intptr_t>__cuTexRefGetMipmappedArray + data["__cuTexRefGetMipmappedArray"] = __cuTexRefGetMipmappedArray global __cuTexRefGetAddressMode - data["__cuTexRefGetAddressMode"] = <_cyb_intptr_t>__cuTexRefGetAddressMode + data["__cuTexRefGetAddressMode"] = __cuTexRefGetAddressMode global __cuTexRefGetFilterMode - data["__cuTexRefGetFilterMode"] = <_cyb_intptr_t>__cuTexRefGetFilterMode + data["__cuTexRefGetFilterMode"] = __cuTexRefGetFilterMode global __cuTexRefGetFormat - data["__cuTexRefGetFormat"] = <_cyb_intptr_t>__cuTexRefGetFormat + data["__cuTexRefGetFormat"] = __cuTexRefGetFormat global __cuTexRefGetMipmapFilterMode - data["__cuTexRefGetMipmapFilterMode"] = <_cyb_intptr_t>__cuTexRefGetMipmapFilterMode + data["__cuTexRefGetMipmapFilterMode"] = __cuTexRefGetMipmapFilterMode global __cuTexRefGetMipmapLevelBias - data["__cuTexRefGetMipmapLevelBias"] = <_cyb_intptr_t>__cuTexRefGetMipmapLevelBias + data["__cuTexRefGetMipmapLevelBias"] = __cuTexRefGetMipmapLevelBias global __cuTexRefGetMipmapLevelClamp - data["__cuTexRefGetMipmapLevelClamp"] = <_cyb_intptr_t>__cuTexRefGetMipmapLevelClamp + data["__cuTexRefGetMipmapLevelClamp"] = __cuTexRefGetMipmapLevelClamp global __cuTexRefGetMaxAnisotropy - data["__cuTexRefGetMaxAnisotropy"] = <_cyb_intptr_t>__cuTexRefGetMaxAnisotropy + data["__cuTexRefGetMaxAnisotropy"] = __cuTexRefGetMaxAnisotropy global __cuTexRefGetBorderColor - data["__cuTexRefGetBorderColor"] = <_cyb_intptr_t>__cuTexRefGetBorderColor + data["__cuTexRefGetBorderColor"] = __cuTexRefGetBorderColor global __cuTexRefGetFlags - data["__cuTexRefGetFlags"] = <_cyb_intptr_t>__cuTexRefGetFlags + data["__cuTexRefGetFlags"] = __cuTexRefGetFlags global __cuTexRefCreate - data["__cuTexRefCreate"] = <_cyb_intptr_t>__cuTexRefCreate + data["__cuTexRefCreate"] = __cuTexRefCreate global __cuTexRefDestroy - data["__cuTexRefDestroy"] = <_cyb_intptr_t>__cuTexRefDestroy + data["__cuTexRefDestroy"] = __cuTexRefDestroy global __cuSurfRefSetArray - data["__cuSurfRefSetArray"] = <_cyb_intptr_t>__cuSurfRefSetArray + data["__cuSurfRefSetArray"] = __cuSurfRefSetArray global __cuSurfRefGetArray - data["__cuSurfRefGetArray"] = <_cyb_intptr_t>__cuSurfRefGetArray + data["__cuSurfRefGetArray"] = __cuSurfRefGetArray global __cuTexObjectCreate - data["__cuTexObjectCreate"] = <_cyb_intptr_t>__cuTexObjectCreate + data["__cuTexObjectCreate"] = __cuTexObjectCreate global __cuTexObjectDestroy - data["__cuTexObjectDestroy"] = <_cyb_intptr_t>__cuTexObjectDestroy + data["__cuTexObjectDestroy"] = __cuTexObjectDestroy global __cuTexObjectGetResourceDesc - data["__cuTexObjectGetResourceDesc"] = <_cyb_intptr_t>__cuTexObjectGetResourceDesc + data["__cuTexObjectGetResourceDesc"] = __cuTexObjectGetResourceDesc global __cuTexObjectGetTextureDesc - data["__cuTexObjectGetTextureDesc"] = <_cyb_intptr_t>__cuTexObjectGetTextureDesc + data["__cuTexObjectGetTextureDesc"] = __cuTexObjectGetTextureDesc global __cuTexObjectGetResourceViewDesc - data["__cuTexObjectGetResourceViewDesc"] = <_cyb_intptr_t>__cuTexObjectGetResourceViewDesc + data["__cuTexObjectGetResourceViewDesc"] = __cuTexObjectGetResourceViewDesc global __cuSurfObjectCreate - data["__cuSurfObjectCreate"] = <_cyb_intptr_t>__cuSurfObjectCreate + data["__cuSurfObjectCreate"] = __cuSurfObjectCreate global __cuSurfObjectDestroy - data["__cuSurfObjectDestroy"] = <_cyb_intptr_t>__cuSurfObjectDestroy + data["__cuSurfObjectDestroy"] = __cuSurfObjectDestroy global __cuSurfObjectGetResourceDesc - data["__cuSurfObjectGetResourceDesc"] = <_cyb_intptr_t>__cuSurfObjectGetResourceDesc + data["__cuSurfObjectGetResourceDesc"] = __cuSurfObjectGetResourceDesc global __cuTensorMapEncodeTiled - data["__cuTensorMapEncodeTiled"] = <_cyb_intptr_t>__cuTensorMapEncodeTiled + data["__cuTensorMapEncodeTiled"] = __cuTensorMapEncodeTiled global __cuTensorMapEncodeIm2col - data["__cuTensorMapEncodeIm2col"] = <_cyb_intptr_t>__cuTensorMapEncodeIm2col + data["__cuTensorMapEncodeIm2col"] = __cuTensorMapEncodeIm2col global __cuTensorMapEncodeIm2colWide - data["__cuTensorMapEncodeIm2colWide"] = <_cyb_intptr_t>__cuTensorMapEncodeIm2colWide + data["__cuTensorMapEncodeIm2colWide"] = __cuTensorMapEncodeIm2colWide global __cuTensorMapReplaceAddress - data["__cuTensorMapReplaceAddress"] = <_cyb_intptr_t>__cuTensorMapReplaceAddress + data["__cuTensorMapReplaceAddress"] = __cuTensorMapReplaceAddress global __cuDeviceCanAccessPeer - data["__cuDeviceCanAccessPeer"] = <_cyb_intptr_t>__cuDeviceCanAccessPeer + data["__cuDeviceCanAccessPeer"] = __cuDeviceCanAccessPeer global __cuCtxEnablePeerAccess - data["__cuCtxEnablePeerAccess"] = <_cyb_intptr_t>__cuCtxEnablePeerAccess + data["__cuCtxEnablePeerAccess"] = __cuCtxEnablePeerAccess global __cuCtxDisablePeerAccess - data["__cuCtxDisablePeerAccess"] = <_cyb_intptr_t>__cuCtxDisablePeerAccess + data["__cuCtxDisablePeerAccess"] = __cuCtxDisablePeerAccess global __cuDeviceGetP2PAttribute - data["__cuDeviceGetP2PAttribute"] = <_cyb_intptr_t>__cuDeviceGetP2PAttribute + data["__cuDeviceGetP2PAttribute"] = __cuDeviceGetP2PAttribute global __cuGraphicsUnregisterResource - data["__cuGraphicsUnregisterResource"] = <_cyb_intptr_t>__cuGraphicsUnregisterResource + data["__cuGraphicsUnregisterResource"] = __cuGraphicsUnregisterResource global __cuGraphicsSubResourceGetMappedArray - data["__cuGraphicsSubResourceGetMappedArray"] = <_cyb_intptr_t>__cuGraphicsSubResourceGetMappedArray + data["__cuGraphicsSubResourceGetMappedArray"] = __cuGraphicsSubResourceGetMappedArray global __cuGraphicsResourceGetMappedMipmappedArray - data["__cuGraphicsResourceGetMappedMipmappedArray"] = <_cyb_intptr_t>__cuGraphicsResourceGetMappedMipmappedArray + data["__cuGraphicsResourceGetMappedMipmappedArray"] = __cuGraphicsResourceGetMappedMipmappedArray global __cuGraphicsResourceGetMappedPointer_v2 - data["__cuGraphicsResourceGetMappedPointer_v2"] = <_cyb_intptr_t>__cuGraphicsResourceGetMappedPointer_v2 + data["__cuGraphicsResourceGetMappedPointer_v2"] = __cuGraphicsResourceGetMappedPointer_v2 global __cuGraphicsResourceSetMapFlags_v2 - data["__cuGraphicsResourceSetMapFlags_v2"] = <_cyb_intptr_t>__cuGraphicsResourceSetMapFlags_v2 + data["__cuGraphicsResourceSetMapFlags_v2"] = __cuGraphicsResourceSetMapFlags_v2 global __cuGraphicsMapResources - data["__cuGraphicsMapResources"] = <_cyb_intptr_t>__cuGraphicsMapResources + data["__cuGraphicsMapResources"] = __cuGraphicsMapResources global __cuGraphicsUnmapResources - data["__cuGraphicsUnmapResources"] = <_cyb_intptr_t>__cuGraphicsUnmapResources + data["__cuGraphicsUnmapResources"] = __cuGraphicsUnmapResources global __cuGetProcAddress_v2 - data["__cuGetProcAddress_v2"] = <_cyb_intptr_t>__cuGetProcAddress_v2 + data["__cuGetProcAddress_v2"] = __cuGetProcAddress_v2 global __cuCoredumpGetAttribute - data["__cuCoredumpGetAttribute"] = <_cyb_intptr_t>__cuCoredumpGetAttribute + data["__cuCoredumpGetAttribute"] = __cuCoredumpGetAttribute global __cuCoredumpGetAttributeGlobal - data["__cuCoredumpGetAttributeGlobal"] = <_cyb_intptr_t>__cuCoredumpGetAttributeGlobal + data["__cuCoredumpGetAttributeGlobal"] = __cuCoredumpGetAttributeGlobal global __cuCoredumpSetAttribute - data["__cuCoredumpSetAttribute"] = <_cyb_intptr_t>__cuCoredumpSetAttribute + data["__cuCoredumpSetAttribute"] = __cuCoredumpSetAttribute global __cuCoredumpSetAttributeGlobal - data["__cuCoredumpSetAttributeGlobal"] = <_cyb_intptr_t>__cuCoredumpSetAttributeGlobal + data["__cuCoredumpSetAttributeGlobal"] = __cuCoredumpSetAttributeGlobal global __cuGetExportTable - data["__cuGetExportTable"] = <_cyb_intptr_t>__cuGetExportTable + data["__cuGetExportTable"] = __cuGetExportTable global __cuGreenCtxCreate - data["__cuGreenCtxCreate"] = <_cyb_intptr_t>__cuGreenCtxCreate + data["__cuGreenCtxCreate"] = __cuGreenCtxCreate global __cuGreenCtxDestroy - data["__cuGreenCtxDestroy"] = <_cyb_intptr_t>__cuGreenCtxDestroy + data["__cuGreenCtxDestroy"] = __cuGreenCtxDestroy global __cuCtxFromGreenCtx - data["__cuCtxFromGreenCtx"] = <_cyb_intptr_t>__cuCtxFromGreenCtx + data["__cuCtxFromGreenCtx"] = __cuCtxFromGreenCtx global __cuDeviceGetDevResource - data["__cuDeviceGetDevResource"] = <_cyb_intptr_t>__cuDeviceGetDevResource + data["__cuDeviceGetDevResource"] = __cuDeviceGetDevResource global __cuCtxGetDevResource - data["__cuCtxGetDevResource"] = <_cyb_intptr_t>__cuCtxGetDevResource + data["__cuCtxGetDevResource"] = __cuCtxGetDevResource global __cuGreenCtxGetDevResource - data["__cuGreenCtxGetDevResource"] = <_cyb_intptr_t>__cuGreenCtxGetDevResource + data["__cuGreenCtxGetDevResource"] = __cuGreenCtxGetDevResource global __cuDevSmResourceSplitByCount - data["__cuDevSmResourceSplitByCount"] = <_cyb_intptr_t>__cuDevSmResourceSplitByCount + data["__cuDevSmResourceSplitByCount"] = __cuDevSmResourceSplitByCount global __cuDevResourceGenerateDesc - data["__cuDevResourceGenerateDesc"] = <_cyb_intptr_t>__cuDevResourceGenerateDesc + data["__cuDevResourceGenerateDesc"] = __cuDevResourceGenerateDesc global __cuGreenCtxRecordEvent - data["__cuGreenCtxRecordEvent"] = <_cyb_intptr_t>__cuGreenCtxRecordEvent + data["__cuGreenCtxRecordEvent"] = __cuGreenCtxRecordEvent global __cuGreenCtxWaitEvent - data["__cuGreenCtxWaitEvent"] = <_cyb_intptr_t>__cuGreenCtxWaitEvent + data["__cuGreenCtxWaitEvent"] = __cuGreenCtxWaitEvent global __cuStreamGetGreenCtx - data["__cuStreamGetGreenCtx"] = <_cyb_intptr_t>__cuStreamGetGreenCtx + data["__cuStreamGetGreenCtx"] = __cuStreamGetGreenCtx global __cuGreenCtxStreamCreate - data["__cuGreenCtxStreamCreate"] = <_cyb_intptr_t>__cuGreenCtxStreamCreate + data["__cuGreenCtxStreamCreate"] = __cuGreenCtxStreamCreate global __cuLogsRegisterCallback - data["__cuLogsRegisterCallback"] = <_cyb_intptr_t>__cuLogsRegisterCallback + data["__cuLogsRegisterCallback"] = __cuLogsRegisterCallback global __cuLogsUnregisterCallback - data["__cuLogsUnregisterCallback"] = <_cyb_intptr_t>__cuLogsUnregisterCallback + data["__cuLogsUnregisterCallback"] = __cuLogsUnregisterCallback global __cuLogsCurrent - data["__cuLogsCurrent"] = <_cyb_intptr_t>__cuLogsCurrent + data["__cuLogsCurrent"] = __cuLogsCurrent global __cuLogsDumpToFile - data["__cuLogsDumpToFile"] = <_cyb_intptr_t>__cuLogsDumpToFile + data["__cuLogsDumpToFile"] = __cuLogsDumpToFile global __cuLogsDumpToMemory - data["__cuLogsDumpToMemory"] = <_cyb_intptr_t>__cuLogsDumpToMemory + data["__cuLogsDumpToMemory"] = __cuLogsDumpToMemory global __cuCheckpointProcessGetRestoreThreadId - data["__cuCheckpointProcessGetRestoreThreadId"] = <_cyb_intptr_t>__cuCheckpointProcessGetRestoreThreadId + data["__cuCheckpointProcessGetRestoreThreadId"] = __cuCheckpointProcessGetRestoreThreadId global __cuCheckpointProcessGetState - data["__cuCheckpointProcessGetState"] = <_cyb_intptr_t>__cuCheckpointProcessGetState + data["__cuCheckpointProcessGetState"] = __cuCheckpointProcessGetState global __cuCheckpointProcessLock - data["__cuCheckpointProcessLock"] = <_cyb_intptr_t>__cuCheckpointProcessLock + data["__cuCheckpointProcessLock"] = __cuCheckpointProcessLock global __cuCheckpointProcessCheckpoint - data["__cuCheckpointProcessCheckpoint"] = <_cyb_intptr_t>__cuCheckpointProcessCheckpoint + data["__cuCheckpointProcessCheckpoint"] = __cuCheckpointProcessCheckpoint global __cuCheckpointProcessRestore - data["__cuCheckpointProcessRestore"] = <_cyb_intptr_t>__cuCheckpointProcessRestore + data["__cuCheckpointProcessRestore"] = __cuCheckpointProcessRestore global __cuCheckpointProcessUnlock - data["__cuCheckpointProcessUnlock"] = <_cyb_intptr_t>__cuCheckpointProcessUnlock + data["__cuCheckpointProcessUnlock"] = __cuCheckpointProcessUnlock global __cuGraphicsEGLRegisterImage - data["__cuGraphicsEGLRegisterImage"] = <_cyb_intptr_t>__cuGraphicsEGLRegisterImage + data["__cuGraphicsEGLRegisterImage"] = __cuGraphicsEGLRegisterImage global __cuEGLStreamConsumerConnect - data["__cuEGLStreamConsumerConnect"] = <_cyb_intptr_t>__cuEGLStreamConsumerConnect + data["__cuEGLStreamConsumerConnect"] = __cuEGLStreamConsumerConnect global __cuEGLStreamConsumerConnectWithFlags - data["__cuEGLStreamConsumerConnectWithFlags"] = <_cyb_intptr_t>__cuEGLStreamConsumerConnectWithFlags + data["__cuEGLStreamConsumerConnectWithFlags"] = __cuEGLStreamConsumerConnectWithFlags global __cuEGLStreamConsumerDisconnect - data["__cuEGLStreamConsumerDisconnect"] = <_cyb_intptr_t>__cuEGLStreamConsumerDisconnect + data["__cuEGLStreamConsumerDisconnect"] = __cuEGLStreamConsumerDisconnect global __cuEGLStreamConsumerAcquireFrame - data["__cuEGLStreamConsumerAcquireFrame"] = <_cyb_intptr_t>__cuEGLStreamConsumerAcquireFrame + data["__cuEGLStreamConsumerAcquireFrame"] = __cuEGLStreamConsumerAcquireFrame global __cuEGLStreamConsumerReleaseFrame - data["__cuEGLStreamConsumerReleaseFrame"] = <_cyb_intptr_t>__cuEGLStreamConsumerReleaseFrame + data["__cuEGLStreamConsumerReleaseFrame"] = __cuEGLStreamConsumerReleaseFrame global __cuEGLStreamProducerConnect - data["__cuEGLStreamProducerConnect"] = <_cyb_intptr_t>__cuEGLStreamProducerConnect + data["__cuEGLStreamProducerConnect"] = __cuEGLStreamProducerConnect global __cuEGLStreamProducerDisconnect - data["__cuEGLStreamProducerDisconnect"] = <_cyb_intptr_t>__cuEGLStreamProducerDisconnect + data["__cuEGLStreamProducerDisconnect"] = __cuEGLStreamProducerDisconnect global __cuEGLStreamProducerPresentFrame - data["__cuEGLStreamProducerPresentFrame"] = <_cyb_intptr_t>__cuEGLStreamProducerPresentFrame + data["__cuEGLStreamProducerPresentFrame"] = __cuEGLStreamProducerPresentFrame global __cuEGLStreamProducerReturnFrame - data["__cuEGLStreamProducerReturnFrame"] = <_cyb_intptr_t>__cuEGLStreamProducerReturnFrame + data["__cuEGLStreamProducerReturnFrame"] = __cuEGLStreamProducerReturnFrame global __cuGraphicsResourceGetMappedEglFrame - data["__cuGraphicsResourceGetMappedEglFrame"] = <_cyb_intptr_t>__cuGraphicsResourceGetMappedEglFrame + data["__cuGraphicsResourceGetMappedEglFrame"] = __cuGraphicsResourceGetMappedEglFrame global __cuEventCreateFromEGLSync - data["__cuEventCreateFromEGLSync"] = <_cyb_intptr_t>__cuEventCreateFromEGLSync + data["__cuEventCreateFromEGLSync"] = __cuEventCreateFromEGLSync global __cuGraphicsGLRegisterBuffer - data["__cuGraphicsGLRegisterBuffer"] = <_cyb_intptr_t>__cuGraphicsGLRegisterBuffer + data["__cuGraphicsGLRegisterBuffer"] = __cuGraphicsGLRegisterBuffer global __cuGraphicsGLRegisterImage - data["__cuGraphicsGLRegisterImage"] = <_cyb_intptr_t>__cuGraphicsGLRegisterImage + data["__cuGraphicsGLRegisterImage"] = __cuGraphicsGLRegisterImage global __cuGLGetDevices_v2 - data["__cuGLGetDevices_v2"] = <_cyb_intptr_t>__cuGLGetDevices_v2 + data["__cuGLGetDevices_v2"] = __cuGLGetDevices_v2 global __cuGLCtxCreate_v2 - data["__cuGLCtxCreate_v2"] = <_cyb_intptr_t>__cuGLCtxCreate_v2 + data["__cuGLCtxCreate_v2"] = __cuGLCtxCreate_v2 global __cuGLInit - data["__cuGLInit"] = <_cyb_intptr_t>__cuGLInit + data["__cuGLInit"] = __cuGLInit global __cuGLRegisterBufferObject - data["__cuGLRegisterBufferObject"] = <_cyb_intptr_t>__cuGLRegisterBufferObject + data["__cuGLRegisterBufferObject"] = __cuGLRegisterBufferObject global __cuGLMapBufferObject_v2 - data["__cuGLMapBufferObject_v2"] = <_cyb_intptr_t>__cuGLMapBufferObject_v2 + data["__cuGLMapBufferObject_v2"] = __cuGLMapBufferObject_v2 global __cuGLUnmapBufferObject - data["__cuGLUnmapBufferObject"] = <_cyb_intptr_t>__cuGLUnmapBufferObject + data["__cuGLUnmapBufferObject"] = __cuGLUnmapBufferObject global __cuGLUnregisterBufferObject - data["__cuGLUnregisterBufferObject"] = <_cyb_intptr_t>__cuGLUnregisterBufferObject + data["__cuGLUnregisterBufferObject"] = __cuGLUnregisterBufferObject global __cuGLSetBufferObjectMapFlags - data["__cuGLSetBufferObjectMapFlags"] = <_cyb_intptr_t>__cuGLSetBufferObjectMapFlags + data["__cuGLSetBufferObjectMapFlags"] = __cuGLSetBufferObjectMapFlags global __cuGLMapBufferObjectAsync_v2 - data["__cuGLMapBufferObjectAsync_v2"] = <_cyb_intptr_t>__cuGLMapBufferObjectAsync_v2 + data["__cuGLMapBufferObjectAsync_v2"] = __cuGLMapBufferObjectAsync_v2 global __cuGLUnmapBufferObjectAsync - data["__cuGLUnmapBufferObjectAsync"] = <_cyb_intptr_t>__cuGLUnmapBufferObjectAsync + data["__cuGLUnmapBufferObjectAsync"] = __cuGLUnmapBufferObjectAsync global __cuProfilerInitialize - data["__cuProfilerInitialize"] = <_cyb_intptr_t>__cuProfilerInitialize + data["__cuProfilerInitialize"] = __cuProfilerInitialize global __cuProfilerStart - data["__cuProfilerStart"] = <_cyb_intptr_t>__cuProfilerStart + data["__cuProfilerStart"] = __cuProfilerStart global __cuProfilerStop - data["__cuProfilerStop"] = <_cyb_intptr_t>__cuProfilerStop + data["__cuProfilerStop"] = __cuProfilerStop global __cuVDPAUGetDevice - data["__cuVDPAUGetDevice"] = <_cyb_intptr_t>__cuVDPAUGetDevice + data["__cuVDPAUGetDevice"] = __cuVDPAUGetDevice global __cuVDPAUCtxCreate_v2 - data["__cuVDPAUCtxCreate_v2"] = <_cyb_intptr_t>__cuVDPAUCtxCreate_v2 + data["__cuVDPAUCtxCreate_v2"] = __cuVDPAUCtxCreate_v2 global __cuGraphicsVDPAURegisterVideoSurface - data["__cuGraphicsVDPAURegisterVideoSurface"] = <_cyb_intptr_t>__cuGraphicsVDPAURegisterVideoSurface + data["__cuGraphicsVDPAURegisterVideoSurface"] = __cuGraphicsVDPAURegisterVideoSurface global __cuGraphicsVDPAURegisterOutputSurface - data["__cuGraphicsVDPAURegisterOutputSurface"] = <_cyb_intptr_t>__cuGraphicsVDPAURegisterOutputSurface + data["__cuGraphicsVDPAURegisterOutputSurface"] = __cuGraphicsVDPAURegisterOutputSurface _cyb_func_ptrs = data return data diff --git a/cuda_bindings/cuda/bindings/_internal/driver_windows.pyx b/cuda_bindings/cuda/bindings/_internal/driver_windows.pyx index 6fa8c56e8af..02669fc2bc7 100644 --- a/cuda_bindings/cuda/bindings/_internal/driver_windows.pyx +++ b/cuda_bindings/cuda/bindings/_internal/driver_windows.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated with version 12.9.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b101459d496c90e392500d4a36a0b5d567ad8097b4a8f727af2177ac6c6e1dd3 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=d36a59b7d4c8939f88b07a4600cbd4251a2ed69571b425bb6009a626cfd4dc3e # <<<< PREAMBLE CONTENT >>>> @@ -44,7 +44,7 @@ cdef extern from "": ctypedef void* HMODULE void* _cyb_GetProcAddress "GetProcAddress"(HMODULE, const char*) nogil -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport intptr_t from os import getenv as _cyb_getenv import threading as _cyb_threading @@ -2040,1453 +2040,1453 @@ cpdef dict _inspect_function_pointers(): _check_or_init_driver() cdef dict data = {} global __cuGetErrorString - data["__cuGetErrorString"] = <_cyb_intptr_t>__cuGetErrorString + data["__cuGetErrorString"] = __cuGetErrorString global __cuGetErrorName - data["__cuGetErrorName"] = <_cyb_intptr_t>__cuGetErrorName + data["__cuGetErrorName"] = __cuGetErrorName global __cuInit - data["__cuInit"] = <_cyb_intptr_t>__cuInit + data["__cuInit"] = __cuInit global __cuDriverGetVersion - data["__cuDriverGetVersion"] = <_cyb_intptr_t>__cuDriverGetVersion + data["__cuDriverGetVersion"] = __cuDriverGetVersion global __cuDeviceGet - data["__cuDeviceGet"] = <_cyb_intptr_t>__cuDeviceGet + data["__cuDeviceGet"] = __cuDeviceGet global __cuDeviceGetCount - data["__cuDeviceGetCount"] = <_cyb_intptr_t>__cuDeviceGetCount + data["__cuDeviceGetCount"] = __cuDeviceGetCount global __cuDeviceGetName - data["__cuDeviceGetName"] = <_cyb_intptr_t>__cuDeviceGetName + data["__cuDeviceGetName"] = __cuDeviceGetName global __cuDeviceGetUuid - data["__cuDeviceGetUuid"] = <_cyb_intptr_t>__cuDeviceGetUuid + data["__cuDeviceGetUuid"] = __cuDeviceGetUuid global __cuDeviceGetUuid_v2 - data["__cuDeviceGetUuid_v2"] = <_cyb_intptr_t>__cuDeviceGetUuid_v2 + data["__cuDeviceGetUuid_v2"] = __cuDeviceGetUuid_v2 global __cuDeviceGetLuid - data["__cuDeviceGetLuid"] = <_cyb_intptr_t>__cuDeviceGetLuid + data["__cuDeviceGetLuid"] = __cuDeviceGetLuid global __cuDeviceTotalMem_v2 - data["__cuDeviceTotalMem_v2"] = <_cyb_intptr_t>__cuDeviceTotalMem_v2 + data["__cuDeviceTotalMem_v2"] = __cuDeviceTotalMem_v2 global __cuDeviceGetTexture1DLinearMaxWidth - data["__cuDeviceGetTexture1DLinearMaxWidth"] = <_cyb_intptr_t>__cuDeviceGetTexture1DLinearMaxWidth + data["__cuDeviceGetTexture1DLinearMaxWidth"] = __cuDeviceGetTexture1DLinearMaxWidth global __cuDeviceGetAttribute - data["__cuDeviceGetAttribute"] = <_cyb_intptr_t>__cuDeviceGetAttribute + data["__cuDeviceGetAttribute"] = __cuDeviceGetAttribute global __cuDeviceGetNvSciSyncAttributes - data["__cuDeviceGetNvSciSyncAttributes"] = <_cyb_intptr_t>__cuDeviceGetNvSciSyncAttributes + data["__cuDeviceGetNvSciSyncAttributes"] = __cuDeviceGetNvSciSyncAttributes global __cuDeviceSetMemPool - data["__cuDeviceSetMemPool"] = <_cyb_intptr_t>__cuDeviceSetMemPool + data["__cuDeviceSetMemPool"] = __cuDeviceSetMemPool global __cuDeviceGetMemPool - data["__cuDeviceGetMemPool"] = <_cyb_intptr_t>__cuDeviceGetMemPool + data["__cuDeviceGetMemPool"] = __cuDeviceGetMemPool global __cuDeviceGetDefaultMemPool - data["__cuDeviceGetDefaultMemPool"] = <_cyb_intptr_t>__cuDeviceGetDefaultMemPool + data["__cuDeviceGetDefaultMemPool"] = __cuDeviceGetDefaultMemPool global __cuDeviceGetExecAffinitySupport - data["__cuDeviceGetExecAffinitySupport"] = <_cyb_intptr_t>__cuDeviceGetExecAffinitySupport + data["__cuDeviceGetExecAffinitySupport"] = __cuDeviceGetExecAffinitySupport global __cuFlushGPUDirectRDMAWrites - data["__cuFlushGPUDirectRDMAWrites"] = <_cyb_intptr_t>__cuFlushGPUDirectRDMAWrites + data["__cuFlushGPUDirectRDMAWrites"] = __cuFlushGPUDirectRDMAWrites global __cuDeviceGetProperties - data["__cuDeviceGetProperties"] = <_cyb_intptr_t>__cuDeviceGetProperties + data["__cuDeviceGetProperties"] = __cuDeviceGetProperties global __cuDeviceComputeCapability - data["__cuDeviceComputeCapability"] = <_cyb_intptr_t>__cuDeviceComputeCapability + data["__cuDeviceComputeCapability"] = __cuDeviceComputeCapability global __cuDevicePrimaryCtxRetain - data["__cuDevicePrimaryCtxRetain"] = <_cyb_intptr_t>__cuDevicePrimaryCtxRetain + data["__cuDevicePrimaryCtxRetain"] = __cuDevicePrimaryCtxRetain global __cuDevicePrimaryCtxRelease_v2 - data["__cuDevicePrimaryCtxRelease_v2"] = <_cyb_intptr_t>__cuDevicePrimaryCtxRelease_v2 + data["__cuDevicePrimaryCtxRelease_v2"] = __cuDevicePrimaryCtxRelease_v2 global __cuDevicePrimaryCtxSetFlags_v2 - data["__cuDevicePrimaryCtxSetFlags_v2"] = <_cyb_intptr_t>__cuDevicePrimaryCtxSetFlags_v2 + data["__cuDevicePrimaryCtxSetFlags_v2"] = __cuDevicePrimaryCtxSetFlags_v2 global __cuDevicePrimaryCtxGetState - data["__cuDevicePrimaryCtxGetState"] = <_cyb_intptr_t>__cuDevicePrimaryCtxGetState + data["__cuDevicePrimaryCtxGetState"] = __cuDevicePrimaryCtxGetState global __cuDevicePrimaryCtxReset_v2 - data["__cuDevicePrimaryCtxReset_v2"] = <_cyb_intptr_t>__cuDevicePrimaryCtxReset_v2 + data["__cuDevicePrimaryCtxReset_v2"] = __cuDevicePrimaryCtxReset_v2 global __cuCtxCreate_v2 - data["__cuCtxCreate_v2"] = <_cyb_intptr_t>__cuCtxCreate_v2 + data["__cuCtxCreate_v2"] = __cuCtxCreate_v2 global __cuCtxCreate_v3 - data["__cuCtxCreate_v3"] = <_cyb_intptr_t>__cuCtxCreate_v3 + data["__cuCtxCreate_v3"] = __cuCtxCreate_v3 global __cuCtxCreate_v4 - data["__cuCtxCreate_v4"] = <_cyb_intptr_t>__cuCtxCreate_v4 + data["__cuCtxCreate_v4"] = __cuCtxCreate_v4 global __cuCtxDestroy_v2 - data["__cuCtxDestroy_v2"] = <_cyb_intptr_t>__cuCtxDestroy_v2 + data["__cuCtxDestroy_v2"] = __cuCtxDestroy_v2 global __cuCtxPushCurrent_v2 - data["__cuCtxPushCurrent_v2"] = <_cyb_intptr_t>__cuCtxPushCurrent_v2 + data["__cuCtxPushCurrent_v2"] = __cuCtxPushCurrent_v2 global __cuCtxPopCurrent_v2 - data["__cuCtxPopCurrent_v2"] = <_cyb_intptr_t>__cuCtxPopCurrent_v2 + data["__cuCtxPopCurrent_v2"] = __cuCtxPopCurrent_v2 global __cuCtxSetCurrent - data["__cuCtxSetCurrent"] = <_cyb_intptr_t>__cuCtxSetCurrent + data["__cuCtxSetCurrent"] = __cuCtxSetCurrent global __cuCtxGetCurrent - data["__cuCtxGetCurrent"] = <_cyb_intptr_t>__cuCtxGetCurrent + data["__cuCtxGetCurrent"] = __cuCtxGetCurrent global __cuCtxGetDevice - data["__cuCtxGetDevice"] = <_cyb_intptr_t>__cuCtxGetDevice + data["__cuCtxGetDevice"] = __cuCtxGetDevice global __cuCtxGetFlags - data["__cuCtxGetFlags"] = <_cyb_intptr_t>__cuCtxGetFlags + data["__cuCtxGetFlags"] = __cuCtxGetFlags global __cuCtxSetFlags - data["__cuCtxSetFlags"] = <_cyb_intptr_t>__cuCtxSetFlags + data["__cuCtxSetFlags"] = __cuCtxSetFlags global __cuCtxGetId - data["__cuCtxGetId"] = <_cyb_intptr_t>__cuCtxGetId + data["__cuCtxGetId"] = __cuCtxGetId global __cuCtxSynchronize - data["__cuCtxSynchronize"] = <_cyb_intptr_t>__cuCtxSynchronize + data["__cuCtxSynchronize"] = __cuCtxSynchronize global __cuCtxSetLimit - data["__cuCtxSetLimit"] = <_cyb_intptr_t>__cuCtxSetLimit + data["__cuCtxSetLimit"] = __cuCtxSetLimit global __cuCtxGetLimit - data["__cuCtxGetLimit"] = <_cyb_intptr_t>__cuCtxGetLimit + data["__cuCtxGetLimit"] = __cuCtxGetLimit global __cuCtxGetCacheConfig - data["__cuCtxGetCacheConfig"] = <_cyb_intptr_t>__cuCtxGetCacheConfig + data["__cuCtxGetCacheConfig"] = __cuCtxGetCacheConfig global __cuCtxSetCacheConfig - data["__cuCtxSetCacheConfig"] = <_cyb_intptr_t>__cuCtxSetCacheConfig + data["__cuCtxSetCacheConfig"] = __cuCtxSetCacheConfig global __cuCtxGetApiVersion - data["__cuCtxGetApiVersion"] = <_cyb_intptr_t>__cuCtxGetApiVersion + data["__cuCtxGetApiVersion"] = __cuCtxGetApiVersion global __cuCtxGetStreamPriorityRange - data["__cuCtxGetStreamPriorityRange"] = <_cyb_intptr_t>__cuCtxGetStreamPriorityRange + data["__cuCtxGetStreamPriorityRange"] = __cuCtxGetStreamPriorityRange global __cuCtxResetPersistingL2Cache - data["__cuCtxResetPersistingL2Cache"] = <_cyb_intptr_t>__cuCtxResetPersistingL2Cache + data["__cuCtxResetPersistingL2Cache"] = __cuCtxResetPersistingL2Cache global __cuCtxGetExecAffinity - data["__cuCtxGetExecAffinity"] = <_cyb_intptr_t>__cuCtxGetExecAffinity + data["__cuCtxGetExecAffinity"] = __cuCtxGetExecAffinity global __cuCtxRecordEvent - data["__cuCtxRecordEvent"] = <_cyb_intptr_t>__cuCtxRecordEvent + data["__cuCtxRecordEvent"] = __cuCtxRecordEvent global __cuCtxWaitEvent - data["__cuCtxWaitEvent"] = <_cyb_intptr_t>__cuCtxWaitEvent + data["__cuCtxWaitEvent"] = __cuCtxWaitEvent global __cuCtxAttach - data["__cuCtxAttach"] = <_cyb_intptr_t>__cuCtxAttach + data["__cuCtxAttach"] = __cuCtxAttach global __cuCtxDetach - data["__cuCtxDetach"] = <_cyb_intptr_t>__cuCtxDetach + data["__cuCtxDetach"] = __cuCtxDetach global __cuCtxGetSharedMemConfig - data["__cuCtxGetSharedMemConfig"] = <_cyb_intptr_t>__cuCtxGetSharedMemConfig + data["__cuCtxGetSharedMemConfig"] = __cuCtxGetSharedMemConfig global __cuCtxSetSharedMemConfig - data["__cuCtxSetSharedMemConfig"] = <_cyb_intptr_t>__cuCtxSetSharedMemConfig + data["__cuCtxSetSharedMemConfig"] = __cuCtxSetSharedMemConfig global __cuModuleLoad - data["__cuModuleLoad"] = <_cyb_intptr_t>__cuModuleLoad + data["__cuModuleLoad"] = __cuModuleLoad global __cuModuleLoadData - data["__cuModuleLoadData"] = <_cyb_intptr_t>__cuModuleLoadData + data["__cuModuleLoadData"] = __cuModuleLoadData global __cuModuleLoadDataEx - data["__cuModuleLoadDataEx"] = <_cyb_intptr_t>__cuModuleLoadDataEx + data["__cuModuleLoadDataEx"] = __cuModuleLoadDataEx global __cuModuleLoadFatBinary - data["__cuModuleLoadFatBinary"] = <_cyb_intptr_t>__cuModuleLoadFatBinary + data["__cuModuleLoadFatBinary"] = __cuModuleLoadFatBinary global __cuModuleUnload - data["__cuModuleUnload"] = <_cyb_intptr_t>__cuModuleUnload + data["__cuModuleUnload"] = __cuModuleUnload global __cuModuleGetLoadingMode - data["__cuModuleGetLoadingMode"] = <_cyb_intptr_t>__cuModuleGetLoadingMode + data["__cuModuleGetLoadingMode"] = __cuModuleGetLoadingMode global __cuModuleGetFunction - data["__cuModuleGetFunction"] = <_cyb_intptr_t>__cuModuleGetFunction + data["__cuModuleGetFunction"] = __cuModuleGetFunction global __cuModuleGetFunctionCount - data["__cuModuleGetFunctionCount"] = <_cyb_intptr_t>__cuModuleGetFunctionCount + data["__cuModuleGetFunctionCount"] = __cuModuleGetFunctionCount global __cuModuleEnumerateFunctions - data["__cuModuleEnumerateFunctions"] = <_cyb_intptr_t>__cuModuleEnumerateFunctions + data["__cuModuleEnumerateFunctions"] = __cuModuleEnumerateFunctions global __cuModuleGetGlobal_v2 - data["__cuModuleGetGlobal_v2"] = <_cyb_intptr_t>__cuModuleGetGlobal_v2 + data["__cuModuleGetGlobal_v2"] = __cuModuleGetGlobal_v2 global __cuLinkCreate_v2 - data["__cuLinkCreate_v2"] = <_cyb_intptr_t>__cuLinkCreate_v2 + data["__cuLinkCreate_v2"] = __cuLinkCreate_v2 global __cuLinkAddData_v2 - data["__cuLinkAddData_v2"] = <_cyb_intptr_t>__cuLinkAddData_v2 + data["__cuLinkAddData_v2"] = __cuLinkAddData_v2 global __cuLinkAddFile_v2 - data["__cuLinkAddFile_v2"] = <_cyb_intptr_t>__cuLinkAddFile_v2 + data["__cuLinkAddFile_v2"] = __cuLinkAddFile_v2 global __cuLinkComplete - data["__cuLinkComplete"] = <_cyb_intptr_t>__cuLinkComplete + data["__cuLinkComplete"] = __cuLinkComplete global __cuLinkDestroy - data["__cuLinkDestroy"] = <_cyb_intptr_t>__cuLinkDestroy + data["__cuLinkDestroy"] = __cuLinkDestroy global __cuModuleGetTexRef - data["__cuModuleGetTexRef"] = <_cyb_intptr_t>__cuModuleGetTexRef + data["__cuModuleGetTexRef"] = __cuModuleGetTexRef global __cuModuleGetSurfRef - data["__cuModuleGetSurfRef"] = <_cyb_intptr_t>__cuModuleGetSurfRef + data["__cuModuleGetSurfRef"] = __cuModuleGetSurfRef global __cuLibraryLoadData - data["__cuLibraryLoadData"] = <_cyb_intptr_t>__cuLibraryLoadData + data["__cuLibraryLoadData"] = __cuLibraryLoadData global __cuLibraryLoadFromFile - data["__cuLibraryLoadFromFile"] = <_cyb_intptr_t>__cuLibraryLoadFromFile + data["__cuLibraryLoadFromFile"] = __cuLibraryLoadFromFile global __cuLibraryUnload - data["__cuLibraryUnload"] = <_cyb_intptr_t>__cuLibraryUnload + data["__cuLibraryUnload"] = __cuLibraryUnload global __cuLibraryGetKernel - data["__cuLibraryGetKernel"] = <_cyb_intptr_t>__cuLibraryGetKernel + data["__cuLibraryGetKernel"] = __cuLibraryGetKernel global __cuLibraryGetKernelCount - data["__cuLibraryGetKernelCount"] = <_cyb_intptr_t>__cuLibraryGetKernelCount + data["__cuLibraryGetKernelCount"] = __cuLibraryGetKernelCount global __cuLibraryEnumerateKernels - data["__cuLibraryEnumerateKernels"] = <_cyb_intptr_t>__cuLibraryEnumerateKernels + data["__cuLibraryEnumerateKernels"] = __cuLibraryEnumerateKernels global __cuLibraryGetModule - data["__cuLibraryGetModule"] = <_cyb_intptr_t>__cuLibraryGetModule + data["__cuLibraryGetModule"] = __cuLibraryGetModule global __cuKernelGetFunction - data["__cuKernelGetFunction"] = <_cyb_intptr_t>__cuKernelGetFunction + data["__cuKernelGetFunction"] = __cuKernelGetFunction global __cuKernelGetLibrary - data["__cuKernelGetLibrary"] = <_cyb_intptr_t>__cuKernelGetLibrary + data["__cuKernelGetLibrary"] = __cuKernelGetLibrary global __cuLibraryGetGlobal - data["__cuLibraryGetGlobal"] = <_cyb_intptr_t>__cuLibraryGetGlobal + data["__cuLibraryGetGlobal"] = __cuLibraryGetGlobal global __cuLibraryGetManaged - data["__cuLibraryGetManaged"] = <_cyb_intptr_t>__cuLibraryGetManaged + data["__cuLibraryGetManaged"] = __cuLibraryGetManaged global __cuLibraryGetUnifiedFunction - data["__cuLibraryGetUnifiedFunction"] = <_cyb_intptr_t>__cuLibraryGetUnifiedFunction + data["__cuLibraryGetUnifiedFunction"] = __cuLibraryGetUnifiedFunction global __cuKernelGetAttribute - data["__cuKernelGetAttribute"] = <_cyb_intptr_t>__cuKernelGetAttribute + data["__cuKernelGetAttribute"] = __cuKernelGetAttribute global __cuKernelSetAttribute - data["__cuKernelSetAttribute"] = <_cyb_intptr_t>__cuKernelSetAttribute + data["__cuKernelSetAttribute"] = __cuKernelSetAttribute global __cuKernelSetCacheConfig - data["__cuKernelSetCacheConfig"] = <_cyb_intptr_t>__cuKernelSetCacheConfig + data["__cuKernelSetCacheConfig"] = __cuKernelSetCacheConfig global __cuKernelGetName - data["__cuKernelGetName"] = <_cyb_intptr_t>__cuKernelGetName + data["__cuKernelGetName"] = __cuKernelGetName global __cuKernelGetParamInfo - data["__cuKernelGetParamInfo"] = <_cyb_intptr_t>__cuKernelGetParamInfo + data["__cuKernelGetParamInfo"] = __cuKernelGetParamInfo global __cuMemGetInfo_v2 - data["__cuMemGetInfo_v2"] = <_cyb_intptr_t>__cuMemGetInfo_v2 + data["__cuMemGetInfo_v2"] = __cuMemGetInfo_v2 global __cuMemAlloc_v2 - data["__cuMemAlloc_v2"] = <_cyb_intptr_t>__cuMemAlloc_v2 + data["__cuMemAlloc_v2"] = __cuMemAlloc_v2 global __cuMemAllocPitch_v2 - data["__cuMemAllocPitch_v2"] = <_cyb_intptr_t>__cuMemAllocPitch_v2 + data["__cuMemAllocPitch_v2"] = __cuMemAllocPitch_v2 global __cuMemFree_v2 - data["__cuMemFree_v2"] = <_cyb_intptr_t>__cuMemFree_v2 + data["__cuMemFree_v2"] = __cuMemFree_v2 global __cuMemGetAddressRange_v2 - data["__cuMemGetAddressRange_v2"] = <_cyb_intptr_t>__cuMemGetAddressRange_v2 + data["__cuMemGetAddressRange_v2"] = __cuMemGetAddressRange_v2 global __cuMemAllocHost_v2 - data["__cuMemAllocHost_v2"] = <_cyb_intptr_t>__cuMemAllocHost_v2 + data["__cuMemAllocHost_v2"] = __cuMemAllocHost_v2 global __cuMemFreeHost - data["__cuMemFreeHost"] = <_cyb_intptr_t>__cuMemFreeHost + data["__cuMemFreeHost"] = __cuMemFreeHost global __cuMemHostAlloc - data["__cuMemHostAlloc"] = <_cyb_intptr_t>__cuMemHostAlloc + data["__cuMemHostAlloc"] = __cuMemHostAlloc global __cuMemHostGetDevicePointer_v2 - data["__cuMemHostGetDevicePointer_v2"] = <_cyb_intptr_t>__cuMemHostGetDevicePointer_v2 + data["__cuMemHostGetDevicePointer_v2"] = __cuMemHostGetDevicePointer_v2 global __cuMemHostGetFlags - data["__cuMemHostGetFlags"] = <_cyb_intptr_t>__cuMemHostGetFlags + data["__cuMemHostGetFlags"] = __cuMemHostGetFlags global __cuMemAllocManaged - data["__cuMemAllocManaged"] = <_cyb_intptr_t>__cuMemAllocManaged + data["__cuMemAllocManaged"] = __cuMemAllocManaged global __cuDeviceRegisterAsyncNotification - data["__cuDeviceRegisterAsyncNotification"] = <_cyb_intptr_t>__cuDeviceRegisterAsyncNotification + data["__cuDeviceRegisterAsyncNotification"] = __cuDeviceRegisterAsyncNotification global __cuDeviceUnregisterAsyncNotification - data["__cuDeviceUnregisterAsyncNotification"] = <_cyb_intptr_t>__cuDeviceUnregisterAsyncNotification + data["__cuDeviceUnregisterAsyncNotification"] = __cuDeviceUnregisterAsyncNotification global __cuDeviceGetByPCIBusId - data["__cuDeviceGetByPCIBusId"] = <_cyb_intptr_t>__cuDeviceGetByPCIBusId + data["__cuDeviceGetByPCIBusId"] = __cuDeviceGetByPCIBusId global __cuDeviceGetPCIBusId - data["__cuDeviceGetPCIBusId"] = <_cyb_intptr_t>__cuDeviceGetPCIBusId + data["__cuDeviceGetPCIBusId"] = __cuDeviceGetPCIBusId global __cuIpcGetEventHandle - data["__cuIpcGetEventHandle"] = <_cyb_intptr_t>__cuIpcGetEventHandle + data["__cuIpcGetEventHandle"] = __cuIpcGetEventHandle global __cuIpcOpenEventHandle - data["__cuIpcOpenEventHandle"] = <_cyb_intptr_t>__cuIpcOpenEventHandle + data["__cuIpcOpenEventHandle"] = __cuIpcOpenEventHandle global __cuIpcGetMemHandle - data["__cuIpcGetMemHandle"] = <_cyb_intptr_t>__cuIpcGetMemHandle + data["__cuIpcGetMemHandle"] = __cuIpcGetMemHandle global __cuIpcOpenMemHandle_v2 - data["__cuIpcOpenMemHandle_v2"] = <_cyb_intptr_t>__cuIpcOpenMemHandle_v2 + data["__cuIpcOpenMemHandle_v2"] = __cuIpcOpenMemHandle_v2 global __cuIpcCloseMemHandle - data["__cuIpcCloseMemHandle"] = <_cyb_intptr_t>__cuIpcCloseMemHandle + data["__cuIpcCloseMemHandle"] = __cuIpcCloseMemHandle global __cuMemHostRegister_v2 - data["__cuMemHostRegister_v2"] = <_cyb_intptr_t>__cuMemHostRegister_v2 + data["__cuMemHostRegister_v2"] = __cuMemHostRegister_v2 global __cuMemHostUnregister - data["__cuMemHostUnregister"] = <_cyb_intptr_t>__cuMemHostUnregister + data["__cuMemHostUnregister"] = __cuMemHostUnregister global __cuMemcpy - data["__cuMemcpy"] = <_cyb_intptr_t>__cuMemcpy + data["__cuMemcpy"] = __cuMemcpy global __cuMemcpyPeer - data["__cuMemcpyPeer"] = <_cyb_intptr_t>__cuMemcpyPeer + data["__cuMemcpyPeer"] = __cuMemcpyPeer global __cuMemcpyHtoD_v2 - data["__cuMemcpyHtoD_v2"] = <_cyb_intptr_t>__cuMemcpyHtoD_v2 + data["__cuMemcpyHtoD_v2"] = __cuMemcpyHtoD_v2 global __cuMemcpyDtoH_v2 - data["__cuMemcpyDtoH_v2"] = <_cyb_intptr_t>__cuMemcpyDtoH_v2 + data["__cuMemcpyDtoH_v2"] = __cuMemcpyDtoH_v2 global __cuMemcpyDtoD_v2 - data["__cuMemcpyDtoD_v2"] = <_cyb_intptr_t>__cuMemcpyDtoD_v2 + data["__cuMemcpyDtoD_v2"] = __cuMemcpyDtoD_v2 global __cuMemcpyDtoA_v2 - data["__cuMemcpyDtoA_v2"] = <_cyb_intptr_t>__cuMemcpyDtoA_v2 + data["__cuMemcpyDtoA_v2"] = __cuMemcpyDtoA_v2 global __cuMemcpyAtoD_v2 - data["__cuMemcpyAtoD_v2"] = <_cyb_intptr_t>__cuMemcpyAtoD_v2 + data["__cuMemcpyAtoD_v2"] = __cuMemcpyAtoD_v2 global __cuMemcpyHtoA_v2 - data["__cuMemcpyHtoA_v2"] = <_cyb_intptr_t>__cuMemcpyHtoA_v2 + data["__cuMemcpyHtoA_v2"] = __cuMemcpyHtoA_v2 global __cuMemcpyAtoH_v2 - data["__cuMemcpyAtoH_v2"] = <_cyb_intptr_t>__cuMemcpyAtoH_v2 + data["__cuMemcpyAtoH_v2"] = __cuMemcpyAtoH_v2 global __cuMemcpyAtoA_v2 - data["__cuMemcpyAtoA_v2"] = <_cyb_intptr_t>__cuMemcpyAtoA_v2 + data["__cuMemcpyAtoA_v2"] = __cuMemcpyAtoA_v2 global __cuMemcpy2D_v2 - data["__cuMemcpy2D_v2"] = <_cyb_intptr_t>__cuMemcpy2D_v2 + data["__cuMemcpy2D_v2"] = __cuMemcpy2D_v2 global __cuMemcpy2DUnaligned_v2 - data["__cuMemcpy2DUnaligned_v2"] = <_cyb_intptr_t>__cuMemcpy2DUnaligned_v2 + data["__cuMemcpy2DUnaligned_v2"] = __cuMemcpy2DUnaligned_v2 global __cuMemcpy3D_v2 - data["__cuMemcpy3D_v2"] = <_cyb_intptr_t>__cuMemcpy3D_v2 + data["__cuMemcpy3D_v2"] = __cuMemcpy3D_v2 global __cuMemcpy3DPeer - data["__cuMemcpy3DPeer"] = <_cyb_intptr_t>__cuMemcpy3DPeer + data["__cuMemcpy3DPeer"] = __cuMemcpy3DPeer global __cuMemcpyAsync - data["__cuMemcpyAsync"] = <_cyb_intptr_t>__cuMemcpyAsync + data["__cuMemcpyAsync"] = __cuMemcpyAsync global __cuMemcpyPeerAsync - data["__cuMemcpyPeerAsync"] = <_cyb_intptr_t>__cuMemcpyPeerAsync + data["__cuMemcpyPeerAsync"] = __cuMemcpyPeerAsync global __cuMemcpyHtoDAsync_v2 - data["__cuMemcpyHtoDAsync_v2"] = <_cyb_intptr_t>__cuMemcpyHtoDAsync_v2 + data["__cuMemcpyHtoDAsync_v2"] = __cuMemcpyHtoDAsync_v2 global __cuMemcpyDtoHAsync_v2 - data["__cuMemcpyDtoHAsync_v2"] = <_cyb_intptr_t>__cuMemcpyDtoHAsync_v2 + data["__cuMemcpyDtoHAsync_v2"] = __cuMemcpyDtoHAsync_v2 global __cuMemcpyDtoDAsync_v2 - data["__cuMemcpyDtoDAsync_v2"] = <_cyb_intptr_t>__cuMemcpyDtoDAsync_v2 + data["__cuMemcpyDtoDAsync_v2"] = __cuMemcpyDtoDAsync_v2 global __cuMemcpyHtoAAsync_v2 - data["__cuMemcpyHtoAAsync_v2"] = <_cyb_intptr_t>__cuMemcpyHtoAAsync_v2 + data["__cuMemcpyHtoAAsync_v2"] = __cuMemcpyHtoAAsync_v2 global __cuMemcpyAtoHAsync_v2 - data["__cuMemcpyAtoHAsync_v2"] = <_cyb_intptr_t>__cuMemcpyAtoHAsync_v2 + data["__cuMemcpyAtoHAsync_v2"] = __cuMemcpyAtoHAsync_v2 global __cuMemcpy2DAsync_v2 - data["__cuMemcpy2DAsync_v2"] = <_cyb_intptr_t>__cuMemcpy2DAsync_v2 + data["__cuMemcpy2DAsync_v2"] = __cuMemcpy2DAsync_v2 global __cuMemcpy3DAsync_v2 - data["__cuMemcpy3DAsync_v2"] = <_cyb_intptr_t>__cuMemcpy3DAsync_v2 + data["__cuMemcpy3DAsync_v2"] = __cuMemcpy3DAsync_v2 global __cuMemcpy3DPeerAsync - data["__cuMemcpy3DPeerAsync"] = <_cyb_intptr_t>__cuMemcpy3DPeerAsync + data["__cuMemcpy3DPeerAsync"] = __cuMemcpy3DPeerAsync global __cuMemcpyBatchAsync - data["__cuMemcpyBatchAsync"] = <_cyb_intptr_t>__cuMemcpyBatchAsync + data["__cuMemcpyBatchAsync"] = __cuMemcpyBatchAsync global __cuMemcpy3DBatchAsync - data["__cuMemcpy3DBatchAsync"] = <_cyb_intptr_t>__cuMemcpy3DBatchAsync + data["__cuMemcpy3DBatchAsync"] = __cuMemcpy3DBatchAsync global __cuMemsetD8_v2 - data["__cuMemsetD8_v2"] = <_cyb_intptr_t>__cuMemsetD8_v2 + data["__cuMemsetD8_v2"] = __cuMemsetD8_v2 global __cuMemsetD16_v2 - data["__cuMemsetD16_v2"] = <_cyb_intptr_t>__cuMemsetD16_v2 + data["__cuMemsetD16_v2"] = __cuMemsetD16_v2 global __cuMemsetD32_v2 - data["__cuMemsetD32_v2"] = <_cyb_intptr_t>__cuMemsetD32_v2 + data["__cuMemsetD32_v2"] = __cuMemsetD32_v2 global __cuMemsetD2D8_v2 - data["__cuMemsetD2D8_v2"] = <_cyb_intptr_t>__cuMemsetD2D8_v2 + data["__cuMemsetD2D8_v2"] = __cuMemsetD2D8_v2 global __cuMemsetD2D16_v2 - data["__cuMemsetD2D16_v2"] = <_cyb_intptr_t>__cuMemsetD2D16_v2 + data["__cuMemsetD2D16_v2"] = __cuMemsetD2D16_v2 global __cuMemsetD2D32_v2 - data["__cuMemsetD2D32_v2"] = <_cyb_intptr_t>__cuMemsetD2D32_v2 + data["__cuMemsetD2D32_v2"] = __cuMemsetD2D32_v2 global __cuMemsetD8Async - data["__cuMemsetD8Async"] = <_cyb_intptr_t>__cuMemsetD8Async + data["__cuMemsetD8Async"] = __cuMemsetD8Async global __cuMemsetD16Async - data["__cuMemsetD16Async"] = <_cyb_intptr_t>__cuMemsetD16Async + data["__cuMemsetD16Async"] = __cuMemsetD16Async global __cuMemsetD32Async - data["__cuMemsetD32Async"] = <_cyb_intptr_t>__cuMemsetD32Async + data["__cuMemsetD32Async"] = __cuMemsetD32Async global __cuMemsetD2D8Async - data["__cuMemsetD2D8Async"] = <_cyb_intptr_t>__cuMemsetD2D8Async + data["__cuMemsetD2D8Async"] = __cuMemsetD2D8Async global __cuMemsetD2D16Async - data["__cuMemsetD2D16Async"] = <_cyb_intptr_t>__cuMemsetD2D16Async + data["__cuMemsetD2D16Async"] = __cuMemsetD2D16Async global __cuMemsetD2D32Async - data["__cuMemsetD2D32Async"] = <_cyb_intptr_t>__cuMemsetD2D32Async + data["__cuMemsetD2D32Async"] = __cuMemsetD2D32Async global __cuArrayCreate_v2 - data["__cuArrayCreate_v2"] = <_cyb_intptr_t>__cuArrayCreate_v2 + data["__cuArrayCreate_v2"] = __cuArrayCreate_v2 global __cuArrayGetDescriptor_v2 - data["__cuArrayGetDescriptor_v2"] = <_cyb_intptr_t>__cuArrayGetDescriptor_v2 + data["__cuArrayGetDescriptor_v2"] = __cuArrayGetDescriptor_v2 global __cuArrayGetSparseProperties - data["__cuArrayGetSparseProperties"] = <_cyb_intptr_t>__cuArrayGetSparseProperties + data["__cuArrayGetSparseProperties"] = __cuArrayGetSparseProperties global __cuMipmappedArrayGetSparseProperties - data["__cuMipmappedArrayGetSparseProperties"] = <_cyb_intptr_t>__cuMipmappedArrayGetSparseProperties + data["__cuMipmappedArrayGetSparseProperties"] = __cuMipmappedArrayGetSparseProperties global __cuArrayGetMemoryRequirements - data["__cuArrayGetMemoryRequirements"] = <_cyb_intptr_t>__cuArrayGetMemoryRequirements + data["__cuArrayGetMemoryRequirements"] = __cuArrayGetMemoryRequirements global __cuMipmappedArrayGetMemoryRequirements - data["__cuMipmappedArrayGetMemoryRequirements"] = <_cyb_intptr_t>__cuMipmappedArrayGetMemoryRequirements + data["__cuMipmappedArrayGetMemoryRequirements"] = __cuMipmappedArrayGetMemoryRequirements global __cuArrayGetPlane - data["__cuArrayGetPlane"] = <_cyb_intptr_t>__cuArrayGetPlane + data["__cuArrayGetPlane"] = __cuArrayGetPlane global __cuArrayDestroy - data["__cuArrayDestroy"] = <_cyb_intptr_t>__cuArrayDestroy + data["__cuArrayDestroy"] = __cuArrayDestroy global __cuArray3DCreate_v2 - data["__cuArray3DCreate_v2"] = <_cyb_intptr_t>__cuArray3DCreate_v2 + data["__cuArray3DCreate_v2"] = __cuArray3DCreate_v2 global __cuArray3DGetDescriptor_v2 - data["__cuArray3DGetDescriptor_v2"] = <_cyb_intptr_t>__cuArray3DGetDescriptor_v2 + data["__cuArray3DGetDescriptor_v2"] = __cuArray3DGetDescriptor_v2 global __cuMipmappedArrayCreate - data["__cuMipmappedArrayCreate"] = <_cyb_intptr_t>__cuMipmappedArrayCreate + data["__cuMipmappedArrayCreate"] = __cuMipmappedArrayCreate global __cuMipmappedArrayGetLevel - data["__cuMipmappedArrayGetLevel"] = <_cyb_intptr_t>__cuMipmappedArrayGetLevel + data["__cuMipmappedArrayGetLevel"] = __cuMipmappedArrayGetLevel global __cuMipmappedArrayDestroy - data["__cuMipmappedArrayDestroy"] = <_cyb_intptr_t>__cuMipmappedArrayDestroy + data["__cuMipmappedArrayDestroy"] = __cuMipmappedArrayDestroy global __cuMemGetHandleForAddressRange - data["__cuMemGetHandleForAddressRange"] = <_cyb_intptr_t>__cuMemGetHandleForAddressRange + data["__cuMemGetHandleForAddressRange"] = __cuMemGetHandleForAddressRange global __cuMemBatchDecompressAsync - data["__cuMemBatchDecompressAsync"] = <_cyb_intptr_t>__cuMemBatchDecompressAsync + data["__cuMemBatchDecompressAsync"] = __cuMemBatchDecompressAsync global __cuMemAddressReserve - data["__cuMemAddressReserve"] = <_cyb_intptr_t>__cuMemAddressReserve + data["__cuMemAddressReserve"] = __cuMemAddressReserve global __cuMemAddressFree - data["__cuMemAddressFree"] = <_cyb_intptr_t>__cuMemAddressFree + data["__cuMemAddressFree"] = __cuMemAddressFree global __cuMemCreate - data["__cuMemCreate"] = <_cyb_intptr_t>__cuMemCreate + data["__cuMemCreate"] = __cuMemCreate global __cuMemRelease - data["__cuMemRelease"] = <_cyb_intptr_t>__cuMemRelease + data["__cuMemRelease"] = __cuMemRelease global __cuMemMap - data["__cuMemMap"] = <_cyb_intptr_t>__cuMemMap + data["__cuMemMap"] = __cuMemMap global __cuMemMapArrayAsync - data["__cuMemMapArrayAsync"] = <_cyb_intptr_t>__cuMemMapArrayAsync + data["__cuMemMapArrayAsync"] = __cuMemMapArrayAsync global __cuMemUnmap - data["__cuMemUnmap"] = <_cyb_intptr_t>__cuMemUnmap + data["__cuMemUnmap"] = __cuMemUnmap global __cuMemSetAccess - data["__cuMemSetAccess"] = <_cyb_intptr_t>__cuMemSetAccess + data["__cuMemSetAccess"] = __cuMemSetAccess global __cuMemGetAccess - data["__cuMemGetAccess"] = <_cyb_intptr_t>__cuMemGetAccess + data["__cuMemGetAccess"] = __cuMemGetAccess global __cuMemExportToShareableHandle - data["__cuMemExportToShareableHandle"] = <_cyb_intptr_t>__cuMemExportToShareableHandle + data["__cuMemExportToShareableHandle"] = __cuMemExportToShareableHandle global __cuMemImportFromShareableHandle - data["__cuMemImportFromShareableHandle"] = <_cyb_intptr_t>__cuMemImportFromShareableHandle + data["__cuMemImportFromShareableHandle"] = __cuMemImportFromShareableHandle global __cuMemGetAllocationGranularity - data["__cuMemGetAllocationGranularity"] = <_cyb_intptr_t>__cuMemGetAllocationGranularity + data["__cuMemGetAllocationGranularity"] = __cuMemGetAllocationGranularity global __cuMemGetAllocationPropertiesFromHandle - data["__cuMemGetAllocationPropertiesFromHandle"] = <_cyb_intptr_t>__cuMemGetAllocationPropertiesFromHandle + data["__cuMemGetAllocationPropertiesFromHandle"] = __cuMemGetAllocationPropertiesFromHandle global __cuMemRetainAllocationHandle - data["__cuMemRetainAllocationHandle"] = <_cyb_intptr_t>__cuMemRetainAllocationHandle + data["__cuMemRetainAllocationHandle"] = __cuMemRetainAllocationHandle global __cuMemFreeAsync - data["__cuMemFreeAsync"] = <_cyb_intptr_t>__cuMemFreeAsync + data["__cuMemFreeAsync"] = __cuMemFreeAsync global __cuMemAllocAsync - data["__cuMemAllocAsync"] = <_cyb_intptr_t>__cuMemAllocAsync + data["__cuMemAllocAsync"] = __cuMemAllocAsync global __cuMemPoolTrimTo - data["__cuMemPoolTrimTo"] = <_cyb_intptr_t>__cuMemPoolTrimTo + data["__cuMemPoolTrimTo"] = __cuMemPoolTrimTo global __cuMemPoolSetAttribute - data["__cuMemPoolSetAttribute"] = <_cyb_intptr_t>__cuMemPoolSetAttribute + data["__cuMemPoolSetAttribute"] = __cuMemPoolSetAttribute global __cuMemPoolGetAttribute - data["__cuMemPoolGetAttribute"] = <_cyb_intptr_t>__cuMemPoolGetAttribute + data["__cuMemPoolGetAttribute"] = __cuMemPoolGetAttribute global __cuMemPoolSetAccess - data["__cuMemPoolSetAccess"] = <_cyb_intptr_t>__cuMemPoolSetAccess + data["__cuMemPoolSetAccess"] = __cuMemPoolSetAccess global __cuMemPoolGetAccess - data["__cuMemPoolGetAccess"] = <_cyb_intptr_t>__cuMemPoolGetAccess + data["__cuMemPoolGetAccess"] = __cuMemPoolGetAccess global __cuMemPoolCreate - data["__cuMemPoolCreate"] = <_cyb_intptr_t>__cuMemPoolCreate + data["__cuMemPoolCreate"] = __cuMemPoolCreate global __cuMemPoolDestroy - data["__cuMemPoolDestroy"] = <_cyb_intptr_t>__cuMemPoolDestroy + data["__cuMemPoolDestroy"] = __cuMemPoolDestroy global __cuMemAllocFromPoolAsync - data["__cuMemAllocFromPoolAsync"] = <_cyb_intptr_t>__cuMemAllocFromPoolAsync + data["__cuMemAllocFromPoolAsync"] = __cuMemAllocFromPoolAsync global __cuMemPoolExportToShareableHandle - data["__cuMemPoolExportToShareableHandle"] = <_cyb_intptr_t>__cuMemPoolExportToShareableHandle + data["__cuMemPoolExportToShareableHandle"] = __cuMemPoolExportToShareableHandle global __cuMemPoolImportFromShareableHandle - data["__cuMemPoolImportFromShareableHandle"] = <_cyb_intptr_t>__cuMemPoolImportFromShareableHandle + data["__cuMemPoolImportFromShareableHandle"] = __cuMemPoolImportFromShareableHandle global __cuMemPoolExportPointer - data["__cuMemPoolExportPointer"] = <_cyb_intptr_t>__cuMemPoolExportPointer + data["__cuMemPoolExportPointer"] = __cuMemPoolExportPointer global __cuMemPoolImportPointer - data["__cuMemPoolImportPointer"] = <_cyb_intptr_t>__cuMemPoolImportPointer + data["__cuMemPoolImportPointer"] = __cuMemPoolImportPointer global __cuMulticastCreate - data["__cuMulticastCreate"] = <_cyb_intptr_t>__cuMulticastCreate + data["__cuMulticastCreate"] = __cuMulticastCreate global __cuMulticastAddDevice - data["__cuMulticastAddDevice"] = <_cyb_intptr_t>__cuMulticastAddDevice + data["__cuMulticastAddDevice"] = __cuMulticastAddDevice global __cuMulticastBindMem - data["__cuMulticastBindMem"] = <_cyb_intptr_t>__cuMulticastBindMem + data["__cuMulticastBindMem"] = __cuMulticastBindMem global __cuMulticastBindAddr - data["__cuMulticastBindAddr"] = <_cyb_intptr_t>__cuMulticastBindAddr + data["__cuMulticastBindAddr"] = __cuMulticastBindAddr global __cuMulticastUnbind - data["__cuMulticastUnbind"] = <_cyb_intptr_t>__cuMulticastUnbind + data["__cuMulticastUnbind"] = __cuMulticastUnbind global __cuMulticastGetGranularity - data["__cuMulticastGetGranularity"] = <_cyb_intptr_t>__cuMulticastGetGranularity + data["__cuMulticastGetGranularity"] = __cuMulticastGetGranularity global __cuPointerGetAttribute - data["__cuPointerGetAttribute"] = <_cyb_intptr_t>__cuPointerGetAttribute + data["__cuPointerGetAttribute"] = __cuPointerGetAttribute global __cuMemPrefetchAsync - data["__cuMemPrefetchAsync"] = <_cyb_intptr_t>__cuMemPrefetchAsync + data["__cuMemPrefetchAsync"] = __cuMemPrefetchAsync global __cuMemPrefetchAsync_v2 - data["__cuMemPrefetchAsync_v2"] = <_cyb_intptr_t>__cuMemPrefetchAsync_v2 + data["__cuMemPrefetchAsync_v2"] = __cuMemPrefetchAsync_v2 global __cuMemAdvise - data["__cuMemAdvise"] = <_cyb_intptr_t>__cuMemAdvise + data["__cuMemAdvise"] = __cuMemAdvise global __cuMemAdvise_v2 - data["__cuMemAdvise_v2"] = <_cyb_intptr_t>__cuMemAdvise_v2 + data["__cuMemAdvise_v2"] = __cuMemAdvise_v2 global __cuMemRangeGetAttribute - data["__cuMemRangeGetAttribute"] = <_cyb_intptr_t>__cuMemRangeGetAttribute + data["__cuMemRangeGetAttribute"] = __cuMemRangeGetAttribute global __cuMemRangeGetAttributes - data["__cuMemRangeGetAttributes"] = <_cyb_intptr_t>__cuMemRangeGetAttributes + data["__cuMemRangeGetAttributes"] = __cuMemRangeGetAttributes global __cuPointerSetAttribute - data["__cuPointerSetAttribute"] = <_cyb_intptr_t>__cuPointerSetAttribute + data["__cuPointerSetAttribute"] = __cuPointerSetAttribute global __cuPointerGetAttributes - data["__cuPointerGetAttributes"] = <_cyb_intptr_t>__cuPointerGetAttributes + data["__cuPointerGetAttributes"] = __cuPointerGetAttributes global __cuStreamCreate - data["__cuStreamCreate"] = <_cyb_intptr_t>__cuStreamCreate + data["__cuStreamCreate"] = __cuStreamCreate global __cuStreamCreateWithPriority - data["__cuStreamCreateWithPriority"] = <_cyb_intptr_t>__cuStreamCreateWithPriority + data["__cuStreamCreateWithPriority"] = __cuStreamCreateWithPriority global __cuStreamGetPriority - data["__cuStreamGetPriority"] = <_cyb_intptr_t>__cuStreamGetPriority + data["__cuStreamGetPriority"] = __cuStreamGetPriority global __cuStreamGetDevice - data["__cuStreamGetDevice"] = <_cyb_intptr_t>__cuStreamGetDevice + data["__cuStreamGetDevice"] = __cuStreamGetDevice global __cuStreamGetFlags - data["__cuStreamGetFlags"] = <_cyb_intptr_t>__cuStreamGetFlags + data["__cuStreamGetFlags"] = __cuStreamGetFlags global __cuStreamGetId - data["__cuStreamGetId"] = <_cyb_intptr_t>__cuStreamGetId + data["__cuStreamGetId"] = __cuStreamGetId global __cuStreamGetCtx - data["__cuStreamGetCtx"] = <_cyb_intptr_t>__cuStreamGetCtx + data["__cuStreamGetCtx"] = __cuStreamGetCtx global __cuStreamGetCtx_v2 - data["__cuStreamGetCtx_v2"] = <_cyb_intptr_t>__cuStreamGetCtx_v2 + data["__cuStreamGetCtx_v2"] = __cuStreamGetCtx_v2 global __cuStreamWaitEvent - data["__cuStreamWaitEvent"] = <_cyb_intptr_t>__cuStreamWaitEvent + data["__cuStreamWaitEvent"] = __cuStreamWaitEvent global __cuStreamAddCallback - data["__cuStreamAddCallback"] = <_cyb_intptr_t>__cuStreamAddCallback + data["__cuStreamAddCallback"] = __cuStreamAddCallback global __cuStreamBeginCapture_v2 - data["__cuStreamBeginCapture_v2"] = <_cyb_intptr_t>__cuStreamBeginCapture_v2 + data["__cuStreamBeginCapture_v2"] = __cuStreamBeginCapture_v2 global __cuStreamBeginCaptureToGraph - data["__cuStreamBeginCaptureToGraph"] = <_cyb_intptr_t>__cuStreamBeginCaptureToGraph + data["__cuStreamBeginCaptureToGraph"] = __cuStreamBeginCaptureToGraph global __cuThreadExchangeStreamCaptureMode - data["__cuThreadExchangeStreamCaptureMode"] = <_cyb_intptr_t>__cuThreadExchangeStreamCaptureMode + data["__cuThreadExchangeStreamCaptureMode"] = __cuThreadExchangeStreamCaptureMode global __cuStreamEndCapture - data["__cuStreamEndCapture"] = <_cyb_intptr_t>__cuStreamEndCapture + data["__cuStreamEndCapture"] = __cuStreamEndCapture global __cuStreamIsCapturing - data["__cuStreamIsCapturing"] = <_cyb_intptr_t>__cuStreamIsCapturing + data["__cuStreamIsCapturing"] = __cuStreamIsCapturing global __cuStreamGetCaptureInfo_v2 - data["__cuStreamGetCaptureInfo_v2"] = <_cyb_intptr_t>__cuStreamGetCaptureInfo_v2 + data["__cuStreamGetCaptureInfo_v2"] = __cuStreamGetCaptureInfo_v2 global __cuStreamGetCaptureInfo_v3 - data["__cuStreamGetCaptureInfo_v3"] = <_cyb_intptr_t>__cuStreamGetCaptureInfo_v3 + data["__cuStreamGetCaptureInfo_v3"] = __cuStreamGetCaptureInfo_v3 global __cuStreamUpdateCaptureDependencies - data["__cuStreamUpdateCaptureDependencies"] = <_cyb_intptr_t>__cuStreamUpdateCaptureDependencies + data["__cuStreamUpdateCaptureDependencies"] = __cuStreamUpdateCaptureDependencies global __cuStreamUpdateCaptureDependencies_v2 - data["__cuStreamUpdateCaptureDependencies_v2"] = <_cyb_intptr_t>__cuStreamUpdateCaptureDependencies_v2 + data["__cuStreamUpdateCaptureDependencies_v2"] = __cuStreamUpdateCaptureDependencies_v2 global __cuStreamAttachMemAsync - data["__cuStreamAttachMemAsync"] = <_cyb_intptr_t>__cuStreamAttachMemAsync + data["__cuStreamAttachMemAsync"] = __cuStreamAttachMemAsync global __cuStreamQuery - data["__cuStreamQuery"] = <_cyb_intptr_t>__cuStreamQuery + data["__cuStreamQuery"] = __cuStreamQuery global __cuStreamSynchronize - data["__cuStreamSynchronize"] = <_cyb_intptr_t>__cuStreamSynchronize + data["__cuStreamSynchronize"] = __cuStreamSynchronize global __cuStreamDestroy_v2 - data["__cuStreamDestroy_v2"] = <_cyb_intptr_t>__cuStreamDestroy_v2 + data["__cuStreamDestroy_v2"] = __cuStreamDestroy_v2 global __cuStreamCopyAttributes - data["__cuStreamCopyAttributes"] = <_cyb_intptr_t>__cuStreamCopyAttributes + data["__cuStreamCopyAttributes"] = __cuStreamCopyAttributes global __cuStreamGetAttribute - data["__cuStreamGetAttribute"] = <_cyb_intptr_t>__cuStreamGetAttribute + data["__cuStreamGetAttribute"] = __cuStreamGetAttribute global __cuStreamSetAttribute - data["__cuStreamSetAttribute"] = <_cyb_intptr_t>__cuStreamSetAttribute + data["__cuStreamSetAttribute"] = __cuStreamSetAttribute global __cuEventCreate - data["__cuEventCreate"] = <_cyb_intptr_t>__cuEventCreate + data["__cuEventCreate"] = __cuEventCreate global __cuEventRecord - data["__cuEventRecord"] = <_cyb_intptr_t>__cuEventRecord + data["__cuEventRecord"] = __cuEventRecord global __cuEventRecordWithFlags - data["__cuEventRecordWithFlags"] = <_cyb_intptr_t>__cuEventRecordWithFlags + data["__cuEventRecordWithFlags"] = __cuEventRecordWithFlags global __cuEventQuery - data["__cuEventQuery"] = <_cyb_intptr_t>__cuEventQuery + data["__cuEventQuery"] = __cuEventQuery global __cuEventSynchronize - data["__cuEventSynchronize"] = <_cyb_intptr_t>__cuEventSynchronize + data["__cuEventSynchronize"] = __cuEventSynchronize global __cuEventDestroy_v2 - data["__cuEventDestroy_v2"] = <_cyb_intptr_t>__cuEventDestroy_v2 + data["__cuEventDestroy_v2"] = __cuEventDestroy_v2 global __cuEventElapsedTime - data["__cuEventElapsedTime"] = <_cyb_intptr_t>__cuEventElapsedTime + data["__cuEventElapsedTime"] = __cuEventElapsedTime global __cuEventElapsedTime_v2 - data["__cuEventElapsedTime_v2"] = <_cyb_intptr_t>__cuEventElapsedTime_v2 + data["__cuEventElapsedTime_v2"] = __cuEventElapsedTime_v2 global __cuImportExternalMemory - data["__cuImportExternalMemory"] = <_cyb_intptr_t>__cuImportExternalMemory + data["__cuImportExternalMemory"] = __cuImportExternalMemory global __cuExternalMemoryGetMappedBuffer - data["__cuExternalMemoryGetMappedBuffer"] = <_cyb_intptr_t>__cuExternalMemoryGetMappedBuffer + data["__cuExternalMemoryGetMappedBuffer"] = __cuExternalMemoryGetMappedBuffer global __cuExternalMemoryGetMappedMipmappedArray - data["__cuExternalMemoryGetMappedMipmappedArray"] = <_cyb_intptr_t>__cuExternalMemoryGetMappedMipmappedArray + data["__cuExternalMemoryGetMappedMipmappedArray"] = __cuExternalMemoryGetMappedMipmappedArray global __cuDestroyExternalMemory - data["__cuDestroyExternalMemory"] = <_cyb_intptr_t>__cuDestroyExternalMemory + data["__cuDestroyExternalMemory"] = __cuDestroyExternalMemory global __cuImportExternalSemaphore - data["__cuImportExternalSemaphore"] = <_cyb_intptr_t>__cuImportExternalSemaphore + data["__cuImportExternalSemaphore"] = __cuImportExternalSemaphore global __cuSignalExternalSemaphoresAsync - data["__cuSignalExternalSemaphoresAsync"] = <_cyb_intptr_t>__cuSignalExternalSemaphoresAsync + data["__cuSignalExternalSemaphoresAsync"] = __cuSignalExternalSemaphoresAsync global __cuWaitExternalSemaphoresAsync - data["__cuWaitExternalSemaphoresAsync"] = <_cyb_intptr_t>__cuWaitExternalSemaphoresAsync + data["__cuWaitExternalSemaphoresAsync"] = __cuWaitExternalSemaphoresAsync global __cuDestroyExternalSemaphore - data["__cuDestroyExternalSemaphore"] = <_cyb_intptr_t>__cuDestroyExternalSemaphore + data["__cuDestroyExternalSemaphore"] = __cuDestroyExternalSemaphore global __cuStreamWaitValue32_v2 - data["__cuStreamWaitValue32_v2"] = <_cyb_intptr_t>__cuStreamWaitValue32_v2 + data["__cuStreamWaitValue32_v2"] = __cuStreamWaitValue32_v2 global __cuStreamWaitValue64_v2 - data["__cuStreamWaitValue64_v2"] = <_cyb_intptr_t>__cuStreamWaitValue64_v2 + data["__cuStreamWaitValue64_v2"] = __cuStreamWaitValue64_v2 global __cuStreamWriteValue32_v2 - data["__cuStreamWriteValue32_v2"] = <_cyb_intptr_t>__cuStreamWriteValue32_v2 + data["__cuStreamWriteValue32_v2"] = __cuStreamWriteValue32_v2 global __cuStreamWriteValue64_v2 - data["__cuStreamWriteValue64_v2"] = <_cyb_intptr_t>__cuStreamWriteValue64_v2 + data["__cuStreamWriteValue64_v2"] = __cuStreamWriteValue64_v2 global __cuStreamBatchMemOp_v2 - data["__cuStreamBatchMemOp_v2"] = <_cyb_intptr_t>__cuStreamBatchMemOp_v2 + data["__cuStreamBatchMemOp_v2"] = __cuStreamBatchMemOp_v2 global __cuFuncGetAttribute - data["__cuFuncGetAttribute"] = <_cyb_intptr_t>__cuFuncGetAttribute + data["__cuFuncGetAttribute"] = __cuFuncGetAttribute global __cuFuncSetAttribute - data["__cuFuncSetAttribute"] = <_cyb_intptr_t>__cuFuncSetAttribute + data["__cuFuncSetAttribute"] = __cuFuncSetAttribute global __cuFuncSetCacheConfig - data["__cuFuncSetCacheConfig"] = <_cyb_intptr_t>__cuFuncSetCacheConfig + data["__cuFuncSetCacheConfig"] = __cuFuncSetCacheConfig global __cuFuncGetModule - data["__cuFuncGetModule"] = <_cyb_intptr_t>__cuFuncGetModule + data["__cuFuncGetModule"] = __cuFuncGetModule global __cuFuncGetName - data["__cuFuncGetName"] = <_cyb_intptr_t>__cuFuncGetName + data["__cuFuncGetName"] = __cuFuncGetName global __cuFuncGetParamInfo - data["__cuFuncGetParamInfo"] = <_cyb_intptr_t>__cuFuncGetParamInfo + data["__cuFuncGetParamInfo"] = __cuFuncGetParamInfo global __cuFuncIsLoaded - data["__cuFuncIsLoaded"] = <_cyb_intptr_t>__cuFuncIsLoaded + data["__cuFuncIsLoaded"] = __cuFuncIsLoaded global __cuFuncLoad - data["__cuFuncLoad"] = <_cyb_intptr_t>__cuFuncLoad + data["__cuFuncLoad"] = __cuFuncLoad global __cuLaunchKernel - data["__cuLaunchKernel"] = <_cyb_intptr_t>__cuLaunchKernel + data["__cuLaunchKernel"] = __cuLaunchKernel global __cuLaunchKernelEx - data["__cuLaunchKernelEx"] = <_cyb_intptr_t>__cuLaunchKernelEx + data["__cuLaunchKernelEx"] = __cuLaunchKernelEx global __cuLaunchCooperativeKernel - data["__cuLaunchCooperativeKernel"] = <_cyb_intptr_t>__cuLaunchCooperativeKernel + data["__cuLaunchCooperativeKernel"] = __cuLaunchCooperativeKernel global __cuLaunchCooperativeKernelMultiDevice - data["__cuLaunchCooperativeKernelMultiDevice"] = <_cyb_intptr_t>__cuLaunchCooperativeKernelMultiDevice + data["__cuLaunchCooperativeKernelMultiDevice"] = __cuLaunchCooperativeKernelMultiDevice global __cuLaunchHostFunc - data["__cuLaunchHostFunc"] = <_cyb_intptr_t>__cuLaunchHostFunc + data["__cuLaunchHostFunc"] = __cuLaunchHostFunc global __cuFuncSetBlockShape - data["__cuFuncSetBlockShape"] = <_cyb_intptr_t>__cuFuncSetBlockShape + data["__cuFuncSetBlockShape"] = __cuFuncSetBlockShape global __cuFuncSetSharedSize - data["__cuFuncSetSharedSize"] = <_cyb_intptr_t>__cuFuncSetSharedSize + data["__cuFuncSetSharedSize"] = __cuFuncSetSharedSize global __cuParamSetSize - data["__cuParamSetSize"] = <_cyb_intptr_t>__cuParamSetSize + data["__cuParamSetSize"] = __cuParamSetSize global __cuParamSeti - data["__cuParamSeti"] = <_cyb_intptr_t>__cuParamSeti + data["__cuParamSeti"] = __cuParamSeti global __cuParamSetf - data["__cuParamSetf"] = <_cyb_intptr_t>__cuParamSetf + data["__cuParamSetf"] = __cuParamSetf global __cuParamSetv - data["__cuParamSetv"] = <_cyb_intptr_t>__cuParamSetv + data["__cuParamSetv"] = __cuParamSetv global __cuLaunch - data["__cuLaunch"] = <_cyb_intptr_t>__cuLaunch + data["__cuLaunch"] = __cuLaunch global __cuLaunchGrid - data["__cuLaunchGrid"] = <_cyb_intptr_t>__cuLaunchGrid + data["__cuLaunchGrid"] = __cuLaunchGrid global __cuLaunchGridAsync - data["__cuLaunchGridAsync"] = <_cyb_intptr_t>__cuLaunchGridAsync + data["__cuLaunchGridAsync"] = __cuLaunchGridAsync global __cuParamSetTexRef - data["__cuParamSetTexRef"] = <_cyb_intptr_t>__cuParamSetTexRef + data["__cuParamSetTexRef"] = __cuParamSetTexRef global __cuFuncSetSharedMemConfig - data["__cuFuncSetSharedMemConfig"] = <_cyb_intptr_t>__cuFuncSetSharedMemConfig + data["__cuFuncSetSharedMemConfig"] = __cuFuncSetSharedMemConfig global __cuGraphCreate - data["__cuGraphCreate"] = <_cyb_intptr_t>__cuGraphCreate + data["__cuGraphCreate"] = __cuGraphCreate global __cuGraphAddKernelNode_v2 - data["__cuGraphAddKernelNode_v2"] = <_cyb_intptr_t>__cuGraphAddKernelNode_v2 + data["__cuGraphAddKernelNode_v2"] = __cuGraphAddKernelNode_v2 global __cuGraphKernelNodeGetParams_v2 - data["__cuGraphKernelNodeGetParams_v2"] = <_cyb_intptr_t>__cuGraphKernelNodeGetParams_v2 + data["__cuGraphKernelNodeGetParams_v2"] = __cuGraphKernelNodeGetParams_v2 global __cuGraphKernelNodeSetParams_v2 - data["__cuGraphKernelNodeSetParams_v2"] = <_cyb_intptr_t>__cuGraphKernelNodeSetParams_v2 + data["__cuGraphKernelNodeSetParams_v2"] = __cuGraphKernelNodeSetParams_v2 global __cuGraphAddMemcpyNode - data["__cuGraphAddMemcpyNode"] = <_cyb_intptr_t>__cuGraphAddMemcpyNode + data["__cuGraphAddMemcpyNode"] = __cuGraphAddMemcpyNode global __cuGraphMemcpyNodeGetParams - data["__cuGraphMemcpyNodeGetParams"] = <_cyb_intptr_t>__cuGraphMemcpyNodeGetParams + data["__cuGraphMemcpyNodeGetParams"] = __cuGraphMemcpyNodeGetParams global __cuGraphMemcpyNodeSetParams - data["__cuGraphMemcpyNodeSetParams"] = <_cyb_intptr_t>__cuGraphMemcpyNodeSetParams + data["__cuGraphMemcpyNodeSetParams"] = __cuGraphMemcpyNodeSetParams global __cuGraphAddMemsetNode - data["__cuGraphAddMemsetNode"] = <_cyb_intptr_t>__cuGraphAddMemsetNode + data["__cuGraphAddMemsetNode"] = __cuGraphAddMemsetNode global __cuGraphMemsetNodeGetParams - data["__cuGraphMemsetNodeGetParams"] = <_cyb_intptr_t>__cuGraphMemsetNodeGetParams + data["__cuGraphMemsetNodeGetParams"] = __cuGraphMemsetNodeGetParams global __cuGraphMemsetNodeSetParams - data["__cuGraphMemsetNodeSetParams"] = <_cyb_intptr_t>__cuGraphMemsetNodeSetParams + data["__cuGraphMemsetNodeSetParams"] = __cuGraphMemsetNodeSetParams global __cuGraphAddHostNode - data["__cuGraphAddHostNode"] = <_cyb_intptr_t>__cuGraphAddHostNode + data["__cuGraphAddHostNode"] = __cuGraphAddHostNode global __cuGraphHostNodeGetParams - data["__cuGraphHostNodeGetParams"] = <_cyb_intptr_t>__cuGraphHostNodeGetParams + data["__cuGraphHostNodeGetParams"] = __cuGraphHostNodeGetParams global __cuGraphHostNodeSetParams - data["__cuGraphHostNodeSetParams"] = <_cyb_intptr_t>__cuGraphHostNodeSetParams + data["__cuGraphHostNodeSetParams"] = __cuGraphHostNodeSetParams global __cuGraphAddChildGraphNode - data["__cuGraphAddChildGraphNode"] = <_cyb_intptr_t>__cuGraphAddChildGraphNode + data["__cuGraphAddChildGraphNode"] = __cuGraphAddChildGraphNode global __cuGraphChildGraphNodeGetGraph - data["__cuGraphChildGraphNodeGetGraph"] = <_cyb_intptr_t>__cuGraphChildGraphNodeGetGraph + data["__cuGraphChildGraphNodeGetGraph"] = __cuGraphChildGraphNodeGetGraph global __cuGraphAddEmptyNode - data["__cuGraphAddEmptyNode"] = <_cyb_intptr_t>__cuGraphAddEmptyNode + data["__cuGraphAddEmptyNode"] = __cuGraphAddEmptyNode global __cuGraphAddEventRecordNode - data["__cuGraphAddEventRecordNode"] = <_cyb_intptr_t>__cuGraphAddEventRecordNode + data["__cuGraphAddEventRecordNode"] = __cuGraphAddEventRecordNode global __cuGraphEventRecordNodeGetEvent - data["__cuGraphEventRecordNodeGetEvent"] = <_cyb_intptr_t>__cuGraphEventRecordNodeGetEvent + data["__cuGraphEventRecordNodeGetEvent"] = __cuGraphEventRecordNodeGetEvent global __cuGraphEventRecordNodeSetEvent - data["__cuGraphEventRecordNodeSetEvent"] = <_cyb_intptr_t>__cuGraphEventRecordNodeSetEvent + data["__cuGraphEventRecordNodeSetEvent"] = __cuGraphEventRecordNodeSetEvent global __cuGraphAddEventWaitNode - data["__cuGraphAddEventWaitNode"] = <_cyb_intptr_t>__cuGraphAddEventWaitNode + data["__cuGraphAddEventWaitNode"] = __cuGraphAddEventWaitNode global __cuGraphEventWaitNodeGetEvent - data["__cuGraphEventWaitNodeGetEvent"] = <_cyb_intptr_t>__cuGraphEventWaitNodeGetEvent + data["__cuGraphEventWaitNodeGetEvent"] = __cuGraphEventWaitNodeGetEvent global __cuGraphEventWaitNodeSetEvent - data["__cuGraphEventWaitNodeSetEvent"] = <_cyb_intptr_t>__cuGraphEventWaitNodeSetEvent + data["__cuGraphEventWaitNodeSetEvent"] = __cuGraphEventWaitNodeSetEvent global __cuGraphAddExternalSemaphoresSignalNode - data["__cuGraphAddExternalSemaphoresSignalNode"] = <_cyb_intptr_t>__cuGraphAddExternalSemaphoresSignalNode + data["__cuGraphAddExternalSemaphoresSignalNode"] = __cuGraphAddExternalSemaphoresSignalNode global __cuGraphExternalSemaphoresSignalNodeGetParams - data["__cuGraphExternalSemaphoresSignalNodeGetParams"] = <_cyb_intptr_t>__cuGraphExternalSemaphoresSignalNodeGetParams + data["__cuGraphExternalSemaphoresSignalNodeGetParams"] = __cuGraphExternalSemaphoresSignalNodeGetParams global __cuGraphExternalSemaphoresSignalNodeSetParams - data["__cuGraphExternalSemaphoresSignalNodeSetParams"] = <_cyb_intptr_t>__cuGraphExternalSemaphoresSignalNodeSetParams + data["__cuGraphExternalSemaphoresSignalNodeSetParams"] = __cuGraphExternalSemaphoresSignalNodeSetParams global __cuGraphAddExternalSemaphoresWaitNode - data["__cuGraphAddExternalSemaphoresWaitNode"] = <_cyb_intptr_t>__cuGraphAddExternalSemaphoresWaitNode + data["__cuGraphAddExternalSemaphoresWaitNode"] = __cuGraphAddExternalSemaphoresWaitNode global __cuGraphExternalSemaphoresWaitNodeGetParams - data["__cuGraphExternalSemaphoresWaitNodeGetParams"] = <_cyb_intptr_t>__cuGraphExternalSemaphoresWaitNodeGetParams + data["__cuGraphExternalSemaphoresWaitNodeGetParams"] = __cuGraphExternalSemaphoresWaitNodeGetParams global __cuGraphExternalSemaphoresWaitNodeSetParams - data["__cuGraphExternalSemaphoresWaitNodeSetParams"] = <_cyb_intptr_t>__cuGraphExternalSemaphoresWaitNodeSetParams + data["__cuGraphExternalSemaphoresWaitNodeSetParams"] = __cuGraphExternalSemaphoresWaitNodeSetParams global __cuGraphAddBatchMemOpNode - data["__cuGraphAddBatchMemOpNode"] = <_cyb_intptr_t>__cuGraphAddBatchMemOpNode + data["__cuGraphAddBatchMemOpNode"] = __cuGraphAddBatchMemOpNode global __cuGraphBatchMemOpNodeGetParams - data["__cuGraphBatchMemOpNodeGetParams"] = <_cyb_intptr_t>__cuGraphBatchMemOpNodeGetParams + data["__cuGraphBatchMemOpNodeGetParams"] = __cuGraphBatchMemOpNodeGetParams global __cuGraphBatchMemOpNodeSetParams - data["__cuGraphBatchMemOpNodeSetParams"] = <_cyb_intptr_t>__cuGraphBatchMemOpNodeSetParams + data["__cuGraphBatchMemOpNodeSetParams"] = __cuGraphBatchMemOpNodeSetParams global __cuGraphExecBatchMemOpNodeSetParams - data["__cuGraphExecBatchMemOpNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecBatchMemOpNodeSetParams + data["__cuGraphExecBatchMemOpNodeSetParams"] = __cuGraphExecBatchMemOpNodeSetParams global __cuGraphAddMemAllocNode - data["__cuGraphAddMemAllocNode"] = <_cyb_intptr_t>__cuGraphAddMemAllocNode + data["__cuGraphAddMemAllocNode"] = __cuGraphAddMemAllocNode global __cuGraphMemAllocNodeGetParams - data["__cuGraphMemAllocNodeGetParams"] = <_cyb_intptr_t>__cuGraphMemAllocNodeGetParams + data["__cuGraphMemAllocNodeGetParams"] = __cuGraphMemAllocNodeGetParams global __cuGraphAddMemFreeNode - data["__cuGraphAddMemFreeNode"] = <_cyb_intptr_t>__cuGraphAddMemFreeNode + data["__cuGraphAddMemFreeNode"] = __cuGraphAddMemFreeNode global __cuGraphMemFreeNodeGetParams - data["__cuGraphMemFreeNodeGetParams"] = <_cyb_intptr_t>__cuGraphMemFreeNodeGetParams + data["__cuGraphMemFreeNodeGetParams"] = __cuGraphMemFreeNodeGetParams global __cuDeviceGraphMemTrim - data["__cuDeviceGraphMemTrim"] = <_cyb_intptr_t>__cuDeviceGraphMemTrim + data["__cuDeviceGraphMemTrim"] = __cuDeviceGraphMemTrim global __cuDeviceGetGraphMemAttribute - data["__cuDeviceGetGraphMemAttribute"] = <_cyb_intptr_t>__cuDeviceGetGraphMemAttribute + data["__cuDeviceGetGraphMemAttribute"] = __cuDeviceGetGraphMemAttribute global __cuDeviceSetGraphMemAttribute - data["__cuDeviceSetGraphMemAttribute"] = <_cyb_intptr_t>__cuDeviceSetGraphMemAttribute + data["__cuDeviceSetGraphMemAttribute"] = __cuDeviceSetGraphMemAttribute global __cuGraphClone - data["__cuGraphClone"] = <_cyb_intptr_t>__cuGraphClone + data["__cuGraphClone"] = __cuGraphClone global __cuGraphNodeFindInClone - data["__cuGraphNodeFindInClone"] = <_cyb_intptr_t>__cuGraphNodeFindInClone + data["__cuGraphNodeFindInClone"] = __cuGraphNodeFindInClone global __cuGraphNodeGetType - data["__cuGraphNodeGetType"] = <_cyb_intptr_t>__cuGraphNodeGetType + data["__cuGraphNodeGetType"] = __cuGraphNodeGetType global __cuGraphGetNodes - data["__cuGraphGetNodes"] = <_cyb_intptr_t>__cuGraphGetNodes + data["__cuGraphGetNodes"] = __cuGraphGetNodes global __cuGraphGetRootNodes - data["__cuGraphGetRootNodes"] = <_cyb_intptr_t>__cuGraphGetRootNodes + data["__cuGraphGetRootNodes"] = __cuGraphGetRootNodes global __cuGraphGetEdges - data["__cuGraphGetEdges"] = <_cyb_intptr_t>__cuGraphGetEdges + data["__cuGraphGetEdges"] = __cuGraphGetEdges global __cuGraphGetEdges_v2 - data["__cuGraphGetEdges_v2"] = <_cyb_intptr_t>__cuGraphGetEdges_v2 + data["__cuGraphGetEdges_v2"] = __cuGraphGetEdges_v2 global __cuGraphNodeGetDependencies - data["__cuGraphNodeGetDependencies"] = <_cyb_intptr_t>__cuGraphNodeGetDependencies + data["__cuGraphNodeGetDependencies"] = __cuGraphNodeGetDependencies global __cuGraphNodeGetDependencies_v2 - data["__cuGraphNodeGetDependencies_v2"] = <_cyb_intptr_t>__cuGraphNodeGetDependencies_v2 + data["__cuGraphNodeGetDependencies_v2"] = __cuGraphNodeGetDependencies_v2 global __cuGraphNodeGetDependentNodes - data["__cuGraphNodeGetDependentNodes"] = <_cyb_intptr_t>__cuGraphNodeGetDependentNodes + data["__cuGraphNodeGetDependentNodes"] = __cuGraphNodeGetDependentNodes global __cuGraphNodeGetDependentNodes_v2 - data["__cuGraphNodeGetDependentNodes_v2"] = <_cyb_intptr_t>__cuGraphNodeGetDependentNodes_v2 + data["__cuGraphNodeGetDependentNodes_v2"] = __cuGraphNodeGetDependentNodes_v2 global __cuGraphAddDependencies - data["__cuGraphAddDependencies"] = <_cyb_intptr_t>__cuGraphAddDependencies + data["__cuGraphAddDependencies"] = __cuGraphAddDependencies global __cuGraphAddDependencies_v2 - data["__cuGraphAddDependencies_v2"] = <_cyb_intptr_t>__cuGraphAddDependencies_v2 + data["__cuGraphAddDependencies_v2"] = __cuGraphAddDependencies_v2 global __cuGraphRemoveDependencies - data["__cuGraphRemoveDependencies"] = <_cyb_intptr_t>__cuGraphRemoveDependencies + data["__cuGraphRemoveDependencies"] = __cuGraphRemoveDependencies global __cuGraphRemoveDependencies_v2 - data["__cuGraphRemoveDependencies_v2"] = <_cyb_intptr_t>__cuGraphRemoveDependencies_v2 + data["__cuGraphRemoveDependencies_v2"] = __cuGraphRemoveDependencies_v2 global __cuGraphDestroyNode - data["__cuGraphDestroyNode"] = <_cyb_intptr_t>__cuGraphDestroyNode + data["__cuGraphDestroyNode"] = __cuGraphDestroyNode global __cuGraphInstantiateWithFlags - data["__cuGraphInstantiateWithFlags"] = <_cyb_intptr_t>__cuGraphInstantiateWithFlags + data["__cuGraphInstantiateWithFlags"] = __cuGraphInstantiateWithFlags global __cuGraphInstantiateWithParams - data["__cuGraphInstantiateWithParams"] = <_cyb_intptr_t>__cuGraphInstantiateWithParams + data["__cuGraphInstantiateWithParams"] = __cuGraphInstantiateWithParams global __cuGraphExecGetFlags - data["__cuGraphExecGetFlags"] = <_cyb_intptr_t>__cuGraphExecGetFlags + data["__cuGraphExecGetFlags"] = __cuGraphExecGetFlags global __cuGraphExecKernelNodeSetParams_v2 - data["__cuGraphExecKernelNodeSetParams_v2"] = <_cyb_intptr_t>__cuGraphExecKernelNodeSetParams_v2 + data["__cuGraphExecKernelNodeSetParams_v2"] = __cuGraphExecKernelNodeSetParams_v2 global __cuGraphExecMemcpyNodeSetParams - data["__cuGraphExecMemcpyNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecMemcpyNodeSetParams + data["__cuGraphExecMemcpyNodeSetParams"] = __cuGraphExecMemcpyNodeSetParams global __cuGraphExecMemsetNodeSetParams - data["__cuGraphExecMemsetNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecMemsetNodeSetParams + data["__cuGraphExecMemsetNodeSetParams"] = __cuGraphExecMemsetNodeSetParams global __cuGraphExecHostNodeSetParams - data["__cuGraphExecHostNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecHostNodeSetParams + data["__cuGraphExecHostNodeSetParams"] = __cuGraphExecHostNodeSetParams global __cuGraphExecChildGraphNodeSetParams - data["__cuGraphExecChildGraphNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecChildGraphNodeSetParams + data["__cuGraphExecChildGraphNodeSetParams"] = __cuGraphExecChildGraphNodeSetParams global __cuGraphExecEventRecordNodeSetEvent - data["__cuGraphExecEventRecordNodeSetEvent"] = <_cyb_intptr_t>__cuGraphExecEventRecordNodeSetEvent + data["__cuGraphExecEventRecordNodeSetEvent"] = __cuGraphExecEventRecordNodeSetEvent global __cuGraphExecEventWaitNodeSetEvent - data["__cuGraphExecEventWaitNodeSetEvent"] = <_cyb_intptr_t>__cuGraphExecEventWaitNodeSetEvent + data["__cuGraphExecEventWaitNodeSetEvent"] = __cuGraphExecEventWaitNodeSetEvent global __cuGraphExecExternalSemaphoresSignalNodeSetParams - data["__cuGraphExecExternalSemaphoresSignalNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecExternalSemaphoresSignalNodeSetParams + data["__cuGraphExecExternalSemaphoresSignalNodeSetParams"] = __cuGraphExecExternalSemaphoresSignalNodeSetParams global __cuGraphExecExternalSemaphoresWaitNodeSetParams - data["__cuGraphExecExternalSemaphoresWaitNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecExternalSemaphoresWaitNodeSetParams + data["__cuGraphExecExternalSemaphoresWaitNodeSetParams"] = __cuGraphExecExternalSemaphoresWaitNodeSetParams global __cuGraphNodeSetEnabled - data["__cuGraphNodeSetEnabled"] = <_cyb_intptr_t>__cuGraphNodeSetEnabled + data["__cuGraphNodeSetEnabled"] = __cuGraphNodeSetEnabled global __cuGraphNodeGetEnabled - data["__cuGraphNodeGetEnabled"] = <_cyb_intptr_t>__cuGraphNodeGetEnabled + data["__cuGraphNodeGetEnabled"] = __cuGraphNodeGetEnabled global __cuGraphUpload - data["__cuGraphUpload"] = <_cyb_intptr_t>__cuGraphUpload + data["__cuGraphUpload"] = __cuGraphUpload global __cuGraphLaunch - data["__cuGraphLaunch"] = <_cyb_intptr_t>__cuGraphLaunch + data["__cuGraphLaunch"] = __cuGraphLaunch global __cuGraphExecDestroy - data["__cuGraphExecDestroy"] = <_cyb_intptr_t>__cuGraphExecDestroy + data["__cuGraphExecDestroy"] = __cuGraphExecDestroy global __cuGraphDestroy - data["__cuGraphDestroy"] = <_cyb_intptr_t>__cuGraphDestroy + data["__cuGraphDestroy"] = __cuGraphDestroy global __cuGraphExecUpdate_v2 - data["__cuGraphExecUpdate_v2"] = <_cyb_intptr_t>__cuGraphExecUpdate_v2 + data["__cuGraphExecUpdate_v2"] = __cuGraphExecUpdate_v2 global __cuGraphKernelNodeCopyAttributes - data["__cuGraphKernelNodeCopyAttributes"] = <_cyb_intptr_t>__cuGraphKernelNodeCopyAttributes + data["__cuGraphKernelNodeCopyAttributes"] = __cuGraphKernelNodeCopyAttributes global __cuGraphKernelNodeGetAttribute - data["__cuGraphKernelNodeGetAttribute"] = <_cyb_intptr_t>__cuGraphKernelNodeGetAttribute + data["__cuGraphKernelNodeGetAttribute"] = __cuGraphKernelNodeGetAttribute global __cuGraphKernelNodeSetAttribute - data["__cuGraphKernelNodeSetAttribute"] = <_cyb_intptr_t>__cuGraphKernelNodeSetAttribute + data["__cuGraphKernelNodeSetAttribute"] = __cuGraphKernelNodeSetAttribute global __cuGraphDebugDotPrint - data["__cuGraphDebugDotPrint"] = <_cyb_intptr_t>__cuGraphDebugDotPrint + data["__cuGraphDebugDotPrint"] = __cuGraphDebugDotPrint global __cuUserObjectCreate - data["__cuUserObjectCreate"] = <_cyb_intptr_t>__cuUserObjectCreate + data["__cuUserObjectCreate"] = __cuUserObjectCreate global __cuUserObjectRetain - data["__cuUserObjectRetain"] = <_cyb_intptr_t>__cuUserObjectRetain + data["__cuUserObjectRetain"] = __cuUserObjectRetain global __cuUserObjectRelease - data["__cuUserObjectRelease"] = <_cyb_intptr_t>__cuUserObjectRelease + data["__cuUserObjectRelease"] = __cuUserObjectRelease global __cuGraphRetainUserObject - data["__cuGraphRetainUserObject"] = <_cyb_intptr_t>__cuGraphRetainUserObject + data["__cuGraphRetainUserObject"] = __cuGraphRetainUserObject global __cuGraphReleaseUserObject - data["__cuGraphReleaseUserObject"] = <_cyb_intptr_t>__cuGraphReleaseUserObject + data["__cuGraphReleaseUserObject"] = __cuGraphReleaseUserObject global __cuGraphAddNode - data["__cuGraphAddNode"] = <_cyb_intptr_t>__cuGraphAddNode + data["__cuGraphAddNode"] = __cuGraphAddNode global __cuGraphAddNode_v2 - data["__cuGraphAddNode_v2"] = <_cyb_intptr_t>__cuGraphAddNode_v2 + data["__cuGraphAddNode_v2"] = __cuGraphAddNode_v2 global __cuGraphNodeSetParams - data["__cuGraphNodeSetParams"] = <_cyb_intptr_t>__cuGraphNodeSetParams + data["__cuGraphNodeSetParams"] = __cuGraphNodeSetParams global __cuGraphExecNodeSetParams - data["__cuGraphExecNodeSetParams"] = <_cyb_intptr_t>__cuGraphExecNodeSetParams + data["__cuGraphExecNodeSetParams"] = __cuGraphExecNodeSetParams global __cuGraphConditionalHandleCreate - data["__cuGraphConditionalHandleCreate"] = <_cyb_intptr_t>__cuGraphConditionalHandleCreate + data["__cuGraphConditionalHandleCreate"] = __cuGraphConditionalHandleCreate global __cuOccupancyMaxActiveBlocksPerMultiprocessor - data["__cuOccupancyMaxActiveBlocksPerMultiprocessor"] = <_cyb_intptr_t>__cuOccupancyMaxActiveBlocksPerMultiprocessor + data["__cuOccupancyMaxActiveBlocksPerMultiprocessor"] = __cuOccupancyMaxActiveBlocksPerMultiprocessor global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags - data["__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags"] = <_cyb_intptr_t>__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags + data["__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags"] = __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags global __cuOccupancyMaxPotentialBlockSize - data["__cuOccupancyMaxPotentialBlockSize"] = <_cyb_intptr_t>__cuOccupancyMaxPotentialBlockSize + data["__cuOccupancyMaxPotentialBlockSize"] = __cuOccupancyMaxPotentialBlockSize global __cuOccupancyMaxPotentialBlockSizeWithFlags - data["__cuOccupancyMaxPotentialBlockSizeWithFlags"] = <_cyb_intptr_t>__cuOccupancyMaxPotentialBlockSizeWithFlags + data["__cuOccupancyMaxPotentialBlockSizeWithFlags"] = __cuOccupancyMaxPotentialBlockSizeWithFlags global __cuOccupancyAvailableDynamicSMemPerBlock - data["__cuOccupancyAvailableDynamicSMemPerBlock"] = <_cyb_intptr_t>__cuOccupancyAvailableDynamicSMemPerBlock + data["__cuOccupancyAvailableDynamicSMemPerBlock"] = __cuOccupancyAvailableDynamicSMemPerBlock global __cuOccupancyMaxPotentialClusterSize - data["__cuOccupancyMaxPotentialClusterSize"] = <_cyb_intptr_t>__cuOccupancyMaxPotentialClusterSize + data["__cuOccupancyMaxPotentialClusterSize"] = __cuOccupancyMaxPotentialClusterSize global __cuOccupancyMaxActiveClusters - data["__cuOccupancyMaxActiveClusters"] = <_cyb_intptr_t>__cuOccupancyMaxActiveClusters + data["__cuOccupancyMaxActiveClusters"] = __cuOccupancyMaxActiveClusters global __cuTexRefSetArray - data["__cuTexRefSetArray"] = <_cyb_intptr_t>__cuTexRefSetArray + data["__cuTexRefSetArray"] = __cuTexRefSetArray global __cuTexRefSetMipmappedArray - data["__cuTexRefSetMipmappedArray"] = <_cyb_intptr_t>__cuTexRefSetMipmappedArray + data["__cuTexRefSetMipmappedArray"] = __cuTexRefSetMipmappedArray global __cuTexRefSetAddress_v2 - data["__cuTexRefSetAddress_v2"] = <_cyb_intptr_t>__cuTexRefSetAddress_v2 + data["__cuTexRefSetAddress_v2"] = __cuTexRefSetAddress_v2 global __cuTexRefSetAddress2D_v3 - data["__cuTexRefSetAddress2D_v3"] = <_cyb_intptr_t>__cuTexRefSetAddress2D_v3 + data["__cuTexRefSetAddress2D_v3"] = __cuTexRefSetAddress2D_v3 global __cuTexRefSetFormat - data["__cuTexRefSetFormat"] = <_cyb_intptr_t>__cuTexRefSetFormat + data["__cuTexRefSetFormat"] = __cuTexRefSetFormat global __cuTexRefSetAddressMode - data["__cuTexRefSetAddressMode"] = <_cyb_intptr_t>__cuTexRefSetAddressMode + data["__cuTexRefSetAddressMode"] = __cuTexRefSetAddressMode global __cuTexRefSetFilterMode - data["__cuTexRefSetFilterMode"] = <_cyb_intptr_t>__cuTexRefSetFilterMode + data["__cuTexRefSetFilterMode"] = __cuTexRefSetFilterMode global __cuTexRefSetMipmapFilterMode - data["__cuTexRefSetMipmapFilterMode"] = <_cyb_intptr_t>__cuTexRefSetMipmapFilterMode + data["__cuTexRefSetMipmapFilterMode"] = __cuTexRefSetMipmapFilterMode global __cuTexRefSetMipmapLevelBias - data["__cuTexRefSetMipmapLevelBias"] = <_cyb_intptr_t>__cuTexRefSetMipmapLevelBias + data["__cuTexRefSetMipmapLevelBias"] = __cuTexRefSetMipmapLevelBias global __cuTexRefSetMipmapLevelClamp - data["__cuTexRefSetMipmapLevelClamp"] = <_cyb_intptr_t>__cuTexRefSetMipmapLevelClamp + data["__cuTexRefSetMipmapLevelClamp"] = __cuTexRefSetMipmapLevelClamp global __cuTexRefSetMaxAnisotropy - data["__cuTexRefSetMaxAnisotropy"] = <_cyb_intptr_t>__cuTexRefSetMaxAnisotropy + data["__cuTexRefSetMaxAnisotropy"] = __cuTexRefSetMaxAnisotropy global __cuTexRefSetBorderColor - data["__cuTexRefSetBorderColor"] = <_cyb_intptr_t>__cuTexRefSetBorderColor + data["__cuTexRefSetBorderColor"] = __cuTexRefSetBorderColor global __cuTexRefSetFlags - data["__cuTexRefSetFlags"] = <_cyb_intptr_t>__cuTexRefSetFlags + data["__cuTexRefSetFlags"] = __cuTexRefSetFlags global __cuTexRefGetAddress_v2 - data["__cuTexRefGetAddress_v2"] = <_cyb_intptr_t>__cuTexRefGetAddress_v2 + data["__cuTexRefGetAddress_v2"] = __cuTexRefGetAddress_v2 global __cuTexRefGetArray - data["__cuTexRefGetArray"] = <_cyb_intptr_t>__cuTexRefGetArray + data["__cuTexRefGetArray"] = __cuTexRefGetArray global __cuTexRefGetMipmappedArray - data["__cuTexRefGetMipmappedArray"] = <_cyb_intptr_t>__cuTexRefGetMipmappedArray + data["__cuTexRefGetMipmappedArray"] = __cuTexRefGetMipmappedArray global __cuTexRefGetAddressMode - data["__cuTexRefGetAddressMode"] = <_cyb_intptr_t>__cuTexRefGetAddressMode + data["__cuTexRefGetAddressMode"] = __cuTexRefGetAddressMode global __cuTexRefGetFilterMode - data["__cuTexRefGetFilterMode"] = <_cyb_intptr_t>__cuTexRefGetFilterMode + data["__cuTexRefGetFilterMode"] = __cuTexRefGetFilterMode global __cuTexRefGetFormat - data["__cuTexRefGetFormat"] = <_cyb_intptr_t>__cuTexRefGetFormat + data["__cuTexRefGetFormat"] = __cuTexRefGetFormat global __cuTexRefGetMipmapFilterMode - data["__cuTexRefGetMipmapFilterMode"] = <_cyb_intptr_t>__cuTexRefGetMipmapFilterMode + data["__cuTexRefGetMipmapFilterMode"] = __cuTexRefGetMipmapFilterMode global __cuTexRefGetMipmapLevelBias - data["__cuTexRefGetMipmapLevelBias"] = <_cyb_intptr_t>__cuTexRefGetMipmapLevelBias + data["__cuTexRefGetMipmapLevelBias"] = __cuTexRefGetMipmapLevelBias global __cuTexRefGetMipmapLevelClamp - data["__cuTexRefGetMipmapLevelClamp"] = <_cyb_intptr_t>__cuTexRefGetMipmapLevelClamp + data["__cuTexRefGetMipmapLevelClamp"] = __cuTexRefGetMipmapLevelClamp global __cuTexRefGetMaxAnisotropy - data["__cuTexRefGetMaxAnisotropy"] = <_cyb_intptr_t>__cuTexRefGetMaxAnisotropy + data["__cuTexRefGetMaxAnisotropy"] = __cuTexRefGetMaxAnisotropy global __cuTexRefGetBorderColor - data["__cuTexRefGetBorderColor"] = <_cyb_intptr_t>__cuTexRefGetBorderColor + data["__cuTexRefGetBorderColor"] = __cuTexRefGetBorderColor global __cuTexRefGetFlags - data["__cuTexRefGetFlags"] = <_cyb_intptr_t>__cuTexRefGetFlags + data["__cuTexRefGetFlags"] = __cuTexRefGetFlags global __cuTexRefCreate - data["__cuTexRefCreate"] = <_cyb_intptr_t>__cuTexRefCreate + data["__cuTexRefCreate"] = __cuTexRefCreate global __cuTexRefDestroy - data["__cuTexRefDestroy"] = <_cyb_intptr_t>__cuTexRefDestroy + data["__cuTexRefDestroy"] = __cuTexRefDestroy global __cuSurfRefSetArray - data["__cuSurfRefSetArray"] = <_cyb_intptr_t>__cuSurfRefSetArray + data["__cuSurfRefSetArray"] = __cuSurfRefSetArray global __cuSurfRefGetArray - data["__cuSurfRefGetArray"] = <_cyb_intptr_t>__cuSurfRefGetArray + data["__cuSurfRefGetArray"] = __cuSurfRefGetArray global __cuTexObjectCreate - data["__cuTexObjectCreate"] = <_cyb_intptr_t>__cuTexObjectCreate + data["__cuTexObjectCreate"] = __cuTexObjectCreate global __cuTexObjectDestroy - data["__cuTexObjectDestroy"] = <_cyb_intptr_t>__cuTexObjectDestroy + data["__cuTexObjectDestroy"] = __cuTexObjectDestroy global __cuTexObjectGetResourceDesc - data["__cuTexObjectGetResourceDesc"] = <_cyb_intptr_t>__cuTexObjectGetResourceDesc + data["__cuTexObjectGetResourceDesc"] = __cuTexObjectGetResourceDesc global __cuTexObjectGetTextureDesc - data["__cuTexObjectGetTextureDesc"] = <_cyb_intptr_t>__cuTexObjectGetTextureDesc + data["__cuTexObjectGetTextureDesc"] = __cuTexObjectGetTextureDesc global __cuTexObjectGetResourceViewDesc - data["__cuTexObjectGetResourceViewDesc"] = <_cyb_intptr_t>__cuTexObjectGetResourceViewDesc + data["__cuTexObjectGetResourceViewDesc"] = __cuTexObjectGetResourceViewDesc global __cuSurfObjectCreate - data["__cuSurfObjectCreate"] = <_cyb_intptr_t>__cuSurfObjectCreate + data["__cuSurfObjectCreate"] = __cuSurfObjectCreate global __cuSurfObjectDestroy - data["__cuSurfObjectDestroy"] = <_cyb_intptr_t>__cuSurfObjectDestroy + data["__cuSurfObjectDestroy"] = __cuSurfObjectDestroy global __cuSurfObjectGetResourceDesc - data["__cuSurfObjectGetResourceDesc"] = <_cyb_intptr_t>__cuSurfObjectGetResourceDesc + data["__cuSurfObjectGetResourceDesc"] = __cuSurfObjectGetResourceDesc global __cuTensorMapEncodeTiled - data["__cuTensorMapEncodeTiled"] = <_cyb_intptr_t>__cuTensorMapEncodeTiled + data["__cuTensorMapEncodeTiled"] = __cuTensorMapEncodeTiled global __cuTensorMapEncodeIm2col - data["__cuTensorMapEncodeIm2col"] = <_cyb_intptr_t>__cuTensorMapEncodeIm2col + data["__cuTensorMapEncodeIm2col"] = __cuTensorMapEncodeIm2col global __cuTensorMapEncodeIm2colWide - data["__cuTensorMapEncodeIm2colWide"] = <_cyb_intptr_t>__cuTensorMapEncodeIm2colWide + data["__cuTensorMapEncodeIm2colWide"] = __cuTensorMapEncodeIm2colWide global __cuTensorMapReplaceAddress - data["__cuTensorMapReplaceAddress"] = <_cyb_intptr_t>__cuTensorMapReplaceAddress + data["__cuTensorMapReplaceAddress"] = __cuTensorMapReplaceAddress global __cuDeviceCanAccessPeer - data["__cuDeviceCanAccessPeer"] = <_cyb_intptr_t>__cuDeviceCanAccessPeer + data["__cuDeviceCanAccessPeer"] = __cuDeviceCanAccessPeer global __cuCtxEnablePeerAccess - data["__cuCtxEnablePeerAccess"] = <_cyb_intptr_t>__cuCtxEnablePeerAccess + data["__cuCtxEnablePeerAccess"] = __cuCtxEnablePeerAccess global __cuCtxDisablePeerAccess - data["__cuCtxDisablePeerAccess"] = <_cyb_intptr_t>__cuCtxDisablePeerAccess + data["__cuCtxDisablePeerAccess"] = __cuCtxDisablePeerAccess global __cuDeviceGetP2PAttribute - data["__cuDeviceGetP2PAttribute"] = <_cyb_intptr_t>__cuDeviceGetP2PAttribute + data["__cuDeviceGetP2PAttribute"] = __cuDeviceGetP2PAttribute global __cuGraphicsUnregisterResource - data["__cuGraphicsUnregisterResource"] = <_cyb_intptr_t>__cuGraphicsUnregisterResource + data["__cuGraphicsUnregisterResource"] = __cuGraphicsUnregisterResource global __cuGraphicsSubResourceGetMappedArray - data["__cuGraphicsSubResourceGetMappedArray"] = <_cyb_intptr_t>__cuGraphicsSubResourceGetMappedArray + data["__cuGraphicsSubResourceGetMappedArray"] = __cuGraphicsSubResourceGetMappedArray global __cuGraphicsResourceGetMappedMipmappedArray - data["__cuGraphicsResourceGetMappedMipmappedArray"] = <_cyb_intptr_t>__cuGraphicsResourceGetMappedMipmappedArray + data["__cuGraphicsResourceGetMappedMipmappedArray"] = __cuGraphicsResourceGetMappedMipmappedArray global __cuGraphicsResourceGetMappedPointer_v2 - data["__cuGraphicsResourceGetMappedPointer_v2"] = <_cyb_intptr_t>__cuGraphicsResourceGetMappedPointer_v2 + data["__cuGraphicsResourceGetMappedPointer_v2"] = __cuGraphicsResourceGetMappedPointer_v2 global __cuGraphicsResourceSetMapFlags_v2 - data["__cuGraphicsResourceSetMapFlags_v2"] = <_cyb_intptr_t>__cuGraphicsResourceSetMapFlags_v2 + data["__cuGraphicsResourceSetMapFlags_v2"] = __cuGraphicsResourceSetMapFlags_v2 global __cuGraphicsMapResources - data["__cuGraphicsMapResources"] = <_cyb_intptr_t>__cuGraphicsMapResources + data["__cuGraphicsMapResources"] = __cuGraphicsMapResources global __cuGraphicsUnmapResources - data["__cuGraphicsUnmapResources"] = <_cyb_intptr_t>__cuGraphicsUnmapResources + data["__cuGraphicsUnmapResources"] = __cuGraphicsUnmapResources global __cuGetProcAddress_v2 - data["__cuGetProcAddress_v2"] = <_cyb_intptr_t>__cuGetProcAddress_v2 + data["__cuGetProcAddress_v2"] = __cuGetProcAddress_v2 global __cuCoredumpGetAttribute - data["__cuCoredumpGetAttribute"] = <_cyb_intptr_t>__cuCoredumpGetAttribute + data["__cuCoredumpGetAttribute"] = __cuCoredumpGetAttribute global __cuCoredumpGetAttributeGlobal - data["__cuCoredumpGetAttributeGlobal"] = <_cyb_intptr_t>__cuCoredumpGetAttributeGlobal + data["__cuCoredumpGetAttributeGlobal"] = __cuCoredumpGetAttributeGlobal global __cuCoredumpSetAttribute - data["__cuCoredumpSetAttribute"] = <_cyb_intptr_t>__cuCoredumpSetAttribute + data["__cuCoredumpSetAttribute"] = __cuCoredumpSetAttribute global __cuCoredumpSetAttributeGlobal - data["__cuCoredumpSetAttributeGlobal"] = <_cyb_intptr_t>__cuCoredumpSetAttributeGlobal + data["__cuCoredumpSetAttributeGlobal"] = __cuCoredumpSetAttributeGlobal global __cuGetExportTable - data["__cuGetExportTable"] = <_cyb_intptr_t>__cuGetExportTable + data["__cuGetExportTable"] = __cuGetExportTable global __cuGreenCtxCreate - data["__cuGreenCtxCreate"] = <_cyb_intptr_t>__cuGreenCtxCreate + data["__cuGreenCtxCreate"] = __cuGreenCtxCreate global __cuGreenCtxDestroy - data["__cuGreenCtxDestroy"] = <_cyb_intptr_t>__cuGreenCtxDestroy + data["__cuGreenCtxDestroy"] = __cuGreenCtxDestroy global __cuCtxFromGreenCtx - data["__cuCtxFromGreenCtx"] = <_cyb_intptr_t>__cuCtxFromGreenCtx + data["__cuCtxFromGreenCtx"] = __cuCtxFromGreenCtx global __cuDeviceGetDevResource - data["__cuDeviceGetDevResource"] = <_cyb_intptr_t>__cuDeviceGetDevResource + data["__cuDeviceGetDevResource"] = __cuDeviceGetDevResource global __cuCtxGetDevResource - data["__cuCtxGetDevResource"] = <_cyb_intptr_t>__cuCtxGetDevResource + data["__cuCtxGetDevResource"] = __cuCtxGetDevResource global __cuGreenCtxGetDevResource - data["__cuGreenCtxGetDevResource"] = <_cyb_intptr_t>__cuGreenCtxGetDevResource + data["__cuGreenCtxGetDevResource"] = __cuGreenCtxGetDevResource global __cuDevSmResourceSplitByCount - data["__cuDevSmResourceSplitByCount"] = <_cyb_intptr_t>__cuDevSmResourceSplitByCount + data["__cuDevSmResourceSplitByCount"] = __cuDevSmResourceSplitByCount global __cuDevResourceGenerateDesc - data["__cuDevResourceGenerateDesc"] = <_cyb_intptr_t>__cuDevResourceGenerateDesc + data["__cuDevResourceGenerateDesc"] = __cuDevResourceGenerateDesc global __cuGreenCtxRecordEvent - data["__cuGreenCtxRecordEvent"] = <_cyb_intptr_t>__cuGreenCtxRecordEvent + data["__cuGreenCtxRecordEvent"] = __cuGreenCtxRecordEvent global __cuGreenCtxWaitEvent - data["__cuGreenCtxWaitEvent"] = <_cyb_intptr_t>__cuGreenCtxWaitEvent + data["__cuGreenCtxWaitEvent"] = __cuGreenCtxWaitEvent global __cuStreamGetGreenCtx - data["__cuStreamGetGreenCtx"] = <_cyb_intptr_t>__cuStreamGetGreenCtx + data["__cuStreamGetGreenCtx"] = __cuStreamGetGreenCtx global __cuGreenCtxStreamCreate - data["__cuGreenCtxStreamCreate"] = <_cyb_intptr_t>__cuGreenCtxStreamCreate + data["__cuGreenCtxStreamCreate"] = __cuGreenCtxStreamCreate global __cuLogsRegisterCallback - data["__cuLogsRegisterCallback"] = <_cyb_intptr_t>__cuLogsRegisterCallback + data["__cuLogsRegisterCallback"] = __cuLogsRegisterCallback global __cuLogsUnregisterCallback - data["__cuLogsUnregisterCallback"] = <_cyb_intptr_t>__cuLogsUnregisterCallback + data["__cuLogsUnregisterCallback"] = __cuLogsUnregisterCallback global __cuLogsCurrent - data["__cuLogsCurrent"] = <_cyb_intptr_t>__cuLogsCurrent + data["__cuLogsCurrent"] = __cuLogsCurrent global __cuLogsDumpToFile - data["__cuLogsDumpToFile"] = <_cyb_intptr_t>__cuLogsDumpToFile + data["__cuLogsDumpToFile"] = __cuLogsDumpToFile global __cuLogsDumpToMemory - data["__cuLogsDumpToMemory"] = <_cyb_intptr_t>__cuLogsDumpToMemory + data["__cuLogsDumpToMemory"] = __cuLogsDumpToMemory global __cuCheckpointProcessGetRestoreThreadId - data["__cuCheckpointProcessGetRestoreThreadId"] = <_cyb_intptr_t>__cuCheckpointProcessGetRestoreThreadId + data["__cuCheckpointProcessGetRestoreThreadId"] = __cuCheckpointProcessGetRestoreThreadId global __cuCheckpointProcessGetState - data["__cuCheckpointProcessGetState"] = <_cyb_intptr_t>__cuCheckpointProcessGetState + data["__cuCheckpointProcessGetState"] = __cuCheckpointProcessGetState global __cuCheckpointProcessLock - data["__cuCheckpointProcessLock"] = <_cyb_intptr_t>__cuCheckpointProcessLock + data["__cuCheckpointProcessLock"] = __cuCheckpointProcessLock global __cuCheckpointProcessCheckpoint - data["__cuCheckpointProcessCheckpoint"] = <_cyb_intptr_t>__cuCheckpointProcessCheckpoint + data["__cuCheckpointProcessCheckpoint"] = __cuCheckpointProcessCheckpoint global __cuCheckpointProcessRestore - data["__cuCheckpointProcessRestore"] = <_cyb_intptr_t>__cuCheckpointProcessRestore + data["__cuCheckpointProcessRestore"] = __cuCheckpointProcessRestore global __cuCheckpointProcessUnlock - data["__cuCheckpointProcessUnlock"] = <_cyb_intptr_t>__cuCheckpointProcessUnlock + data["__cuCheckpointProcessUnlock"] = __cuCheckpointProcessUnlock global __cuGraphicsEGLRegisterImage - data["__cuGraphicsEGLRegisterImage"] = <_cyb_intptr_t>__cuGraphicsEGLRegisterImage + data["__cuGraphicsEGLRegisterImage"] = __cuGraphicsEGLRegisterImage global __cuEGLStreamConsumerConnect - data["__cuEGLStreamConsumerConnect"] = <_cyb_intptr_t>__cuEGLStreamConsumerConnect + data["__cuEGLStreamConsumerConnect"] = __cuEGLStreamConsumerConnect global __cuEGLStreamConsumerConnectWithFlags - data["__cuEGLStreamConsumerConnectWithFlags"] = <_cyb_intptr_t>__cuEGLStreamConsumerConnectWithFlags + data["__cuEGLStreamConsumerConnectWithFlags"] = __cuEGLStreamConsumerConnectWithFlags global __cuEGLStreamConsumerDisconnect - data["__cuEGLStreamConsumerDisconnect"] = <_cyb_intptr_t>__cuEGLStreamConsumerDisconnect + data["__cuEGLStreamConsumerDisconnect"] = __cuEGLStreamConsumerDisconnect global __cuEGLStreamConsumerAcquireFrame - data["__cuEGLStreamConsumerAcquireFrame"] = <_cyb_intptr_t>__cuEGLStreamConsumerAcquireFrame + data["__cuEGLStreamConsumerAcquireFrame"] = __cuEGLStreamConsumerAcquireFrame global __cuEGLStreamConsumerReleaseFrame - data["__cuEGLStreamConsumerReleaseFrame"] = <_cyb_intptr_t>__cuEGLStreamConsumerReleaseFrame + data["__cuEGLStreamConsumerReleaseFrame"] = __cuEGLStreamConsumerReleaseFrame global __cuEGLStreamProducerConnect - data["__cuEGLStreamProducerConnect"] = <_cyb_intptr_t>__cuEGLStreamProducerConnect + data["__cuEGLStreamProducerConnect"] = __cuEGLStreamProducerConnect global __cuEGLStreamProducerDisconnect - data["__cuEGLStreamProducerDisconnect"] = <_cyb_intptr_t>__cuEGLStreamProducerDisconnect + data["__cuEGLStreamProducerDisconnect"] = __cuEGLStreamProducerDisconnect global __cuEGLStreamProducerPresentFrame - data["__cuEGLStreamProducerPresentFrame"] = <_cyb_intptr_t>__cuEGLStreamProducerPresentFrame + data["__cuEGLStreamProducerPresentFrame"] = __cuEGLStreamProducerPresentFrame global __cuEGLStreamProducerReturnFrame - data["__cuEGLStreamProducerReturnFrame"] = <_cyb_intptr_t>__cuEGLStreamProducerReturnFrame + data["__cuEGLStreamProducerReturnFrame"] = __cuEGLStreamProducerReturnFrame global __cuGraphicsResourceGetMappedEglFrame - data["__cuGraphicsResourceGetMappedEglFrame"] = <_cyb_intptr_t>__cuGraphicsResourceGetMappedEglFrame + data["__cuGraphicsResourceGetMappedEglFrame"] = __cuGraphicsResourceGetMappedEglFrame global __cuEventCreateFromEGLSync - data["__cuEventCreateFromEGLSync"] = <_cyb_intptr_t>__cuEventCreateFromEGLSync + data["__cuEventCreateFromEGLSync"] = __cuEventCreateFromEGLSync global __cuGraphicsGLRegisterBuffer - data["__cuGraphicsGLRegisterBuffer"] = <_cyb_intptr_t>__cuGraphicsGLRegisterBuffer + data["__cuGraphicsGLRegisterBuffer"] = __cuGraphicsGLRegisterBuffer global __cuGraphicsGLRegisterImage - data["__cuGraphicsGLRegisterImage"] = <_cyb_intptr_t>__cuGraphicsGLRegisterImage + data["__cuGraphicsGLRegisterImage"] = __cuGraphicsGLRegisterImage global __cuGLGetDevices_v2 - data["__cuGLGetDevices_v2"] = <_cyb_intptr_t>__cuGLGetDevices_v2 + data["__cuGLGetDevices_v2"] = __cuGLGetDevices_v2 global __cuGLCtxCreate_v2 - data["__cuGLCtxCreate_v2"] = <_cyb_intptr_t>__cuGLCtxCreate_v2 + data["__cuGLCtxCreate_v2"] = __cuGLCtxCreate_v2 global __cuGLInit - data["__cuGLInit"] = <_cyb_intptr_t>__cuGLInit + data["__cuGLInit"] = __cuGLInit global __cuGLRegisterBufferObject - data["__cuGLRegisterBufferObject"] = <_cyb_intptr_t>__cuGLRegisterBufferObject + data["__cuGLRegisterBufferObject"] = __cuGLRegisterBufferObject global __cuGLMapBufferObject_v2 - data["__cuGLMapBufferObject_v2"] = <_cyb_intptr_t>__cuGLMapBufferObject_v2 + data["__cuGLMapBufferObject_v2"] = __cuGLMapBufferObject_v2 global __cuGLUnmapBufferObject - data["__cuGLUnmapBufferObject"] = <_cyb_intptr_t>__cuGLUnmapBufferObject + data["__cuGLUnmapBufferObject"] = __cuGLUnmapBufferObject global __cuGLUnregisterBufferObject - data["__cuGLUnregisterBufferObject"] = <_cyb_intptr_t>__cuGLUnregisterBufferObject + data["__cuGLUnregisterBufferObject"] = __cuGLUnregisterBufferObject global __cuGLSetBufferObjectMapFlags - data["__cuGLSetBufferObjectMapFlags"] = <_cyb_intptr_t>__cuGLSetBufferObjectMapFlags + data["__cuGLSetBufferObjectMapFlags"] = __cuGLSetBufferObjectMapFlags global __cuGLMapBufferObjectAsync_v2 - data["__cuGLMapBufferObjectAsync_v2"] = <_cyb_intptr_t>__cuGLMapBufferObjectAsync_v2 + data["__cuGLMapBufferObjectAsync_v2"] = __cuGLMapBufferObjectAsync_v2 global __cuGLUnmapBufferObjectAsync - data["__cuGLUnmapBufferObjectAsync"] = <_cyb_intptr_t>__cuGLUnmapBufferObjectAsync + data["__cuGLUnmapBufferObjectAsync"] = __cuGLUnmapBufferObjectAsync global __cuProfilerInitialize - data["__cuProfilerInitialize"] = <_cyb_intptr_t>__cuProfilerInitialize + data["__cuProfilerInitialize"] = __cuProfilerInitialize global __cuProfilerStart - data["__cuProfilerStart"] = <_cyb_intptr_t>__cuProfilerStart + data["__cuProfilerStart"] = __cuProfilerStart global __cuProfilerStop - data["__cuProfilerStop"] = <_cyb_intptr_t>__cuProfilerStop + data["__cuProfilerStop"] = __cuProfilerStop global __cuVDPAUGetDevice - data["__cuVDPAUGetDevice"] = <_cyb_intptr_t>__cuVDPAUGetDevice + data["__cuVDPAUGetDevice"] = __cuVDPAUGetDevice global __cuVDPAUCtxCreate_v2 - data["__cuVDPAUCtxCreate_v2"] = <_cyb_intptr_t>__cuVDPAUCtxCreate_v2 + data["__cuVDPAUCtxCreate_v2"] = __cuVDPAUCtxCreate_v2 global __cuGraphicsVDPAURegisterVideoSurface - data["__cuGraphicsVDPAURegisterVideoSurface"] = <_cyb_intptr_t>__cuGraphicsVDPAURegisterVideoSurface + data["__cuGraphicsVDPAURegisterVideoSurface"] = __cuGraphicsVDPAURegisterVideoSurface global __cuGraphicsVDPAURegisterOutputSurface - data["__cuGraphicsVDPAURegisterOutputSurface"] = <_cyb_intptr_t>__cuGraphicsVDPAURegisterOutputSurface + data["__cuGraphicsVDPAURegisterOutputSurface"] = __cuGraphicsVDPAURegisterOutputSurface _cyb_func_ptrs = data return data diff --git a/cuda_bindings/cuda/bindings/_internal/nvfatbin_linux.pyx b/cuda_bindings/cuda/bindings/_internal/nvfatbin_linux.pyx index 01881a519b5..d4c54124e52 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvfatbin_linux.pyx +++ b/cuda_bindings/cuda/bindings/_internal/nvfatbin_linux.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.4.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=f86a7f7527aad594d7b2e67742165454729ecca3810c00e6786f772099b17850 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=7d6e928f56af8543c123889e5337a34f9270cbd554c699a8e013f720362988c1 # <<<< PREAMBLE CONTENT >>>> @@ -44,7 +44,7 @@ cdef extern from "": void* _cyb_dlsym "dlsym"(void*, const char*) nogil const void * _cyb_RTLD_DEFAULT "RTLD_DEFAULT" -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport intptr_t import threading as _cyb_threading @@ -185,40 +185,40 @@ cpdef dict _inspect_function_pointers(): _check_or_init_nvfatbin() cdef dict data = {} global __nvFatbinGetErrorString - data["__nvFatbinGetErrorString"] = <_cyb_intptr_t>__nvFatbinGetErrorString + data["__nvFatbinGetErrorString"] = __nvFatbinGetErrorString global __nvFatbinCreate - data["__nvFatbinCreate"] = <_cyb_intptr_t>__nvFatbinCreate + data["__nvFatbinCreate"] = __nvFatbinCreate global __nvFatbinDestroy - data["__nvFatbinDestroy"] = <_cyb_intptr_t>__nvFatbinDestroy + data["__nvFatbinDestroy"] = __nvFatbinDestroy global __nvFatbinAddPTX - data["__nvFatbinAddPTX"] = <_cyb_intptr_t>__nvFatbinAddPTX + data["__nvFatbinAddPTX"] = __nvFatbinAddPTX global __nvFatbinAddCubin - data["__nvFatbinAddCubin"] = <_cyb_intptr_t>__nvFatbinAddCubin + data["__nvFatbinAddCubin"] = __nvFatbinAddCubin global __nvFatbinAddLTOIR - data["__nvFatbinAddLTOIR"] = <_cyb_intptr_t>__nvFatbinAddLTOIR + data["__nvFatbinAddLTOIR"] = __nvFatbinAddLTOIR global __nvFatbinSize - data["__nvFatbinSize"] = <_cyb_intptr_t>__nvFatbinSize + data["__nvFatbinSize"] = __nvFatbinSize global __nvFatbinGet - data["__nvFatbinGet"] = <_cyb_intptr_t>__nvFatbinGet + data["__nvFatbinGet"] = __nvFatbinGet global __nvFatbinVersion - data["__nvFatbinVersion"] = <_cyb_intptr_t>__nvFatbinVersion + data["__nvFatbinVersion"] = __nvFatbinVersion global __nvFatbinAddIndex - data["__nvFatbinAddIndex"] = <_cyb_intptr_t>__nvFatbinAddIndex + data["__nvFatbinAddIndex"] = __nvFatbinAddIndex global __nvFatbinAddReloc - data["__nvFatbinAddReloc"] = <_cyb_intptr_t>__nvFatbinAddReloc + data["__nvFatbinAddReloc"] = __nvFatbinAddReloc global __nvFatbinAddTileIR - data["__nvFatbinAddTileIR"] = <_cyb_intptr_t>__nvFatbinAddTileIR + data["__nvFatbinAddTileIR"] = __nvFatbinAddTileIR _cyb_func_ptrs = data return data diff --git a/cuda_bindings/cuda/bindings/_internal/nvfatbin_windows.pyx b/cuda_bindings/cuda/bindings/_internal/nvfatbin_windows.pyx index 69d1417e8b5..272cc3b0fbf 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvfatbin_windows.pyx +++ b/cuda_bindings/cuda/bindings/_internal/nvfatbin_windows.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.4.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=3b89f4c5e0a102d65950a485dab14517cb67887864d22152311d76341701e667 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=5af6a32f057cc5814e89a97c876285101fa636ac38928e7d11b7ada35db98a91 # <<<< PREAMBLE CONTENT >>>> @@ -44,7 +44,10 @@ cdef extern from "": ctypedef void* HMODULE void* _cyb_GetProcAddress "GetProcAddress"(HMODULE, const char*) nogil -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport ( + intptr_t, + uintptr_t, +) import threading as _cyb_threading @@ -137,40 +140,40 @@ cpdef dict _inspect_function_pointers(): _check_or_init_nvfatbin() cdef dict data = {} global __nvFatbinGetErrorString - data["__nvFatbinGetErrorString"] = <_cyb_intptr_t>__nvFatbinGetErrorString + data["__nvFatbinGetErrorString"] = __nvFatbinGetErrorString global __nvFatbinCreate - data["__nvFatbinCreate"] = <_cyb_intptr_t>__nvFatbinCreate + data["__nvFatbinCreate"] = __nvFatbinCreate global __nvFatbinDestroy - data["__nvFatbinDestroy"] = <_cyb_intptr_t>__nvFatbinDestroy + data["__nvFatbinDestroy"] = __nvFatbinDestroy global __nvFatbinAddPTX - data["__nvFatbinAddPTX"] = <_cyb_intptr_t>__nvFatbinAddPTX + data["__nvFatbinAddPTX"] = __nvFatbinAddPTX global __nvFatbinAddCubin - data["__nvFatbinAddCubin"] = <_cyb_intptr_t>__nvFatbinAddCubin + data["__nvFatbinAddCubin"] = __nvFatbinAddCubin global __nvFatbinAddLTOIR - data["__nvFatbinAddLTOIR"] = <_cyb_intptr_t>__nvFatbinAddLTOIR + data["__nvFatbinAddLTOIR"] = __nvFatbinAddLTOIR global __nvFatbinSize - data["__nvFatbinSize"] = <_cyb_intptr_t>__nvFatbinSize + data["__nvFatbinSize"] = __nvFatbinSize global __nvFatbinGet - data["__nvFatbinGet"] = <_cyb_intptr_t>__nvFatbinGet + data["__nvFatbinGet"] = __nvFatbinGet global __nvFatbinVersion - data["__nvFatbinVersion"] = <_cyb_intptr_t>__nvFatbinVersion + data["__nvFatbinVersion"] = __nvFatbinVersion global __nvFatbinAddIndex - data["__nvFatbinAddIndex"] = <_cyb_intptr_t>__nvFatbinAddIndex + data["__nvFatbinAddIndex"] = __nvFatbinAddIndex global __nvFatbinAddReloc - data["__nvFatbinAddReloc"] = <_cyb_intptr_t>__nvFatbinAddReloc + data["__nvFatbinAddReloc"] = __nvFatbinAddReloc global __nvFatbinAddTileIR - data["__nvFatbinAddTileIR"] = <_cyb_intptr_t>__nvFatbinAddTileIR + data["__nvFatbinAddTileIR"] = __nvFatbinAddTileIR _cyb_func_ptrs = data return data diff --git a/cuda_bindings/cuda/bindings/_internal/nvjitlink.pxd b/cuda_bindings/cuda/bindings/_internal/nvjitlink.pxd index edfe717e649..4a391792fd0 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvjitlink.pxd +++ b/cuda_bindings/cuda/bindings/_internal/nvjitlink.pxd @@ -3,8 +3,16 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=8bcbd5ba3e12e16d974e141ec43ddce440ac7c84e5aaa746607daa43557f54fb + + +# <<<< PREAMBLE CONTENT >>>> + +from libc.stdint cimport uint32_t + + +# <<<< END OF PREAMBLE CONTENT >>>> -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=fd32577c0d6b922ff30c56dc4f3dcbed2251c393098c27d972ccc8688564fa50 from ..cynvjitlink cimport * diff --git a/cuda_bindings/cuda/bindings/_internal/nvjitlink_linux.pyx b/cuda_bindings/cuda/bindings/_internal/nvjitlink_linux.pyx index 6c515c54d0f..1469d9ea9e9 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvjitlink_linux.pyx +++ b/cuda_bindings/cuda/bindings/_internal/nvjitlink_linux.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=11665992d7c94100ae00600171ac56e9e99ee0c2c43c1cb720b4df27602ca829 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=3088e90760487963484f2cb5230ddc1177d3a1b6d89213f9f368e8eec4a57eb8 # <<<< PREAMBLE CONTENT >>>> @@ -44,7 +44,10 @@ cdef extern from "": void* _cyb_dlsym "dlsym"(void*, const char*) nogil const void * _cyb_RTLD_DEFAULT "RTLD_DEFAULT" -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport ( + intptr_t, + uint32_t, +) import threading as _cyb_threading @@ -217,52 +220,52 @@ cpdef dict _inspect_function_pointers(): _check_or_init_nvjitlink() cdef dict data = {} global __nvJitLinkCreate - data["__nvJitLinkCreate"] = <_cyb_intptr_t>__nvJitLinkCreate + data["__nvJitLinkCreate"] = __nvJitLinkCreate global __nvJitLinkDestroy - data["__nvJitLinkDestroy"] = <_cyb_intptr_t>__nvJitLinkDestroy + data["__nvJitLinkDestroy"] = __nvJitLinkDestroy global __nvJitLinkAddData - data["__nvJitLinkAddData"] = <_cyb_intptr_t>__nvJitLinkAddData + data["__nvJitLinkAddData"] = __nvJitLinkAddData global __nvJitLinkAddFile - data["__nvJitLinkAddFile"] = <_cyb_intptr_t>__nvJitLinkAddFile + data["__nvJitLinkAddFile"] = __nvJitLinkAddFile global __nvJitLinkComplete - data["__nvJitLinkComplete"] = <_cyb_intptr_t>__nvJitLinkComplete + data["__nvJitLinkComplete"] = __nvJitLinkComplete global __nvJitLinkGetLinkedCubinSize - data["__nvJitLinkGetLinkedCubinSize"] = <_cyb_intptr_t>__nvJitLinkGetLinkedCubinSize + data["__nvJitLinkGetLinkedCubinSize"] = __nvJitLinkGetLinkedCubinSize global __nvJitLinkGetLinkedCubin - data["__nvJitLinkGetLinkedCubin"] = <_cyb_intptr_t>__nvJitLinkGetLinkedCubin + data["__nvJitLinkGetLinkedCubin"] = __nvJitLinkGetLinkedCubin global __nvJitLinkGetLinkedPtxSize - data["__nvJitLinkGetLinkedPtxSize"] = <_cyb_intptr_t>__nvJitLinkGetLinkedPtxSize + data["__nvJitLinkGetLinkedPtxSize"] = __nvJitLinkGetLinkedPtxSize global __nvJitLinkGetLinkedPtx - data["__nvJitLinkGetLinkedPtx"] = <_cyb_intptr_t>__nvJitLinkGetLinkedPtx + data["__nvJitLinkGetLinkedPtx"] = __nvJitLinkGetLinkedPtx global __nvJitLinkGetErrorLogSize - data["__nvJitLinkGetErrorLogSize"] = <_cyb_intptr_t>__nvJitLinkGetErrorLogSize + data["__nvJitLinkGetErrorLogSize"] = __nvJitLinkGetErrorLogSize global __nvJitLinkGetErrorLog - data["__nvJitLinkGetErrorLog"] = <_cyb_intptr_t>__nvJitLinkGetErrorLog + data["__nvJitLinkGetErrorLog"] = __nvJitLinkGetErrorLog global __nvJitLinkGetInfoLogSize - data["__nvJitLinkGetInfoLogSize"] = <_cyb_intptr_t>__nvJitLinkGetInfoLogSize + data["__nvJitLinkGetInfoLogSize"] = __nvJitLinkGetInfoLogSize global __nvJitLinkGetInfoLog - data["__nvJitLinkGetInfoLog"] = <_cyb_intptr_t>__nvJitLinkGetInfoLog + data["__nvJitLinkGetInfoLog"] = __nvJitLinkGetInfoLog global __nvJitLinkVersion - data["__nvJitLinkVersion"] = <_cyb_intptr_t>__nvJitLinkVersion + data["__nvJitLinkVersion"] = __nvJitLinkVersion global __nvJitLinkGetLinkedLTOIRSize - data["__nvJitLinkGetLinkedLTOIRSize"] = <_cyb_intptr_t>__nvJitLinkGetLinkedLTOIRSize + data["__nvJitLinkGetLinkedLTOIRSize"] = __nvJitLinkGetLinkedLTOIRSize global __nvJitLinkGetLinkedLTOIR - data["__nvJitLinkGetLinkedLTOIR"] = <_cyb_intptr_t>__nvJitLinkGetLinkedLTOIR + data["__nvJitLinkGetLinkedLTOIR"] = __nvJitLinkGetLinkedLTOIR _cyb_func_ptrs = data return data diff --git a/cuda_bindings/cuda/bindings/_internal/nvjitlink_windows.pyx b/cuda_bindings/cuda/bindings/_internal/nvjitlink_windows.pyx index 6c2ccbd0671..f6eb942a5dd 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvjitlink_windows.pyx +++ b/cuda_bindings/cuda/bindings/_internal/nvjitlink_windows.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=72ad04bbd206b13b7c53a4530a55f9c84369e5fcf1599164b18546e2176f16f8 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=50c5a9ae5e2cdd364766f02b98517d019e582ea862643113d20416393e76dfe6 # <<<< PREAMBLE CONTENT >>>> @@ -44,7 +44,11 @@ cdef extern from "": ctypedef void* HMODULE void* _cyb_GetProcAddress "GetProcAddress"(HMODULE, const char*) nogil -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport ( + intptr_t, + uint32_t, + uintptr_t, +) import threading as _cyb_threading @@ -153,52 +157,52 @@ cpdef dict _inspect_function_pointers(): _check_or_init_nvjitlink() cdef dict data = {} global __nvJitLinkCreate - data["__nvJitLinkCreate"] = <_cyb_intptr_t>__nvJitLinkCreate + data["__nvJitLinkCreate"] = __nvJitLinkCreate global __nvJitLinkDestroy - data["__nvJitLinkDestroy"] = <_cyb_intptr_t>__nvJitLinkDestroy + data["__nvJitLinkDestroy"] = __nvJitLinkDestroy global __nvJitLinkAddData - data["__nvJitLinkAddData"] = <_cyb_intptr_t>__nvJitLinkAddData + data["__nvJitLinkAddData"] = __nvJitLinkAddData global __nvJitLinkAddFile - data["__nvJitLinkAddFile"] = <_cyb_intptr_t>__nvJitLinkAddFile + data["__nvJitLinkAddFile"] = __nvJitLinkAddFile global __nvJitLinkComplete - data["__nvJitLinkComplete"] = <_cyb_intptr_t>__nvJitLinkComplete + data["__nvJitLinkComplete"] = __nvJitLinkComplete global __nvJitLinkGetLinkedCubinSize - data["__nvJitLinkGetLinkedCubinSize"] = <_cyb_intptr_t>__nvJitLinkGetLinkedCubinSize + data["__nvJitLinkGetLinkedCubinSize"] = __nvJitLinkGetLinkedCubinSize global __nvJitLinkGetLinkedCubin - data["__nvJitLinkGetLinkedCubin"] = <_cyb_intptr_t>__nvJitLinkGetLinkedCubin + data["__nvJitLinkGetLinkedCubin"] = __nvJitLinkGetLinkedCubin global __nvJitLinkGetLinkedPtxSize - data["__nvJitLinkGetLinkedPtxSize"] = <_cyb_intptr_t>__nvJitLinkGetLinkedPtxSize + data["__nvJitLinkGetLinkedPtxSize"] = __nvJitLinkGetLinkedPtxSize global __nvJitLinkGetLinkedPtx - data["__nvJitLinkGetLinkedPtx"] = <_cyb_intptr_t>__nvJitLinkGetLinkedPtx + data["__nvJitLinkGetLinkedPtx"] = __nvJitLinkGetLinkedPtx global __nvJitLinkGetErrorLogSize - data["__nvJitLinkGetErrorLogSize"] = <_cyb_intptr_t>__nvJitLinkGetErrorLogSize + data["__nvJitLinkGetErrorLogSize"] = __nvJitLinkGetErrorLogSize global __nvJitLinkGetErrorLog - data["__nvJitLinkGetErrorLog"] = <_cyb_intptr_t>__nvJitLinkGetErrorLog + data["__nvJitLinkGetErrorLog"] = __nvJitLinkGetErrorLog global __nvJitLinkGetInfoLogSize - data["__nvJitLinkGetInfoLogSize"] = <_cyb_intptr_t>__nvJitLinkGetInfoLogSize + data["__nvJitLinkGetInfoLogSize"] = __nvJitLinkGetInfoLogSize global __nvJitLinkGetInfoLog - data["__nvJitLinkGetInfoLog"] = <_cyb_intptr_t>__nvJitLinkGetInfoLog + data["__nvJitLinkGetInfoLog"] = __nvJitLinkGetInfoLog global __nvJitLinkVersion - data["__nvJitLinkVersion"] = <_cyb_intptr_t>__nvJitLinkVersion + data["__nvJitLinkVersion"] = __nvJitLinkVersion global __nvJitLinkGetLinkedLTOIRSize - data["__nvJitLinkGetLinkedLTOIRSize"] = <_cyb_intptr_t>__nvJitLinkGetLinkedLTOIRSize + data["__nvJitLinkGetLinkedLTOIRSize"] = __nvJitLinkGetLinkedLTOIRSize global __nvJitLinkGetLinkedLTOIR - data["__nvJitLinkGetLinkedLTOIR"] = <_cyb_intptr_t>__nvJitLinkGetLinkedLTOIR + data["__nvJitLinkGetLinkedLTOIR"] = __nvJitLinkGetLinkedLTOIR _cyb_func_ptrs = data return data diff --git a/cuda_bindings/cuda/bindings/_internal/nvml.pxd b/cuda_bindings/cuda/bindings/_internal/nvml.pxd index eea80739f07..272a77d24db 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvml.pxd +++ b/cuda_bindings/cuda/bindings/_internal/nvml.pxd @@ -4,7 +4,7 @@ # # This code was automatically generated across versions from 12.9.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=ed4c433854399c2e4f1adc3ffcfc37901e1be29c5aa50728498c87225edf92b1 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=c2cc3cd086b5aeea5fad7ca17600d0102691a3cb354b916f5c086c383d77df19 from ..cynvml cimport * @@ -363,3 +363,7 @@ cdef nvmlReturn_t _nvmlDeviceGetVgpuSchedulerLog_v2(nvmlDevice_t device, nvmlVgp cdef nvmlReturn_t _nvmlGpuInstanceGetVgpuSchedulerLog_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil cdef nvmlReturn_t _nvmlDeviceSetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil +cdef nvmlReturn_t _nvmlSystemGetCPER_v1(nvmlGetCPER_v1_t* cper) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil +cdef nvmlReturn_t _nvmlDeviceGetBBXTimeData_v1(nvmlDevice_t device, nvmlBBXTimeData_v1_t* timeData) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil +cdef nvmlReturn_t _nvmlDeviceGetAccountingStats_v2(nvmlDevice_t device, nvmlAccountingStats_v2_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil +cdef nvmlReturn_t _nvmlDeviceGetRemappedRows_v2(nvmlDevice_t device, nvmlRemappedRowsInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil diff --git a/cuda_bindings/cuda/bindings/_internal/nvml_linux.pyx b/cuda_bindings/cuda/bindings/_internal/nvml_linux.pyx index d2882b251b0..3ac1218e8c3 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvml_linux.pyx +++ b/cuda_bindings/cuda/bindings/_internal/nvml_linux.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=646d902675de6987cff08e5702d3b2bff889e6a827273e57413aa5de45a5897a +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=0f1c15a761a6c0fbd8dd543ce35fa436cc64eadee9d7018f9eca3869d2ead415 # <<<< PREAMBLE CONTENT >>>> @@ -44,7 +44,7 @@ cdef extern from "": void* _cyb_dlsym "dlsym"(void*, const char*) nogil const void * _cyb_RTLD_DEFAULT "RTLD_DEFAULT" -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport intptr_t import threading as _cyb_threading @@ -415,6 +415,10 @@ cdef void* __nvmlDeviceGetVgpuSchedulerLog_v2 = NULL cdef void* __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = NULL cdef void* __nvmlDeviceSetVgpuSchedulerState_v2 = NULL cdef void* __nvmlGpuInstanceSetVgpuSchedulerState_v2 = NULL +cdef void* __nvmlSystemGetCPER_v1 = NULL +cdef void* __nvmlDeviceGetBBXTimeData_v1 = NULL +cdef void* __nvmlDeviceGetAccountingStats_v2 = NULL +cdef void* __nvmlDeviceGetRemappedRows_v2 = NULL cdef int _init_nvml() except -1 nogil: global _cyb___py_nvml_init @@ -2879,6 +2883,34 @@ cdef int _init_nvml() except -1 nogil: handle = load_library() __nvmlGpuInstanceSetVgpuSchedulerState_v2 = _cyb_dlsym(handle, 'nvmlGpuInstanceSetVgpuSchedulerState_v2') + global __nvmlSystemGetCPER_v1 + __nvmlSystemGetCPER_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlSystemGetCPER_v1') + if __nvmlSystemGetCPER_v1 == NULL: + if handle == NULL: + handle = load_library() + __nvmlSystemGetCPER_v1 = _cyb_dlsym(handle, 'nvmlSystemGetCPER_v1') + + global __nvmlDeviceGetBBXTimeData_v1 + __nvmlDeviceGetBBXTimeData_v1 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetBBXTimeData_v1') + if __nvmlDeviceGetBBXTimeData_v1 == NULL: + if handle == NULL: + handle = load_library() + __nvmlDeviceGetBBXTimeData_v1 = _cyb_dlsym(handle, 'nvmlDeviceGetBBXTimeData_v1') + + global __nvmlDeviceGetAccountingStats_v2 + __nvmlDeviceGetAccountingStats_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetAccountingStats_v2') + if __nvmlDeviceGetAccountingStats_v2 == NULL: + if handle == NULL: + handle = load_library() + __nvmlDeviceGetAccountingStats_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetAccountingStats_v2') + + global __nvmlDeviceGetRemappedRows_v2 + __nvmlDeviceGetRemappedRows_v2 = _cyb_dlsym(_cyb_RTLD_DEFAULT, 'nvmlDeviceGetRemappedRows_v2') + if __nvmlDeviceGetRemappedRows_v2 == NULL: + if handle == NULL: + handle = load_library() + __nvmlDeviceGetRemappedRows_v2 = _cyb_dlsym(handle, 'nvmlDeviceGetRemappedRows_v2') + _cyb_atomic_int_store(&_cyb___py_nvml_init, 1) return 0 @@ -2897,1057 +2929,1069 @@ cpdef dict _inspect_function_pointers(): _check_or_init_nvml() cdef dict data = {} global __nvmlInit_v2 - data["__nvmlInit_v2"] = <_cyb_intptr_t>__nvmlInit_v2 + data["__nvmlInit_v2"] = __nvmlInit_v2 global __nvmlInitWithFlags - data["__nvmlInitWithFlags"] = <_cyb_intptr_t>__nvmlInitWithFlags + data["__nvmlInitWithFlags"] = __nvmlInitWithFlags global __nvmlShutdown - data["__nvmlShutdown"] = <_cyb_intptr_t>__nvmlShutdown + data["__nvmlShutdown"] = __nvmlShutdown global __nvmlErrorString - data["__nvmlErrorString"] = <_cyb_intptr_t>__nvmlErrorString + data["__nvmlErrorString"] = __nvmlErrorString global __nvmlSystemGetDriverVersion - data["__nvmlSystemGetDriverVersion"] = <_cyb_intptr_t>__nvmlSystemGetDriverVersion + data["__nvmlSystemGetDriverVersion"] = __nvmlSystemGetDriverVersion global __nvmlSystemGetNVMLVersion - data["__nvmlSystemGetNVMLVersion"] = <_cyb_intptr_t>__nvmlSystemGetNVMLVersion + data["__nvmlSystemGetNVMLVersion"] = __nvmlSystemGetNVMLVersion global __nvmlSystemGetCudaDriverVersion - data["__nvmlSystemGetCudaDriverVersion"] = <_cyb_intptr_t>__nvmlSystemGetCudaDriverVersion + data["__nvmlSystemGetCudaDriverVersion"] = __nvmlSystemGetCudaDriverVersion global __nvmlSystemGetCudaDriverVersion_v2 - data["__nvmlSystemGetCudaDriverVersion_v2"] = <_cyb_intptr_t>__nvmlSystemGetCudaDriverVersion_v2 + data["__nvmlSystemGetCudaDriverVersion_v2"] = __nvmlSystemGetCudaDriverVersion_v2 global __nvmlSystemGetProcessName - data["__nvmlSystemGetProcessName"] = <_cyb_intptr_t>__nvmlSystemGetProcessName + data["__nvmlSystemGetProcessName"] = __nvmlSystemGetProcessName global __nvmlSystemGetHicVersion - data["__nvmlSystemGetHicVersion"] = <_cyb_intptr_t>__nvmlSystemGetHicVersion + data["__nvmlSystemGetHicVersion"] = __nvmlSystemGetHicVersion global __nvmlSystemGetTopologyGpuSet - data["__nvmlSystemGetTopologyGpuSet"] = <_cyb_intptr_t>__nvmlSystemGetTopologyGpuSet + data["__nvmlSystemGetTopologyGpuSet"] = __nvmlSystemGetTopologyGpuSet global __nvmlSystemGetDriverBranch - data["__nvmlSystemGetDriverBranch"] = <_cyb_intptr_t>__nvmlSystemGetDriverBranch + data["__nvmlSystemGetDriverBranch"] = __nvmlSystemGetDriverBranch global __nvmlUnitGetCount - data["__nvmlUnitGetCount"] = <_cyb_intptr_t>__nvmlUnitGetCount + data["__nvmlUnitGetCount"] = __nvmlUnitGetCount global __nvmlUnitGetHandleByIndex - data["__nvmlUnitGetHandleByIndex"] = <_cyb_intptr_t>__nvmlUnitGetHandleByIndex + data["__nvmlUnitGetHandleByIndex"] = __nvmlUnitGetHandleByIndex global __nvmlUnitGetUnitInfo - data["__nvmlUnitGetUnitInfo"] = <_cyb_intptr_t>__nvmlUnitGetUnitInfo + data["__nvmlUnitGetUnitInfo"] = __nvmlUnitGetUnitInfo global __nvmlUnitGetLedState - data["__nvmlUnitGetLedState"] = <_cyb_intptr_t>__nvmlUnitGetLedState + data["__nvmlUnitGetLedState"] = __nvmlUnitGetLedState global __nvmlUnitGetPsuInfo - data["__nvmlUnitGetPsuInfo"] = <_cyb_intptr_t>__nvmlUnitGetPsuInfo + data["__nvmlUnitGetPsuInfo"] = __nvmlUnitGetPsuInfo global __nvmlUnitGetTemperature - data["__nvmlUnitGetTemperature"] = <_cyb_intptr_t>__nvmlUnitGetTemperature + data["__nvmlUnitGetTemperature"] = __nvmlUnitGetTemperature global __nvmlUnitGetFanSpeedInfo - data["__nvmlUnitGetFanSpeedInfo"] = <_cyb_intptr_t>__nvmlUnitGetFanSpeedInfo + data["__nvmlUnitGetFanSpeedInfo"] = __nvmlUnitGetFanSpeedInfo global __nvmlUnitGetDevices - data["__nvmlUnitGetDevices"] = <_cyb_intptr_t>__nvmlUnitGetDevices + data["__nvmlUnitGetDevices"] = __nvmlUnitGetDevices global __nvmlDeviceGetCount_v2 - data["__nvmlDeviceGetCount_v2"] = <_cyb_intptr_t>__nvmlDeviceGetCount_v2 + data["__nvmlDeviceGetCount_v2"] = __nvmlDeviceGetCount_v2 global __nvmlDeviceGetAttributes_v2 - data["__nvmlDeviceGetAttributes_v2"] = <_cyb_intptr_t>__nvmlDeviceGetAttributes_v2 + data["__nvmlDeviceGetAttributes_v2"] = __nvmlDeviceGetAttributes_v2 global __nvmlDeviceGetHandleByIndex_v2 - data["__nvmlDeviceGetHandleByIndex_v2"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByIndex_v2 + data["__nvmlDeviceGetHandleByIndex_v2"] = __nvmlDeviceGetHandleByIndex_v2 global __nvmlDeviceGetHandleBySerial - data["__nvmlDeviceGetHandleBySerial"] = <_cyb_intptr_t>__nvmlDeviceGetHandleBySerial + data["__nvmlDeviceGetHandleBySerial"] = __nvmlDeviceGetHandleBySerial global __nvmlDeviceGetHandleByUUID - data["__nvmlDeviceGetHandleByUUID"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByUUID + data["__nvmlDeviceGetHandleByUUID"] = __nvmlDeviceGetHandleByUUID global __nvmlDeviceGetHandleByUUIDV - data["__nvmlDeviceGetHandleByUUIDV"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByUUIDV + data["__nvmlDeviceGetHandleByUUIDV"] = __nvmlDeviceGetHandleByUUIDV global __nvmlDeviceGetHandleByPciBusId_v2 - data["__nvmlDeviceGetHandleByPciBusId_v2"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByPciBusId_v2 + data["__nvmlDeviceGetHandleByPciBusId_v2"] = __nvmlDeviceGetHandleByPciBusId_v2 global __nvmlDeviceGetName - data["__nvmlDeviceGetName"] = <_cyb_intptr_t>__nvmlDeviceGetName + data["__nvmlDeviceGetName"] = __nvmlDeviceGetName global __nvmlDeviceGetBrand - data["__nvmlDeviceGetBrand"] = <_cyb_intptr_t>__nvmlDeviceGetBrand + data["__nvmlDeviceGetBrand"] = __nvmlDeviceGetBrand global __nvmlDeviceGetIndex - data["__nvmlDeviceGetIndex"] = <_cyb_intptr_t>__nvmlDeviceGetIndex + data["__nvmlDeviceGetIndex"] = __nvmlDeviceGetIndex global __nvmlDeviceGetSerial - data["__nvmlDeviceGetSerial"] = <_cyb_intptr_t>__nvmlDeviceGetSerial + data["__nvmlDeviceGetSerial"] = __nvmlDeviceGetSerial global __nvmlDeviceGetModuleId - data["__nvmlDeviceGetModuleId"] = <_cyb_intptr_t>__nvmlDeviceGetModuleId + data["__nvmlDeviceGetModuleId"] = __nvmlDeviceGetModuleId global __nvmlDeviceGetC2cModeInfoV - data["__nvmlDeviceGetC2cModeInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetC2cModeInfoV + data["__nvmlDeviceGetC2cModeInfoV"] = __nvmlDeviceGetC2cModeInfoV global __nvmlDeviceGetMemoryAffinity - data["__nvmlDeviceGetMemoryAffinity"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryAffinity + data["__nvmlDeviceGetMemoryAffinity"] = __nvmlDeviceGetMemoryAffinity global __nvmlDeviceGetCpuAffinityWithinScope - data["__nvmlDeviceGetCpuAffinityWithinScope"] = <_cyb_intptr_t>__nvmlDeviceGetCpuAffinityWithinScope + data["__nvmlDeviceGetCpuAffinityWithinScope"] = __nvmlDeviceGetCpuAffinityWithinScope global __nvmlDeviceGetCpuAffinity - data["__nvmlDeviceGetCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceGetCpuAffinity + data["__nvmlDeviceGetCpuAffinity"] = __nvmlDeviceGetCpuAffinity global __nvmlDeviceSetCpuAffinity - data["__nvmlDeviceSetCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceSetCpuAffinity + data["__nvmlDeviceSetCpuAffinity"] = __nvmlDeviceSetCpuAffinity global __nvmlDeviceClearCpuAffinity - data["__nvmlDeviceClearCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceClearCpuAffinity + data["__nvmlDeviceClearCpuAffinity"] = __nvmlDeviceClearCpuAffinity global __nvmlDeviceGetNumaNodeId - data["__nvmlDeviceGetNumaNodeId"] = <_cyb_intptr_t>__nvmlDeviceGetNumaNodeId + data["__nvmlDeviceGetNumaNodeId"] = __nvmlDeviceGetNumaNodeId global __nvmlDeviceGetTopologyCommonAncestor - data["__nvmlDeviceGetTopologyCommonAncestor"] = <_cyb_intptr_t>__nvmlDeviceGetTopologyCommonAncestor + data["__nvmlDeviceGetTopologyCommonAncestor"] = __nvmlDeviceGetTopologyCommonAncestor global __nvmlDeviceGetTopologyNearestGpus - data["__nvmlDeviceGetTopologyNearestGpus"] = <_cyb_intptr_t>__nvmlDeviceGetTopologyNearestGpus + data["__nvmlDeviceGetTopologyNearestGpus"] = __nvmlDeviceGetTopologyNearestGpus global __nvmlDeviceGetP2PStatus - data["__nvmlDeviceGetP2PStatus"] = <_cyb_intptr_t>__nvmlDeviceGetP2PStatus + data["__nvmlDeviceGetP2PStatus"] = __nvmlDeviceGetP2PStatus global __nvmlDeviceGetUUID - data["__nvmlDeviceGetUUID"] = <_cyb_intptr_t>__nvmlDeviceGetUUID + data["__nvmlDeviceGetUUID"] = __nvmlDeviceGetUUID global __nvmlDeviceGetMinorNumber - data["__nvmlDeviceGetMinorNumber"] = <_cyb_intptr_t>__nvmlDeviceGetMinorNumber + data["__nvmlDeviceGetMinorNumber"] = __nvmlDeviceGetMinorNumber global __nvmlDeviceGetBoardPartNumber - data["__nvmlDeviceGetBoardPartNumber"] = <_cyb_intptr_t>__nvmlDeviceGetBoardPartNumber + data["__nvmlDeviceGetBoardPartNumber"] = __nvmlDeviceGetBoardPartNumber global __nvmlDeviceGetInforomVersion - data["__nvmlDeviceGetInforomVersion"] = <_cyb_intptr_t>__nvmlDeviceGetInforomVersion + data["__nvmlDeviceGetInforomVersion"] = __nvmlDeviceGetInforomVersion global __nvmlDeviceGetInforomImageVersion - data["__nvmlDeviceGetInforomImageVersion"] = <_cyb_intptr_t>__nvmlDeviceGetInforomImageVersion + data["__nvmlDeviceGetInforomImageVersion"] = __nvmlDeviceGetInforomImageVersion global __nvmlDeviceGetInforomConfigurationChecksum - data["__nvmlDeviceGetInforomConfigurationChecksum"] = <_cyb_intptr_t>__nvmlDeviceGetInforomConfigurationChecksum + data["__nvmlDeviceGetInforomConfigurationChecksum"] = __nvmlDeviceGetInforomConfigurationChecksum global __nvmlDeviceValidateInforom - data["__nvmlDeviceValidateInforom"] = <_cyb_intptr_t>__nvmlDeviceValidateInforom + data["__nvmlDeviceValidateInforom"] = __nvmlDeviceValidateInforom global __nvmlDeviceGetLastBBXFlushTime - data["__nvmlDeviceGetLastBBXFlushTime"] = <_cyb_intptr_t>__nvmlDeviceGetLastBBXFlushTime + data["__nvmlDeviceGetLastBBXFlushTime"] = __nvmlDeviceGetLastBBXFlushTime global __nvmlDeviceGetDisplayMode - data["__nvmlDeviceGetDisplayMode"] = <_cyb_intptr_t>__nvmlDeviceGetDisplayMode + data["__nvmlDeviceGetDisplayMode"] = __nvmlDeviceGetDisplayMode global __nvmlDeviceGetDisplayActive - data["__nvmlDeviceGetDisplayActive"] = <_cyb_intptr_t>__nvmlDeviceGetDisplayActive + data["__nvmlDeviceGetDisplayActive"] = __nvmlDeviceGetDisplayActive global __nvmlDeviceGetPersistenceMode - data["__nvmlDeviceGetPersistenceMode"] = <_cyb_intptr_t>__nvmlDeviceGetPersistenceMode + data["__nvmlDeviceGetPersistenceMode"] = __nvmlDeviceGetPersistenceMode global __nvmlDeviceGetPciInfoExt - data["__nvmlDeviceGetPciInfoExt"] = <_cyb_intptr_t>__nvmlDeviceGetPciInfoExt + data["__nvmlDeviceGetPciInfoExt"] = __nvmlDeviceGetPciInfoExt global __nvmlDeviceGetPciInfo_v3 - data["__nvmlDeviceGetPciInfo_v3"] = <_cyb_intptr_t>__nvmlDeviceGetPciInfo_v3 + data["__nvmlDeviceGetPciInfo_v3"] = __nvmlDeviceGetPciInfo_v3 global __nvmlDeviceGetMaxPcieLinkGeneration - data["__nvmlDeviceGetMaxPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetMaxPcieLinkGeneration + data["__nvmlDeviceGetMaxPcieLinkGeneration"] = __nvmlDeviceGetMaxPcieLinkGeneration global __nvmlDeviceGetGpuMaxPcieLinkGeneration - data["__nvmlDeviceGetGpuMaxPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetGpuMaxPcieLinkGeneration + data["__nvmlDeviceGetGpuMaxPcieLinkGeneration"] = __nvmlDeviceGetGpuMaxPcieLinkGeneration global __nvmlDeviceGetMaxPcieLinkWidth - data["__nvmlDeviceGetMaxPcieLinkWidth"] = <_cyb_intptr_t>__nvmlDeviceGetMaxPcieLinkWidth + data["__nvmlDeviceGetMaxPcieLinkWidth"] = __nvmlDeviceGetMaxPcieLinkWidth global __nvmlDeviceGetCurrPcieLinkGeneration - data["__nvmlDeviceGetCurrPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetCurrPcieLinkGeneration + data["__nvmlDeviceGetCurrPcieLinkGeneration"] = __nvmlDeviceGetCurrPcieLinkGeneration global __nvmlDeviceGetCurrPcieLinkWidth - data["__nvmlDeviceGetCurrPcieLinkWidth"] = <_cyb_intptr_t>__nvmlDeviceGetCurrPcieLinkWidth + data["__nvmlDeviceGetCurrPcieLinkWidth"] = __nvmlDeviceGetCurrPcieLinkWidth global __nvmlDeviceGetPcieThroughput - data["__nvmlDeviceGetPcieThroughput"] = <_cyb_intptr_t>__nvmlDeviceGetPcieThroughput + data["__nvmlDeviceGetPcieThroughput"] = __nvmlDeviceGetPcieThroughput global __nvmlDeviceGetPcieReplayCounter - data["__nvmlDeviceGetPcieReplayCounter"] = <_cyb_intptr_t>__nvmlDeviceGetPcieReplayCounter + data["__nvmlDeviceGetPcieReplayCounter"] = __nvmlDeviceGetPcieReplayCounter global __nvmlDeviceGetClockInfo - data["__nvmlDeviceGetClockInfo"] = <_cyb_intptr_t>__nvmlDeviceGetClockInfo + data["__nvmlDeviceGetClockInfo"] = __nvmlDeviceGetClockInfo global __nvmlDeviceGetMaxClockInfo - data["__nvmlDeviceGetMaxClockInfo"] = <_cyb_intptr_t>__nvmlDeviceGetMaxClockInfo + data["__nvmlDeviceGetMaxClockInfo"] = __nvmlDeviceGetMaxClockInfo global __nvmlDeviceGetGpcClkVfOffset - data["__nvmlDeviceGetGpcClkVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetGpcClkVfOffset + data["__nvmlDeviceGetGpcClkVfOffset"] = __nvmlDeviceGetGpcClkVfOffset global __nvmlDeviceGetClock - data["__nvmlDeviceGetClock"] = <_cyb_intptr_t>__nvmlDeviceGetClock + data["__nvmlDeviceGetClock"] = __nvmlDeviceGetClock global __nvmlDeviceGetMaxCustomerBoostClock - data["__nvmlDeviceGetMaxCustomerBoostClock"] = <_cyb_intptr_t>__nvmlDeviceGetMaxCustomerBoostClock + data["__nvmlDeviceGetMaxCustomerBoostClock"] = __nvmlDeviceGetMaxCustomerBoostClock global __nvmlDeviceGetSupportedMemoryClocks - data["__nvmlDeviceGetSupportedMemoryClocks"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedMemoryClocks + data["__nvmlDeviceGetSupportedMemoryClocks"] = __nvmlDeviceGetSupportedMemoryClocks global __nvmlDeviceGetSupportedGraphicsClocks - data["__nvmlDeviceGetSupportedGraphicsClocks"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedGraphicsClocks + data["__nvmlDeviceGetSupportedGraphicsClocks"] = __nvmlDeviceGetSupportedGraphicsClocks global __nvmlDeviceGetAutoBoostedClocksEnabled - data["__nvmlDeviceGetAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceGetAutoBoostedClocksEnabled + data["__nvmlDeviceGetAutoBoostedClocksEnabled"] = __nvmlDeviceGetAutoBoostedClocksEnabled global __nvmlDeviceGetFanSpeed - data["__nvmlDeviceGetFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeed + data["__nvmlDeviceGetFanSpeed"] = __nvmlDeviceGetFanSpeed global __nvmlDeviceGetFanSpeed_v2 - data["__nvmlDeviceGetFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeed_v2 + data["__nvmlDeviceGetFanSpeed_v2"] = __nvmlDeviceGetFanSpeed_v2 global __nvmlDeviceGetFanSpeedRPM - data["__nvmlDeviceGetFanSpeedRPM"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeedRPM + data["__nvmlDeviceGetFanSpeedRPM"] = __nvmlDeviceGetFanSpeedRPM global __nvmlDeviceGetTargetFanSpeed - data["__nvmlDeviceGetTargetFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetTargetFanSpeed + data["__nvmlDeviceGetTargetFanSpeed"] = __nvmlDeviceGetTargetFanSpeed global __nvmlDeviceGetMinMaxFanSpeed - data["__nvmlDeviceGetMinMaxFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetMinMaxFanSpeed + data["__nvmlDeviceGetMinMaxFanSpeed"] = __nvmlDeviceGetMinMaxFanSpeed global __nvmlDeviceGetFanControlPolicy_v2 - data["__nvmlDeviceGetFanControlPolicy_v2"] = <_cyb_intptr_t>__nvmlDeviceGetFanControlPolicy_v2 + data["__nvmlDeviceGetFanControlPolicy_v2"] = __nvmlDeviceGetFanControlPolicy_v2 global __nvmlDeviceGetNumFans - data["__nvmlDeviceGetNumFans"] = <_cyb_intptr_t>__nvmlDeviceGetNumFans + data["__nvmlDeviceGetNumFans"] = __nvmlDeviceGetNumFans global __nvmlDeviceGetCoolerInfo - data["__nvmlDeviceGetCoolerInfo"] = <_cyb_intptr_t>__nvmlDeviceGetCoolerInfo + data["__nvmlDeviceGetCoolerInfo"] = __nvmlDeviceGetCoolerInfo global __nvmlDeviceGetTemperatureV - data["__nvmlDeviceGetTemperatureV"] = <_cyb_intptr_t>__nvmlDeviceGetTemperatureV + data["__nvmlDeviceGetTemperatureV"] = __nvmlDeviceGetTemperatureV global __nvmlDeviceGetTemperatureThreshold - data["__nvmlDeviceGetTemperatureThreshold"] = <_cyb_intptr_t>__nvmlDeviceGetTemperatureThreshold + data["__nvmlDeviceGetTemperatureThreshold"] = __nvmlDeviceGetTemperatureThreshold global __nvmlDeviceGetMarginTemperature - data["__nvmlDeviceGetMarginTemperature"] = <_cyb_intptr_t>__nvmlDeviceGetMarginTemperature + data["__nvmlDeviceGetMarginTemperature"] = __nvmlDeviceGetMarginTemperature global __nvmlDeviceGetThermalSettings - data["__nvmlDeviceGetThermalSettings"] = <_cyb_intptr_t>__nvmlDeviceGetThermalSettings + data["__nvmlDeviceGetThermalSettings"] = __nvmlDeviceGetThermalSettings global __nvmlDeviceGetPerformanceState - data["__nvmlDeviceGetPerformanceState"] = <_cyb_intptr_t>__nvmlDeviceGetPerformanceState + data["__nvmlDeviceGetPerformanceState"] = __nvmlDeviceGetPerformanceState global __nvmlDeviceGetCurrentClocksEventReasons - data["__nvmlDeviceGetCurrentClocksEventReasons"] = <_cyb_intptr_t>__nvmlDeviceGetCurrentClocksEventReasons + data["__nvmlDeviceGetCurrentClocksEventReasons"] = __nvmlDeviceGetCurrentClocksEventReasons global __nvmlDeviceGetSupportedClocksEventReasons - data["__nvmlDeviceGetSupportedClocksEventReasons"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedClocksEventReasons + data["__nvmlDeviceGetSupportedClocksEventReasons"] = __nvmlDeviceGetSupportedClocksEventReasons global __nvmlDeviceGetPowerState - data["__nvmlDeviceGetPowerState"] = <_cyb_intptr_t>__nvmlDeviceGetPowerState + data["__nvmlDeviceGetPowerState"] = __nvmlDeviceGetPowerState global __nvmlDeviceGetDynamicPstatesInfo - data["__nvmlDeviceGetDynamicPstatesInfo"] = <_cyb_intptr_t>__nvmlDeviceGetDynamicPstatesInfo + data["__nvmlDeviceGetDynamicPstatesInfo"] = __nvmlDeviceGetDynamicPstatesInfo global __nvmlDeviceGetMemClkVfOffset - data["__nvmlDeviceGetMemClkVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetMemClkVfOffset + data["__nvmlDeviceGetMemClkVfOffset"] = __nvmlDeviceGetMemClkVfOffset global __nvmlDeviceGetMinMaxClockOfPState - data["__nvmlDeviceGetMinMaxClockOfPState"] = <_cyb_intptr_t>__nvmlDeviceGetMinMaxClockOfPState + data["__nvmlDeviceGetMinMaxClockOfPState"] = __nvmlDeviceGetMinMaxClockOfPState global __nvmlDeviceGetSupportedPerformanceStates - data["__nvmlDeviceGetSupportedPerformanceStates"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedPerformanceStates + data["__nvmlDeviceGetSupportedPerformanceStates"] = __nvmlDeviceGetSupportedPerformanceStates global __nvmlDeviceGetGpcClkMinMaxVfOffset - data["__nvmlDeviceGetGpcClkMinMaxVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetGpcClkMinMaxVfOffset + data["__nvmlDeviceGetGpcClkMinMaxVfOffset"] = __nvmlDeviceGetGpcClkMinMaxVfOffset global __nvmlDeviceGetMemClkMinMaxVfOffset - data["__nvmlDeviceGetMemClkMinMaxVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetMemClkMinMaxVfOffset + data["__nvmlDeviceGetMemClkMinMaxVfOffset"] = __nvmlDeviceGetMemClkMinMaxVfOffset global __nvmlDeviceGetClockOffsets - data["__nvmlDeviceGetClockOffsets"] = <_cyb_intptr_t>__nvmlDeviceGetClockOffsets + data["__nvmlDeviceGetClockOffsets"] = __nvmlDeviceGetClockOffsets global __nvmlDeviceSetClockOffsets - data["__nvmlDeviceSetClockOffsets"] = <_cyb_intptr_t>__nvmlDeviceSetClockOffsets + data["__nvmlDeviceSetClockOffsets"] = __nvmlDeviceSetClockOffsets global __nvmlDeviceGetPerformanceModes - data["__nvmlDeviceGetPerformanceModes"] = <_cyb_intptr_t>__nvmlDeviceGetPerformanceModes + data["__nvmlDeviceGetPerformanceModes"] = __nvmlDeviceGetPerformanceModes global __nvmlDeviceGetCurrentClockFreqs - data["__nvmlDeviceGetCurrentClockFreqs"] = <_cyb_intptr_t>__nvmlDeviceGetCurrentClockFreqs + data["__nvmlDeviceGetCurrentClockFreqs"] = __nvmlDeviceGetCurrentClockFreqs global __nvmlDeviceGetPowerManagementLimit - data["__nvmlDeviceGetPowerManagementLimit"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementLimit + data["__nvmlDeviceGetPowerManagementLimit"] = __nvmlDeviceGetPowerManagementLimit global __nvmlDeviceGetPowerManagementLimitConstraints - data["__nvmlDeviceGetPowerManagementLimitConstraints"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementLimitConstraints + data["__nvmlDeviceGetPowerManagementLimitConstraints"] = __nvmlDeviceGetPowerManagementLimitConstraints global __nvmlDeviceGetPowerManagementDefaultLimit - data["__nvmlDeviceGetPowerManagementDefaultLimit"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementDefaultLimit + data["__nvmlDeviceGetPowerManagementDefaultLimit"] = __nvmlDeviceGetPowerManagementDefaultLimit global __nvmlDeviceGetPowerUsage - data["__nvmlDeviceGetPowerUsage"] = <_cyb_intptr_t>__nvmlDeviceGetPowerUsage + data["__nvmlDeviceGetPowerUsage"] = __nvmlDeviceGetPowerUsage global __nvmlDeviceGetTotalEnergyConsumption - data["__nvmlDeviceGetTotalEnergyConsumption"] = <_cyb_intptr_t>__nvmlDeviceGetTotalEnergyConsumption + data["__nvmlDeviceGetTotalEnergyConsumption"] = __nvmlDeviceGetTotalEnergyConsumption global __nvmlDeviceGetEnforcedPowerLimit - data["__nvmlDeviceGetEnforcedPowerLimit"] = <_cyb_intptr_t>__nvmlDeviceGetEnforcedPowerLimit + data["__nvmlDeviceGetEnforcedPowerLimit"] = __nvmlDeviceGetEnforcedPowerLimit global __nvmlDeviceGetGpuOperationMode - data["__nvmlDeviceGetGpuOperationMode"] = <_cyb_intptr_t>__nvmlDeviceGetGpuOperationMode + data["__nvmlDeviceGetGpuOperationMode"] = __nvmlDeviceGetGpuOperationMode global __nvmlDeviceGetMemoryInfo_v2 - data["__nvmlDeviceGetMemoryInfo_v2"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryInfo_v2 + data["__nvmlDeviceGetMemoryInfo_v2"] = __nvmlDeviceGetMemoryInfo_v2 global __nvmlDeviceGetComputeMode - data["__nvmlDeviceGetComputeMode"] = <_cyb_intptr_t>__nvmlDeviceGetComputeMode + data["__nvmlDeviceGetComputeMode"] = __nvmlDeviceGetComputeMode global __nvmlDeviceGetCudaComputeCapability - data["__nvmlDeviceGetCudaComputeCapability"] = <_cyb_intptr_t>__nvmlDeviceGetCudaComputeCapability + data["__nvmlDeviceGetCudaComputeCapability"] = __nvmlDeviceGetCudaComputeCapability global __nvmlDeviceGetDramEncryptionMode - data["__nvmlDeviceGetDramEncryptionMode"] = <_cyb_intptr_t>__nvmlDeviceGetDramEncryptionMode + data["__nvmlDeviceGetDramEncryptionMode"] = __nvmlDeviceGetDramEncryptionMode global __nvmlDeviceSetDramEncryptionMode - data["__nvmlDeviceSetDramEncryptionMode"] = <_cyb_intptr_t>__nvmlDeviceSetDramEncryptionMode + data["__nvmlDeviceSetDramEncryptionMode"] = __nvmlDeviceSetDramEncryptionMode global __nvmlDeviceGetEccMode - data["__nvmlDeviceGetEccMode"] = <_cyb_intptr_t>__nvmlDeviceGetEccMode + data["__nvmlDeviceGetEccMode"] = __nvmlDeviceGetEccMode global __nvmlDeviceGetDefaultEccMode - data["__nvmlDeviceGetDefaultEccMode"] = <_cyb_intptr_t>__nvmlDeviceGetDefaultEccMode + data["__nvmlDeviceGetDefaultEccMode"] = __nvmlDeviceGetDefaultEccMode global __nvmlDeviceGetBoardId - data["__nvmlDeviceGetBoardId"] = <_cyb_intptr_t>__nvmlDeviceGetBoardId + data["__nvmlDeviceGetBoardId"] = __nvmlDeviceGetBoardId global __nvmlDeviceGetMultiGpuBoard - data["__nvmlDeviceGetMultiGpuBoard"] = <_cyb_intptr_t>__nvmlDeviceGetMultiGpuBoard + data["__nvmlDeviceGetMultiGpuBoard"] = __nvmlDeviceGetMultiGpuBoard global __nvmlDeviceGetTotalEccErrors - data["__nvmlDeviceGetTotalEccErrors"] = <_cyb_intptr_t>__nvmlDeviceGetTotalEccErrors + data["__nvmlDeviceGetTotalEccErrors"] = __nvmlDeviceGetTotalEccErrors global __nvmlDeviceGetMemoryErrorCounter - data["__nvmlDeviceGetMemoryErrorCounter"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryErrorCounter + data["__nvmlDeviceGetMemoryErrorCounter"] = __nvmlDeviceGetMemoryErrorCounter global __nvmlDeviceGetUtilizationRates - data["__nvmlDeviceGetUtilizationRates"] = <_cyb_intptr_t>__nvmlDeviceGetUtilizationRates + data["__nvmlDeviceGetUtilizationRates"] = __nvmlDeviceGetUtilizationRates global __nvmlDeviceGetEncoderUtilization - data["__nvmlDeviceGetEncoderUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderUtilization + data["__nvmlDeviceGetEncoderUtilization"] = __nvmlDeviceGetEncoderUtilization global __nvmlDeviceGetEncoderCapacity - data["__nvmlDeviceGetEncoderCapacity"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderCapacity + data["__nvmlDeviceGetEncoderCapacity"] = __nvmlDeviceGetEncoderCapacity global __nvmlDeviceGetEncoderStats - data["__nvmlDeviceGetEncoderStats"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderStats + data["__nvmlDeviceGetEncoderStats"] = __nvmlDeviceGetEncoderStats global __nvmlDeviceGetEncoderSessions - data["__nvmlDeviceGetEncoderSessions"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderSessions + data["__nvmlDeviceGetEncoderSessions"] = __nvmlDeviceGetEncoderSessions global __nvmlDeviceGetDecoderUtilization - data["__nvmlDeviceGetDecoderUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetDecoderUtilization + data["__nvmlDeviceGetDecoderUtilization"] = __nvmlDeviceGetDecoderUtilization global __nvmlDeviceGetJpgUtilization - data["__nvmlDeviceGetJpgUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetJpgUtilization + data["__nvmlDeviceGetJpgUtilization"] = __nvmlDeviceGetJpgUtilization global __nvmlDeviceGetOfaUtilization - data["__nvmlDeviceGetOfaUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetOfaUtilization + data["__nvmlDeviceGetOfaUtilization"] = __nvmlDeviceGetOfaUtilization global __nvmlDeviceGetFBCStats - data["__nvmlDeviceGetFBCStats"] = <_cyb_intptr_t>__nvmlDeviceGetFBCStats + data["__nvmlDeviceGetFBCStats"] = __nvmlDeviceGetFBCStats global __nvmlDeviceGetFBCSessions - data["__nvmlDeviceGetFBCSessions"] = <_cyb_intptr_t>__nvmlDeviceGetFBCSessions + data["__nvmlDeviceGetFBCSessions"] = __nvmlDeviceGetFBCSessions global __nvmlDeviceGetDriverModel_v2 - data["__nvmlDeviceGetDriverModel_v2"] = <_cyb_intptr_t>__nvmlDeviceGetDriverModel_v2 + data["__nvmlDeviceGetDriverModel_v2"] = __nvmlDeviceGetDriverModel_v2 global __nvmlDeviceGetVbiosVersion - data["__nvmlDeviceGetVbiosVersion"] = <_cyb_intptr_t>__nvmlDeviceGetVbiosVersion + data["__nvmlDeviceGetVbiosVersion"] = __nvmlDeviceGetVbiosVersion global __nvmlDeviceGetBridgeChipInfo - data["__nvmlDeviceGetBridgeChipInfo"] = <_cyb_intptr_t>__nvmlDeviceGetBridgeChipInfo + data["__nvmlDeviceGetBridgeChipInfo"] = __nvmlDeviceGetBridgeChipInfo global __nvmlDeviceGetComputeRunningProcesses_v3 - data["__nvmlDeviceGetComputeRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetComputeRunningProcesses_v3 + data["__nvmlDeviceGetComputeRunningProcesses_v3"] = __nvmlDeviceGetComputeRunningProcesses_v3 global __nvmlDeviceGetGraphicsRunningProcesses_v3 - data["__nvmlDeviceGetGraphicsRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetGraphicsRunningProcesses_v3 + data["__nvmlDeviceGetGraphicsRunningProcesses_v3"] = __nvmlDeviceGetGraphicsRunningProcesses_v3 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 - data["__nvmlDeviceGetMPSComputeRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetMPSComputeRunningProcesses_v3 + data["__nvmlDeviceGetMPSComputeRunningProcesses_v3"] = __nvmlDeviceGetMPSComputeRunningProcesses_v3 global __nvmlDeviceGetRunningProcessDetailList - data["__nvmlDeviceGetRunningProcessDetailList"] = <_cyb_intptr_t>__nvmlDeviceGetRunningProcessDetailList + data["__nvmlDeviceGetRunningProcessDetailList"] = __nvmlDeviceGetRunningProcessDetailList global __nvmlDeviceOnSameBoard - data["__nvmlDeviceOnSameBoard"] = <_cyb_intptr_t>__nvmlDeviceOnSameBoard + data["__nvmlDeviceOnSameBoard"] = __nvmlDeviceOnSameBoard global __nvmlDeviceGetAPIRestriction - data["__nvmlDeviceGetAPIRestriction"] = <_cyb_intptr_t>__nvmlDeviceGetAPIRestriction + data["__nvmlDeviceGetAPIRestriction"] = __nvmlDeviceGetAPIRestriction global __nvmlDeviceGetSamples - data["__nvmlDeviceGetSamples"] = <_cyb_intptr_t>__nvmlDeviceGetSamples + data["__nvmlDeviceGetSamples"] = __nvmlDeviceGetSamples global __nvmlDeviceGetBAR1MemoryInfo - data["__nvmlDeviceGetBAR1MemoryInfo"] = <_cyb_intptr_t>__nvmlDeviceGetBAR1MemoryInfo + data["__nvmlDeviceGetBAR1MemoryInfo"] = __nvmlDeviceGetBAR1MemoryInfo global __nvmlDeviceGetIrqNum - data["__nvmlDeviceGetIrqNum"] = <_cyb_intptr_t>__nvmlDeviceGetIrqNum + data["__nvmlDeviceGetIrqNum"] = __nvmlDeviceGetIrqNum global __nvmlDeviceGetNumGpuCores - data["__nvmlDeviceGetNumGpuCores"] = <_cyb_intptr_t>__nvmlDeviceGetNumGpuCores + data["__nvmlDeviceGetNumGpuCores"] = __nvmlDeviceGetNumGpuCores global __nvmlDeviceGetPowerSource - data["__nvmlDeviceGetPowerSource"] = <_cyb_intptr_t>__nvmlDeviceGetPowerSource + data["__nvmlDeviceGetPowerSource"] = __nvmlDeviceGetPowerSource global __nvmlDeviceGetMemoryBusWidth - data["__nvmlDeviceGetMemoryBusWidth"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryBusWidth + data["__nvmlDeviceGetMemoryBusWidth"] = __nvmlDeviceGetMemoryBusWidth global __nvmlDeviceGetPcieLinkMaxSpeed - data["__nvmlDeviceGetPcieLinkMaxSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetPcieLinkMaxSpeed + data["__nvmlDeviceGetPcieLinkMaxSpeed"] = __nvmlDeviceGetPcieLinkMaxSpeed global __nvmlDeviceGetPcieSpeed - data["__nvmlDeviceGetPcieSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetPcieSpeed + data["__nvmlDeviceGetPcieSpeed"] = __nvmlDeviceGetPcieSpeed global __nvmlDeviceGetAdaptiveClockInfoStatus - data["__nvmlDeviceGetAdaptiveClockInfoStatus"] = <_cyb_intptr_t>__nvmlDeviceGetAdaptiveClockInfoStatus + data["__nvmlDeviceGetAdaptiveClockInfoStatus"] = __nvmlDeviceGetAdaptiveClockInfoStatus global __nvmlDeviceGetBusType - data["__nvmlDeviceGetBusType"] = <_cyb_intptr_t>__nvmlDeviceGetBusType + data["__nvmlDeviceGetBusType"] = __nvmlDeviceGetBusType global __nvmlDeviceGetGpuFabricInfoV - data["__nvmlDeviceGetGpuFabricInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuFabricInfoV + data["__nvmlDeviceGetGpuFabricInfoV"] = __nvmlDeviceGetGpuFabricInfoV global __nvmlSystemGetConfComputeCapabilities - data["__nvmlSystemGetConfComputeCapabilities"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeCapabilities + data["__nvmlSystemGetConfComputeCapabilities"] = __nvmlSystemGetConfComputeCapabilities global __nvmlSystemGetConfComputeState - data["__nvmlSystemGetConfComputeState"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeState + data["__nvmlSystemGetConfComputeState"] = __nvmlSystemGetConfComputeState global __nvmlDeviceGetConfComputeMemSizeInfo - data["__nvmlDeviceGetConfComputeMemSizeInfo"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeMemSizeInfo + data["__nvmlDeviceGetConfComputeMemSizeInfo"] = __nvmlDeviceGetConfComputeMemSizeInfo global __nvmlSystemGetConfComputeGpusReadyState - data["__nvmlSystemGetConfComputeGpusReadyState"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeGpusReadyState + data["__nvmlSystemGetConfComputeGpusReadyState"] = __nvmlSystemGetConfComputeGpusReadyState global __nvmlDeviceGetConfComputeProtectedMemoryUsage - data["__nvmlDeviceGetConfComputeProtectedMemoryUsage"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeProtectedMemoryUsage + data["__nvmlDeviceGetConfComputeProtectedMemoryUsage"] = __nvmlDeviceGetConfComputeProtectedMemoryUsage global __nvmlDeviceGetConfComputeGpuCertificate - data["__nvmlDeviceGetConfComputeGpuCertificate"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeGpuCertificate + data["__nvmlDeviceGetConfComputeGpuCertificate"] = __nvmlDeviceGetConfComputeGpuCertificate global __nvmlDeviceGetConfComputeGpuAttestationReport - data["__nvmlDeviceGetConfComputeGpuAttestationReport"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeGpuAttestationReport + data["__nvmlDeviceGetConfComputeGpuAttestationReport"] = __nvmlDeviceGetConfComputeGpuAttestationReport global __nvmlSystemGetConfComputeKeyRotationThresholdInfo - data["__nvmlSystemGetConfComputeKeyRotationThresholdInfo"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeKeyRotationThresholdInfo + data["__nvmlSystemGetConfComputeKeyRotationThresholdInfo"] = __nvmlSystemGetConfComputeKeyRotationThresholdInfo global __nvmlDeviceSetConfComputeUnprotectedMemSize - data["__nvmlDeviceSetConfComputeUnprotectedMemSize"] = <_cyb_intptr_t>__nvmlDeviceSetConfComputeUnprotectedMemSize + data["__nvmlDeviceSetConfComputeUnprotectedMemSize"] = __nvmlDeviceSetConfComputeUnprotectedMemSize global __nvmlSystemSetConfComputeGpusReadyState - data["__nvmlSystemSetConfComputeGpusReadyState"] = <_cyb_intptr_t>__nvmlSystemSetConfComputeGpusReadyState + data["__nvmlSystemSetConfComputeGpusReadyState"] = __nvmlSystemSetConfComputeGpusReadyState global __nvmlSystemSetConfComputeKeyRotationThresholdInfo - data["__nvmlSystemSetConfComputeKeyRotationThresholdInfo"] = <_cyb_intptr_t>__nvmlSystemSetConfComputeKeyRotationThresholdInfo + data["__nvmlSystemSetConfComputeKeyRotationThresholdInfo"] = __nvmlSystemSetConfComputeKeyRotationThresholdInfo global __nvmlSystemGetConfComputeSettings - data["__nvmlSystemGetConfComputeSettings"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeSettings + data["__nvmlSystemGetConfComputeSettings"] = __nvmlSystemGetConfComputeSettings global __nvmlDeviceGetGspFirmwareVersion - data["__nvmlDeviceGetGspFirmwareVersion"] = <_cyb_intptr_t>__nvmlDeviceGetGspFirmwareVersion + data["__nvmlDeviceGetGspFirmwareVersion"] = __nvmlDeviceGetGspFirmwareVersion global __nvmlDeviceGetGspFirmwareMode - data["__nvmlDeviceGetGspFirmwareMode"] = <_cyb_intptr_t>__nvmlDeviceGetGspFirmwareMode + data["__nvmlDeviceGetGspFirmwareMode"] = __nvmlDeviceGetGspFirmwareMode global __nvmlDeviceGetSramEccErrorStatus - data["__nvmlDeviceGetSramEccErrorStatus"] = <_cyb_intptr_t>__nvmlDeviceGetSramEccErrorStatus + data["__nvmlDeviceGetSramEccErrorStatus"] = __nvmlDeviceGetSramEccErrorStatus global __nvmlDeviceGetAccountingMode - data["__nvmlDeviceGetAccountingMode"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingMode + data["__nvmlDeviceGetAccountingMode"] = __nvmlDeviceGetAccountingMode global __nvmlDeviceGetAccountingStats - data["__nvmlDeviceGetAccountingStats"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingStats + data["__nvmlDeviceGetAccountingStats"] = __nvmlDeviceGetAccountingStats global __nvmlDeviceGetAccountingPids - data["__nvmlDeviceGetAccountingPids"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingPids + data["__nvmlDeviceGetAccountingPids"] = __nvmlDeviceGetAccountingPids global __nvmlDeviceGetAccountingBufferSize - data["__nvmlDeviceGetAccountingBufferSize"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingBufferSize + data["__nvmlDeviceGetAccountingBufferSize"] = __nvmlDeviceGetAccountingBufferSize global __nvmlDeviceGetRetiredPages - data["__nvmlDeviceGetRetiredPages"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPages + data["__nvmlDeviceGetRetiredPages"] = __nvmlDeviceGetRetiredPages global __nvmlDeviceGetRetiredPages_v2 - data["__nvmlDeviceGetRetiredPages_v2"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPages_v2 + data["__nvmlDeviceGetRetiredPages_v2"] = __nvmlDeviceGetRetiredPages_v2 global __nvmlDeviceGetRetiredPagesPendingStatus - data["__nvmlDeviceGetRetiredPagesPendingStatus"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPagesPendingStatus + data["__nvmlDeviceGetRetiredPagesPendingStatus"] = __nvmlDeviceGetRetiredPagesPendingStatus global __nvmlDeviceGetRemappedRows - data["__nvmlDeviceGetRemappedRows"] = <_cyb_intptr_t>__nvmlDeviceGetRemappedRows + data["__nvmlDeviceGetRemappedRows"] = __nvmlDeviceGetRemappedRows global __nvmlDeviceGetRowRemapperHistogram - data["__nvmlDeviceGetRowRemapperHistogram"] = <_cyb_intptr_t>__nvmlDeviceGetRowRemapperHistogram + data["__nvmlDeviceGetRowRemapperHistogram"] = __nvmlDeviceGetRowRemapperHistogram global __nvmlDeviceGetArchitecture - data["__nvmlDeviceGetArchitecture"] = <_cyb_intptr_t>__nvmlDeviceGetArchitecture + data["__nvmlDeviceGetArchitecture"] = __nvmlDeviceGetArchitecture global __nvmlDeviceGetClkMonStatus - data["__nvmlDeviceGetClkMonStatus"] = <_cyb_intptr_t>__nvmlDeviceGetClkMonStatus + data["__nvmlDeviceGetClkMonStatus"] = __nvmlDeviceGetClkMonStatus global __nvmlDeviceGetProcessUtilization - data["__nvmlDeviceGetProcessUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetProcessUtilization + data["__nvmlDeviceGetProcessUtilization"] = __nvmlDeviceGetProcessUtilization global __nvmlDeviceGetProcessesUtilizationInfo - data["__nvmlDeviceGetProcessesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetProcessesUtilizationInfo + data["__nvmlDeviceGetProcessesUtilizationInfo"] = __nvmlDeviceGetProcessesUtilizationInfo global __nvmlDeviceGetPlatformInfo - data["__nvmlDeviceGetPlatformInfo"] = <_cyb_intptr_t>__nvmlDeviceGetPlatformInfo + data["__nvmlDeviceGetPlatformInfo"] = __nvmlDeviceGetPlatformInfo global __nvmlUnitSetLedState - data["__nvmlUnitSetLedState"] = <_cyb_intptr_t>__nvmlUnitSetLedState + data["__nvmlUnitSetLedState"] = __nvmlUnitSetLedState global __nvmlDeviceSetPersistenceMode - data["__nvmlDeviceSetPersistenceMode"] = <_cyb_intptr_t>__nvmlDeviceSetPersistenceMode + data["__nvmlDeviceSetPersistenceMode"] = __nvmlDeviceSetPersistenceMode global __nvmlDeviceSetComputeMode - data["__nvmlDeviceSetComputeMode"] = <_cyb_intptr_t>__nvmlDeviceSetComputeMode + data["__nvmlDeviceSetComputeMode"] = __nvmlDeviceSetComputeMode global __nvmlDeviceSetEccMode - data["__nvmlDeviceSetEccMode"] = <_cyb_intptr_t>__nvmlDeviceSetEccMode + data["__nvmlDeviceSetEccMode"] = __nvmlDeviceSetEccMode global __nvmlDeviceClearEccErrorCounts - data["__nvmlDeviceClearEccErrorCounts"] = <_cyb_intptr_t>__nvmlDeviceClearEccErrorCounts + data["__nvmlDeviceClearEccErrorCounts"] = __nvmlDeviceClearEccErrorCounts global __nvmlDeviceSetDriverModel - data["__nvmlDeviceSetDriverModel"] = <_cyb_intptr_t>__nvmlDeviceSetDriverModel + data["__nvmlDeviceSetDriverModel"] = __nvmlDeviceSetDriverModel global __nvmlDeviceSetGpuLockedClocks - data["__nvmlDeviceSetGpuLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceSetGpuLockedClocks + data["__nvmlDeviceSetGpuLockedClocks"] = __nvmlDeviceSetGpuLockedClocks global __nvmlDeviceResetGpuLockedClocks - data["__nvmlDeviceResetGpuLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceResetGpuLockedClocks + data["__nvmlDeviceResetGpuLockedClocks"] = __nvmlDeviceResetGpuLockedClocks global __nvmlDeviceSetMemoryLockedClocks - data["__nvmlDeviceSetMemoryLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceSetMemoryLockedClocks + data["__nvmlDeviceSetMemoryLockedClocks"] = __nvmlDeviceSetMemoryLockedClocks global __nvmlDeviceResetMemoryLockedClocks - data["__nvmlDeviceResetMemoryLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceResetMemoryLockedClocks + data["__nvmlDeviceResetMemoryLockedClocks"] = __nvmlDeviceResetMemoryLockedClocks global __nvmlDeviceSetAutoBoostedClocksEnabled - data["__nvmlDeviceSetAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceSetAutoBoostedClocksEnabled + data["__nvmlDeviceSetAutoBoostedClocksEnabled"] = __nvmlDeviceSetAutoBoostedClocksEnabled global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled - data["__nvmlDeviceSetDefaultAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceSetDefaultAutoBoostedClocksEnabled + data["__nvmlDeviceSetDefaultAutoBoostedClocksEnabled"] = __nvmlDeviceSetDefaultAutoBoostedClocksEnabled global __nvmlDeviceSetDefaultFanSpeed_v2 - data["__nvmlDeviceSetDefaultFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceSetDefaultFanSpeed_v2 + data["__nvmlDeviceSetDefaultFanSpeed_v2"] = __nvmlDeviceSetDefaultFanSpeed_v2 global __nvmlDeviceSetFanControlPolicy - data["__nvmlDeviceSetFanControlPolicy"] = <_cyb_intptr_t>__nvmlDeviceSetFanControlPolicy + data["__nvmlDeviceSetFanControlPolicy"] = __nvmlDeviceSetFanControlPolicy global __nvmlDeviceSetTemperatureThreshold - data["__nvmlDeviceSetTemperatureThreshold"] = <_cyb_intptr_t>__nvmlDeviceSetTemperatureThreshold + data["__nvmlDeviceSetTemperatureThreshold"] = __nvmlDeviceSetTemperatureThreshold global __nvmlDeviceSetGpuOperationMode - data["__nvmlDeviceSetGpuOperationMode"] = <_cyb_intptr_t>__nvmlDeviceSetGpuOperationMode + data["__nvmlDeviceSetGpuOperationMode"] = __nvmlDeviceSetGpuOperationMode global __nvmlDeviceSetAPIRestriction - data["__nvmlDeviceSetAPIRestriction"] = <_cyb_intptr_t>__nvmlDeviceSetAPIRestriction + data["__nvmlDeviceSetAPIRestriction"] = __nvmlDeviceSetAPIRestriction global __nvmlDeviceSetFanSpeed_v2 - data["__nvmlDeviceSetFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceSetFanSpeed_v2 + data["__nvmlDeviceSetFanSpeed_v2"] = __nvmlDeviceSetFanSpeed_v2 global __nvmlDeviceSetAccountingMode - data["__nvmlDeviceSetAccountingMode"] = <_cyb_intptr_t>__nvmlDeviceSetAccountingMode + data["__nvmlDeviceSetAccountingMode"] = __nvmlDeviceSetAccountingMode global __nvmlDeviceClearAccountingPids - data["__nvmlDeviceClearAccountingPids"] = <_cyb_intptr_t>__nvmlDeviceClearAccountingPids + data["__nvmlDeviceClearAccountingPids"] = __nvmlDeviceClearAccountingPids global __nvmlDeviceSetPowerManagementLimit_v2 - data["__nvmlDeviceSetPowerManagementLimit_v2"] = <_cyb_intptr_t>__nvmlDeviceSetPowerManagementLimit_v2 + data["__nvmlDeviceSetPowerManagementLimit_v2"] = __nvmlDeviceSetPowerManagementLimit_v2 global __nvmlDeviceGetNvLinkState - data["__nvmlDeviceGetNvLinkState"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkState + data["__nvmlDeviceGetNvLinkState"] = __nvmlDeviceGetNvLinkState global __nvmlDeviceGetNvLinkVersion - data["__nvmlDeviceGetNvLinkVersion"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkVersion + data["__nvmlDeviceGetNvLinkVersion"] = __nvmlDeviceGetNvLinkVersion global __nvmlDeviceGetNvLinkCapability - data["__nvmlDeviceGetNvLinkCapability"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkCapability + data["__nvmlDeviceGetNvLinkCapability"] = __nvmlDeviceGetNvLinkCapability global __nvmlDeviceGetNvLinkRemotePciInfo_v2 - data["__nvmlDeviceGetNvLinkRemotePciInfo_v2"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkRemotePciInfo_v2 + data["__nvmlDeviceGetNvLinkRemotePciInfo_v2"] = __nvmlDeviceGetNvLinkRemotePciInfo_v2 global __nvmlDeviceGetNvLinkErrorCounter - data["__nvmlDeviceGetNvLinkErrorCounter"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkErrorCounter + data["__nvmlDeviceGetNvLinkErrorCounter"] = __nvmlDeviceGetNvLinkErrorCounter global __nvmlDeviceResetNvLinkErrorCounters - data["__nvmlDeviceResetNvLinkErrorCounters"] = <_cyb_intptr_t>__nvmlDeviceResetNvLinkErrorCounters + data["__nvmlDeviceResetNvLinkErrorCounters"] = __nvmlDeviceResetNvLinkErrorCounters global __nvmlDeviceGetNvLinkRemoteDeviceType - data["__nvmlDeviceGetNvLinkRemoteDeviceType"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkRemoteDeviceType + data["__nvmlDeviceGetNvLinkRemoteDeviceType"] = __nvmlDeviceGetNvLinkRemoteDeviceType global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold - data["__nvmlDeviceSetNvLinkDeviceLowPowerThreshold"] = <_cyb_intptr_t>__nvmlDeviceSetNvLinkDeviceLowPowerThreshold + data["__nvmlDeviceSetNvLinkDeviceLowPowerThreshold"] = __nvmlDeviceSetNvLinkDeviceLowPowerThreshold global __nvmlSystemSetNvlinkBwMode - data["__nvmlSystemSetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlSystemSetNvlinkBwMode + data["__nvmlSystemSetNvlinkBwMode"] = __nvmlSystemSetNvlinkBwMode global __nvmlSystemGetNvlinkBwMode - data["__nvmlSystemGetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlSystemGetNvlinkBwMode + data["__nvmlSystemGetNvlinkBwMode"] = __nvmlSystemGetNvlinkBwMode global __nvmlDeviceGetNvlinkSupportedBwModes - data["__nvmlDeviceGetNvlinkSupportedBwModes"] = <_cyb_intptr_t>__nvmlDeviceGetNvlinkSupportedBwModes + data["__nvmlDeviceGetNvlinkSupportedBwModes"] = __nvmlDeviceGetNvlinkSupportedBwModes global __nvmlDeviceGetNvlinkBwMode - data["__nvmlDeviceGetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlDeviceGetNvlinkBwMode + data["__nvmlDeviceGetNvlinkBwMode"] = __nvmlDeviceGetNvlinkBwMode global __nvmlDeviceSetNvlinkBwMode - data["__nvmlDeviceSetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlDeviceSetNvlinkBwMode + data["__nvmlDeviceSetNvlinkBwMode"] = __nvmlDeviceSetNvlinkBwMode global __nvmlEventSetCreate - data["__nvmlEventSetCreate"] = <_cyb_intptr_t>__nvmlEventSetCreate + data["__nvmlEventSetCreate"] = __nvmlEventSetCreate global __nvmlDeviceRegisterEvents - data["__nvmlDeviceRegisterEvents"] = <_cyb_intptr_t>__nvmlDeviceRegisterEvents + data["__nvmlDeviceRegisterEvents"] = __nvmlDeviceRegisterEvents global __nvmlDeviceGetSupportedEventTypes - data["__nvmlDeviceGetSupportedEventTypes"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedEventTypes + data["__nvmlDeviceGetSupportedEventTypes"] = __nvmlDeviceGetSupportedEventTypes global __nvmlEventSetWait_v2 - data["__nvmlEventSetWait_v2"] = <_cyb_intptr_t>__nvmlEventSetWait_v2 + data["__nvmlEventSetWait_v2"] = __nvmlEventSetWait_v2 global __nvmlEventSetFree - data["__nvmlEventSetFree"] = <_cyb_intptr_t>__nvmlEventSetFree + data["__nvmlEventSetFree"] = __nvmlEventSetFree global __nvmlSystemEventSetCreate - data["__nvmlSystemEventSetCreate"] = <_cyb_intptr_t>__nvmlSystemEventSetCreate + data["__nvmlSystemEventSetCreate"] = __nvmlSystemEventSetCreate global __nvmlSystemEventSetFree - data["__nvmlSystemEventSetFree"] = <_cyb_intptr_t>__nvmlSystemEventSetFree + data["__nvmlSystemEventSetFree"] = __nvmlSystemEventSetFree global __nvmlSystemRegisterEvents - data["__nvmlSystemRegisterEvents"] = <_cyb_intptr_t>__nvmlSystemRegisterEvents + data["__nvmlSystemRegisterEvents"] = __nvmlSystemRegisterEvents global __nvmlSystemEventSetWait - data["__nvmlSystemEventSetWait"] = <_cyb_intptr_t>__nvmlSystemEventSetWait + data["__nvmlSystemEventSetWait"] = __nvmlSystemEventSetWait global __nvmlDeviceModifyDrainState - data["__nvmlDeviceModifyDrainState"] = <_cyb_intptr_t>__nvmlDeviceModifyDrainState + data["__nvmlDeviceModifyDrainState"] = __nvmlDeviceModifyDrainState global __nvmlDeviceQueryDrainState - data["__nvmlDeviceQueryDrainState"] = <_cyb_intptr_t>__nvmlDeviceQueryDrainState + data["__nvmlDeviceQueryDrainState"] = __nvmlDeviceQueryDrainState global __nvmlDeviceRemoveGpu_v2 - data["__nvmlDeviceRemoveGpu_v2"] = <_cyb_intptr_t>__nvmlDeviceRemoveGpu_v2 + data["__nvmlDeviceRemoveGpu_v2"] = __nvmlDeviceRemoveGpu_v2 global __nvmlDeviceDiscoverGpus - data["__nvmlDeviceDiscoverGpus"] = <_cyb_intptr_t>__nvmlDeviceDiscoverGpus + data["__nvmlDeviceDiscoverGpus"] = __nvmlDeviceDiscoverGpus global __nvmlDeviceGetFieldValues - data["__nvmlDeviceGetFieldValues"] = <_cyb_intptr_t>__nvmlDeviceGetFieldValues + data["__nvmlDeviceGetFieldValues"] = __nvmlDeviceGetFieldValues global __nvmlDeviceClearFieldValues - data["__nvmlDeviceClearFieldValues"] = <_cyb_intptr_t>__nvmlDeviceClearFieldValues + data["__nvmlDeviceClearFieldValues"] = __nvmlDeviceClearFieldValues global __nvmlDeviceGetVirtualizationMode - data["__nvmlDeviceGetVirtualizationMode"] = <_cyb_intptr_t>__nvmlDeviceGetVirtualizationMode + data["__nvmlDeviceGetVirtualizationMode"] = __nvmlDeviceGetVirtualizationMode global __nvmlDeviceGetHostVgpuMode - data["__nvmlDeviceGetHostVgpuMode"] = <_cyb_intptr_t>__nvmlDeviceGetHostVgpuMode + data["__nvmlDeviceGetHostVgpuMode"] = __nvmlDeviceGetHostVgpuMode global __nvmlDeviceSetVirtualizationMode - data["__nvmlDeviceSetVirtualizationMode"] = <_cyb_intptr_t>__nvmlDeviceSetVirtualizationMode + data["__nvmlDeviceSetVirtualizationMode"] = __nvmlDeviceSetVirtualizationMode global __nvmlDeviceGetVgpuHeterogeneousMode - data["__nvmlDeviceGetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuHeterogeneousMode + data["__nvmlDeviceGetVgpuHeterogeneousMode"] = __nvmlDeviceGetVgpuHeterogeneousMode global __nvmlDeviceSetVgpuHeterogeneousMode - data["__nvmlDeviceSetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuHeterogeneousMode + data["__nvmlDeviceSetVgpuHeterogeneousMode"] = __nvmlDeviceSetVgpuHeterogeneousMode global __nvmlVgpuInstanceGetPlacementId - data["__nvmlVgpuInstanceGetPlacementId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetPlacementId + data["__nvmlVgpuInstanceGetPlacementId"] = __nvmlVgpuInstanceGetPlacementId global __nvmlDeviceGetVgpuTypeSupportedPlacements - data["__nvmlDeviceGetVgpuTypeSupportedPlacements"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuTypeSupportedPlacements + data["__nvmlDeviceGetVgpuTypeSupportedPlacements"] = __nvmlDeviceGetVgpuTypeSupportedPlacements global __nvmlDeviceGetVgpuTypeCreatablePlacements - data["__nvmlDeviceGetVgpuTypeCreatablePlacements"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuTypeCreatablePlacements + data["__nvmlDeviceGetVgpuTypeCreatablePlacements"] = __nvmlDeviceGetVgpuTypeCreatablePlacements global __nvmlVgpuTypeGetGspHeapSize - data["__nvmlVgpuTypeGetGspHeapSize"] = <_cyb_intptr_t>__nvmlVgpuTypeGetGspHeapSize + data["__nvmlVgpuTypeGetGspHeapSize"] = __nvmlVgpuTypeGetGspHeapSize global __nvmlVgpuTypeGetFbReservation - data["__nvmlVgpuTypeGetFbReservation"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFbReservation + data["__nvmlVgpuTypeGetFbReservation"] = __nvmlVgpuTypeGetFbReservation global __nvmlVgpuInstanceGetRuntimeStateSize - data["__nvmlVgpuInstanceGetRuntimeStateSize"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetRuntimeStateSize + data["__nvmlVgpuInstanceGetRuntimeStateSize"] = __nvmlVgpuInstanceGetRuntimeStateSize global __nvmlDeviceSetVgpuCapabilities - data["__nvmlDeviceSetVgpuCapabilities"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuCapabilities + data["__nvmlDeviceSetVgpuCapabilities"] = __nvmlDeviceSetVgpuCapabilities global __nvmlDeviceGetGridLicensableFeatures_v4 - data["__nvmlDeviceGetGridLicensableFeatures_v4"] = <_cyb_intptr_t>__nvmlDeviceGetGridLicensableFeatures_v4 + data["__nvmlDeviceGetGridLicensableFeatures_v4"] = __nvmlDeviceGetGridLicensableFeatures_v4 global __nvmlGetVgpuDriverCapabilities - data["__nvmlGetVgpuDriverCapabilities"] = <_cyb_intptr_t>__nvmlGetVgpuDriverCapabilities + data["__nvmlGetVgpuDriverCapabilities"] = __nvmlGetVgpuDriverCapabilities global __nvmlDeviceGetVgpuCapabilities - data["__nvmlDeviceGetVgpuCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuCapabilities + data["__nvmlDeviceGetVgpuCapabilities"] = __nvmlDeviceGetVgpuCapabilities global __nvmlDeviceGetSupportedVgpus - data["__nvmlDeviceGetSupportedVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedVgpus + data["__nvmlDeviceGetSupportedVgpus"] = __nvmlDeviceGetSupportedVgpus global __nvmlDeviceGetCreatableVgpus - data["__nvmlDeviceGetCreatableVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetCreatableVgpus + data["__nvmlDeviceGetCreatableVgpus"] = __nvmlDeviceGetCreatableVgpus global __nvmlVgpuTypeGetClass - data["__nvmlVgpuTypeGetClass"] = <_cyb_intptr_t>__nvmlVgpuTypeGetClass + data["__nvmlVgpuTypeGetClass"] = __nvmlVgpuTypeGetClass global __nvmlVgpuTypeGetName - data["__nvmlVgpuTypeGetName"] = <_cyb_intptr_t>__nvmlVgpuTypeGetName + data["__nvmlVgpuTypeGetName"] = __nvmlVgpuTypeGetName global __nvmlVgpuTypeGetGpuInstanceProfileId - data["__nvmlVgpuTypeGetGpuInstanceProfileId"] = <_cyb_intptr_t>__nvmlVgpuTypeGetGpuInstanceProfileId + data["__nvmlVgpuTypeGetGpuInstanceProfileId"] = __nvmlVgpuTypeGetGpuInstanceProfileId global __nvmlVgpuTypeGetDeviceID - data["__nvmlVgpuTypeGetDeviceID"] = <_cyb_intptr_t>__nvmlVgpuTypeGetDeviceID + data["__nvmlVgpuTypeGetDeviceID"] = __nvmlVgpuTypeGetDeviceID global __nvmlVgpuTypeGetFramebufferSize - data["__nvmlVgpuTypeGetFramebufferSize"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFramebufferSize + data["__nvmlVgpuTypeGetFramebufferSize"] = __nvmlVgpuTypeGetFramebufferSize global __nvmlVgpuTypeGetNumDisplayHeads - data["__nvmlVgpuTypeGetNumDisplayHeads"] = <_cyb_intptr_t>__nvmlVgpuTypeGetNumDisplayHeads + data["__nvmlVgpuTypeGetNumDisplayHeads"] = __nvmlVgpuTypeGetNumDisplayHeads global __nvmlVgpuTypeGetResolution - data["__nvmlVgpuTypeGetResolution"] = <_cyb_intptr_t>__nvmlVgpuTypeGetResolution + data["__nvmlVgpuTypeGetResolution"] = __nvmlVgpuTypeGetResolution global __nvmlVgpuTypeGetLicense - data["__nvmlVgpuTypeGetLicense"] = <_cyb_intptr_t>__nvmlVgpuTypeGetLicense + data["__nvmlVgpuTypeGetLicense"] = __nvmlVgpuTypeGetLicense global __nvmlVgpuTypeGetFrameRateLimit - data["__nvmlVgpuTypeGetFrameRateLimit"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFrameRateLimit + data["__nvmlVgpuTypeGetFrameRateLimit"] = __nvmlVgpuTypeGetFrameRateLimit global __nvmlVgpuTypeGetMaxInstances - data["__nvmlVgpuTypeGetMaxInstances"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstances + data["__nvmlVgpuTypeGetMaxInstances"] = __nvmlVgpuTypeGetMaxInstances global __nvmlVgpuTypeGetMaxInstancesPerVm - data["__nvmlVgpuTypeGetMaxInstancesPerVm"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstancesPerVm + data["__nvmlVgpuTypeGetMaxInstancesPerVm"] = __nvmlVgpuTypeGetMaxInstancesPerVm global __nvmlVgpuTypeGetBAR1Info - data["__nvmlVgpuTypeGetBAR1Info"] = <_cyb_intptr_t>__nvmlVgpuTypeGetBAR1Info + data["__nvmlVgpuTypeGetBAR1Info"] = __nvmlVgpuTypeGetBAR1Info global __nvmlDeviceGetActiveVgpus - data["__nvmlDeviceGetActiveVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetActiveVgpus + data["__nvmlDeviceGetActiveVgpus"] = __nvmlDeviceGetActiveVgpus global __nvmlVgpuInstanceGetVmID - data["__nvmlVgpuInstanceGetVmID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetVmID + data["__nvmlVgpuInstanceGetVmID"] = __nvmlVgpuInstanceGetVmID global __nvmlVgpuInstanceGetUUID - data["__nvmlVgpuInstanceGetUUID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetUUID + data["__nvmlVgpuInstanceGetUUID"] = __nvmlVgpuInstanceGetUUID global __nvmlVgpuInstanceGetVmDriverVersion - data["__nvmlVgpuInstanceGetVmDriverVersion"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetVmDriverVersion + data["__nvmlVgpuInstanceGetVmDriverVersion"] = __nvmlVgpuInstanceGetVmDriverVersion global __nvmlVgpuInstanceGetFbUsage - data["__nvmlVgpuInstanceGetFbUsage"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFbUsage + data["__nvmlVgpuInstanceGetFbUsage"] = __nvmlVgpuInstanceGetFbUsage global __nvmlVgpuInstanceGetLicenseStatus - data["__nvmlVgpuInstanceGetLicenseStatus"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetLicenseStatus + data["__nvmlVgpuInstanceGetLicenseStatus"] = __nvmlVgpuInstanceGetLicenseStatus global __nvmlVgpuInstanceGetType - data["__nvmlVgpuInstanceGetType"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetType + data["__nvmlVgpuInstanceGetType"] = __nvmlVgpuInstanceGetType global __nvmlVgpuInstanceGetFrameRateLimit - data["__nvmlVgpuInstanceGetFrameRateLimit"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFrameRateLimit + data["__nvmlVgpuInstanceGetFrameRateLimit"] = __nvmlVgpuInstanceGetFrameRateLimit global __nvmlVgpuInstanceGetEccMode - data["__nvmlVgpuInstanceGetEccMode"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEccMode + data["__nvmlVgpuInstanceGetEccMode"] = __nvmlVgpuInstanceGetEccMode global __nvmlVgpuInstanceGetEncoderCapacity - data["__nvmlVgpuInstanceGetEncoderCapacity"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderCapacity + data["__nvmlVgpuInstanceGetEncoderCapacity"] = __nvmlVgpuInstanceGetEncoderCapacity global __nvmlVgpuInstanceSetEncoderCapacity - data["__nvmlVgpuInstanceSetEncoderCapacity"] = <_cyb_intptr_t>__nvmlVgpuInstanceSetEncoderCapacity + data["__nvmlVgpuInstanceSetEncoderCapacity"] = __nvmlVgpuInstanceSetEncoderCapacity global __nvmlVgpuInstanceGetEncoderStats - data["__nvmlVgpuInstanceGetEncoderStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderStats + data["__nvmlVgpuInstanceGetEncoderStats"] = __nvmlVgpuInstanceGetEncoderStats global __nvmlVgpuInstanceGetEncoderSessions - data["__nvmlVgpuInstanceGetEncoderSessions"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderSessions + data["__nvmlVgpuInstanceGetEncoderSessions"] = __nvmlVgpuInstanceGetEncoderSessions global __nvmlVgpuInstanceGetFBCStats - data["__nvmlVgpuInstanceGetFBCStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFBCStats + data["__nvmlVgpuInstanceGetFBCStats"] = __nvmlVgpuInstanceGetFBCStats global __nvmlVgpuInstanceGetFBCSessions - data["__nvmlVgpuInstanceGetFBCSessions"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFBCSessions + data["__nvmlVgpuInstanceGetFBCSessions"] = __nvmlVgpuInstanceGetFBCSessions global __nvmlVgpuInstanceGetGpuInstanceId - data["__nvmlVgpuInstanceGetGpuInstanceId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetGpuInstanceId + data["__nvmlVgpuInstanceGetGpuInstanceId"] = __nvmlVgpuInstanceGetGpuInstanceId global __nvmlVgpuInstanceGetGpuPciId - data["__nvmlVgpuInstanceGetGpuPciId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetGpuPciId + data["__nvmlVgpuInstanceGetGpuPciId"] = __nvmlVgpuInstanceGetGpuPciId global __nvmlVgpuTypeGetCapabilities - data["__nvmlVgpuTypeGetCapabilities"] = <_cyb_intptr_t>__nvmlVgpuTypeGetCapabilities + data["__nvmlVgpuTypeGetCapabilities"] = __nvmlVgpuTypeGetCapabilities global __nvmlVgpuInstanceGetMdevUUID - data["__nvmlVgpuInstanceGetMdevUUID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetMdevUUID + data["__nvmlVgpuInstanceGetMdevUUID"] = __nvmlVgpuInstanceGetMdevUUID global __nvmlGpuInstanceGetCreatableVgpus - data["__nvmlGpuInstanceGetCreatableVgpus"] = <_cyb_intptr_t>__nvmlGpuInstanceGetCreatableVgpus + data["__nvmlGpuInstanceGetCreatableVgpus"] = __nvmlGpuInstanceGetCreatableVgpus global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance - data["__nvmlVgpuTypeGetMaxInstancesPerGpuInstance"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstancesPerGpuInstance + data["__nvmlVgpuTypeGetMaxInstancesPerGpuInstance"] = __nvmlVgpuTypeGetMaxInstancesPerGpuInstance global __nvmlGpuInstanceGetActiveVgpus - data["__nvmlGpuInstanceGetActiveVgpus"] = <_cyb_intptr_t>__nvmlGpuInstanceGetActiveVgpus + data["__nvmlGpuInstanceGetActiveVgpus"] = __nvmlGpuInstanceGetActiveVgpus global __nvmlGpuInstanceSetVgpuSchedulerState - data["__nvmlGpuInstanceSetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuSchedulerState + data["__nvmlGpuInstanceSetVgpuSchedulerState"] = __nvmlGpuInstanceSetVgpuSchedulerState global __nvmlGpuInstanceGetVgpuSchedulerState - data["__nvmlGpuInstanceGetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerState + data["__nvmlGpuInstanceGetVgpuSchedulerState"] = __nvmlGpuInstanceGetVgpuSchedulerState global __nvmlGpuInstanceGetVgpuSchedulerLog - data["__nvmlGpuInstanceGetVgpuSchedulerLog"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerLog + data["__nvmlGpuInstanceGetVgpuSchedulerLog"] = __nvmlGpuInstanceGetVgpuSchedulerLog global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements - data["__nvmlGpuInstanceGetVgpuTypeCreatablePlacements"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuTypeCreatablePlacements + data["__nvmlGpuInstanceGetVgpuTypeCreatablePlacements"] = __nvmlGpuInstanceGetVgpuTypeCreatablePlacements global __nvmlGpuInstanceGetVgpuHeterogeneousMode - data["__nvmlGpuInstanceGetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuHeterogeneousMode + data["__nvmlGpuInstanceGetVgpuHeterogeneousMode"] = __nvmlGpuInstanceGetVgpuHeterogeneousMode global __nvmlGpuInstanceSetVgpuHeterogeneousMode - data["__nvmlGpuInstanceSetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuHeterogeneousMode + data["__nvmlGpuInstanceSetVgpuHeterogeneousMode"] = __nvmlGpuInstanceSetVgpuHeterogeneousMode global __nvmlVgpuInstanceGetMetadata - data["__nvmlVgpuInstanceGetMetadata"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetMetadata + data["__nvmlVgpuInstanceGetMetadata"] = __nvmlVgpuInstanceGetMetadata global __nvmlDeviceGetVgpuMetadata - data["__nvmlDeviceGetVgpuMetadata"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuMetadata + data["__nvmlDeviceGetVgpuMetadata"] = __nvmlDeviceGetVgpuMetadata global __nvmlGetVgpuCompatibility - data["__nvmlGetVgpuCompatibility"] = <_cyb_intptr_t>__nvmlGetVgpuCompatibility + data["__nvmlGetVgpuCompatibility"] = __nvmlGetVgpuCompatibility global __nvmlDeviceGetPgpuMetadataString - data["__nvmlDeviceGetPgpuMetadataString"] = <_cyb_intptr_t>__nvmlDeviceGetPgpuMetadataString + data["__nvmlDeviceGetPgpuMetadataString"] = __nvmlDeviceGetPgpuMetadataString global __nvmlDeviceGetVgpuSchedulerLog - data["__nvmlDeviceGetVgpuSchedulerLog"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerLog + data["__nvmlDeviceGetVgpuSchedulerLog"] = __nvmlDeviceGetVgpuSchedulerLog global __nvmlDeviceGetVgpuSchedulerState - data["__nvmlDeviceGetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerState + data["__nvmlDeviceGetVgpuSchedulerState"] = __nvmlDeviceGetVgpuSchedulerState global __nvmlDeviceGetVgpuSchedulerCapabilities - data["__nvmlDeviceGetVgpuSchedulerCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerCapabilities + data["__nvmlDeviceGetVgpuSchedulerCapabilities"] = __nvmlDeviceGetVgpuSchedulerCapabilities global __nvmlDeviceSetVgpuSchedulerState - data["__nvmlDeviceSetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuSchedulerState + data["__nvmlDeviceSetVgpuSchedulerState"] = __nvmlDeviceSetVgpuSchedulerState global __nvmlGetVgpuVersion - data["__nvmlGetVgpuVersion"] = <_cyb_intptr_t>__nvmlGetVgpuVersion + data["__nvmlGetVgpuVersion"] = __nvmlGetVgpuVersion global __nvmlSetVgpuVersion - data["__nvmlSetVgpuVersion"] = <_cyb_intptr_t>__nvmlSetVgpuVersion + data["__nvmlSetVgpuVersion"] = __nvmlSetVgpuVersion global __nvmlDeviceGetVgpuUtilization - data["__nvmlDeviceGetVgpuUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuUtilization + data["__nvmlDeviceGetVgpuUtilization"] = __nvmlDeviceGetVgpuUtilization global __nvmlDeviceGetVgpuInstancesUtilizationInfo - data["__nvmlDeviceGetVgpuInstancesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuInstancesUtilizationInfo + data["__nvmlDeviceGetVgpuInstancesUtilizationInfo"] = __nvmlDeviceGetVgpuInstancesUtilizationInfo global __nvmlDeviceGetVgpuProcessUtilization - data["__nvmlDeviceGetVgpuProcessUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuProcessUtilization + data["__nvmlDeviceGetVgpuProcessUtilization"] = __nvmlDeviceGetVgpuProcessUtilization global __nvmlDeviceGetVgpuProcessesUtilizationInfo - data["__nvmlDeviceGetVgpuProcessesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuProcessesUtilizationInfo + data["__nvmlDeviceGetVgpuProcessesUtilizationInfo"] = __nvmlDeviceGetVgpuProcessesUtilizationInfo global __nvmlVgpuInstanceGetAccountingMode - data["__nvmlVgpuInstanceGetAccountingMode"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingMode + data["__nvmlVgpuInstanceGetAccountingMode"] = __nvmlVgpuInstanceGetAccountingMode global __nvmlVgpuInstanceGetAccountingPids - data["__nvmlVgpuInstanceGetAccountingPids"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingPids + data["__nvmlVgpuInstanceGetAccountingPids"] = __nvmlVgpuInstanceGetAccountingPids global __nvmlVgpuInstanceGetAccountingStats - data["__nvmlVgpuInstanceGetAccountingStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingStats + data["__nvmlVgpuInstanceGetAccountingStats"] = __nvmlVgpuInstanceGetAccountingStats global __nvmlVgpuInstanceClearAccountingPids - data["__nvmlVgpuInstanceClearAccountingPids"] = <_cyb_intptr_t>__nvmlVgpuInstanceClearAccountingPids + data["__nvmlVgpuInstanceClearAccountingPids"] = __nvmlVgpuInstanceClearAccountingPids global __nvmlVgpuInstanceGetLicenseInfo_v2 - data["__nvmlVgpuInstanceGetLicenseInfo_v2"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetLicenseInfo_v2 + data["__nvmlVgpuInstanceGetLicenseInfo_v2"] = __nvmlVgpuInstanceGetLicenseInfo_v2 global __nvmlGetExcludedDeviceCount - data["__nvmlGetExcludedDeviceCount"] = <_cyb_intptr_t>__nvmlGetExcludedDeviceCount + data["__nvmlGetExcludedDeviceCount"] = __nvmlGetExcludedDeviceCount global __nvmlGetExcludedDeviceInfoByIndex - data["__nvmlGetExcludedDeviceInfoByIndex"] = <_cyb_intptr_t>__nvmlGetExcludedDeviceInfoByIndex + data["__nvmlGetExcludedDeviceInfoByIndex"] = __nvmlGetExcludedDeviceInfoByIndex global __nvmlDeviceSetMigMode - data["__nvmlDeviceSetMigMode"] = <_cyb_intptr_t>__nvmlDeviceSetMigMode + data["__nvmlDeviceSetMigMode"] = __nvmlDeviceSetMigMode global __nvmlDeviceGetMigMode - data["__nvmlDeviceGetMigMode"] = <_cyb_intptr_t>__nvmlDeviceGetMigMode + data["__nvmlDeviceGetMigMode"] = __nvmlDeviceGetMigMode global __nvmlDeviceGetGpuInstanceProfileInfoV - data["__nvmlDeviceGetGpuInstanceProfileInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceProfileInfoV + data["__nvmlDeviceGetGpuInstanceProfileInfoV"] = __nvmlDeviceGetGpuInstanceProfileInfoV global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 - data["__nvmlDeviceGetGpuInstancePossiblePlacements_v2"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstancePossiblePlacements_v2 + data["__nvmlDeviceGetGpuInstancePossiblePlacements_v2"] = __nvmlDeviceGetGpuInstancePossiblePlacements_v2 global __nvmlDeviceGetGpuInstanceRemainingCapacity - data["__nvmlDeviceGetGpuInstanceRemainingCapacity"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceRemainingCapacity + data["__nvmlDeviceGetGpuInstanceRemainingCapacity"] = __nvmlDeviceGetGpuInstanceRemainingCapacity global __nvmlDeviceCreateGpuInstance - data["__nvmlDeviceCreateGpuInstance"] = <_cyb_intptr_t>__nvmlDeviceCreateGpuInstance + data["__nvmlDeviceCreateGpuInstance"] = __nvmlDeviceCreateGpuInstance global __nvmlDeviceCreateGpuInstanceWithPlacement - data["__nvmlDeviceCreateGpuInstanceWithPlacement"] = <_cyb_intptr_t>__nvmlDeviceCreateGpuInstanceWithPlacement + data["__nvmlDeviceCreateGpuInstanceWithPlacement"] = __nvmlDeviceCreateGpuInstanceWithPlacement global __nvmlGpuInstanceDestroy - data["__nvmlGpuInstanceDestroy"] = <_cyb_intptr_t>__nvmlGpuInstanceDestroy + data["__nvmlGpuInstanceDestroy"] = __nvmlGpuInstanceDestroy global __nvmlDeviceGetGpuInstances - data["__nvmlDeviceGetGpuInstances"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstances + data["__nvmlDeviceGetGpuInstances"] = __nvmlDeviceGetGpuInstances global __nvmlDeviceGetGpuInstanceById - data["__nvmlDeviceGetGpuInstanceById"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceById + data["__nvmlDeviceGetGpuInstanceById"] = __nvmlDeviceGetGpuInstanceById global __nvmlGpuInstanceGetInfo - data["__nvmlGpuInstanceGetInfo"] = <_cyb_intptr_t>__nvmlGpuInstanceGetInfo + data["__nvmlGpuInstanceGetInfo"] = __nvmlGpuInstanceGetInfo global __nvmlGpuInstanceGetComputeInstanceProfileInfoV - data["__nvmlGpuInstanceGetComputeInstanceProfileInfoV"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceProfileInfoV + data["__nvmlGpuInstanceGetComputeInstanceProfileInfoV"] = __nvmlGpuInstanceGetComputeInstanceProfileInfoV global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity - data["__nvmlGpuInstanceGetComputeInstanceRemainingCapacity"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceRemainingCapacity + data["__nvmlGpuInstanceGetComputeInstanceRemainingCapacity"] = __nvmlGpuInstanceGetComputeInstanceRemainingCapacity global __nvmlGpuInstanceGetComputeInstancePossiblePlacements - data["__nvmlGpuInstanceGetComputeInstancePossiblePlacements"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstancePossiblePlacements + data["__nvmlGpuInstanceGetComputeInstancePossiblePlacements"] = __nvmlGpuInstanceGetComputeInstancePossiblePlacements global __nvmlGpuInstanceCreateComputeInstance - data["__nvmlGpuInstanceCreateComputeInstance"] = <_cyb_intptr_t>__nvmlGpuInstanceCreateComputeInstance + data["__nvmlGpuInstanceCreateComputeInstance"] = __nvmlGpuInstanceCreateComputeInstance global __nvmlGpuInstanceCreateComputeInstanceWithPlacement - data["__nvmlGpuInstanceCreateComputeInstanceWithPlacement"] = <_cyb_intptr_t>__nvmlGpuInstanceCreateComputeInstanceWithPlacement + data["__nvmlGpuInstanceCreateComputeInstanceWithPlacement"] = __nvmlGpuInstanceCreateComputeInstanceWithPlacement global __nvmlComputeInstanceDestroy - data["__nvmlComputeInstanceDestroy"] = <_cyb_intptr_t>__nvmlComputeInstanceDestroy + data["__nvmlComputeInstanceDestroy"] = __nvmlComputeInstanceDestroy global __nvmlGpuInstanceGetComputeInstances - data["__nvmlGpuInstanceGetComputeInstances"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstances + data["__nvmlGpuInstanceGetComputeInstances"] = __nvmlGpuInstanceGetComputeInstances global __nvmlGpuInstanceGetComputeInstanceById - data["__nvmlGpuInstanceGetComputeInstanceById"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceById + data["__nvmlGpuInstanceGetComputeInstanceById"] = __nvmlGpuInstanceGetComputeInstanceById global __nvmlComputeInstanceGetInfo_v2 - data["__nvmlComputeInstanceGetInfo_v2"] = <_cyb_intptr_t>__nvmlComputeInstanceGetInfo_v2 + data["__nvmlComputeInstanceGetInfo_v2"] = __nvmlComputeInstanceGetInfo_v2 global __nvmlDeviceIsMigDeviceHandle - data["__nvmlDeviceIsMigDeviceHandle"] = <_cyb_intptr_t>__nvmlDeviceIsMigDeviceHandle + data["__nvmlDeviceIsMigDeviceHandle"] = __nvmlDeviceIsMigDeviceHandle global __nvmlDeviceGetGpuInstanceId - data["__nvmlDeviceGetGpuInstanceId"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceId + data["__nvmlDeviceGetGpuInstanceId"] = __nvmlDeviceGetGpuInstanceId global __nvmlDeviceGetComputeInstanceId - data["__nvmlDeviceGetComputeInstanceId"] = <_cyb_intptr_t>__nvmlDeviceGetComputeInstanceId + data["__nvmlDeviceGetComputeInstanceId"] = __nvmlDeviceGetComputeInstanceId global __nvmlDeviceGetMaxMigDeviceCount - data["__nvmlDeviceGetMaxMigDeviceCount"] = <_cyb_intptr_t>__nvmlDeviceGetMaxMigDeviceCount + data["__nvmlDeviceGetMaxMigDeviceCount"] = __nvmlDeviceGetMaxMigDeviceCount global __nvmlDeviceGetMigDeviceHandleByIndex - data["__nvmlDeviceGetMigDeviceHandleByIndex"] = <_cyb_intptr_t>__nvmlDeviceGetMigDeviceHandleByIndex + data["__nvmlDeviceGetMigDeviceHandleByIndex"] = __nvmlDeviceGetMigDeviceHandleByIndex global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle - data["__nvmlDeviceGetDeviceHandleFromMigDeviceHandle"] = <_cyb_intptr_t>__nvmlDeviceGetDeviceHandleFromMigDeviceHandle + data["__nvmlDeviceGetDeviceHandleFromMigDeviceHandle"] = __nvmlDeviceGetDeviceHandleFromMigDeviceHandle global __nvmlDeviceGetCapabilities - data["__nvmlDeviceGetCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetCapabilities + data["__nvmlDeviceGetCapabilities"] = __nvmlDeviceGetCapabilities global __nvmlDevicePowerSmoothingActivatePresetProfile - data["__nvmlDevicePowerSmoothingActivatePresetProfile"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingActivatePresetProfile + data["__nvmlDevicePowerSmoothingActivatePresetProfile"] = __nvmlDevicePowerSmoothingActivatePresetProfile global __nvmlDevicePowerSmoothingUpdatePresetProfileParam - data["__nvmlDevicePowerSmoothingUpdatePresetProfileParam"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingUpdatePresetProfileParam + data["__nvmlDevicePowerSmoothingUpdatePresetProfileParam"] = __nvmlDevicePowerSmoothingUpdatePresetProfileParam global __nvmlDevicePowerSmoothingSetState - data["__nvmlDevicePowerSmoothingSetState"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingSetState + data["__nvmlDevicePowerSmoothingSetState"] = __nvmlDevicePowerSmoothingSetState global __nvmlDeviceGetAddressingMode - data["__nvmlDeviceGetAddressingMode"] = <_cyb_intptr_t>__nvmlDeviceGetAddressingMode + data["__nvmlDeviceGetAddressingMode"] = __nvmlDeviceGetAddressingMode global __nvmlDeviceGetRepairStatus - data["__nvmlDeviceGetRepairStatus"] = <_cyb_intptr_t>__nvmlDeviceGetRepairStatus + data["__nvmlDeviceGetRepairStatus"] = __nvmlDeviceGetRepairStatus global __nvmlDeviceGetPowerMizerMode_v1 - data["__nvmlDeviceGetPowerMizerMode_v1"] = <_cyb_intptr_t>__nvmlDeviceGetPowerMizerMode_v1 + data["__nvmlDeviceGetPowerMizerMode_v1"] = __nvmlDeviceGetPowerMizerMode_v1 global __nvmlDeviceSetPowerMizerMode_v1 - data["__nvmlDeviceSetPowerMizerMode_v1"] = <_cyb_intptr_t>__nvmlDeviceSetPowerMizerMode_v1 + data["__nvmlDeviceSetPowerMizerMode_v1"] = __nvmlDeviceSetPowerMizerMode_v1 global __nvmlDeviceGetPdi - data["__nvmlDeviceGetPdi"] = <_cyb_intptr_t>__nvmlDeviceGetPdi + data["__nvmlDeviceGetPdi"] = __nvmlDeviceGetPdi global __nvmlDeviceSetHostname_v1 - data["__nvmlDeviceSetHostname_v1"] = <_cyb_intptr_t>__nvmlDeviceSetHostname_v1 + data["__nvmlDeviceSetHostname_v1"] = __nvmlDeviceSetHostname_v1 global __nvmlDeviceGetHostname_v1 - data["__nvmlDeviceGetHostname_v1"] = <_cyb_intptr_t>__nvmlDeviceGetHostname_v1 + data["__nvmlDeviceGetHostname_v1"] = __nvmlDeviceGetHostname_v1 global __nvmlDeviceGetNvLinkInfo - data["__nvmlDeviceGetNvLinkInfo"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkInfo + data["__nvmlDeviceGetNvLinkInfo"] = __nvmlDeviceGetNvLinkInfo global __nvmlDeviceReadWritePRM_v1 - data["__nvmlDeviceReadWritePRM_v1"] = <_cyb_intptr_t>__nvmlDeviceReadWritePRM_v1 + data["__nvmlDeviceReadWritePRM_v1"] = __nvmlDeviceReadWritePRM_v1 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV - data["__nvmlDeviceGetGpuInstanceProfileInfoByIdV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceProfileInfoByIdV + data["__nvmlDeviceGetGpuInstanceProfileInfoByIdV"] = __nvmlDeviceGetGpuInstanceProfileInfoByIdV global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts - data["__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts"] = <_cyb_intptr_t>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts + data["__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts"] = __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts global __nvmlDeviceGetUnrepairableMemoryFlag_v1 - data["__nvmlDeviceGetUnrepairableMemoryFlag_v1"] = <_cyb_intptr_t>__nvmlDeviceGetUnrepairableMemoryFlag_v1 + data["__nvmlDeviceGetUnrepairableMemoryFlag_v1"] = __nvmlDeviceGetUnrepairableMemoryFlag_v1 global __nvmlDeviceReadPRMCounters_v1 - data["__nvmlDeviceReadPRMCounters_v1"] = <_cyb_intptr_t>__nvmlDeviceReadPRMCounters_v1 + data["__nvmlDeviceReadPRMCounters_v1"] = __nvmlDeviceReadPRMCounters_v1 global __nvmlDeviceSetRusdSettings_v1 - data["__nvmlDeviceSetRusdSettings_v1"] = <_cyb_intptr_t>__nvmlDeviceSetRusdSettings_v1 + data["__nvmlDeviceSetRusdSettings_v1"] = __nvmlDeviceSetRusdSettings_v1 global __nvmlDeviceVgpuForceGspUnload - data["__nvmlDeviceVgpuForceGspUnload"] = <_cyb_intptr_t>__nvmlDeviceVgpuForceGspUnload + data["__nvmlDeviceVgpuForceGspUnload"] = __nvmlDeviceVgpuForceGspUnload global __nvmlDeviceGetVgpuSchedulerState_v2 - data["__nvmlDeviceGetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerState_v2 + data["__nvmlDeviceGetVgpuSchedulerState_v2"] = __nvmlDeviceGetVgpuSchedulerState_v2 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 - data["__nvmlGpuInstanceGetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerState_v2 + data["__nvmlGpuInstanceGetVgpuSchedulerState_v2"] = __nvmlGpuInstanceGetVgpuSchedulerState_v2 global __nvmlDeviceGetVgpuSchedulerLog_v2 - data["__nvmlDeviceGetVgpuSchedulerLog_v2"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerLog_v2 + data["__nvmlDeviceGetVgpuSchedulerLog_v2"] = __nvmlDeviceGetVgpuSchedulerLog_v2 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 - data["__nvmlGpuInstanceGetVgpuSchedulerLog_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerLog_v2 + data["__nvmlGpuInstanceGetVgpuSchedulerLog_v2"] = __nvmlGpuInstanceGetVgpuSchedulerLog_v2 global __nvmlDeviceSetVgpuSchedulerState_v2 - data["__nvmlDeviceSetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuSchedulerState_v2 + data["__nvmlDeviceSetVgpuSchedulerState_v2"] = __nvmlDeviceSetVgpuSchedulerState_v2 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 - data["__nvmlGpuInstanceSetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuSchedulerState_v2 + data["__nvmlGpuInstanceSetVgpuSchedulerState_v2"] = __nvmlGpuInstanceSetVgpuSchedulerState_v2 + + global __nvmlSystemGetCPER_v1 + data["__nvmlSystemGetCPER_v1"] = __nvmlSystemGetCPER_v1 + + global __nvmlDeviceGetBBXTimeData_v1 + data["__nvmlDeviceGetBBXTimeData_v1"] = __nvmlDeviceGetBBXTimeData_v1 + + global __nvmlDeviceGetAccountingStats_v2 + data["__nvmlDeviceGetAccountingStats_v2"] = __nvmlDeviceGetAccountingStats_v2 + + global __nvmlDeviceGetRemappedRows_v2 + data["__nvmlDeviceGetRemappedRows_v2"] = __nvmlDeviceGetRemappedRows_v2 _cyb_func_ptrs = data return data @@ -7478,3 +7522,43 @@ cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState_v2(nvmlGpuInstance_t gpu raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState_v2 is not found") return (__nvmlGpuInstanceSetVgpuSchedulerState_v2)( gpuInstance, pSchedulerState) + + +cdef nvmlReturn_t _nvmlSystemGetCPER_v1(nvmlGetCPER_v1_t* cper) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + global __nvmlSystemGetCPER_v1 + _check_or_init_nvml() + if __nvmlSystemGetCPER_v1 == NULL: + with gil: + raise FunctionNotFoundError("function nvmlSystemGetCPER_v1 is not found") + return (__nvmlSystemGetCPER_v1)( + cper) + + +cdef nvmlReturn_t _nvmlDeviceGetBBXTimeData_v1(nvmlDevice_t device, nvmlBBXTimeData_v1_t* timeData) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + global __nvmlDeviceGetBBXTimeData_v1 + _check_or_init_nvml() + if __nvmlDeviceGetBBXTimeData_v1 == NULL: + with gil: + raise FunctionNotFoundError("function nvmlDeviceGetBBXTimeData_v1 is not found") + return (__nvmlDeviceGetBBXTimeData_v1)( + device, timeData) + + +cdef nvmlReturn_t _nvmlDeviceGetAccountingStats_v2(nvmlDevice_t device, nvmlAccountingStats_v2_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + global __nvmlDeviceGetAccountingStats_v2 + _check_or_init_nvml() + if __nvmlDeviceGetAccountingStats_v2 == NULL: + with gil: + raise FunctionNotFoundError("function nvmlDeviceGetAccountingStats_v2 is not found") + return (__nvmlDeviceGetAccountingStats_v2)( + device, stats) + + +cdef nvmlReturn_t _nvmlDeviceGetRemappedRows_v2(nvmlDevice_t device, nvmlRemappedRowsInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + global __nvmlDeviceGetRemappedRows_v2 + _check_or_init_nvml() + if __nvmlDeviceGetRemappedRows_v2 == NULL: + with gil: + raise FunctionNotFoundError("function nvmlDeviceGetRemappedRows_v2 is not found") + return (__nvmlDeviceGetRemappedRows_v2)( + device, info) diff --git a/cuda_bindings/cuda/bindings/_internal/nvml_windows.pyx b/cuda_bindings/cuda/bindings/_internal/nvml_windows.pyx index f7ae66ae98e..14462225e14 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvml_windows.pyx +++ b/cuda_bindings/cuda/bindings/_internal/nvml_windows.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=831330186c4a7bb029b953be6dd3cda119a7f10c56fa9378ab621fbc4374f9d1 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=dfef5d61e23406c9104db88966dea7813becf53ad5e89fca63b78d618097e15a # <<<< PREAMBLE CONTENT >>>> @@ -44,7 +44,10 @@ cdef extern from "": ctypedef void* HMODULE void* _cyb_GetProcAddress "GetProcAddress"(HMODULE, const char*) nogil -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport ( + intptr_t, + uintptr_t, +) import threading as _cyb_threading @@ -412,6 +415,10 @@ cdef void* __nvmlDeviceGetVgpuSchedulerLog_v2 = NULL cdef void* __nvmlGpuInstanceGetVgpuSchedulerLog_v2 = NULL cdef void* __nvmlDeviceSetVgpuSchedulerState_v2 = NULL cdef void* __nvmlGpuInstanceSetVgpuSchedulerState_v2 = NULL +cdef void* __nvmlSystemGetCPER_v1 = NULL +cdef void* __nvmlDeviceGetBBXTimeData_v1 = NULL +cdef void* __nvmlDeviceGetAccountingStats_v2 = NULL +cdef void* __nvmlDeviceGetRemappedRows_v2 = NULL cdef int _init_nvml() except -1 nogil: global _cyb___py_nvml_init @@ -1475,6 +1482,18 @@ cdef int _init_nvml() except -1 nogil: global __nvmlGpuInstanceSetVgpuSchedulerState_v2 __nvmlGpuInstanceSetVgpuSchedulerState_v2 = _cyb_GetProcAddress(handle, 'nvmlGpuInstanceSetVgpuSchedulerState_v2') + global __nvmlSystemGetCPER_v1 + __nvmlSystemGetCPER_v1 = _cyb_GetProcAddress(handle, 'nvmlSystemGetCPER_v1') + + global __nvmlDeviceGetBBXTimeData_v1 + __nvmlDeviceGetBBXTimeData_v1 = _cyb_GetProcAddress(handle, 'nvmlDeviceGetBBXTimeData_v1') + + global __nvmlDeviceGetAccountingStats_v2 + __nvmlDeviceGetAccountingStats_v2 = _cyb_GetProcAddress(handle, 'nvmlDeviceGetAccountingStats_v2') + + global __nvmlDeviceGetRemappedRows_v2 + __nvmlDeviceGetRemappedRows_v2 = _cyb_GetProcAddress(handle, 'nvmlDeviceGetRemappedRows_v2') + _cyb_atomic_int_store(&_cyb___py_nvml_init, 1) return 0 @@ -1493,1057 +1512,1069 @@ cpdef dict _inspect_function_pointers(): _check_or_init_nvml() cdef dict data = {} global __nvmlInit_v2 - data["__nvmlInit_v2"] = <_cyb_intptr_t>__nvmlInit_v2 + data["__nvmlInit_v2"] = __nvmlInit_v2 global __nvmlInitWithFlags - data["__nvmlInitWithFlags"] = <_cyb_intptr_t>__nvmlInitWithFlags + data["__nvmlInitWithFlags"] = __nvmlInitWithFlags global __nvmlShutdown - data["__nvmlShutdown"] = <_cyb_intptr_t>__nvmlShutdown + data["__nvmlShutdown"] = __nvmlShutdown global __nvmlErrorString - data["__nvmlErrorString"] = <_cyb_intptr_t>__nvmlErrorString + data["__nvmlErrorString"] = __nvmlErrorString global __nvmlSystemGetDriverVersion - data["__nvmlSystemGetDriverVersion"] = <_cyb_intptr_t>__nvmlSystemGetDriverVersion + data["__nvmlSystemGetDriverVersion"] = __nvmlSystemGetDriverVersion global __nvmlSystemGetNVMLVersion - data["__nvmlSystemGetNVMLVersion"] = <_cyb_intptr_t>__nvmlSystemGetNVMLVersion + data["__nvmlSystemGetNVMLVersion"] = __nvmlSystemGetNVMLVersion global __nvmlSystemGetCudaDriverVersion - data["__nvmlSystemGetCudaDriverVersion"] = <_cyb_intptr_t>__nvmlSystemGetCudaDriverVersion + data["__nvmlSystemGetCudaDriverVersion"] = __nvmlSystemGetCudaDriverVersion global __nvmlSystemGetCudaDriverVersion_v2 - data["__nvmlSystemGetCudaDriverVersion_v2"] = <_cyb_intptr_t>__nvmlSystemGetCudaDriverVersion_v2 + data["__nvmlSystemGetCudaDriverVersion_v2"] = __nvmlSystemGetCudaDriverVersion_v2 global __nvmlSystemGetProcessName - data["__nvmlSystemGetProcessName"] = <_cyb_intptr_t>__nvmlSystemGetProcessName + data["__nvmlSystemGetProcessName"] = __nvmlSystemGetProcessName global __nvmlSystemGetHicVersion - data["__nvmlSystemGetHicVersion"] = <_cyb_intptr_t>__nvmlSystemGetHicVersion + data["__nvmlSystemGetHicVersion"] = __nvmlSystemGetHicVersion global __nvmlSystemGetTopologyGpuSet - data["__nvmlSystemGetTopologyGpuSet"] = <_cyb_intptr_t>__nvmlSystemGetTopologyGpuSet + data["__nvmlSystemGetTopologyGpuSet"] = __nvmlSystemGetTopologyGpuSet global __nvmlSystemGetDriverBranch - data["__nvmlSystemGetDriverBranch"] = <_cyb_intptr_t>__nvmlSystemGetDriverBranch + data["__nvmlSystemGetDriverBranch"] = __nvmlSystemGetDriverBranch global __nvmlUnitGetCount - data["__nvmlUnitGetCount"] = <_cyb_intptr_t>__nvmlUnitGetCount + data["__nvmlUnitGetCount"] = __nvmlUnitGetCount global __nvmlUnitGetHandleByIndex - data["__nvmlUnitGetHandleByIndex"] = <_cyb_intptr_t>__nvmlUnitGetHandleByIndex + data["__nvmlUnitGetHandleByIndex"] = __nvmlUnitGetHandleByIndex global __nvmlUnitGetUnitInfo - data["__nvmlUnitGetUnitInfo"] = <_cyb_intptr_t>__nvmlUnitGetUnitInfo + data["__nvmlUnitGetUnitInfo"] = __nvmlUnitGetUnitInfo global __nvmlUnitGetLedState - data["__nvmlUnitGetLedState"] = <_cyb_intptr_t>__nvmlUnitGetLedState + data["__nvmlUnitGetLedState"] = __nvmlUnitGetLedState global __nvmlUnitGetPsuInfo - data["__nvmlUnitGetPsuInfo"] = <_cyb_intptr_t>__nvmlUnitGetPsuInfo + data["__nvmlUnitGetPsuInfo"] = __nvmlUnitGetPsuInfo global __nvmlUnitGetTemperature - data["__nvmlUnitGetTemperature"] = <_cyb_intptr_t>__nvmlUnitGetTemperature + data["__nvmlUnitGetTemperature"] = __nvmlUnitGetTemperature global __nvmlUnitGetFanSpeedInfo - data["__nvmlUnitGetFanSpeedInfo"] = <_cyb_intptr_t>__nvmlUnitGetFanSpeedInfo + data["__nvmlUnitGetFanSpeedInfo"] = __nvmlUnitGetFanSpeedInfo global __nvmlUnitGetDevices - data["__nvmlUnitGetDevices"] = <_cyb_intptr_t>__nvmlUnitGetDevices + data["__nvmlUnitGetDevices"] = __nvmlUnitGetDevices global __nvmlDeviceGetCount_v2 - data["__nvmlDeviceGetCount_v2"] = <_cyb_intptr_t>__nvmlDeviceGetCount_v2 + data["__nvmlDeviceGetCount_v2"] = __nvmlDeviceGetCount_v2 global __nvmlDeviceGetAttributes_v2 - data["__nvmlDeviceGetAttributes_v2"] = <_cyb_intptr_t>__nvmlDeviceGetAttributes_v2 + data["__nvmlDeviceGetAttributes_v2"] = __nvmlDeviceGetAttributes_v2 global __nvmlDeviceGetHandleByIndex_v2 - data["__nvmlDeviceGetHandleByIndex_v2"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByIndex_v2 + data["__nvmlDeviceGetHandleByIndex_v2"] = __nvmlDeviceGetHandleByIndex_v2 global __nvmlDeviceGetHandleBySerial - data["__nvmlDeviceGetHandleBySerial"] = <_cyb_intptr_t>__nvmlDeviceGetHandleBySerial + data["__nvmlDeviceGetHandleBySerial"] = __nvmlDeviceGetHandleBySerial global __nvmlDeviceGetHandleByUUID - data["__nvmlDeviceGetHandleByUUID"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByUUID + data["__nvmlDeviceGetHandleByUUID"] = __nvmlDeviceGetHandleByUUID global __nvmlDeviceGetHandleByUUIDV - data["__nvmlDeviceGetHandleByUUIDV"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByUUIDV + data["__nvmlDeviceGetHandleByUUIDV"] = __nvmlDeviceGetHandleByUUIDV global __nvmlDeviceGetHandleByPciBusId_v2 - data["__nvmlDeviceGetHandleByPciBusId_v2"] = <_cyb_intptr_t>__nvmlDeviceGetHandleByPciBusId_v2 + data["__nvmlDeviceGetHandleByPciBusId_v2"] = __nvmlDeviceGetHandleByPciBusId_v2 global __nvmlDeviceGetName - data["__nvmlDeviceGetName"] = <_cyb_intptr_t>__nvmlDeviceGetName + data["__nvmlDeviceGetName"] = __nvmlDeviceGetName global __nvmlDeviceGetBrand - data["__nvmlDeviceGetBrand"] = <_cyb_intptr_t>__nvmlDeviceGetBrand + data["__nvmlDeviceGetBrand"] = __nvmlDeviceGetBrand global __nvmlDeviceGetIndex - data["__nvmlDeviceGetIndex"] = <_cyb_intptr_t>__nvmlDeviceGetIndex + data["__nvmlDeviceGetIndex"] = __nvmlDeviceGetIndex global __nvmlDeviceGetSerial - data["__nvmlDeviceGetSerial"] = <_cyb_intptr_t>__nvmlDeviceGetSerial + data["__nvmlDeviceGetSerial"] = __nvmlDeviceGetSerial global __nvmlDeviceGetModuleId - data["__nvmlDeviceGetModuleId"] = <_cyb_intptr_t>__nvmlDeviceGetModuleId + data["__nvmlDeviceGetModuleId"] = __nvmlDeviceGetModuleId global __nvmlDeviceGetC2cModeInfoV - data["__nvmlDeviceGetC2cModeInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetC2cModeInfoV + data["__nvmlDeviceGetC2cModeInfoV"] = __nvmlDeviceGetC2cModeInfoV global __nvmlDeviceGetMemoryAffinity - data["__nvmlDeviceGetMemoryAffinity"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryAffinity + data["__nvmlDeviceGetMemoryAffinity"] = __nvmlDeviceGetMemoryAffinity global __nvmlDeviceGetCpuAffinityWithinScope - data["__nvmlDeviceGetCpuAffinityWithinScope"] = <_cyb_intptr_t>__nvmlDeviceGetCpuAffinityWithinScope + data["__nvmlDeviceGetCpuAffinityWithinScope"] = __nvmlDeviceGetCpuAffinityWithinScope global __nvmlDeviceGetCpuAffinity - data["__nvmlDeviceGetCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceGetCpuAffinity + data["__nvmlDeviceGetCpuAffinity"] = __nvmlDeviceGetCpuAffinity global __nvmlDeviceSetCpuAffinity - data["__nvmlDeviceSetCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceSetCpuAffinity + data["__nvmlDeviceSetCpuAffinity"] = __nvmlDeviceSetCpuAffinity global __nvmlDeviceClearCpuAffinity - data["__nvmlDeviceClearCpuAffinity"] = <_cyb_intptr_t>__nvmlDeviceClearCpuAffinity + data["__nvmlDeviceClearCpuAffinity"] = __nvmlDeviceClearCpuAffinity global __nvmlDeviceGetNumaNodeId - data["__nvmlDeviceGetNumaNodeId"] = <_cyb_intptr_t>__nvmlDeviceGetNumaNodeId + data["__nvmlDeviceGetNumaNodeId"] = __nvmlDeviceGetNumaNodeId global __nvmlDeviceGetTopologyCommonAncestor - data["__nvmlDeviceGetTopologyCommonAncestor"] = <_cyb_intptr_t>__nvmlDeviceGetTopologyCommonAncestor + data["__nvmlDeviceGetTopologyCommonAncestor"] = __nvmlDeviceGetTopologyCommonAncestor global __nvmlDeviceGetTopologyNearestGpus - data["__nvmlDeviceGetTopologyNearestGpus"] = <_cyb_intptr_t>__nvmlDeviceGetTopologyNearestGpus + data["__nvmlDeviceGetTopologyNearestGpus"] = __nvmlDeviceGetTopologyNearestGpus global __nvmlDeviceGetP2PStatus - data["__nvmlDeviceGetP2PStatus"] = <_cyb_intptr_t>__nvmlDeviceGetP2PStatus + data["__nvmlDeviceGetP2PStatus"] = __nvmlDeviceGetP2PStatus global __nvmlDeviceGetUUID - data["__nvmlDeviceGetUUID"] = <_cyb_intptr_t>__nvmlDeviceGetUUID + data["__nvmlDeviceGetUUID"] = __nvmlDeviceGetUUID global __nvmlDeviceGetMinorNumber - data["__nvmlDeviceGetMinorNumber"] = <_cyb_intptr_t>__nvmlDeviceGetMinorNumber + data["__nvmlDeviceGetMinorNumber"] = __nvmlDeviceGetMinorNumber global __nvmlDeviceGetBoardPartNumber - data["__nvmlDeviceGetBoardPartNumber"] = <_cyb_intptr_t>__nvmlDeviceGetBoardPartNumber + data["__nvmlDeviceGetBoardPartNumber"] = __nvmlDeviceGetBoardPartNumber global __nvmlDeviceGetInforomVersion - data["__nvmlDeviceGetInforomVersion"] = <_cyb_intptr_t>__nvmlDeviceGetInforomVersion + data["__nvmlDeviceGetInforomVersion"] = __nvmlDeviceGetInforomVersion global __nvmlDeviceGetInforomImageVersion - data["__nvmlDeviceGetInforomImageVersion"] = <_cyb_intptr_t>__nvmlDeviceGetInforomImageVersion + data["__nvmlDeviceGetInforomImageVersion"] = __nvmlDeviceGetInforomImageVersion global __nvmlDeviceGetInforomConfigurationChecksum - data["__nvmlDeviceGetInforomConfigurationChecksum"] = <_cyb_intptr_t>__nvmlDeviceGetInforomConfigurationChecksum + data["__nvmlDeviceGetInforomConfigurationChecksum"] = __nvmlDeviceGetInforomConfigurationChecksum global __nvmlDeviceValidateInforom - data["__nvmlDeviceValidateInforom"] = <_cyb_intptr_t>__nvmlDeviceValidateInforom + data["__nvmlDeviceValidateInforom"] = __nvmlDeviceValidateInforom global __nvmlDeviceGetLastBBXFlushTime - data["__nvmlDeviceGetLastBBXFlushTime"] = <_cyb_intptr_t>__nvmlDeviceGetLastBBXFlushTime + data["__nvmlDeviceGetLastBBXFlushTime"] = __nvmlDeviceGetLastBBXFlushTime global __nvmlDeviceGetDisplayMode - data["__nvmlDeviceGetDisplayMode"] = <_cyb_intptr_t>__nvmlDeviceGetDisplayMode + data["__nvmlDeviceGetDisplayMode"] = __nvmlDeviceGetDisplayMode global __nvmlDeviceGetDisplayActive - data["__nvmlDeviceGetDisplayActive"] = <_cyb_intptr_t>__nvmlDeviceGetDisplayActive + data["__nvmlDeviceGetDisplayActive"] = __nvmlDeviceGetDisplayActive global __nvmlDeviceGetPersistenceMode - data["__nvmlDeviceGetPersistenceMode"] = <_cyb_intptr_t>__nvmlDeviceGetPersistenceMode + data["__nvmlDeviceGetPersistenceMode"] = __nvmlDeviceGetPersistenceMode global __nvmlDeviceGetPciInfoExt - data["__nvmlDeviceGetPciInfoExt"] = <_cyb_intptr_t>__nvmlDeviceGetPciInfoExt + data["__nvmlDeviceGetPciInfoExt"] = __nvmlDeviceGetPciInfoExt global __nvmlDeviceGetPciInfo_v3 - data["__nvmlDeviceGetPciInfo_v3"] = <_cyb_intptr_t>__nvmlDeviceGetPciInfo_v3 + data["__nvmlDeviceGetPciInfo_v3"] = __nvmlDeviceGetPciInfo_v3 global __nvmlDeviceGetMaxPcieLinkGeneration - data["__nvmlDeviceGetMaxPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetMaxPcieLinkGeneration + data["__nvmlDeviceGetMaxPcieLinkGeneration"] = __nvmlDeviceGetMaxPcieLinkGeneration global __nvmlDeviceGetGpuMaxPcieLinkGeneration - data["__nvmlDeviceGetGpuMaxPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetGpuMaxPcieLinkGeneration + data["__nvmlDeviceGetGpuMaxPcieLinkGeneration"] = __nvmlDeviceGetGpuMaxPcieLinkGeneration global __nvmlDeviceGetMaxPcieLinkWidth - data["__nvmlDeviceGetMaxPcieLinkWidth"] = <_cyb_intptr_t>__nvmlDeviceGetMaxPcieLinkWidth + data["__nvmlDeviceGetMaxPcieLinkWidth"] = __nvmlDeviceGetMaxPcieLinkWidth global __nvmlDeviceGetCurrPcieLinkGeneration - data["__nvmlDeviceGetCurrPcieLinkGeneration"] = <_cyb_intptr_t>__nvmlDeviceGetCurrPcieLinkGeneration + data["__nvmlDeviceGetCurrPcieLinkGeneration"] = __nvmlDeviceGetCurrPcieLinkGeneration global __nvmlDeviceGetCurrPcieLinkWidth - data["__nvmlDeviceGetCurrPcieLinkWidth"] = <_cyb_intptr_t>__nvmlDeviceGetCurrPcieLinkWidth + data["__nvmlDeviceGetCurrPcieLinkWidth"] = __nvmlDeviceGetCurrPcieLinkWidth global __nvmlDeviceGetPcieThroughput - data["__nvmlDeviceGetPcieThroughput"] = <_cyb_intptr_t>__nvmlDeviceGetPcieThroughput + data["__nvmlDeviceGetPcieThroughput"] = __nvmlDeviceGetPcieThroughput global __nvmlDeviceGetPcieReplayCounter - data["__nvmlDeviceGetPcieReplayCounter"] = <_cyb_intptr_t>__nvmlDeviceGetPcieReplayCounter + data["__nvmlDeviceGetPcieReplayCounter"] = __nvmlDeviceGetPcieReplayCounter global __nvmlDeviceGetClockInfo - data["__nvmlDeviceGetClockInfo"] = <_cyb_intptr_t>__nvmlDeviceGetClockInfo + data["__nvmlDeviceGetClockInfo"] = __nvmlDeviceGetClockInfo global __nvmlDeviceGetMaxClockInfo - data["__nvmlDeviceGetMaxClockInfo"] = <_cyb_intptr_t>__nvmlDeviceGetMaxClockInfo + data["__nvmlDeviceGetMaxClockInfo"] = __nvmlDeviceGetMaxClockInfo global __nvmlDeviceGetGpcClkVfOffset - data["__nvmlDeviceGetGpcClkVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetGpcClkVfOffset + data["__nvmlDeviceGetGpcClkVfOffset"] = __nvmlDeviceGetGpcClkVfOffset global __nvmlDeviceGetClock - data["__nvmlDeviceGetClock"] = <_cyb_intptr_t>__nvmlDeviceGetClock + data["__nvmlDeviceGetClock"] = __nvmlDeviceGetClock global __nvmlDeviceGetMaxCustomerBoostClock - data["__nvmlDeviceGetMaxCustomerBoostClock"] = <_cyb_intptr_t>__nvmlDeviceGetMaxCustomerBoostClock + data["__nvmlDeviceGetMaxCustomerBoostClock"] = __nvmlDeviceGetMaxCustomerBoostClock global __nvmlDeviceGetSupportedMemoryClocks - data["__nvmlDeviceGetSupportedMemoryClocks"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedMemoryClocks + data["__nvmlDeviceGetSupportedMemoryClocks"] = __nvmlDeviceGetSupportedMemoryClocks global __nvmlDeviceGetSupportedGraphicsClocks - data["__nvmlDeviceGetSupportedGraphicsClocks"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedGraphicsClocks + data["__nvmlDeviceGetSupportedGraphicsClocks"] = __nvmlDeviceGetSupportedGraphicsClocks global __nvmlDeviceGetAutoBoostedClocksEnabled - data["__nvmlDeviceGetAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceGetAutoBoostedClocksEnabled + data["__nvmlDeviceGetAutoBoostedClocksEnabled"] = __nvmlDeviceGetAutoBoostedClocksEnabled global __nvmlDeviceGetFanSpeed - data["__nvmlDeviceGetFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeed + data["__nvmlDeviceGetFanSpeed"] = __nvmlDeviceGetFanSpeed global __nvmlDeviceGetFanSpeed_v2 - data["__nvmlDeviceGetFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeed_v2 + data["__nvmlDeviceGetFanSpeed_v2"] = __nvmlDeviceGetFanSpeed_v2 global __nvmlDeviceGetFanSpeedRPM - data["__nvmlDeviceGetFanSpeedRPM"] = <_cyb_intptr_t>__nvmlDeviceGetFanSpeedRPM + data["__nvmlDeviceGetFanSpeedRPM"] = __nvmlDeviceGetFanSpeedRPM global __nvmlDeviceGetTargetFanSpeed - data["__nvmlDeviceGetTargetFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetTargetFanSpeed + data["__nvmlDeviceGetTargetFanSpeed"] = __nvmlDeviceGetTargetFanSpeed global __nvmlDeviceGetMinMaxFanSpeed - data["__nvmlDeviceGetMinMaxFanSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetMinMaxFanSpeed + data["__nvmlDeviceGetMinMaxFanSpeed"] = __nvmlDeviceGetMinMaxFanSpeed global __nvmlDeviceGetFanControlPolicy_v2 - data["__nvmlDeviceGetFanControlPolicy_v2"] = <_cyb_intptr_t>__nvmlDeviceGetFanControlPolicy_v2 + data["__nvmlDeviceGetFanControlPolicy_v2"] = __nvmlDeviceGetFanControlPolicy_v2 global __nvmlDeviceGetNumFans - data["__nvmlDeviceGetNumFans"] = <_cyb_intptr_t>__nvmlDeviceGetNumFans + data["__nvmlDeviceGetNumFans"] = __nvmlDeviceGetNumFans global __nvmlDeviceGetCoolerInfo - data["__nvmlDeviceGetCoolerInfo"] = <_cyb_intptr_t>__nvmlDeviceGetCoolerInfo + data["__nvmlDeviceGetCoolerInfo"] = __nvmlDeviceGetCoolerInfo global __nvmlDeviceGetTemperatureV - data["__nvmlDeviceGetTemperatureV"] = <_cyb_intptr_t>__nvmlDeviceGetTemperatureV + data["__nvmlDeviceGetTemperatureV"] = __nvmlDeviceGetTemperatureV global __nvmlDeviceGetTemperatureThreshold - data["__nvmlDeviceGetTemperatureThreshold"] = <_cyb_intptr_t>__nvmlDeviceGetTemperatureThreshold + data["__nvmlDeviceGetTemperatureThreshold"] = __nvmlDeviceGetTemperatureThreshold global __nvmlDeviceGetMarginTemperature - data["__nvmlDeviceGetMarginTemperature"] = <_cyb_intptr_t>__nvmlDeviceGetMarginTemperature + data["__nvmlDeviceGetMarginTemperature"] = __nvmlDeviceGetMarginTemperature global __nvmlDeviceGetThermalSettings - data["__nvmlDeviceGetThermalSettings"] = <_cyb_intptr_t>__nvmlDeviceGetThermalSettings + data["__nvmlDeviceGetThermalSettings"] = __nvmlDeviceGetThermalSettings global __nvmlDeviceGetPerformanceState - data["__nvmlDeviceGetPerformanceState"] = <_cyb_intptr_t>__nvmlDeviceGetPerformanceState + data["__nvmlDeviceGetPerformanceState"] = __nvmlDeviceGetPerformanceState global __nvmlDeviceGetCurrentClocksEventReasons - data["__nvmlDeviceGetCurrentClocksEventReasons"] = <_cyb_intptr_t>__nvmlDeviceGetCurrentClocksEventReasons + data["__nvmlDeviceGetCurrentClocksEventReasons"] = __nvmlDeviceGetCurrentClocksEventReasons global __nvmlDeviceGetSupportedClocksEventReasons - data["__nvmlDeviceGetSupportedClocksEventReasons"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedClocksEventReasons + data["__nvmlDeviceGetSupportedClocksEventReasons"] = __nvmlDeviceGetSupportedClocksEventReasons global __nvmlDeviceGetPowerState - data["__nvmlDeviceGetPowerState"] = <_cyb_intptr_t>__nvmlDeviceGetPowerState + data["__nvmlDeviceGetPowerState"] = __nvmlDeviceGetPowerState global __nvmlDeviceGetDynamicPstatesInfo - data["__nvmlDeviceGetDynamicPstatesInfo"] = <_cyb_intptr_t>__nvmlDeviceGetDynamicPstatesInfo + data["__nvmlDeviceGetDynamicPstatesInfo"] = __nvmlDeviceGetDynamicPstatesInfo global __nvmlDeviceGetMemClkVfOffset - data["__nvmlDeviceGetMemClkVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetMemClkVfOffset + data["__nvmlDeviceGetMemClkVfOffset"] = __nvmlDeviceGetMemClkVfOffset global __nvmlDeviceGetMinMaxClockOfPState - data["__nvmlDeviceGetMinMaxClockOfPState"] = <_cyb_intptr_t>__nvmlDeviceGetMinMaxClockOfPState + data["__nvmlDeviceGetMinMaxClockOfPState"] = __nvmlDeviceGetMinMaxClockOfPState global __nvmlDeviceGetSupportedPerformanceStates - data["__nvmlDeviceGetSupportedPerformanceStates"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedPerformanceStates + data["__nvmlDeviceGetSupportedPerformanceStates"] = __nvmlDeviceGetSupportedPerformanceStates global __nvmlDeviceGetGpcClkMinMaxVfOffset - data["__nvmlDeviceGetGpcClkMinMaxVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetGpcClkMinMaxVfOffset + data["__nvmlDeviceGetGpcClkMinMaxVfOffset"] = __nvmlDeviceGetGpcClkMinMaxVfOffset global __nvmlDeviceGetMemClkMinMaxVfOffset - data["__nvmlDeviceGetMemClkMinMaxVfOffset"] = <_cyb_intptr_t>__nvmlDeviceGetMemClkMinMaxVfOffset + data["__nvmlDeviceGetMemClkMinMaxVfOffset"] = __nvmlDeviceGetMemClkMinMaxVfOffset global __nvmlDeviceGetClockOffsets - data["__nvmlDeviceGetClockOffsets"] = <_cyb_intptr_t>__nvmlDeviceGetClockOffsets + data["__nvmlDeviceGetClockOffsets"] = __nvmlDeviceGetClockOffsets global __nvmlDeviceSetClockOffsets - data["__nvmlDeviceSetClockOffsets"] = <_cyb_intptr_t>__nvmlDeviceSetClockOffsets + data["__nvmlDeviceSetClockOffsets"] = __nvmlDeviceSetClockOffsets global __nvmlDeviceGetPerformanceModes - data["__nvmlDeviceGetPerformanceModes"] = <_cyb_intptr_t>__nvmlDeviceGetPerformanceModes + data["__nvmlDeviceGetPerformanceModes"] = __nvmlDeviceGetPerformanceModes global __nvmlDeviceGetCurrentClockFreqs - data["__nvmlDeviceGetCurrentClockFreqs"] = <_cyb_intptr_t>__nvmlDeviceGetCurrentClockFreqs + data["__nvmlDeviceGetCurrentClockFreqs"] = __nvmlDeviceGetCurrentClockFreqs global __nvmlDeviceGetPowerManagementLimit - data["__nvmlDeviceGetPowerManagementLimit"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementLimit + data["__nvmlDeviceGetPowerManagementLimit"] = __nvmlDeviceGetPowerManagementLimit global __nvmlDeviceGetPowerManagementLimitConstraints - data["__nvmlDeviceGetPowerManagementLimitConstraints"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementLimitConstraints + data["__nvmlDeviceGetPowerManagementLimitConstraints"] = __nvmlDeviceGetPowerManagementLimitConstraints global __nvmlDeviceGetPowerManagementDefaultLimit - data["__nvmlDeviceGetPowerManagementDefaultLimit"] = <_cyb_intptr_t>__nvmlDeviceGetPowerManagementDefaultLimit + data["__nvmlDeviceGetPowerManagementDefaultLimit"] = __nvmlDeviceGetPowerManagementDefaultLimit global __nvmlDeviceGetPowerUsage - data["__nvmlDeviceGetPowerUsage"] = <_cyb_intptr_t>__nvmlDeviceGetPowerUsage + data["__nvmlDeviceGetPowerUsage"] = __nvmlDeviceGetPowerUsage global __nvmlDeviceGetTotalEnergyConsumption - data["__nvmlDeviceGetTotalEnergyConsumption"] = <_cyb_intptr_t>__nvmlDeviceGetTotalEnergyConsumption + data["__nvmlDeviceGetTotalEnergyConsumption"] = __nvmlDeviceGetTotalEnergyConsumption global __nvmlDeviceGetEnforcedPowerLimit - data["__nvmlDeviceGetEnforcedPowerLimit"] = <_cyb_intptr_t>__nvmlDeviceGetEnforcedPowerLimit + data["__nvmlDeviceGetEnforcedPowerLimit"] = __nvmlDeviceGetEnforcedPowerLimit global __nvmlDeviceGetGpuOperationMode - data["__nvmlDeviceGetGpuOperationMode"] = <_cyb_intptr_t>__nvmlDeviceGetGpuOperationMode + data["__nvmlDeviceGetGpuOperationMode"] = __nvmlDeviceGetGpuOperationMode global __nvmlDeviceGetMemoryInfo_v2 - data["__nvmlDeviceGetMemoryInfo_v2"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryInfo_v2 + data["__nvmlDeviceGetMemoryInfo_v2"] = __nvmlDeviceGetMemoryInfo_v2 global __nvmlDeviceGetComputeMode - data["__nvmlDeviceGetComputeMode"] = <_cyb_intptr_t>__nvmlDeviceGetComputeMode + data["__nvmlDeviceGetComputeMode"] = __nvmlDeviceGetComputeMode global __nvmlDeviceGetCudaComputeCapability - data["__nvmlDeviceGetCudaComputeCapability"] = <_cyb_intptr_t>__nvmlDeviceGetCudaComputeCapability + data["__nvmlDeviceGetCudaComputeCapability"] = __nvmlDeviceGetCudaComputeCapability global __nvmlDeviceGetDramEncryptionMode - data["__nvmlDeviceGetDramEncryptionMode"] = <_cyb_intptr_t>__nvmlDeviceGetDramEncryptionMode + data["__nvmlDeviceGetDramEncryptionMode"] = __nvmlDeviceGetDramEncryptionMode global __nvmlDeviceSetDramEncryptionMode - data["__nvmlDeviceSetDramEncryptionMode"] = <_cyb_intptr_t>__nvmlDeviceSetDramEncryptionMode + data["__nvmlDeviceSetDramEncryptionMode"] = __nvmlDeviceSetDramEncryptionMode global __nvmlDeviceGetEccMode - data["__nvmlDeviceGetEccMode"] = <_cyb_intptr_t>__nvmlDeviceGetEccMode + data["__nvmlDeviceGetEccMode"] = __nvmlDeviceGetEccMode global __nvmlDeviceGetDefaultEccMode - data["__nvmlDeviceGetDefaultEccMode"] = <_cyb_intptr_t>__nvmlDeviceGetDefaultEccMode + data["__nvmlDeviceGetDefaultEccMode"] = __nvmlDeviceGetDefaultEccMode global __nvmlDeviceGetBoardId - data["__nvmlDeviceGetBoardId"] = <_cyb_intptr_t>__nvmlDeviceGetBoardId + data["__nvmlDeviceGetBoardId"] = __nvmlDeviceGetBoardId global __nvmlDeviceGetMultiGpuBoard - data["__nvmlDeviceGetMultiGpuBoard"] = <_cyb_intptr_t>__nvmlDeviceGetMultiGpuBoard + data["__nvmlDeviceGetMultiGpuBoard"] = __nvmlDeviceGetMultiGpuBoard global __nvmlDeviceGetTotalEccErrors - data["__nvmlDeviceGetTotalEccErrors"] = <_cyb_intptr_t>__nvmlDeviceGetTotalEccErrors + data["__nvmlDeviceGetTotalEccErrors"] = __nvmlDeviceGetTotalEccErrors global __nvmlDeviceGetMemoryErrorCounter - data["__nvmlDeviceGetMemoryErrorCounter"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryErrorCounter + data["__nvmlDeviceGetMemoryErrorCounter"] = __nvmlDeviceGetMemoryErrorCounter global __nvmlDeviceGetUtilizationRates - data["__nvmlDeviceGetUtilizationRates"] = <_cyb_intptr_t>__nvmlDeviceGetUtilizationRates + data["__nvmlDeviceGetUtilizationRates"] = __nvmlDeviceGetUtilizationRates global __nvmlDeviceGetEncoderUtilization - data["__nvmlDeviceGetEncoderUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderUtilization + data["__nvmlDeviceGetEncoderUtilization"] = __nvmlDeviceGetEncoderUtilization global __nvmlDeviceGetEncoderCapacity - data["__nvmlDeviceGetEncoderCapacity"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderCapacity + data["__nvmlDeviceGetEncoderCapacity"] = __nvmlDeviceGetEncoderCapacity global __nvmlDeviceGetEncoderStats - data["__nvmlDeviceGetEncoderStats"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderStats + data["__nvmlDeviceGetEncoderStats"] = __nvmlDeviceGetEncoderStats global __nvmlDeviceGetEncoderSessions - data["__nvmlDeviceGetEncoderSessions"] = <_cyb_intptr_t>__nvmlDeviceGetEncoderSessions + data["__nvmlDeviceGetEncoderSessions"] = __nvmlDeviceGetEncoderSessions global __nvmlDeviceGetDecoderUtilization - data["__nvmlDeviceGetDecoderUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetDecoderUtilization + data["__nvmlDeviceGetDecoderUtilization"] = __nvmlDeviceGetDecoderUtilization global __nvmlDeviceGetJpgUtilization - data["__nvmlDeviceGetJpgUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetJpgUtilization + data["__nvmlDeviceGetJpgUtilization"] = __nvmlDeviceGetJpgUtilization global __nvmlDeviceGetOfaUtilization - data["__nvmlDeviceGetOfaUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetOfaUtilization + data["__nvmlDeviceGetOfaUtilization"] = __nvmlDeviceGetOfaUtilization global __nvmlDeviceGetFBCStats - data["__nvmlDeviceGetFBCStats"] = <_cyb_intptr_t>__nvmlDeviceGetFBCStats + data["__nvmlDeviceGetFBCStats"] = __nvmlDeviceGetFBCStats global __nvmlDeviceGetFBCSessions - data["__nvmlDeviceGetFBCSessions"] = <_cyb_intptr_t>__nvmlDeviceGetFBCSessions + data["__nvmlDeviceGetFBCSessions"] = __nvmlDeviceGetFBCSessions global __nvmlDeviceGetDriverModel_v2 - data["__nvmlDeviceGetDriverModel_v2"] = <_cyb_intptr_t>__nvmlDeviceGetDriverModel_v2 + data["__nvmlDeviceGetDriverModel_v2"] = __nvmlDeviceGetDriverModel_v2 global __nvmlDeviceGetVbiosVersion - data["__nvmlDeviceGetVbiosVersion"] = <_cyb_intptr_t>__nvmlDeviceGetVbiosVersion + data["__nvmlDeviceGetVbiosVersion"] = __nvmlDeviceGetVbiosVersion global __nvmlDeviceGetBridgeChipInfo - data["__nvmlDeviceGetBridgeChipInfo"] = <_cyb_intptr_t>__nvmlDeviceGetBridgeChipInfo + data["__nvmlDeviceGetBridgeChipInfo"] = __nvmlDeviceGetBridgeChipInfo global __nvmlDeviceGetComputeRunningProcesses_v3 - data["__nvmlDeviceGetComputeRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetComputeRunningProcesses_v3 + data["__nvmlDeviceGetComputeRunningProcesses_v3"] = __nvmlDeviceGetComputeRunningProcesses_v3 global __nvmlDeviceGetGraphicsRunningProcesses_v3 - data["__nvmlDeviceGetGraphicsRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetGraphicsRunningProcesses_v3 + data["__nvmlDeviceGetGraphicsRunningProcesses_v3"] = __nvmlDeviceGetGraphicsRunningProcesses_v3 global __nvmlDeviceGetMPSComputeRunningProcesses_v3 - data["__nvmlDeviceGetMPSComputeRunningProcesses_v3"] = <_cyb_intptr_t>__nvmlDeviceGetMPSComputeRunningProcesses_v3 + data["__nvmlDeviceGetMPSComputeRunningProcesses_v3"] = __nvmlDeviceGetMPSComputeRunningProcesses_v3 global __nvmlDeviceGetRunningProcessDetailList - data["__nvmlDeviceGetRunningProcessDetailList"] = <_cyb_intptr_t>__nvmlDeviceGetRunningProcessDetailList + data["__nvmlDeviceGetRunningProcessDetailList"] = __nvmlDeviceGetRunningProcessDetailList global __nvmlDeviceOnSameBoard - data["__nvmlDeviceOnSameBoard"] = <_cyb_intptr_t>__nvmlDeviceOnSameBoard + data["__nvmlDeviceOnSameBoard"] = __nvmlDeviceOnSameBoard global __nvmlDeviceGetAPIRestriction - data["__nvmlDeviceGetAPIRestriction"] = <_cyb_intptr_t>__nvmlDeviceGetAPIRestriction + data["__nvmlDeviceGetAPIRestriction"] = __nvmlDeviceGetAPIRestriction global __nvmlDeviceGetSamples - data["__nvmlDeviceGetSamples"] = <_cyb_intptr_t>__nvmlDeviceGetSamples + data["__nvmlDeviceGetSamples"] = __nvmlDeviceGetSamples global __nvmlDeviceGetBAR1MemoryInfo - data["__nvmlDeviceGetBAR1MemoryInfo"] = <_cyb_intptr_t>__nvmlDeviceGetBAR1MemoryInfo + data["__nvmlDeviceGetBAR1MemoryInfo"] = __nvmlDeviceGetBAR1MemoryInfo global __nvmlDeviceGetIrqNum - data["__nvmlDeviceGetIrqNum"] = <_cyb_intptr_t>__nvmlDeviceGetIrqNum + data["__nvmlDeviceGetIrqNum"] = __nvmlDeviceGetIrqNum global __nvmlDeviceGetNumGpuCores - data["__nvmlDeviceGetNumGpuCores"] = <_cyb_intptr_t>__nvmlDeviceGetNumGpuCores + data["__nvmlDeviceGetNumGpuCores"] = __nvmlDeviceGetNumGpuCores global __nvmlDeviceGetPowerSource - data["__nvmlDeviceGetPowerSource"] = <_cyb_intptr_t>__nvmlDeviceGetPowerSource + data["__nvmlDeviceGetPowerSource"] = __nvmlDeviceGetPowerSource global __nvmlDeviceGetMemoryBusWidth - data["__nvmlDeviceGetMemoryBusWidth"] = <_cyb_intptr_t>__nvmlDeviceGetMemoryBusWidth + data["__nvmlDeviceGetMemoryBusWidth"] = __nvmlDeviceGetMemoryBusWidth global __nvmlDeviceGetPcieLinkMaxSpeed - data["__nvmlDeviceGetPcieLinkMaxSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetPcieLinkMaxSpeed + data["__nvmlDeviceGetPcieLinkMaxSpeed"] = __nvmlDeviceGetPcieLinkMaxSpeed global __nvmlDeviceGetPcieSpeed - data["__nvmlDeviceGetPcieSpeed"] = <_cyb_intptr_t>__nvmlDeviceGetPcieSpeed + data["__nvmlDeviceGetPcieSpeed"] = __nvmlDeviceGetPcieSpeed global __nvmlDeviceGetAdaptiveClockInfoStatus - data["__nvmlDeviceGetAdaptiveClockInfoStatus"] = <_cyb_intptr_t>__nvmlDeviceGetAdaptiveClockInfoStatus + data["__nvmlDeviceGetAdaptiveClockInfoStatus"] = __nvmlDeviceGetAdaptiveClockInfoStatus global __nvmlDeviceGetBusType - data["__nvmlDeviceGetBusType"] = <_cyb_intptr_t>__nvmlDeviceGetBusType + data["__nvmlDeviceGetBusType"] = __nvmlDeviceGetBusType global __nvmlDeviceGetGpuFabricInfoV - data["__nvmlDeviceGetGpuFabricInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuFabricInfoV + data["__nvmlDeviceGetGpuFabricInfoV"] = __nvmlDeviceGetGpuFabricInfoV global __nvmlSystemGetConfComputeCapabilities - data["__nvmlSystemGetConfComputeCapabilities"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeCapabilities + data["__nvmlSystemGetConfComputeCapabilities"] = __nvmlSystemGetConfComputeCapabilities global __nvmlSystemGetConfComputeState - data["__nvmlSystemGetConfComputeState"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeState + data["__nvmlSystemGetConfComputeState"] = __nvmlSystemGetConfComputeState global __nvmlDeviceGetConfComputeMemSizeInfo - data["__nvmlDeviceGetConfComputeMemSizeInfo"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeMemSizeInfo + data["__nvmlDeviceGetConfComputeMemSizeInfo"] = __nvmlDeviceGetConfComputeMemSizeInfo global __nvmlSystemGetConfComputeGpusReadyState - data["__nvmlSystemGetConfComputeGpusReadyState"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeGpusReadyState + data["__nvmlSystemGetConfComputeGpusReadyState"] = __nvmlSystemGetConfComputeGpusReadyState global __nvmlDeviceGetConfComputeProtectedMemoryUsage - data["__nvmlDeviceGetConfComputeProtectedMemoryUsage"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeProtectedMemoryUsage + data["__nvmlDeviceGetConfComputeProtectedMemoryUsage"] = __nvmlDeviceGetConfComputeProtectedMemoryUsage global __nvmlDeviceGetConfComputeGpuCertificate - data["__nvmlDeviceGetConfComputeGpuCertificate"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeGpuCertificate + data["__nvmlDeviceGetConfComputeGpuCertificate"] = __nvmlDeviceGetConfComputeGpuCertificate global __nvmlDeviceGetConfComputeGpuAttestationReport - data["__nvmlDeviceGetConfComputeGpuAttestationReport"] = <_cyb_intptr_t>__nvmlDeviceGetConfComputeGpuAttestationReport + data["__nvmlDeviceGetConfComputeGpuAttestationReport"] = __nvmlDeviceGetConfComputeGpuAttestationReport global __nvmlSystemGetConfComputeKeyRotationThresholdInfo - data["__nvmlSystemGetConfComputeKeyRotationThresholdInfo"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeKeyRotationThresholdInfo + data["__nvmlSystemGetConfComputeKeyRotationThresholdInfo"] = __nvmlSystemGetConfComputeKeyRotationThresholdInfo global __nvmlDeviceSetConfComputeUnprotectedMemSize - data["__nvmlDeviceSetConfComputeUnprotectedMemSize"] = <_cyb_intptr_t>__nvmlDeviceSetConfComputeUnprotectedMemSize + data["__nvmlDeviceSetConfComputeUnprotectedMemSize"] = __nvmlDeviceSetConfComputeUnprotectedMemSize global __nvmlSystemSetConfComputeGpusReadyState - data["__nvmlSystemSetConfComputeGpusReadyState"] = <_cyb_intptr_t>__nvmlSystemSetConfComputeGpusReadyState + data["__nvmlSystemSetConfComputeGpusReadyState"] = __nvmlSystemSetConfComputeGpusReadyState global __nvmlSystemSetConfComputeKeyRotationThresholdInfo - data["__nvmlSystemSetConfComputeKeyRotationThresholdInfo"] = <_cyb_intptr_t>__nvmlSystemSetConfComputeKeyRotationThresholdInfo + data["__nvmlSystemSetConfComputeKeyRotationThresholdInfo"] = __nvmlSystemSetConfComputeKeyRotationThresholdInfo global __nvmlSystemGetConfComputeSettings - data["__nvmlSystemGetConfComputeSettings"] = <_cyb_intptr_t>__nvmlSystemGetConfComputeSettings + data["__nvmlSystemGetConfComputeSettings"] = __nvmlSystemGetConfComputeSettings global __nvmlDeviceGetGspFirmwareVersion - data["__nvmlDeviceGetGspFirmwareVersion"] = <_cyb_intptr_t>__nvmlDeviceGetGspFirmwareVersion + data["__nvmlDeviceGetGspFirmwareVersion"] = __nvmlDeviceGetGspFirmwareVersion global __nvmlDeviceGetGspFirmwareMode - data["__nvmlDeviceGetGspFirmwareMode"] = <_cyb_intptr_t>__nvmlDeviceGetGspFirmwareMode + data["__nvmlDeviceGetGspFirmwareMode"] = __nvmlDeviceGetGspFirmwareMode global __nvmlDeviceGetSramEccErrorStatus - data["__nvmlDeviceGetSramEccErrorStatus"] = <_cyb_intptr_t>__nvmlDeviceGetSramEccErrorStatus + data["__nvmlDeviceGetSramEccErrorStatus"] = __nvmlDeviceGetSramEccErrorStatus global __nvmlDeviceGetAccountingMode - data["__nvmlDeviceGetAccountingMode"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingMode + data["__nvmlDeviceGetAccountingMode"] = __nvmlDeviceGetAccountingMode global __nvmlDeviceGetAccountingStats - data["__nvmlDeviceGetAccountingStats"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingStats + data["__nvmlDeviceGetAccountingStats"] = __nvmlDeviceGetAccountingStats global __nvmlDeviceGetAccountingPids - data["__nvmlDeviceGetAccountingPids"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingPids + data["__nvmlDeviceGetAccountingPids"] = __nvmlDeviceGetAccountingPids global __nvmlDeviceGetAccountingBufferSize - data["__nvmlDeviceGetAccountingBufferSize"] = <_cyb_intptr_t>__nvmlDeviceGetAccountingBufferSize + data["__nvmlDeviceGetAccountingBufferSize"] = __nvmlDeviceGetAccountingBufferSize global __nvmlDeviceGetRetiredPages - data["__nvmlDeviceGetRetiredPages"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPages + data["__nvmlDeviceGetRetiredPages"] = __nvmlDeviceGetRetiredPages global __nvmlDeviceGetRetiredPages_v2 - data["__nvmlDeviceGetRetiredPages_v2"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPages_v2 + data["__nvmlDeviceGetRetiredPages_v2"] = __nvmlDeviceGetRetiredPages_v2 global __nvmlDeviceGetRetiredPagesPendingStatus - data["__nvmlDeviceGetRetiredPagesPendingStatus"] = <_cyb_intptr_t>__nvmlDeviceGetRetiredPagesPendingStatus + data["__nvmlDeviceGetRetiredPagesPendingStatus"] = __nvmlDeviceGetRetiredPagesPendingStatus global __nvmlDeviceGetRemappedRows - data["__nvmlDeviceGetRemappedRows"] = <_cyb_intptr_t>__nvmlDeviceGetRemappedRows + data["__nvmlDeviceGetRemappedRows"] = __nvmlDeviceGetRemappedRows global __nvmlDeviceGetRowRemapperHistogram - data["__nvmlDeviceGetRowRemapperHistogram"] = <_cyb_intptr_t>__nvmlDeviceGetRowRemapperHistogram + data["__nvmlDeviceGetRowRemapperHistogram"] = __nvmlDeviceGetRowRemapperHistogram global __nvmlDeviceGetArchitecture - data["__nvmlDeviceGetArchitecture"] = <_cyb_intptr_t>__nvmlDeviceGetArchitecture + data["__nvmlDeviceGetArchitecture"] = __nvmlDeviceGetArchitecture global __nvmlDeviceGetClkMonStatus - data["__nvmlDeviceGetClkMonStatus"] = <_cyb_intptr_t>__nvmlDeviceGetClkMonStatus + data["__nvmlDeviceGetClkMonStatus"] = __nvmlDeviceGetClkMonStatus global __nvmlDeviceGetProcessUtilization - data["__nvmlDeviceGetProcessUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetProcessUtilization + data["__nvmlDeviceGetProcessUtilization"] = __nvmlDeviceGetProcessUtilization global __nvmlDeviceGetProcessesUtilizationInfo - data["__nvmlDeviceGetProcessesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetProcessesUtilizationInfo + data["__nvmlDeviceGetProcessesUtilizationInfo"] = __nvmlDeviceGetProcessesUtilizationInfo global __nvmlDeviceGetPlatformInfo - data["__nvmlDeviceGetPlatformInfo"] = <_cyb_intptr_t>__nvmlDeviceGetPlatformInfo + data["__nvmlDeviceGetPlatformInfo"] = __nvmlDeviceGetPlatformInfo global __nvmlUnitSetLedState - data["__nvmlUnitSetLedState"] = <_cyb_intptr_t>__nvmlUnitSetLedState + data["__nvmlUnitSetLedState"] = __nvmlUnitSetLedState global __nvmlDeviceSetPersistenceMode - data["__nvmlDeviceSetPersistenceMode"] = <_cyb_intptr_t>__nvmlDeviceSetPersistenceMode + data["__nvmlDeviceSetPersistenceMode"] = __nvmlDeviceSetPersistenceMode global __nvmlDeviceSetComputeMode - data["__nvmlDeviceSetComputeMode"] = <_cyb_intptr_t>__nvmlDeviceSetComputeMode + data["__nvmlDeviceSetComputeMode"] = __nvmlDeviceSetComputeMode global __nvmlDeviceSetEccMode - data["__nvmlDeviceSetEccMode"] = <_cyb_intptr_t>__nvmlDeviceSetEccMode + data["__nvmlDeviceSetEccMode"] = __nvmlDeviceSetEccMode global __nvmlDeviceClearEccErrorCounts - data["__nvmlDeviceClearEccErrorCounts"] = <_cyb_intptr_t>__nvmlDeviceClearEccErrorCounts + data["__nvmlDeviceClearEccErrorCounts"] = __nvmlDeviceClearEccErrorCounts global __nvmlDeviceSetDriverModel - data["__nvmlDeviceSetDriverModel"] = <_cyb_intptr_t>__nvmlDeviceSetDriverModel + data["__nvmlDeviceSetDriverModel"] = __nvmlDeviceSetDriverModel global __nvmlDeviceSetGpuLockedClocks - data["__nvmlDeviceSetGpuLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceSetGpuLockedClocks + data["__nvmlDeviceSetGpuLockedClocks"] = __nvmlDeviceSetGpuLockedClocks global __nvmlDeviceResetGpuLockedClocks - data["__nvmlDeviceResetGpuLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceResetGpuLockedClocks + data["__nvmlDeviceResetGpuLockedClocks"] = __nvmlDeviceResetGpuLockedClocks global __nvmlDeviceSetMemoryLockedClocks - data["__nvmlDeviceSetMemoryLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceSetMemoryLockedClocks + data["__nvmlDeviceSetMemoryLockedClocks"] = __nvmlDeviceSetMemoryLockedClocks global __nvmlDeviceResetMemoryLockedClocks - data["__nvmlDeviceResetMemoryLockedClocks"] = <_cyb_intptr_t>__nvmlDeviceResetMemoryLockedClocks + data["__nvmlDeviceResetMemoryLockedClocks"] = __nvmlDeviceResetMemoryLockedClocks global __nvmlDeviceSetAutoBoostedClocksEnabled - data["__nvmlDeviceSetAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceSetAutoBoostedClocksEnabled + data["__nvmlDeviceSetAutoBoostedClocksEnabled"] = __nvmlDeviceSetAutoBoostedClocksEnabled global __nvmlDeviceSetDefaultAutoBoostedClocksEnabled - data["__nvmlDeviceSetDefaultAutoBoostedClocksEnabled"] = <_cyb_intptr_t>__nvmlDeviceSetDefaultAutoBoostedClocksEnabled + data["__nvmlDeviceSetDefaultAutoBoostedClocksEnabled"] = __nvmlDeviceSetDefaultAutoBoostedClocksEnabled global __nvmlDeviceSetDefaultFanSpeed_v2 - data["__nvmlDeviceSetDefaultFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceSetDefaultFanSpeed_v2 + data["__nvmlDeviceSetDefaultFanSpeed_v2"] = __nvmlDeviceSetDefaultFanSpeed_v2 global __nvmlDeviceSetFanControlPolicy - data["__nvmlDeviceSetFanControlPolicy"] = <_cyb_intptr_t>__nvmlDeviceSetFanControlPolicy + data["__nvmlDeviceSetFanControlPolicy"] = __nvmlDeviceSetFanControlPolicy global __nvmlDeviceSetTemperatureThreshold - data["__nvmlDeviceSetTemperatureThreshold"] = <_cyb_intptr_t>__nvmlDeviceSetTemperatureThreshold + data["__nvmlDeviceSetTemperatureThreshold"] = __nvmlDeviceSetTemperatureThreshold global __nvmlDeviceSetGpuOperationMode - data["__nvmlDeviceSetGpuOperationMode"] = <_cyb_intptr_t>__nvmlDeviceSetGpuOperationMode + data["__nvmlDeviceSetGpuOperationMode"] = __nvmlDeviceSetGpuOperationMode global __nvmlDeviceSetAPIRestriction - data["__nvmlDeviceSetAPIRestriction"] = <_cyb_intptr_t>__nvmlDeviceSetAPIRestriction + data["__nvmlDeviceSetAPIRestriction"] = __nvmlDeviceSetAPIRestriction global __nvmlDeviceSetFanSpeed_v2 - data["__nvmlDeviceSetFanSpeed_v2"] = <_cyb_intptr_t>__nvmlDeviceSetFanSpeed_v2 + data["__nvmlDeviceSetFanSpeed_v2"] = __nvmlDeviceSetFanSpeed_v2 global __nvmlDeviceSetAccountingMode - data["__nvmlDeviceSetAccountingMode"] = <_cyb_intptr_t>__nvmlDeviceSetAccountingMode + data["__nvmlDeviceSetAccountingMode"] = __nvmlDeviceSetAccountingMode global __nvmlDeviceClearAccountingPids - data["__nvmlDeviceClearAccountingPids"] = <_cyb_intptr_t>__nvmlDeviceClearAccountingPids + data["__nvmlDeviceClearAccountingPids"] = __nvmlDeviceClearAccountingPids global __nvmlDeviceSetPowerManagementLimit_v2 - data["__nvmlDeviceSetPowerManagementLimit_v2"] = <_cyb_intptr_t>__nvmlDeviceSetPowerManagementLimit_v2 + data["__nvmlDeviceSetPowerManagementLimit_v2"] = __nvmlDeviceSetPowerManagementLimit_v2 global __nvmlDeviceGetNvLinkState - data["__nvmlDeviceGetNvLinkState"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkState + data["__nvmlDeviceGetNvLinkState"] = __nvmlDeviceGetNvLinkState global __nvmlDeviceGetNvLinkVersion - data["__nvmlDeviceGetNvLinkVersion"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkVersion + data["__nvmlDeviceGetNvLinkVersion"] = __nvmlDeviceGetNvLinkVersion global __nvmlDeviceGetNvLinkCapability - data["__nvmlDeviceGetNvLinkCapability"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkCapability + data["__nvmlDeviceGetNvLinkCapability"] = __nvmlDeviceGetNvLinkCapability global __nvmlDeviceGetNvLinkRemotePciInfo_v2 - data["__nvmlDeviceGetNvLinkRemotePciInfo_v2"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkRemotePciInfo_v2 + data["__nvmlDeviceGetNvLinkRemotePciInfo_v2"] = __nvmlDeviceGetNvLinkRemotePciInfo_v2 global __nvmlDeviceGetNvLinkErrorCounter - data["__nvmlDeviceGetNvLinkErrorCounter"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkErrorCounter + data["__nvmlDeviceGetNvLinkErrorCounter"] = __nvmlDeviceGetNvLinkErrorCounter global __nvmlDeviceResetNvLinkErrorCounters - data["__nvmlDeviceResetNvLinkErrorCounters"] = <_cyb_intptr_t>__nvmlDeviceResetNvLinkErrorCounters + data["__nvmlDeviceResetNvLinkErrorCounters"] = __nvmlDeviceResetNvLinkErrorCounters global __nvmlDeviceGetNvLinkRemoteDeviceType - data["__nvmlDeviceGetNvLinkRemoteDeviceType"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkRemoteDeviceType + data["__nvmlDeviceGetNvLinkRemoteDeviceType"] = __nvmlDeviceGetNvLinkRemoteDeviceType global __nvmlDeviceSetNvLinkDeviceLowPowerThreshold - data["__nvmlDeviceSetNvLinkDeviceLowPowerThreshold"] = <_cyb_intptr_t>__nvmlDeviceSetNvLinkDeviceLowPowerThreshold + data["__nvmlDeviceSetNvLinkDeviceLowPowerThreshold"] = __nvmlDeviceSetNvLinkDeviceLowPowerThreshold global __nvmlSystemSetNvlinkBwMode - data["__nvmlSystemSetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlSystemSetNvlinkBwMode + data["__nvmlSystemSetNvlinkBwMode"] = __nvmlSystemSetNvlinkBwMode global __nvmlSystemGetNvlinkBwMode - data["__nvmlSystemGetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlSystemGetNvlinkBwMode + data["__nvmlSystemGetNvlinkBwMode"] = __nvmlSystemGetNvlinkBwMode global __nvmlDeviceGetNvlinkSupportedBwModes - data["__nvmlDeviceGetNvlinkSupportedBwModes"] = <_cyb_intptr_t>__nvmlDeviceGetNvlinkSupportedBwModes + data["__nvmlDeviceGetNvlinkSupportedBwModes"] = __nvmlDeviceGetNvlinkSupportedBwModes global __nvmlDeviceGetNvlinkBwMode - data["__nvmlDeviceGetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlDeviceGetNvlinkBwMode + data["__nvmlDeviceGetNvlinkBwMode"] = __nvmlDeviceGetNvlinkBwMode global __nvmlDeviceSetNvlinkBwMode - data["__nvmlDeviceSetNvlinkBwMode"] = <_cyb_intptr_t>__nvmlDeviceSetNvlinkBwMode + data["__nvmlDeviceSetNvlinkBwMode"] = __nvmlDeviceSetNvlinkBwMode global __nvmlEventSetCreate - data["__nvmlEventSetCreate"] = <_cyb_intptr_t>__nvmlEventSetCreate + data["__nvmlEventSetCreate"] = __nvmlEventSetCreate global __nvmlDeviceRegisterEvents - data["__nvmlDeviceRegisterEvents"] = <_cyb_intptr_t>__nvmlDeviceRegisterEvents + data["__nvmlDeviceRegisterEvents"] = __nvmlDeviceRegisterEvents global __nvmlDeviceGetSupportedEventTypes - data["__nvmlDeviceGetSupportedEventTypes"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedEventTypes + data["__nvmlDeviceGetSupportedEventTypes"] = __nvmlDeviceGetSupportedEventTypes global __nvmlEventSetWait_v2 - data["__nvmlEventSetWait_v2"] = <_cyb_intptr_t>__nvmlEventSetWait_v2 + data["__nvmlEventSetWait_v2"] = __nvmlEventSetWait_v2 global __nvmlEventSetFree - data["__nvmlEventSetFree"] = <_cyb_intptr_t>__nvmlEventSetFree + data["__nvmlEventSetFree"] = __nvmlEventSetFree global __nvmlSystemEventSetCreate - data["__nvmlSystemEventSetCreate"] = <_cyb_intptr_t>__nvmlSystemEventSetCreate + data["__nvmlSystemEventSetCreate"] = __nvmlSystemEventSetCreate global __nvmlSystemEventSetFree - data["__nvmlSystemEventSetFree"] = <_cyb_intptr_t>__nvmlSystemEventSetFree + data["__nvmlSystemEventSetFree"] = __nvmlSystemEventSetFree global __nvmlSystemRegisterEvents - data["__nvmlSystemRegisterEvents"] = <_cyb_intptr_t>__nvmlSystemRegisterEvents + data["__nvmlSystemRegisterEvents"] = __nvmlSystemRegisterEvents global __nvmlSystemEventSetWait - data["__nvmlSystemEventSetWait"] = <_cyb_intptr_t>__nvmlSystemEventSetWait + data["__nvmlSystemEventSetWait"] = __nvmlSystemEventSetWait global __nvmlDeviceModifyDrainState - data["__nvmlDeviceModifyDrainState"] = <_cyb_intptr_t>__nvmlDeviceModifyDrainState + data["__nvmlDeviceModifyDrainState"] = __nvmlDeviceModifyDrainState global __nvmlDeviceQueryDrainState - data["__nvmlDeviceQueryDrainState"] = <_cyb_intptr_t>__nvmlDeviceQueryDrainState + data["__nvmlDeviceQueryDrainState"] = __nvmlDeviceQueryDrainState global __nvmlDeviceRemoveGpu_v2 - data["__nvmlDeviceRemoveGpu_v2"] = <_cyb_intptr_t>__nvmlDeviceRemoveGpu_v2 + data["__nvmlDeviceRemoveGpu_v2"] = __nvmlDeviceRemoveGpu_v2 global __nvmlDeviceDiscoverGpus - data["__nvmlDeviceDiscoverGpus"] = <_cyb_intptr_t>__nvmlDeviceDiscoverGpus + data["__nvmlDeviceDiscoverGpus"] = __nvmlDeviceDiscoverGpus global __nvmlDeviceGetFieldValues - data["__nvmlDeviceGetFieldValues"] = <_cyb_intptr_t>__nvmlDeviceGetFieldValues + data["__nvmlDeviceGetFieldValues"] = __nvmlDeviceGetFieldValues global __nvmlDeviceClearFieldValues - data["__nvmlDeviceClearFieldValues"] = <_cyb_intptr_t>__nvmlDeviceClearFieldValues + data["__nvmlDeviceClearFieldValues"] = __nvmlDeviceClearFieldValues global __nvmlDeviceGetVirtualizationMode - data["__nvmlDeviceGetVirtualizationMode"] = <_cyb_intptr_t>__nvmlDeviceGetVirtualizationMode + data["__nvmlDeviceGetVirtualizationMode"] = __nvmlDeviceGetVirtualizationMode global __nvmlDeviceGetHostVgpuMode - data["__nvmlDeviceGetHostVgpuMode"] = <_cyb_intptr_t>__nvmlDeviceGetHostVgpuMode + data["__nvmlDeviceGetHostVgpuMode"] = __nvmlDeviceGetHostVgpuMode global __nvmlDeviceSetVirtualizationMode - data["__nvmlDeviceSetVirtualizationMode"] = <_cyb_intptr_t>__nvmlDeviceSetVirtualizationMode + data["__nvmlDeviceSetVirtualizationMode"] = __nvmlDeviceSetVirtualizationMode global __nvmlDeviceGetVgpuHeterogeneousMode - data["__nvmlDeviceGetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuHeterogeneousMode + data["__nvmlDeviceGetVgpuHeterogeneousMode"] = __nvmlDeviceGetVgpuHeterogeneousMode global __nvmlDeviceSetVgpuHeterogeneousMode - data["__nvmlDeviceSetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuHeterogeneousMode + data["__nvmlDeviceSetVgpuHeterogeneousMode"] = __nvmlDeviceSetVgpuHeterogeneousMode global __nvmlVgpuInstanceGetPlacementId - data["__nvmlVgpuInstanceGetPlacementId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetPlacementId + data["__nvmlVgpuInstanceGetPlacementId"] = __nvmlVgpuInstanceGetPlacementId global __nvmlDeviceGetVgpuTypeSupportedPlacements - data["__nvmlDeviceGetVgpuTypeSupportedPlacements"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuTypeSupportedPlacements + data["__nvmlDeviceGetVgpuTypeSupportedPlacements"] = __nvmlDeviceGetVgpuTypeSupportedPlacements global __nvmlDeviceGetVgpuTypeCreatablePlacements - data["__nvmlDeviceGetVgpuTypeCreatablePlacements"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuTypeCreatablePlacements + data["__nvmlDeviceGetVgpuTypeCreatablePlacements"] = __nvmlDeviceGetVgpuTypeCreatablePlacements global __nvmlVgpuTypeGetGspHeapSize - data["__nvmlVgpuTypeGetGspHeapSize"] = <_cyb_intptr_t>__nvmlVgpuTypeGetGspHeapSize + data["__nvmlVgpuTypeGetGspHeapSize"] = __nvmlVgpuTypeGetGspHeapSize global __nvmlVgpuTypeGetFbReservation - data["__nvmlVgpuTypeGetFbReservation"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFbReservation + data["__nvmlVgpuTypeGetFbReservation"] = __nvmlVgpuTypeGetFbReservation global __nvmlVgpuInstanceGetRuntimeStateSize - data["__nvmlVgpuInstanceGetRuntimeStateSize"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetRuntimeStateSize + data["__nvmlVgpuInstanceGetRuntimeStateSize"] = __nvmlVgpuInstanceGetRuntimeStateSize global __nvmlDeviceSetVgpuCapabilities - data["__nvmlDeviceSetVgpuCapabilities"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuCapabilities + data["__nvmlDeviceSetVgpuCapabilities"] = __nvmlDeviceSetVgpuCapabilities global __nvmlDeviceGetGridLicensableFeatures_v4 - data["__nvmlDeviceGetGridLicensableFeatures_v4"] = <_cyb_intptr_t>__nvmlDeviceGetGridLicensableFeatures_v4 + data["__nvmlDeviceGetGridLicensableFeatures_v4"] = __nvmlDeviceGetGridLicensableFeatures_v4 global __nvmlGetVgpuDriverCapabilities - data["__nvmlGetVgpuDriverCapabilities"] = <_cyb_intptr_t>__nvmlGetVgpuDriverCapabilities + data["__nvmlGetVgpuDriverCapabilities"] = __nvmlGetVgpuDriverCapabilities global __nvmlDeviceGetVgpuCapabilities - data["__nvmlDeviceGetVgpuCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuCapabilities + data["__nvmlDeviceGetVgpuCapabilities"] = __nvmlDeviceGetVgpuCapabilities global __nvmlDeviceGetSupportedVgpus - data["__nvmlDeviceGetSupportedVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetSupportedVgpus + data["__nvmlDeviceGetSupportedVgpus"] = __nvmlDeviceGetSupportedVgpus global __nvmlDeviceGetCreatableVgpus - data["__nvmlDeviceGetCreatableVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetCreatableVgpus + data["__nvmlDeviceGetCreatableVgpus"] = __nvmlDeviceGetCreatableVgpus global __nvmlVgpuTypeGetClass - data["__nvmlVgpuTypeGetClass"] = <_cyb_intptr_t>__nvmlVgpuTypeGetClass + data["__nvmlVgpuTypeGetClass"] = __nvmlVgpuTypeGetClass global __nvmlVgpuTypeGetName - data["__nvmlVgpuTypeGetName"] = <_cyb_intptr_t>__nvmlVgpuTypeGetName + data["__nvmlVgpuTypeGetName"] = __nvmlVgpuTypeGetName global __nvmlVgpuTypeGetGpuInstanceProfileId - data["__nvmlVgpuTypeGetGpuInstanceProfileId"] = <_cyb_intptr_t>__nvmlVgpuTypeGetGpuInstanceProfileId + data["__nvmlVgpuTypeGetGpuInstanceProfileId"] = __nvmlVgpuTypeGetGpuInstanceProfileId global __nvmlVgpuTypeGetDeviceID - data["__nvmlVgpuTypeGetDeviceID"] = <_cyb_intptr_t>__nvmlVgpuTypeGetDeviceID + data["__nvmlVgpuTypeGetDeviceID"] = __nvmlVgpuTypeGetDeviceID global __nvmlVgpuTypeGetFramebufferSize - data["__nvmlVgpuTypeGetFramebufferSize"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFramebufferSize + data["__nvmlVgpuTypeGetFramebufferSize"] = __nvmlVgpuTypeGetFramebufferSize global __nvmlVgpuTypeGetNumDisplayHeads - data["__nvmlVgpuTypeGetNumDisplayHeads"] = <_cyb_intptr_t>__nvmlVgpuTypeGetNumDisplayHeads + data["__nvmlVgpuTypeGetNumDisplayHeads"] = __nvmlVgpuTypeGetNumDisplayHeads global __nvmlVgpuTypeGetResolution - data["__nvmlVgpuTypeGetResolution"] = <_cyb_intptr_t>__nvmlVgpuTypeGetResolution + data["__nvmlVgpuTypeGetResolution"] = __nvmlVgpuTypeGetResolution global __nvmlVgpuTypeGetLicense - data["__nvmlVgpuTypeGetLicense"] = <_cyb_intptr_t>__nvmlVgpuTypeGetLicense + data["__nvmlVgpuTypeGetLicense"] = __nvmlVgpuTypeGetLicense global __nvmlVgpuTypeGetFrameRateLimit - data["__nvmlVgpuTypeGetFrameRateLimit"] = <_cyb_intptr_t>__nvmlVgpuTypeGetFrameRateLimit + data["__nvmlVgpuTypeGetFrameRateLimit"] = __nvmlVgpuTypeGetFrameRateLimit global __nvmlVgpuTypeGetMaxInstances - data["__nvmlVgpuTypeGetMaxInstances"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstances + data["__nvmlVgpuTypeGetMaxInstances"] = __nvmlVgpuTypeGetMaxInstances global __nvmlVgpuTypeGetMaxInstancesPerVm - data["__nvmlVgpuTypeGetMaxInstancesPerVm"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstancesPerVm + data["__nvmlVgpuTypeGetMaxInstancesPerVm"] = __nvmlVgpuTypeGetMaxInstancesPerVm global __nvmlVgpuTypeGetBAR1Info - data["__nvmlVgpuTypeGetBAR1Info"] = <_cyb_intptr_t>__nvmlVgpuTypeGetBAR1Info + data["__nvmlVgpuTypeGetBAR1Info"] = __nvmlVgpuTypeGetBAR1Info global __nvmlDeviceGetActiveVgpus - data["__nvmlDeviceGetActiveVgpus"] = <_cyb_intptr_t>__nvmlDeviceGetActiveVgpus + data["__nvmlDeviceGetActiveVgpus"] = __nvmlDeviceGetActiveVgpus global __nvmlVgpuInstanceGetVmID - data["__nvmlVgpuInstanceGetVmID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetVmID + data["__nvmlVgpuInstanceGetVmID"] = __nvmlVgpuInstanceGetVmID global __nvmlVgpuInstanceGetUUID - data["__nvmlVgpuInstanceGetUUID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetUUID + data["__nvmlVgpuInstanceGetUUID"] = __nvmlVgpuInstanceGetUUID global __nvmlVgpuInstanceGetVmDriverVersion - data["__nvmlVgpuInstanceGetVmDriverVersion"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetVmDriverVersion + data["__nvmlVgpuInstanceGetVmDriverVersion"] = __nvmlVgpuInstanceGetVmDriverVersion global __nvmlVgpuInstanceGetFbUsage - data["__nvmlVgpuInstanceGetFbUsage"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFbUsage + data["__nvmlVgpuInstanceGetFbUsage"] = __nvmlVgpuInstanceGetFbUsage global __nvmlVgpuInstanceGetLicenseStatus - data["__nvmlVgpuInstanceGetLicenseStatus"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetLicenseStatus + data["__nvmlVgpuInstanceGetLicenseStatus"] = __nvmlVgpuInstanceGetLicenseStatus global __nvmlVgpuInstanceGetType - data["__nvmlVgpuInstanceGetType"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetType + data["__nvmlVgpuInstanceGetType"] = __nvmlVgpuInstanceGetType global __nvmlVgpuInstanceGetFrameRateLimit - data["__nvmlVgpuInstanceGetFrameRateLimit"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFrameRateLimit + data["__nvmlVgpuInstanceGetFrameRateLimit"] = __nvmlVgpuInstanceGetFrameRateLimit global __nvmlVgpuInstanceGetEccMode - data["__nvmlVgpuInstanceGetEccMode"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEccMode + data["__nvmlVgpuInstanceGetEccMode"] = __nvmlVgpuInstanceGetEccMode global __nvmlVgpuInstanceGetEncoderCapacity - data["__nvmlVgpuInstanceGetEncoderCapacity"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderCapacity + data["__nvmlVgpuInstanceGetEncoderCapacity"] = __nvmlVgpuInstanceGetEncoderCapacity global __nvmlVgpuInstanceSetEncoderCapacity - data["__nvmlVgpuInstanceSetEncoderCapacity"] = <_cyb_intptr_t>__nvmlVgpuInstanceSetEncoderCapacity + data["__nvmlVgpuInstanceSetEncoderCapacity"] = __nvmlVgpuInstanceSetEncoderCapacity global __nvmlVgpuInstanceGetEncoderStats - data["__nvmlVgpuInstanceGetEncoderStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderStats + data["__nvmlVgpuInstanceGetEncoderStats"] = __nvmlVgpuInstanceGetEncoderStats global __nvmlVgpuInstanceGetEncoderSessions - data["__nvmlVgpuInstanceGetEncoderSessions"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetEncoderSessions + data["__nvmlVgpuInstanceGetEncoderSessions"] = __nvmlVgpuInstanceGetEncoderSessions global __nvmlVgpuInstanceGetFBCStats - data["__nvmlVgpuInstanceGetFBCStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFBCStats + data["__nvmlVgpuInstanceGetFBCStats"] = __nvmlVgpuInstanceGetFBCStats global __nvmlVgpuInstanceGetFBCSessions - data["__nvmlVgpuInstanceGetFBCSessions"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetFBCSessions + data["__nvmlVgpuInstanceGetFBCSessions"] = __nvmlVgpuInstanceGetFBCSessions global __nvmlVgpuInstanceGetGpuInstanceId - data["__nvmlVgpuInstanceGetGpuInstanceId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetGpuInstanceId + data["__nvmlVgpuInstanceGetGpuInstanceId"] = __nvmlVgpuInstanceGetGpuInstanceId global __nvmlVgpuInstanceGetGpuPciId - data["__nvmlVgpuInstanceGetGpuPciId"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetGpuPciId + data["__nvmlVgpuInstanceGetGpuPciId"] = __nvmlVgpuInstanceGetGpuPciId global __nvmlVgpuTypeGetCapabilities - data["__nvmlVgpuTypeGetCapabilities"] = <_cyb_intptr_t>__nvmlVgpuTypeGetCapabilities + data["__nvmlVgpuTypeGetCapabilities"] = __nvmlVgpuTypeGetCapabilities global __nvmlVgpuInstanceGetMdevUUID - data["__nvmlVgpuInstanceGetMdevUUID"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetMdevUUID + data["__nvmlVgpuInstanceGetMdevUUID"] = __nvmlVgpuInstanceGetMdevUUID global __nvmlGpuInstanceGetCreatableVgpus - data["__nvmlGpuInstanceGetCreatableVgpus"] = <_cyb_intptr_t>__nvmlGpuInstanceGetCreatableVgpus + data["__nvmlGpuInstanceGetCreatableVgpus"] = __nvmlGpuInstanceGetCreatableVgpus global __nvmlVgpuTypeGetMaxInstancesPerGpuInstance - data["__nvmlVgpuTypeGetMaxInstancesPerGpuInstance"] = <_cyb_intptr_t>__nvmlVgpuTypeGetMaxInstancesPerGpuInstance + data["__nvmlVgpuTypeGetMaxInstancesPerGpuInstance"] = __nvmlVgpuTypeGetMaxInstancesPerGpuInstance global __nvmlGpuInstanceGetActiveVgpus - data["__nvmlGpuInstanceGetActiveVgpus"] = <_cyb_intptr_t>__nvmlGpuInstanceGetActiveVgpus + data["__nvmlGpuInstanceGetActiveVgpus"] = __nvmlGpuInstanceGetActiveVgpus global __nvmlGpuInstanceSetVgpuSchedulerState - data["__nvmlGpuInstanceSetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuSchedulerState + data["__nvmlGpuInstanceSetVgpuSchedulerState"] = __nvmlGpuInstanceSetVgpuSchedulerState global __nvmlGpuInstanceGetVgpuSchedulerState - data["__nvmlGpuInstanceGetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerState + data["__nvmlGpuInstanceGetVgpuSchedulerState"] = __nvmlGpuInstanceGetVgpuSchedulerState global __nvmlGpuInstanceGetVgpuSchedulerLog - data["__nvmlGpuInstanceGetVgpuSchedulerLog"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerLog + data["__nvmlGpuInstanceGetVgpuSchedulerLog"] = __nvmlGpuInstanceGetVgpuSchedulerLog global __nvmlGpuInstanceGetVgpuTypeCreatablePlacements - data["__nvmlGpuInstanceGetVgpuTypeCreatablePlacements"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuTypeCreatablePlacements + data["__nvmlGpuInstanceGetVgpuTypeCreatablePlacements"] = __nvmlGpuInstanceGetVgpuTypeCreatablePlacements global __nvmlGpuInstanceGetVgpuHeterogeneousMode - data["__nvmlGpuInstanceGetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuHeterogeneousMode + data["__nvmlGpuInstanceGetVgpuHeterogeneousMode"] = __nvmlGpuInstanceGetVgpuHeterogeneousMode global __nvmlGpuInstanceSetVgpuHeterogeneousMode - data["__nvmlGpuInstanceSetVgpuHeterogeneousMode"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuHeterogeneousMode + data["__nvmlGpuInstanceSetVgpuHeterogeneousMode"] = __nvmlGpuInstanceSetVgpuHeterogeneousMode global __nvmlVgpuInstanceGetMetadata - data["__nvmlVgpuInstanceGetMetadata"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetMetadata + data["__nvmlVgpuInstanceGetMetadata"] = __nvmlVgpuInstanceGetMetadata global __nvmlDeviceGetVgpuMetadata - data["__nvmlDeviceGetVgpuMetadata"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuMetadata + data["__nvmlDeviceGetVgpuMetadata"] = __nvmlDeviceGetVgpuMetadata global __nvmlGetVgpuCompatibility - data["__nvmlGetVgpuCompatibility"] = <_cyb_intptr_t>__nvmlGetVgpuCompatibility + data["__nvmlGetVgpuCompatibility"] = __nvmlGetVgpuCompatibility global __nvmlDeviceGetPgpuMetadataString - data["__nvmlDeviceGetPgpuMetadataString"] = <_cyb_intptr_t>__nvmlDeviceGetPgpuMetadataString + data["__nvmlDeviceGetPgpuMetadataString"] = __nvmlDeviceGetPgpuMetadataString global __nvmlDeviceGetVgpuSchedulerLog - data["__nvmlDeviceGetVgpuSchedulerLog"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerLog + data["__nvmlDeviceGetVgpuSchedulerLog"] = __nvmlDeviceGetVgpuSchedulerLog global __nvmlDeviceGetVgpuSchedulerState - data["__nvmlDeviceGetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerState + data["__nvmlDeviceGetVgpuSchedulerState"] = __nvmlDeviceGetVgpuSchedulerState global __nvmlDeviceGetVgpuSchedulerCapabilities - data["__nvmlDeviceGetVgpuSchedulerCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerCapabilities + data["__nvmlDeviceGetVgpuSchedulerCapabilities"] = __nvmlDeviceGetVgpuSchedulerCapabilities global __nvmlDeviceSetVgpuSchedulerState - data["__nvmlDeviceSetVgpuSchedulerState"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuSchedulerState + data["__nvmlDeviceSetVgpuSchedulerState"] = __nvmlDeviceSetVgpuSchedulerState global __nvmlGetVgpuVersion - data["__nvmlGetVgpuVersion"] = <_cyb_intptr_t>__nvmlGetVgpuVersion + data["__nvmlGetVgpuVersion"] = __nvmlGetVgpuVersion global __nvmlSetVgpuVersion - data["__nvmlSetVgpuVersion"] = <_cyb_intptr_t>__nvmlSetVgpuVersion + data["__nvmlSetVgpuVersion"] = __nvmlSetVgpuVersion global __nvmlDeviceGetVgpuUtilization - data["__nvmlDeviceGetVgpuUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuUtilization + data["__nvmlDeviceGetVgpuUtilization"] = __nvmlDeviceGetVgpuUtilization global __nvmlDeviceGetVgpuInstancesUtilizationInfo - data["__nvmlDeviceGetVgpuInstancesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuInstancesUtilizationInfo + data["__nvmlDeviceGetVgpuInstancesUtilizationInfo"] = __nvmlDeviceGetVgpuInstancesUtilizationInfo global __nvmlDeviceGetVgpuProcessUtilization - data["__nvmlDeviceGetVgpuProcessUtilization"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuProcessUtilization + data["__nvmlDeviceGetVgpuProcessUtilization"] = __nvmlDeviceGetVgpuProcessUtilization global __nvmlDeviceGetVgpuProcessesUtilizationInfo - data["__nvmlDeviceGetVgpuProcessesUtilizationInfo"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuProcessesUtilizationInfo + data["__nvmlDeviceGetVgpuProcessesUtilizationInfo"] = __nvmlDeviceGetVgpuProcessesUtilizationInfo global __nvmlVgpuInstanceGetAccountingMode - data["__nvmlVgpuInstanceGetAccountingMode"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingMode + data["__nvmlVgpuInstanceGetAccountingMode"] = __nvmlVgpuInstanceGetAccountingMode global __nvmlVgpuInstanceGetAccountingPids - data["__nvmlVgpuInstanceGetAccountingPids"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingPids + data["__nvmlVgpuInstanceGetAccountingPids"] = __nvmlVgpuInstanceGetAccountingPids global __nvmlVgpuInstanceGetAccountingStats - data["__nvmlVgpuInstanceGetAccountingStats"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetAccountingStats + data["__nvmlVgpuInstanceGetAccountingStats"] = __nvmlVgpuInstanceGetAccountingStats global __nvmlVgpuInstanceClearAccountingPids - data["__nvmlVgpuInstanceClearAccountingPids"] = <_cyb_intptr_t>__nvmlVgpuInstanceClearAccountingPids + data["__nvmlVgpuInstanceClearAccountingPids"] = __nvmlVgpuInstanceClearAccountingPids global __nvmlVgpuInstanceGetLicenseInfo_v2 - data["__nvmlVgpuInstanceGetLicenseInfo_v2"] = <_cyb_intptr_t>__nvmlVgpuInstanceGetLicenseInfo_v2 + data["__nvmlVgpuInstanceGetLicenseInfo_v2"] = __nvmlVgpuInstanceGetLicenseInfo_v2 global __nvmlGetExcludedDeviceCount - data["__nvmlGetExcludedDeviceCount"] = <_cyb_intptr_t>__nvmlGetExcludedDeviceCount + data["__nvmlGetExcludedDeviceCount"] = __nvmlGetExcludedDeviceCount global __nvmlGetExcludedDeviceInfoByIndex - data["__nvmlGetExcludedDeviceInfoByIndex"] = <_cyb_intptr_t>__nvmlGetExcludedDeviceInfoByIndex + data["__nvmlGetExcludedDeviceInfoByIndex"] = __nvmlGetExcludedDeviceInfoByIndex global __nvmlDeviceSetMigMode - data["__nvmlDeviceSetMigMode"] = <_cyb_intptr_t>__nvmlDeviceSetMigMode + data["__nvmlDeviceSetMigMode"] = __nvmlDeviceSetMigMode global __nvmlDeviceGetMigMode - data["__nvmlDeviceGetMigMode"] = <_cyb_intptr_t>__nvmlDeviceGetMigMode + data["__nvmlDeviceGetMigMode"] = __nvmlDeviceGetMigMode global __nvmlDeviceGetGpuInstanceProfileInfoV - data["__nvmlDeviceGetGpuInstanceProfileInfoV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceProfileInfoV + data["__nvmlDeviceGetGpuInstanceProfileInfoV"] = __nvmlDeviceGetGpuInstanceProfileInfoV global __nvmlDeviceGetGpuInstancePossiblePlacements_v2 - data["__nvmlDeviceGetGpuInstancePossiblePlacements_v2"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstancePossiblePlacements_v2 + data["__nvmlDeviceGetGpuInstancePossiblePlacements_v2"] = __nvmlDeviceGetGpuInstancePossiblePlacements_v2 global __nvmlDeviceGetGpuInstanceRemainingCapacity - data["__nvmlDeviceGetGpuInstanceRemainingCapacity"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceRemainingCapacity + data["__nvmlDeviceGetGpuInstanceRemainingCapacity"] = __nvmlDeviceGetGpuInstanceRemainingCapacity global __nvmlDeviceCreateGpuInstance - data["__nvmlDeviceCreateGpuInstance"] = <_cyb_intptr_t>__nvmlDeviceCreateGpuInstance + data["__nvmlDeviceCreateGpuInstance"] = __nvmlDeviceCreateGpuInstance global __nvmlDeviceCreateGpuInstanceWithPlacement - data["__nvmlDeviceCreateGpuInstanceWithPlacement"] = <_cyb_intptr_t>__nvmlDeviceCreateGpuInstanceWithPlacement + data["__nvmlDeviceCreateGpuInstanceWithPlacement"] = __nvmlDeviceCreateGpuInstanceWithPlacement global __nvmlGpuInstanceDestroy - data["__nvmlGpuInstanceDestroy"] = <_cyb_intptr_t>__nvmlGpuInstanceDestroy + data["__nvmlGpuInstanceDestroy"] = __nvmlGpuInstanceDestroy global __nvmlDeviceGetGpuInstances - data["__nvmlDeviceGetGpuInstances"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstances + data["__nvmlDeviceGetGpuInstances"] = __nvmlDeviceGetGpuInstances global __nvmlDeviceGetGpuInstanceById - data["__nvmlDeviceGetGpuInstanceById"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceById + data["__nvmlDeviceGetGpuInstanceById"] = __nvmlDeviceGetGpuInstanceById global __nvmlGpuInstanceGetInfo - data["__nvmlGpuInstanceGetInfo"] = <_cyb_intptr_t>__nvmlGpuInstanceGetInfo + data["__nvmlGpuInstanceGetInfo"] = __nvmlGpuInstanceGetInfo global __nvmlGpuInstanceGetComputeInstanceProfileInfoV - data["__nvmlGpuInstanceGetComputeInstanceProfileInfoV"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceProfileInfoV + data["__nvmlGpuInstanceGetComputeInstanceProfileInfoV"] = __nvmlGpuInstanceGetComputeInstanceProfileInfoV global __nvmlGpuInstanceGetComputeInstanceRemainingCapacity - data["__nvmlGpuInstanceGetComputeInstanceRemainingCapacity"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceRemainingCapacity + data["__nvmlGpuInstanceGetComputeInstanceRemainingCapacity"] = __nvmlGpuInstanceGetComputeInstanceRemainingCapacity global __nvmlGpuInstanceGetComputeInstancePossiblePlacements - data["__nvmlGpuInstanceGetComputeInstancePossiblePlacements"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstancePossiblePlacements + data["__nvmlGpuInstanceGetComputeInstancePossiblePlacements"] = __nvmlGpuInstanceGetComputeInstancePossiblePlacements global __nvmlGpuInstanceCreateComputeInstance - data["__nvmlGpuInstanceCreateComputeInstance"] = <_cyb_intptr_t>__nvmlGpuInstanceCreateComputeInstance + data["__nvmlGpuInstanceCreateComputeInstance"] = __nvmlGpuInstanceCreateComputeInstance global __nvmlGpuInstanceCreateComputeInstanceWithPlacement - data["__nvmlGpuInstanceCreateComputeInstanceWithPlacement"] = <_cyb_intptr_t>__nvmlGpuInstanceCreateComputeInstanceWithPlacement + data["__nvmlGpuInstanceCreateComputeInstanceWithPlacement"] = __nvmlGpuInstanceCreateComputeInstanceWithPlacement global __nvmlComputeInstanceDestroy - data["__nvmlComputeInstanceDestroy"] = <_cyb_intptr_t>__nvmlComputeInstanceDestroy + data["__nvmlComputeInstanceDestroy"] = __nvmlComputeInstanceDestroy global __nvmlGpuInstanceGetComputeInstances - data["__nvmlGpuInstanceGetComputeInstances"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstances + data["__nvmlGpuInstanceGetComputeInstances"] = __nvmlGpuInstanceGetComputeInstances global __nvmlGpuInstanceGetComputeInstanceById - data["__nvmlGpuInstanceGetComputeInstanceById"] = <_cyb_intptr_t>__nvmlGpuInstanceGetComputeInstanceById + data["__nvmlGpuInstanceGetComputeInstanceById"] = __nvmlGpuInstanceGetComputeInstanceById global __nvmlComputeInstanceGetInfo_v2 - data["__nvmlComputeInstanceGetInfo_v2"] = <_cyb_intptr_t>__nvmlComputeInstanceGetInfo_v2 + data["__nvmlComputeInstanceGetInfo_v2"] = __nvmlComputeInstanceGetInfo_v2 global __nvmlDeviceIsMigDeviceHandle - data["__nvmlDeviceIsMigDeviceHandle"] = <_cyb_intptr_t>__nvmlDeviceIsMigDeviceHandle + data["__nvmlDeviceIsMigDeviceHandle"] = __nvmlDeviceIsMigDeviceHandle global __nvmlDeviceGetGpuInstanceId - data["__nvmlDeviceGetGpuInstanceId"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceId + data["__nvmlDeviceGetGpuInstanceId"] = __nvmlDeviceGetGpuInstanceId global __nvmlDeviceGetComputeInstanceId - data["__nvmlDeviceGetComputeInstanceId"] = <_cyb_intptr_t>__nvmlDeviceGetComputeInstanceId + data["__nvmlDeviceGetComputeInstanceId"] = __nvmlDeviceGetComputeInstanceId global __nvmlDeviceGetMaxMigDeviceCount - data["__nvmlDeviceGetMaxMigDeviceCount"] = <_cyb_intptr_t>__nvmlDeviceGetMaxMigDeviceCount + data["__nvmlDeviceGetMaxMigDeviceCount"] = __nvmlDeviceGetMaxMigDeviceCount global __nvmlDeviceGetMigDeviceHandleByIndex - data["__nvmlDeviceGetMigDeviceHandleByIndex"] = <_cyb_intptr_t>__nvmlDeviceGetMigDeviceHandleByIndex + data["__nvmlDeviceGetMigDeviceHandleByIndex"] = __nvmlDeviceGetMigDeviceHandleByIndex global __nvmlDeviceGetDeviceHandleFromMigDeviceHandle - data["__nvmlDeviceGetDeviceHandleFromMigDeviceHandle"] = <_cyb_intptr_t>__nvmlDeviceGetDeviceHandleFromMigDeviceHandle + data["__nvmlDeviceGetDeviceHandleFromMigDeviceHandle"] = __nvmlDeviceGetDeviceHandleFromMigDeviceHandle global __nvmlDeviceGetCapabilities - data["__nvmlDeviceGetCapabilities"] = <_cyb_intptr_t>__nvmlDeviceGetCapabilities + data["__nvmlDeviceGetCapabilities"] = __nvmlDeviceGetCapabilities global __nvmlDevicePowerSmoothingActivatePresetProfile - data["__nvmlDevicePowerSmoothingActivatePresetProfile"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingActivatePresetProfile + data["__nvmlDevicePowerSmoothingActivatePresetProfile"] = __nvmlDevicePowerSmoothingActivatePresetProfile global __nvmlDevicePowerSmoothingUpdatePresetProfileParam - data["__nvmlDevicePowerSmoothingUpdatePresetProfileParam"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingUpdatePresetProfileParam + data["__nvmlDevicePowerSmoothingUpdatePresetProfileParam"] = __nvmlDevicePowerSmoothingUpdatePresetProfileParam global __nvmlDevicePowerSmoothingSetState - data["__nvmlDevicePowerSmoothingSetState"] = <_cyb_intptr_t>__nvmlDevicePowerSmoothingSetState + data["__nvmlDevicePowerSmoothingSetState"] = __nvmlDevicePowerSmoothingSetState global __nvmlDeviceGetAddressingMode - data["__nvmlDeviceGetAddressingMode"] = <_cyb_intptr_t>__nvmlDeviceGetAddressingMode + data["__nvmlDeviceGetAddressingMode"] = __nvmlDeviceGetAddressingMode global __nvmlDeviceGetRepairStatus - data["__nvmlDeviceGetRepairStatus"] = <_cyb_intptr_t>__nvmlDeviceGetRepairStatus + data["__nvmlDeviceGetRepairStatus"] = __nvmlDeviceGetRepairStatus global __nvmlDeviceGetPowerMizerMode_v1 - data["__nvmlDeviceGetPowerMizerMode_v1"] = <_cyb_intptr_t>__nvmlDeviceGetPowerMizerMode_v1 + data["__nvmlDeviceGetPowerMizerMode_v1"] = __nvmlDeviceGetPowerMizerMode_v1 global __nvmlDeviceSetPowerMizerMode_v1 - data["__nvmlDeviceSetPowerMizerMode_v1"] = <_cyb_intptr_t>__nvmlDeviceSetPowerMizerMode_v1 + data["__nvmlDeviceSetPowerMizerMode_v1"] = __nvmlDeviceSetPowerMizerMode_v1 global __nvmlDeviceGetPdi - data["__nvmlDeviceGetPdi"] = <_cyb_intptr_t>__nvmlDeviceGetPdi + data["__nvmlDeviceGetPdi"] = __nvmlDeviceGetPdi global __nvmlDeviceSetHostname_v1 - data["__nvmlDeviceSetHostname_v1"] = <_cyb_intptr_t>__nvmlDeviceSetHostname_v1 + data["__nvmlDeviceSetHostname_v1"] = __nvmlDeviceSetHostname_v1 global __nvmlDeviceGetHostname_v1 - data["__nvmlDeviceGetHostname_v1"] = <_cyb_intptr_t>__nvmlDeviceGetHostname_v1 + data["__nvmlDeviceGetHostname_v1"] = __nvmlDeviceGetHostname_v1 global __nvmlDeviceGetNvLinkInfo - data["__nvmlDeviceGetNvLinkInfo"] = <_cyb_intptr_t>__nvmlDeviceGetNvLinkInfo + data["__nvmlDeviceGetNvLinkInfo"] = __nvmlDeviceGetNvLinkInfo global __nvmlDeviceReadWritePRM_v1 - data["__nvmlDeviceReadWritePRM_v1"] = <_cyb_intptr_t>__nvmlDeviceReadWritePRM_v1 + data["__nvmlDeviceReadWritePRM_v1"] = __nvmlDeviceReadWritePRM_v1 global __nvmlDeviceGetGpuInstanceProfileInfoByIdV - data["__nvmlDeviceGetGpuInstanceProfileInfoByIdV"] = <_cyb_intptr_t>__nvmlDeviceGetGpuInstanceProfileInfoByIdV + data["__nvmlDeviceGetGpuInstanceProfileInfoByIdV"] = __nvmlDeviceGetGpuInstanceProfileInfoByIdV global __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts - data["__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts"] = <_cyb_intptr_t>__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts + data["__nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts"] = __nvmlDeviceGetSramUniqueUncorrectedEccErrorCounts global __nvmlDeviceGetUnrepairableMemoryFlag_v1 - data["__nvmlDeviceGetUnrepairableMemoryFlag_v1"] = <_cyb_intptr_t>__nvmlDeviceGetUnrepairableMemoryFlag_v1 + data["__nvmlDeviceGetUnrepairableMemoryFlag_v1"] = __nvmlDeviceGetUnrepairableMemoryFlag_v1 global __nvmlDeviceReadPRMCounters_v1 - data["__nvmlDeviceReadPRMCounters_v1"] = <_cyb_intptr_t>__nvmlDeviceReadPRMCounters_v1 + data["__nvmlDeviceReadPRMCounters_v1"] = __nvmlDeviceReadPRMCounters_v1 global __nvmlDeviceSetRusdSettings_v1 - data["__nvmlDeviceSetRusdSettings_v1"] = <_cyb_intptr_t>__nvmlDeviceSetRusdSettings_v1 + data["__nvmlDeviceSetRusdSettings_v1"] = __nvmlDeviceSetRusdSettings_v1 global __nvmlDeviceVgpuForceGspUnload - data["__nvmlDeviceVgpuForceGspUnload"] = <_cyb_intptr_t>__nvmlDeviceVgpuForceGspUnload + data["__nvmlDeviceVgpuForceGspUnload"] = __nvmlDeviceVgpuForceGspUnload global __nvmlDeviceGetVgpuSchedulerState_v2 - data["__nvmlDeviceGetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerState_v2 + data["__nvmlDeviceGetVgpuSchedulerState_v2"] = __nvmlDeviceGetVgpuSchedulerState_v2 global __nvmlGpuInstanceGetVgpuSchedulerState_v2 - data["__nvmlGpuInstanceGetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerState_v2 + data["__nvmlGpuInstanceGetVgpuSchedulerState_v2"] = __nvmlGpuInstanceGetVgpuSchedulerState_v2 global __nvmlDeviceGetVgpuSchedulerLog_v2 - data["__nvmlDeviceGetVgpuSchedulerLog_v2"] = <_cyb_intptr_t>__nvmlDeviceGetVgpuSchedulerLog_v2 + data["__nvmlDeviceGetVgpuSchedulerLog_v2"] = __nvmlDeviceGetVgpuSchedulerLog_v2 global __nvmlGpuInstanceGetVgpuSchedulerLog_v2 - data["__nvmlGpuInstanceGetVgpuSchedulerLog_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceGetVgpuSchedulerLog_v2 + data["__nvmlGpuInstanceGetVgpuSchedulerLog_v2"] = __nvmlGpuInstanceGetVgpuSchedulerLog_v2 global __nvmlDeviceSetVgpuSchedulerState_v2 - data["__nvmlDeviceSetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlDeviceSetVgpuSchedulerState_v2 + data["__nvmlDeviceSetVgpuSchedulerState_v2"] = __nvmlDeviceSetVgpuSchedulerState_v2 global __nvmlGpuInstanceSetVgpuSchedulerState_v2 - data["__nvmlGpuInstanceSetVgpuSchedulerState_v2"] = <_cyb_intptr_t>__nvmlGpuInstanceSetVgpuSchedulerState_v2 + data["__nvmlGpuInstanceSetVgpuSchedulerState_v2"] = __nvmlGpuInstanceSetVgpuSchedulerState_v2 + + global __nvmlSystemGetCPER_v1 + data["__nvmlSystemGetCPER_v1"] = __nvmlSystemGetCPER_v1 + + global __nvmlDeviceGetBBXTimeData_v1 + data["__nvmlDeviceGetBBXTimeData_v1"] = __nvmlDeviceGetBBXTimeData_v1 + + global __nvmlDeviceGetAccountingStats_v2 + data["__nvmlDeviceGetAccountingStats_v2"] = __nvmlDeviceGetAccountingStats_v2 + + global __nvmlDeviceGetRemappedRows_v2 + data["__nvmlDeviceGetRemappedRows_v2"] = __nvmlDeviceGetRemappedRows_v2 _cyb_func_ptrs = data return data @@ -6073,3 +6104,43 @@ cdef nvmlReturn_t _nvmlGpuInstanceSetVgpuSchedulerState_v2(nvmlGpuInstance_t gpu raise FunctionNotFoundError("function nvmlGpuInstanceSetVgpuSchedulerState_v2 is not found") return (__nvmlGpuInstanceSetVgpuSchedulerState_v2)( gpuInstance, pSchedulerState) + + +cdef nvmlReturn_t _nvmlSystemGetCPER_v1(nvmlGetCPER_v1_t* cper) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + global __nvmlSystemGetCPER_v1 + _check_or_init_nvml() + if __nvmlSystemGetCPER_v1 == NULL: + with gil: + raise FunctionNotFoundError("function nvmlSystemGetCPER_v1 is not found") + return (__nvmlSystemGetCPER_v1)( + cper) + + +cdef nvmlReturn_t _nvmlDeviceGetBBXTimeData_v1(nvmlDevice_t device, nvmlBBXTimeData_v1_t* timeData) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + global __nvmlDeviceGetBBXTimeData_v1 + _check_or_init_nvml() + if __nvmlDeviceGetBBXTimeData_v1 == NULL: + with gil: + raise FunctionNotFoundError("function nvmlDeviceGetBBXTimeData_v1 is not found") + return (__nvmlDeviceGetBBXTimeData_v1)( + device, timeData) + + +cdef nvmlReturn_t _nvmlDeviceGetAccountingStats_v2(nvmlDevice_t device, nvmlAccountingStats_v2_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + global __nvmlDeviceGetAccountingStats_v2 + _check_or_init_nvml() + if __nvmlDeviceGetAccountingStats_v2 == NULL: + with gil: + raise FunctionNotFoundError("function nvmlDeviceGetAccountingStats_v2 is not found") + return (__nvmlDeviceGetAccountingStats_v2)( + device, stats) + + +cdef nvmlReturn_t _nvmlDeviceGetRemappedRows_v2(nvmlDevice_t device, nvmlRemappedRowsInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + global __nvmlDeviceGetRemappedRows_v2 + _check_or_init_nvml() + if __nvmlDeviceGetRemappedRows_v2 == NULL: + with gil: + raise FunctionNotFoundError("function nvmlDeviceGetRemappedRows_v2 is not found") + return (__nvmlDeviceGetRemappedRows_v2)( + device, info) diff --git a/cuda_bindings/cuda/bindings/_internal/nvrtc_linux.pyx b/cuda_bindings/cuda/bindings/_internal/nvrtc_linux.pyx index 30e91867341..4b892fbb805 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvrtc_linux.pyx +++ b/cuda_bindings/cuda/bindings/_internal/nvrtc_linux.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated with version 12.9.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=6853fa1859b4822144a4c2e8d564c365b091bfeb81ae1f0dbcb7266b197bae4e +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b382b06daa43bc67abaa1ef39ecee58156ba05220b82cbec693a063fa73f1b27 # <<<< PREAMBLE CONTENT >>>> @@ -44,7 +44,7 @@ cdef extern from "": void* _cyb_dlsym "dlsym"(void*, const char*) nogil const void * _cyb_RTLD_DEFAULT "RTLD_DEFAULT" -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport intptr_t import threading as _cyb_threading @@ -281,76 +281,76 @@ cpdef dict _inspect_function_pointers(): _check_or_init_nvrtc() cdef dict data = {} global __nvrtcGetErrorString - data["__nvrtcGetErrorString"] = <_cyb_intptr_t>__nvrtcGetErrorString + data["__nvrtcGetErrorString"] = __nvrtcGetErrorString global __nvrtcVersion - data["__nvrtcVersion"] = <_cyb_intptr_t>__nvrtcVersion + data["__nvrtcVersion"] = __nvrtcVersion global __nvrtcGetNumSupportedArchs - data["__nvrtcGetNumSupportedArchs"] = <_cyb_intptr_t>__nvrtcGetNumSupportedArchs + data["__nvrtcGetNumSupportedArchs"] = __nvrtcGetNumSupportedArchs global __nvrtcGetSupportedArchs - data["__nvrtcGetSupportedArchs"] = <_cyb_intptr_t>__nvrtcGetSupportedArchs + data["__nvrtcGetSupportedArchs"] = __nvrtcGetSupportedArchs global __nvrtcCreateProgram - data["__nvrtcCreateProgram"] = <_cyb_intptr_t>__nvrtcCreateProgram + data["__nvrtcCreateProgram"] = __nvrtcCreateProgram global __nvrtcDestroyProgram - data["__nvrtcDestroyProgram"] = <_cyb_intptr_t>__nvrtcDestroyProgram + data["__nvrtcDestroyProgram"] = __nvrtcDestroyProgram global __nvrtcCompileProgram - data["__nvrtcCompileProgram"] = <_cyb_intptr_t>__nvrtcCompileProgram + data["__nvrtcCompileProgram"] = __nvrtcCompileProgram global __nvrtcGetPTXSize - data["__nvrtcGetPTXSize"] = <_cyb_intptr_t>__nvrtcGetPTXSize + data["__nvrtcGetPTXSize"] = __nvrtcGetPTXSize global __nvrtcGetPTX - data["__nvrtcGetPTX"] = <_cyb_intptr_t>__nvrtcGetPTX + data["__nvrtcGetPTX"] = __nvrtcGetPTX global __nvrtcGetCUBINSize - data["__nvrtcGetCUBINSize"] = <_cyb_intptr_t>__nvrtcGetCUBINSize + data["__nvrtcGetCUBINSize"] = __nvrtcGetCUBINSize global __nvrtcGetCUBIN - data["__nvrtcGetCUBIN"] = <_cyb_intptr_t>__nvrtcGetCUBIN + data["__nvrtcGetCUBIN"] = __nvrtcGetCUBIN global __nvrtcGetLTOIRSize - data["__nvrtcGetLTOIRSize"] = <_cyb_intptr_t>__nvrtcGetLTOIRSize + data["__nvrtcGetLTOIRSize"] = __nvrtcGetLTOIRSize global __nvrtcGetLTOIR - data["__nvrtcGetLTOIR"] = <_cyb_intptr_t>__nvrtcGetLTOIR + data["__nvrtcGetLTOIR"] = __nvrtcGetLTOIR global __nvrtcGetOptiXIRSize - data["__nvrtcGetOptiXIRSize"] = <_cyb_intptr_t>__nvrtcGetOptiXIRSize + data["__nvrtcGetOptiXIRSize"] = __nvrtcGetOptiXIRSize global __nvrtcGetOptiXIR - data["__nvrtcGetOptiXIR"] = <_cyb_intptr_t>__nvrtcGetOptiXIR + data["__nvrtcGetOptiXIR"] = __nvrtcGetOptiXIR global __nvrtcGetProgramLogSize - data["__nvrtcGetProgramLogSize"] = <_cyb_intptr_t>__nvrtcGetProgramLogSize + data["__nvrtcGetProgramLogSize"] = __nvrtcGetProgramLogSize global __nvrtcGetProgramLog - data["__nvrtcGetProgramLog"] = <_cyb_intptr_t>__nvrtcGetProgramLog + data["__nvrtcGetProgramLog"] = __nvrtcGetProgramLog global __nvrtcAddNameExpression - data["__nvrtcAddNameExpression"] = <_cyb_intptr_t>__nvrtcAddNameExpression + data["__nvrtcAddNameExpression"] = __nvrtcAddNameExpression global __nvrtcGetLoweredName - data["__nvrtcGetLoweredName"] = <_cyb_intptr_t>__nvrtcGetLoweredName + data["__nvrtcGetLoweredName"] = __nvrtcGetLoweredName global __nvrtcGetPCHHeapSize - data["__nvrtcGetPCHHeapSize"] = <_cyb_intptr_t>__nvrtcGetPCHHeapSize + data["__nvrtcGetPCHHeapSize"] = __nvrtcGetPCHHeapSize global __nvrtcSetPCHHeapSize - data["__nvrtcSetPCHHeapSize"] = <_cyb_intptr_t>__nvrtcSetPCHHeapSize + data["__nvrtcSetPCHHeapSize"] = __nvrtcSetPCHHeapSize global __nvrtcGetPCHCreateStatus - data["__nvrtcGetPCHCreateStatus"] = <_cyb_intptr_t>__nvrtcGetPCHCreateStatus + data["__nvrtcGetPCHCreateStatus"] = __nvrtcGetPCHCreateStatus global __nvrtcGetPCHHeapSizeRequired - data["__nvrtcGetPCHHeapSizeRequired"] = <_cyb_intptr_t>__nvrtcGetPCHHeapSizeRequired + data["__nvrtcGetPCHHeapSizeRequired"] = __nvrtcGetPCHHeapSizeRequired global __nvrtcSetFlowCallback - data["__nvrtcSetFlowCallback"] = <_cyb_intptr_t>__nvrtcSetFlowCallback + data["__nvrtcSetFlowCallback"] = __nvrtcSetFlowCallback _cyb_func_ptrs = data return data diff --git a/cuda_bindings/cuda/bindings/_internal/nvrtc_windows.pyx b/cuda_bindings/cuda/bindings/_internal/nvrtc_windows.pyx index 9473895c691..11441473a74 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvrtc_windows.pyx +++ b/cuda_bindings/cuda/bindings/_internal/nvrtc_windows.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated with version 12.9.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=f7bf76f469f683723715a85ab6db5d3b00ab94d04f3f789c5c6f2bc04e0c020f +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=59def78264f6eb2ac30eb34435bdefcfc2f8718c6d017c8a693c9e3df3e35df6 # <<<< PREAMBLE CONTENT >>>> @@ -44,7 +44,10 @@ cdef extern from "": ctypedef void* HMODULE void* _cyb_GetProcAddress "GetProcAddress"(HMODULE, const char*) nogil -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport ( + intptr_t, + uintptr_t, +) import threading as _cyb_threading @@ -185,76 +188,76 @@ cpdef dict _inspect_function_pointers(): _check_or_init_nvrtc() cdef dict data = {} global __nvrtcGetErrorString - data["__nvrtcGetErrorString"] = <_cyb_intptr_t>__nvrtcGetErrorString + data["__nvrtcGetErrorString"] = __nvrtcGetErrorString global __nvrtcVersion - data["__nvrtcVersion"] = <_cyb_intptr_t>__nvrtcVersion + data["__nvrtcVersion"] = __nvrtcVersion global __nvrtcGetNumSupportedArchs - data["__nvrtcGetNumSupportedArchs"] = <_cyb_intptr_t>__nvrtcGetNumSupportedArchs + data["__nvrtcGetNumSupportedArchs"] = __nvrtcGetNumSupportedArchs global __nvrtcGetSupportedArchs - data["__nvrtcGetSupportedArchs"] = <_cyb_intptr_t>__nvrtcGetSupportedArchs + data["__nvrtcGetSupportedArchs"] = __nvrtcGetSupportedArchs global __nvrtcCreateProgram - data["__nvrtcCreateProgram"] = <_cyb_intptr_t>__nvrtcCreateProgram + data["__nvrtcCreateProgram"] = __nvrtcCreateProgram global __nvrtcDestroyProgram - data["__nvrtcDestroyProgram"] = <_cyb_intptr_t>__nvrtcDestroyProgram + data["__nvrtcDestroyProgram"] = __nvrtcDestroyProgram global __nvrtcCompileProgram - data["__nvrtcCompileProgram"] = <_cyb_intptr_t>__nvrtcCompileProgram + data["__nvrtcCompileProgram"] = __nvrtcCompileProgram global __nvrtcGetPTXSize - data["__nvrtcGetPTXSize"] = <_cyb_intptr_t>__nvrtcGetPTXSize + data["__nvrtcGetPTXSize"] = __nvrtcGetPTXSize global __nvrtcGetPTX - data["__nvrtcGetPTX"] = <_cyb_intptr_t>__nvrtcGetPTX + data["__nvrtcGetPTX"] = __nvrtcGetPTX global __nvrtcGetCUBINSize - data["__nvrtcGetCUBINSize"] = <_cyb_intptr_t>__nvrtcGetCUBINSize + data["__nvrtcGetCUBINSize"] = __nvrtcGetCUBINSize global __nvrtcGetCUBIN - data["__nvrtcGetCUBIN"] = <_cyb_intptr_t>__nvrtcGetCUBIN + data["__nvrtcGetCUBIN"] = __nvrtcGetCUBIN global __nvrtcGetLTOIRSize - data["__nvrtcGetLTOIRSize"] = <_cyb_intptr_t>__nvrtcGetLTOIRSize + data["__nvrtcGetLTOIRSize"] = __nvrtcGetLTOIRSize global __nvrtcGetLTOIR - data["__nvrtcGetLTOIR"] = <_cyb_intptr_t>__nvrtcGetLTOIR + data["__nvrtcGetLTOIR"] = __nvrtcGetLTOIR global __nvrtcGetOptiXIRSize - data["__nvrtcGetOptiXIRSize"] = <_cyb_intptr_t>__nvrtcGetOptiXIRSize + data["__nvrtcGetOptiXIRSize"] = __nvrtcGetOptiXIRSize global __nvrtcGetOptiXIR - data["__nvrtcGetOptiXIR"] = <_cyb_intptr_t>__nvrtcGetOptiXIR + data["__nvrtcGetOptiXIR"] = __nvrtcGetOptiXIR global __nvrtcGetProgramLogSize - data["__nvrtcGetProgramLogSize"] = <_cyb_intptr_t>__nvrtcGetProgramLogSize + data["__nvrtcGetProgramLogSize"] = __nvrtcGetProgramLogSize global __nvrtcGetProgramLog - data["__nvrtcGetProgramLog"] = <_cyb_intptr_t>__nvrtcGetProgramLog + data["__nvrtcGetProgramLog"] = __nvrtcGetProgramLog global __nvrtcAddNameExpression - data["__nvrtcAddNameExpression"] = <_cyb_intptr_t>__nvrtcAddNameExpression + data["__nvrtcAddNameExpression"] = __nvrtcAddNameExpression global __nvrtcGetLoweredName - data["__nvrtcGetLoweredName"] = <_cyb_intptr_t>__nvrtcGetLoweredName + data["__nvrtcGetLoweredName"] = __nvrtcGetLoweredName global __nvrtcGetPCHHeapSize - data["__nvrtcGetPCHHeapSize"] = <_cyb_intptr_t>__nvrtcGetPCHHeapSize + data["__nvrtcGetPCHHeapSize"] = __nvrtcGetPCHHeapSize global __nvrtcSetPCHHeapSize - data["__nvrtcSetPCHHeapSize"] = <_cyb_intptr_t>__nvrtcSetPCHHeapSize + data["__nvrtcSetPCHHeapSize"] = __nvrtcSetPCHHeapSize global __nvrtcGetPCHCreateStatus - data["__nvrtcGetPCHCreateStatus"] = <_cyb_intptr_t>__nvrtcGetPCHCreateStatus + data["__nvrtcGetPCHCreateStatus"] = __nvrtcGetPCHCreateStatus global __nvrtcGetPCHHeapSizeRequired - data["__nvrtcGetPCHHeapSizeRequired"] = <_cyb_intptr_t>__nvrtcGetPCHHeapSizeRequired + data["__nvrtcGetPCHHeapSizeRequired"] = __nvrtcGetPCHHeapSizeRequired global __nvrtcSetFlowCallback - data["__nvrtcSetFlowCallback"] = <_cyb_intptr_t>__nvrtcSetFlowCallback + data["__nvrtcSetFlowCallback"] = __nvrtcSetFlowCallback _cyb_func_ptrs = data return data diff --git a/cuda_bindings/cuda/bindings/_internal/nvvm_linux.pyx b/cuda_bindings/cuda/bindings/_internal/nvvm_linux.pyx index d8b4271eb40..9ca6695547c 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvvm_linux.pyx +++ b/cuda_bindings/cuda/bindings/_internal/nvvm_linux.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=e0b66c45b6f66a7ab7bae49939a26007efef95651084f1ef09fd32848260f2c8 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=5d1c4358f6dd269e4a5313c7a717acafaebf90ab58acc30002affa060c8389b4 # <<<< PREAMBLE CONTENT >>>> @@ -44,7 +44,7 @@ cdef extern from "": void* _cyb_dlsym "dlsym"(void*, const char*) nogil const void * _cyb_RTLD_DEFAULT "RTLD_DEFAULT" -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport intptr_t import threading as _cyb_threading @@ -201,46 +201,46 @@ cpdef dict _inspect_function_pointers(): _check_or_init_nvvm() cdef dict data = {} global __nvvmGetErrorString - data["__nvvmGetErrorString"] = <_cyb_intptr_t>__nvvmGetErrorString + data["__nvvmGetErrorString"] = __nvvmGetErrorString global __nvvmVersion - data["__nvvmVersion"] = <_cyb_intptr_t>__nvvmVersion + data["__nvvmVersion"] = __nvvmVersion global __nvvmIRVersion - data["__nvvmIRVersion"] = <_cyb_intptr_t>__nvvmIRVersion + data["__nvvmIRVersion"] = __nvvmIRVersion global __nvvmCreateProgram - data["__nvvmCreateProgram"] = <_cyb_intptr_t>__nvvmCreateProgram + data["__nvvmCreateProgram"] = __nvvmCreateProgram global __nvvmDestroyProgram - data["__nvvmDestroyProgram"] = <_cyb_intptr_t>__nvvmDestroyProgram + data["__nvvmDestroyProgram"] = __nvvmDestroyProgram global __nvvmAddModuleToProgram - data["__nvvmAddModuleToProgram"] = <_cyb_intptr_t>__nvvmAddModuleToProgram + data["__nvvmAddModuleToProgram"] = __nvvmAddModuleToProgram global __nvvmLazyAddModuleToProgram - data["__nvvmLazyAddModuleToProgram"] = <_cyb_intptr_t>__nvvmLazyAddModuleToProgram + data["__nvvmLazyAddModuleToProgram"] = __nvvmLazyAddModuleToProgram global __nvvmCompileProgram - data["__nvvmCompileProgram"] = <_cyb_intptr_t>__nvvmCompileProgram + data["__nvvmCompileProgram"] = __nvvmCompileProgram global __nvvmVerifyProgram - data["__nvvmVerifyProgram"] = <_cyb_intptr_t>__nvvmVerifyProgram + data["__nvvmVerifyProgram"] = __nvvmVerifyProgram global __nvvmGetCompiledResultSize - data["__nvvmGetCompiledResultSize"] = <_cyb_intptr_t>__nvvmGetCompiledResultSize + data["__nvvmGetCompiledResultSize"] = __nvvmGetCompiledResultSize global __nvvmGetCompiledResult - data["__nvvmGetCompiledResult"] = <_cyb_intptr_t>__nvvmGetCompiledResult + data["__nvvmGetCompiledResult"] = __nvvmGetCompiledResult global __nvvmGetProgramLogSize - data["__nvvmGetProgramLogSize"] = <_cyb_intptr_t>__nvvmGetProgramLogSize + data["__nvvmGetProgramLogSize"] = __nvvmGetProgramLogSize global __nvvmGetProgramLog - data["__nvvmGetProgramLog"] = <_cyb_intptr_t>__nvvmGetProgramLog + data["__nvvmGetProgramLog"] = __nvvmGetProgramLog global __nvvmLLVMVersion - data["__nvvmLLVMVersion"] = <_cyb_intptr_t>__nvvmLLVMVersion + data["__nvvmLLVMVersion"] = __nvvmLLVMVersion _cyb_func_ptrs = data return data diff --git a/cuda_bindings/cuda/bindings/_internal/nvvm_windows.pyx b/cuda_bindings/cuda/bindings/_internal/nvvm_windows.pyx index 31e23b6f792..bebeae150a7 100644 --- a/cuda_bindings/cuda/bindings/_internal/nvvm_windows.pyx +++ b/cuda_bindings/cuda/bindings/_internal/nvvm_windows.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=19fa5b34915a71deea0e75c2a16830e9571463f9cc32aa8b233853c303d6d742 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=fb154012a5a055db532eb391202398888c164eb266582ebc67ce3b5f8eb2c485 # <<<< PREAMBLE CONTENT >>>> @@ -44,7 +44,10 @@ cdef extern from "": ctypedef void* HMODULE void* _cyb_GetProcAddress "GetProcAddress"(HMODULE, const char*) nogil -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport ( + intptr_t, + uintptr_t, +) import threading as _cyb_threading @@ -145,46 +148,46 @@ cpdef dict _inspect_function_pointers(): _check_or_init_nvvm() cdef dict data = {} global __nvvmGetErrorString - data["__nvvmGetErrorString"] = <_cyb_intptr_t>__nvvmGetErrorString + data["__nvvmGetErrorString"] = __nvvmGetErrorString global __nvvmVersion - data["__nvvmVersion"] = <_cyb_intptr_t>__nvvmVersion + data["__nvvmVersion"] = __nvvmVersion global __nvvmIRVersion - data["__nvvmIRVersion"] = <_cyb_intptr_t>__nvvmIRVersion + data["__nvvmIRVersion"] = __nvvmIRVersion global __nvvmCreateProgram - data["__nvvmCreateProgram"] = <_cyb_intptr_t>__nvvmCreateProgram + data["__nvvmCreateProgram"] = __nvvmCreateProgram global __nvvmDestroyProgram - data["__nvvmDestroyProgram"] = <_cyb_intptr_t>__nvvmDestroyProgram + data["__nvvmDestroyProgram"] = __nvvmDestroyProgram global __nvvmAddModuleToProgram - data["__nvvmAddModuleToProgram"] = <_cyb_intptr_t>__nvvmAddModuleToProgram + data["__nvvmAddModuleToProgram"] = __nvvmAddModuleToProgram global __nvvmLazyAddModuleToProgram - data["__nvvmLazyAddModuleToProgram"] = <_cyb_intptr_t>__nvvmLazyAddModuleToProgram + data["__nvvmLazyAddModuleToProgram"] = __nvvmLazyAddModuleToProgram global __nvvmCompileProgram - data["__nvvmCompileProgram"] = <_cyb_intptr_t>__nvvmCompileProgram + data["__nvvmCompileProgram"] = __nvvmCompileProgram global __nvvmVerifyProgram - data["__nvvmVerifyProgram"] = <_cyb_intptr_t>__nvvmVerifyProgram + data["__nvvmVerifyProgram"] = __nvvmVerifyProgram global __nvvmGetCompiledResultSize - data["__nvvmGetCompiledResultSize"] = <_cyb_intptr_t>__nvvmGetCompiledResultSize + data["__nvvmGetCompiledResultSize"] = __nvvmGetCompiledResultSize global __nvvmGetCompiledResult - data["__nvvmGetCompiledResult"] = <_cyb_intptr_t>__nvvmGetCompiledResult + data["__nvvmGetCompiledResult"] = __nvvmGetCompiledResult global __nvvmGetProgramLogSize - data["__nvvmGetProgramLogSize"] = <_cyb_intptr_t>__nvvmGetProgramLogSize + data["__nvvmGetProgramLogSize"] = __nvvmGetProgramLogSize global __nvvmGetProgramLog - data["__nvvmGetProgramLog"] = <_cyb_intptr_t>__nvvmGetProgramLog + data["__nvvmGetProgramLog"] = __nvvmGetProgramLog global __nvvmLLVMVersion - data["__nvvmLLVMVersion"] = <_cyb_intptr_t>__nvvmLLVMVersion + data["__nvvmLLVMVersion"] = __nvvmLLVMVersion _cyb_func_ptrs = data return data diff --git a/cuda_bindings/cuda/bindings/cufile.pxd b/cuda_bindings/cuda/bindings/cufile.pxd index 077b53f1d12..8359aa12677 100644 --- a/cuda_bindings/cuda/bindings/cufile.pxd +++ b/cuda_bindings/cuda/bindings/cufile.pxd @@ -3,9 +3,17 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated with version 12.9.1. Do not modify it directly. +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=7de7c59ce5ce65a5fccef9b4a9566185b99213e3bb66b87256e52bda1e9cf089 + + + +# <<<< PREAMBLE CONTENT >>>> -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=1bbe75fdca5f5ed1261611bc8833f04be794d2291e1aef2f82d3eec50b246b58 from libc.stdint cimport intptr_t +from libcpp cimport bool as _cyb_bool + + +# <<<< END OF PREAMBLE CONTENT >>>> from .cycufile cimport * diff --git a/cuda_bindings/cuda/bindings/cufile.pyx b/cuda_bindings/cuda/bindings/cufile.pyx index 9f64748f49d..1d679d96729 100644 --- a/cuda_bindings/cuda/bindings/cufile.pyx +++ b/cuda_bindings/cuda/bindings/cufile.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated with version 12.9.1. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=2ba3104207f36d4734c279cbe4e235d27f3de87fef7fd8fcd13f1093bbc6d728 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=3f4b1b8c4b79253c33c049ec2b53fc2e6cf7fe58912d71ec5505cb8b3cca6a98 # <<<< PREAMBLE CONTENT >>>> @@ -11,6 +11,7 @@ cimport cpython as _cyb_cpython cimport cpython.buffer as _cyb_cpython_buffer cimport cpython.memoryview as _cyb_cpython_memoryview +from libc.stdint cimport intptr_t from libc.stdlib cimport ( calloc as _cyb_calloc, free as _cyb_free, @@ -20,6 +21,7 @@ from libc.string cimport ( memcmp as _cyb_memcmp, memcpy as _cyb_memcpy, ) +from libcpp cimport bool as _cyb_bool from cuda.bindings._internal._fast_enum import FastEnum as _cyb_FastEnum @@ -68,7 +70,7 @@ cdef _cyb_from_data(data, dtype_name, expected_dtype, lowpp_type): cimport cython # NOQA from libc cimport errno -from ._internal.utils cimport (get_buffer_pointer, get_nested_resource_ptr, +from ._internal.utils cimport (get_nested_resource_ptr, nested_resource) import cython @@ -79,13 +81,19 @@ from cuda.bindings.driver import CUresult as pyCUresult # POD ############################################################################### -_py_anon_pod1_dtype = _numpy.dtype(( - _numpy.dtype((_numpy.void, sizeof((NULL).handle))), - { - "fd": (_numpy.int32, 0), - "handle": (_numpy.intp, 0), - } - )) +cdef _get__py_anon_pod1_dtype_offsets(): + cdef cuda_bindings_cufile__anon_pod1 pod + return _numpy.dtype({ + 'names': ['fd', 'handle'], + 'formats': [_numpy.int32, _numpy.intp], + 'offsets': [ + (&(pod.fd)) - (&pod), + (&(pod.handle)) - (&pod), + ], + 'itemsize': sizeof((NULL).handle), + }) + +_py_anon_pod1_dtype = _get__py_anon_pod1_dtype_offsets() cdef class _py_anon_pod1: """Empty-initialize an instance of `cuda_bindings_cufile__anon_pod1`. @@ -410,6 +418,7 @@ cdef class IOEvents: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=io_events_dtype) @@ -528,13 +537,15 @@ cdef class IOEvents: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an IOEvents instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -544,6 +555,7 @@ cdef class IOEvents: ptr, sizeof(CUfileIOEvents_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=io_events_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -575,6 +587,7 @@ cdef class Descr: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=descr_dtype) @@ -691,13 +704,15 @@ cdef class Descr: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an Descr instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -707,16 +722,23 @@ cdef class Descr: ptr, sizeof(CUfileDescr_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=descr_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj -_py_anon_pod2_dtype = _numpy.dtype(( - _numpy.dtype((_numpy.void, sizeof((NULL).u))), - { - "batch": (_py_anon_pod3_dtype, 0), - } - )) +cdef _get__py_anon_pod2_dtype_offsets(): + cdef cuda_bindings_cufile__anon_pod2 pod + return _numpy.dtype({ + 'names': ['batch'], + 'formats': [_py_anon_pod3_dtype], + 'offsets': [ + (&(pod.batch)) - (&pod), + ], + 'itemsize': sizeof((NULL).u), + }) + +_py_anon_pod2_dtype = _get__py_anon_pod2_dtype_offsets() cdef class _py_anon_pod2: """Empty-initialize an instance of `cuda_bindings_cufile__anon_pod2`. @@ -787,7 +809,11 @@ cdef class _py_anon_pod2: @property def batch(self): """_py_anon_pod3: """ - return _py_anon_pod3.from_ptr(&(self._ptr[0].batch), self._readonly, self) + return _py_anon_pod3.from_ptr( + &(self._ptr[0].batch), + readonly=self._readonly, + owner=self, + ) @batch.setter def batch(self, val): @@ -866,6 +892,7 @@ cdef class IOParams: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=io_params_dtype) @@ -1004,13 +1031,15 @@ cdef class IOParams: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an IOParams instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -1020,6 +1049,7 @@ cdef class IOParams: ptr, sizeof(CUfileIOParams_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=io_params_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -1208,9 +1238,12 @@ class cuFileError(Exception): @cython.profile(False) cdef int check_status(ReturnT status) except 1 nogil: if ReturnT is CUfileError_t: - if status.err != 0 or status.cu_err != 0: + if IS_CUDA_ERR(status): with gil: raise cuFileError(status.err, status.cu_err) + elif IS_CUFILE_ERR(status.err): + with gil: + raise cuFileError(status.err) elif ReturnT is ssize_t: if status == -1: # note: this assumes cuFile already properly resets errno in each API @@ -1227,10 +1260,12 @@ cpdef intptr_t handle_register(intptr_t descr) except? 0: """cuFileHandleRegister is required, and performs extra checking that is memoized to provide increased performance on later cuFile operations. Args: - descr (intptr_t): ``CUfileDescr_t`` file descriptor (OS agnostic). + descr (intptr_t): ``CUfileDescr_t`` file descriptor (OS + agnostic). Returns: - intptr_t: ``CUfileHandle_t`` opaque file handle for IO operations. + intptr_t: ``CUfileHandle_t`` opaque file handle for IO + operations. .. seealso:: `cuFileHandleRegister` """ @@ -1258,7 +1293,8 @@ cpdef buf_register(intptr_t buf_ptr_base, size_t length, int flags): Args: buf_ptr_base (intptr_t): buffer pointer allocated. - length (size_t): size of memory region from the above specified bufPtr. + length (size_t): size of memory region from the above + specified bufPtr. flags (int): CU_FILE_RDMA_REGISTER. .. seealso:: `cuFileBufRegister` @@ -1318,13 +1354,15 @@ cpdef driver_set_poll_mode(bint poll, size_t poll_threshold_size): """Sets whether the Read/Write APIs use polling to do IO operations. Args: - poll (bint): boolean to indicate whether to use poll mode or not. - poll_threshold_size (size_t): max IO size to use for POLLING mode in KB. + poll (bint): boolean to indicate whether to use poll mode or + not. + poll_threshold_size (size_t): max IO size to use for POLLING + mode in KB. .. seealso:: `cuFileDriverSetPollMode` """ with nogil: - __status__ = cuFileDriverSetPollMode(poll, poll_threshold_size) + __status__ = cuFileDriverSetPollMode(<_cyb_bool>poll, poll_threshold_size) check_status(__status__) @@ -1332,7 +1370,8 @@ cpdef driver_set_max_direct_io_size(size_t max_direct_io_size): """Control parameter to set max IO size(KB) used by the library to talk to nvidia-fs driver. Args: - max_direct_io_size (size_t): maximum allowed direct io size in KB. + max_direct_io_size (size_t): maximum allowed direct io size in + KB. .. seealso:: `cuFileDriverSetMaxDirectIOSize` """ @@ -1345,7 +1384,8 @@ cpdef driver_set_max_cache_size(size_t max_cache_size): """Control parameter to set maximum GPU memory reserved per device by the library for internal buffering. Args: - max_cache_size (size_t): The maximum GPU buffer space per device used for internal use in KB. + max_cache_size (size_t): The maximum GPU buffer space per + device used for internal use in KB. .. seealso:: `cuFileDriverSetMaxCacheSize` """ @@ -1358,7 +1398,8 @@ cpdef driver_set_max_pinned_mem_size(size_t max_pinned_size): """Sets maximum buffer space that is pinned in KB for use by ``cuFileBufRegister``. Args: - max_pinned_size (size_t): maximum buffer space that is pinned in KB. + max_pinned_size (size_t): maximum buffer space that is pinned + in KB. .. seealso:: `cuFileDriverSetMaxPinnedMemSize` """ @@ -1446,7 +1487,7 @@ cpdef size_t get_parameter_size_t(int param) except? 0: cpdef bint get_parameter_bool(int param) except? 0: - cdef cpp_bool value + cdef _cyb_bool value with nogil: __status__ = cuFileGetParameterBool(<_BoolConfigParameter>param, &value) check_status(__status__) @@ -1470,7 +1511,7 @@ cpdef set_parameter_size_t(int param, size_t value): cpdef set_parameter_bool(int param, bint value): with nogil: - __status__ = cuFileSetParameterBool(<_BoolConfigParameter>param, value) + __status__ = cuFileSetParameterBool(<_BoolConfigParameter>param, <_cyb_bool>value) check_status(__status__) @@ -1540,4 +1581,6 @@ cpdef write(intptr_t fh, intptr_t buf_ptr_base, size_t size, off_t file_offset, status = cuFileWrite(fh, buf_ptr_base, size, file_offset, buf_ptr_offset) check_status(status) return status + + del _cyb_FastEnum diff --git a/cuda_bindings/cuda/bindings/cycufile.pxd b/cuda_bindings/cuda/bindings/cycufile.pxd index 2c77057f1ec..727e6dd0c3a 100644 --- a/cuda_bindings/cuda/bindings/cycufile.pxd +++ b/cuda_bindings/cuda/bindings/cycufile.pxd @@ -3,11 +3,17 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated with version 12.9.1. Do not modify it directly. +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=2dcfd746c3b9fd0e890cb0c319541c52bba6ed389e67765e542509b743dc95a9 + + +# <<<< PREAMBLE CONTENT >>>> + +from libcpp cimport bool as _cyb_bool + + +# <<<< END OF PREAMBLE CONTENT >>>> -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=d6343a6e2961b61d0cb9d89f3f999700f171d9e3625b1be04daed8cc6bb190a4 -from libc.stdint cimport uint32_t, uint64_t from libc.time cimport time_t -from libcpp cimport bool as cpp_bool from posix.types cimport off_t cimport cuda.bindings.cydriver @@ -244,6 +250,13 @@ cdef extern from 'cufile.h': void* cookie +# Error-inspection macros from cufile.h (declared as functions so Cython +# emits calls that the C preprocessor expands). +cdef extern from 'cufile.h' nogil: + bint IS_CUDA_ERR(CUfileError_t status) + bint IS_CUFILE_ERR(CUfileOpError err) + + cdef extern from *: """ // This is the missing piece we need to supply to help Cython & C++ compilers. @@ -273,7 +286,7 @@ cdef CUfileError_t cuFileDriverClose() except?CUFILE_LOADING_ERRO cdef CUfileError_t cuFileDriverClose_v2() except?CUFILE_LOADING_ERROR nogil cdef long cuFileUseCount() except* nogil cdef CUfileError_t cuFileDriverGetProperties(CUfileDrvProps_t* props) except?CUFILE_LOADING_ERROR nogil -cdef CUfileError_t cuFileDriverSetPollMode(cpp_bool poll, size_t poll_threshold_size) except?CUFILE_LOADING_ERROR nogil +cdef CUfileError_t cuFileDriverSetPollMode(_cyb_bool poll, size_t poll_threshold_size) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t cuFileDriverSetMaxDirectIOSize(size_t max_direct_io_size) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t cuFileDriverSetMaxCacheSize(size_t max_cache_size) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t cuFileDriverSetMaxPinnedMemSize(size_t max_pinned_size) except?CUFILE_LOADING_ERROR nogil @@ -288,8 +301,8 @@ cdef CUfileError_t cuFileStreamRegister(CUstream stream, unsigned flags) except? cdef CUfileError_t cuFileStreamDeregister(CUstream stream) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t cuFileGetVersion(int* version) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t cuFileGetParameterSizeT(CUFileSizeTConfigParameter_t param, size_t* value) except?CUFILE_LOADING_ERROR nogil -cdef CUfileError_t cuFileGetParameterBool(CUFileBoolConfigParameter_t param, cpp_bool* value) except?CUFILE_LOADING_ERROR nogil +cdef CUfileError_t cuFileGetParameterBool(CUFileBoolConfigParameter_t param, _cyb_bool* value) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t cuFileGetParameterString(CUFileStringConfigParameter_t param, char* desc_str, int len) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t cuFileSetParameterSizeT(CUFileSizeTConfigParameter_t param, size_t value) except?CUFILE_LOADING_ERROR nogil -cdef CUfileError_t cuFileSetParameterBool(CUFileBoolConfigParameter_t param, cpp_bool value) except?CUFILE_LOADING_ERROR nogil +cdef CUfileError_t cuFileSetParameterBool(CUFileBoolConfigParameter_t param, _cyb_bool value) except?CUFILE_LOADING_ERROR nogil cdef CUfileError_t cuFileSetParameterString(CUFileStringConfigParameter_t param, const char* desc_str) except?CUFILE_LOADING_ERROR nogil diff --git a/cuda_bindings/cuda/bindings/cycufile.pyx b/cuda_bindings/cuda/bindings/cycufile.pyx index cf190ff1db3..ef177444d7d 100644 --- a/cuda_bindings/cuda/bindings/cycufile.pyx +++ b/cuda_bindings/cuda/bindings/cycufile.pyx @@ -3,12 +3,13 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated with version 12.9.1. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=ecbe1ebc9e022d9762bea8c4cc5baf1a7c6751048451973151d11204c621ef08 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=aee60fe04279013ad31bba1838560b52e50e82d469b691b63b869068bddac101 # <<<< PREAMBLE CONTENT >>>> cimport cython as _cyb_cython +from libcpp cimport bool as _cyb_bool # <<<< END OF PREAMBLE CONTENT >>>> @@ -66,7 +67,7 @@ cdef CUfileError_t cuFileDriverGetProperties(CUfileDrvProps_t* props) except?CUFILE_LOADING_ERROR nogil: +cdef CUfileError_t cuFileDriverSetPollMode(_cyb_bool poll, size_t poll_threshold_size) except?CUFILE_LOADING_ERROR nogil: return _cufile._cuFileDriverSetPollMode(poll, poll_threshold_size) @@ -127,7 +128,7 @@ cdef CUfileError_t cuFileGetParameterSizeT(CUFileSizeTConfigParameter_t param, s return _cufile._cuFileGetParameterSizeT(param, value) -cdef CUfileError_t cuFileGetParameterBool(CUFileBoolConfigParameter_t param, cpp_bool* value) except?CUFILE_LOADING_ERROR nogil: +cdef CUfileError_t cuFileGetParameterBool(CUFileBoolConfigParameter_t param, _cyb_bool* value) except?CUFILE_LOADING_ERROR nogil: return _cufile._cuFileGetParameterBool(param, value) @@ -139,7 +140,7 @@ cdef CUfileError_t cuFileSetParameterSizeT(CUFileSizeTConfigParameter_t param, s return _cufile._cuFileSetParameterSizeT(param, value) -cdef CUfileError_t cuFileSetParameterBool(CUFileBoolConfigParameter_t param, cpp_bool value) except?CUFILE_LOADING_ERROR nogil: +cdef CUfileError_t cuFileSetParameterBool(CUFileBoolConfigParameter_t param, _cyb_bool value) except?CUFILE_LOADING_ERROR nogil: return _cufile._cuFileSetParameterBool(param, value) diff --git a/cuda_bindings/cuda/bindings/cydriver.pxd b/cuda_bindings/cuda/bindings/cydriver.pxd index 232b59528ca..35427dfbf05 100644 --- a/cuda_bindings/cuda/bindings/cydriver.pxd +++ b/cuda_bindings/cuda/bindings/cydriver.pxd @@ -3,8 +3,19 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated with version 12.9.0. Do not modify it directly. +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=9882ad2c1336b55915f58e8b293a27976fc3282923630b4fa6b3dbb2f8d449de + + +# <<<< PREAMBLE CONTENT >>>> + +from libc.stdint cimport ( + uint32_t, + uint64_t, +) + + +# <<<< END OF PREAMBLE CONTENT >>>> -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=2ead489e46eaac7d4f700aeb29e160ce35593ce21ad8d399ebb827146046f4b0 from libc.stdint cimport uint32_t, uint64_t @@ -3410,6 +3421,7 @@ cdef enum: CU_MEM_CREATE_USAGE_TILE_POOL = 1 cdef enum: CU_MEM_CREATE_USAGE_HW_DECOMPRESS = 2 + cdef enum: CU_MEM_POOL_CREATE_USAGE_HW_DECOMPRESS = 2 cdef enum: CUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_PRE_LAUNCH_SYNC = 1 diff --git a/cuda_bindings/cuda/bindings/cynvfatbin.pxd b/cuda_bindings/cuda/bindings/cynvfatbin.pxd index ef8951fbcc3..503520b21c6 100644 --- a/cuda_bindings/cuda/bindings/cynvfatbin.pxd +++ b/cuda_bindings/cuda/bindings/cynvfatbin.pxd @@ -4,8 +4,6 @@ # # This code was automatically generated across versions from 12.4.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=fede358631d711050e04c9b0f7582773ba7012844987bc47358f1378d484a136 -from libc.stdint cimport intptr_t, uint32_t ############################################################################### @@ -13,6 +11,7 @@ from libc.stdint cimport intptr_t, uint32_t ############################################################################### # enums +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=98d5f975bf907917386bb6f6ef0dd0f6dc1a52c8068be876935a0a80554a8d8e ctypedef enum nvFatbinResult "nvFatbinResult": NVFATBIN_SUCCESS "NVFATBIN_SUCCESS" = 0 NVFATBIN_ERROR_INTERNAL "NVFATBIN_ERROR_INTERNAL" diff --git a/cuda_bindings/cuda/bindings/cynvjitlink.pxd b/cuda_bindings/cuda/bindings/cynvjitlink.pxd index ff80a17c5ab..6a93bc269de 100644 --- a/cuda_bindings/cuda/bindings/cynvjitlink.pxd +++ b/cuda_bindings/cuda/bindings/cynvjitlink.pxd @@ -4,8 +4,6 @@ # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=58778b073e81f54fcf5c42775b45944d22b6e944fe6965b42d83898239f1e1b6 -from libc.stdint cimport intptr_t, uint32_t ############################################################################### @@ -13,6 +11,15 @@ from libc.stdint cimport intptr_t, uint32_t ############################################################################### # enums +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=d5650f46aa9baca8a379aa5dece6b9069474ad81e53b0af898fe89e0095f4e8f + +# <<<< PREAMBLE CONTENT >>>> + +from libc.stdint cimport uint32_t + + +# <<<< END OF PREAMBLE CONTENT >>>> + ctypedef enum nvJitLinkResult "nvJitLinkResult": NVJITLINK_SUCCESS "NVJITLINK_SUCCESS" = 0 NVJITLINK_ERROR_UNRECOGNIZED_OPTION "NVJITLINK_ERROR_UNRECOGNIZED_OPTION" diff --git a/cuda_bindings/cuda/bindings/cynvjitlink.pyx b/cuda_bindings/cuda/bindings/cynvjitlink.pyx index cf4ee0332a0..ecf4cafbaf8 100644 --- a/cuda_bindings/cuda/bindings/cynvjitlink.pyx +++ b/cuda_bindings/cuda/bindings/cynvjitlink.pyx @@ -3,8 +3,16 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=7618d44448c6e1142afb5ad6cb3b7e15e1d775705ff4aaadbb8fe8744cccb1a4 + + +# <<<< PREAMBLE CONTENT >>>> + +from libc.stdint cimport uint32_t + + +# <<<< END OF PREAMBLE CONTENT >>>> -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=e507515291c3bc20b88d0b58ab5b01a1cc38c5d21bca87a4f379cc846b869ed4 from ._internal cimport nvjitlink as _nvjitlink diff --git a/cuda_bindings/cuda/bindings/cynvml.pxd b/cuda_bindings/cuda/bindings/cynvml.pxd index 61ac3fa0da7..9b2cd749775 100644 --- a/cuda_bindings/cuda/bindings/cynvml.pxd +++ b/cuda_bindings/cuda/bindings/cynvml.pxd @@ -4,8 +4,6 @@ # # This code was automatically generated across versions from 12.9.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=5e55307c8ff89e076c29fc7c2a36bf0af7ecf3162693a4c94d7fca65454d6a9e -from libc.stdint cimport int64_t ############################################################################### @@ -13,6 +11,7 @@ from libc.stdint cimport int64_t ############################################################################### # enums +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=54d380973e59fbf316058a81b2026313f3564008841e322dd7dc3c7915e4ee87 ctypedef enum nvmlBridgeChipType_t "nvmlBridgeChipType_t": NVML_BRIDGE_CHIP_PLX "NVML_BRIDGE_CHIP_PLX" = 0 NVML_BRIDGE_CHIP_BRO4 "NVML_BRIDGE_CHIP_BRO4" = 1 @@ -2357,3 +2356,7 @@ cdef nvmlReturn_t nvmlDeviceGetVgpuSchedulerLog_v2(nvmlDevice_t device, nvmlVgpu cdef nvmlReturn_t nvmlGpuInstanceGetVgpuSchedulerLog_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerLogInfo_v2_t* pSchedulerLogInfo) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil cdef nvmlReturn_t nvmlDeviceSetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil cdef nvmlReturn_t nvmlGpuInstanceSetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil +cdef nvmlReturn_t nvmlSystemGetCPER_v1(nvmlGetCPER_v1_t* cper) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil +cdef nvmlReturn_t nvmlDeviceGetBBXTimeData_v1(nvmlDevice_t device, nvmlBBXTimeData_v1_t* timeData) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil +cdef nvmlReturn_t nvmlDeviceGetAccountingStats_v2(nvmlDevice_t device, nvmlAccountingStats_v2_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil +cdef nvmlReturn_t nvmlDeviceGetRemappedRows_v2(nvmlDevice_t device, nvmlRemappedRowsInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil diff --git a/cuda_bindings/cuda/bindings/cynvml.pyx b/cuda_bindings/cuda/bindings/cynvml.pyx index 612368c7736..9b2f7df7c54 100644 --- a/cuda_bindings/cuda/bindings/cynvml.pyx +++ b/cuda_bindings/cuda/bindings/cynvml.pyx @@ -4,7 +4,7 @@ # # This code was automatically generated across versions from 12.9.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=ec221879a459b2de9b3dfe54cba58613e9c08b279a95f782a450c98fd7cea532 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b30ca4e9dfac73d38cb872e4dc7d80d69cbb7e516c50e048cb34234a6c0198a6 from ._internal cimport nvml as _nvml @@ -1414,3 +1414,19 @@ cdef nvmlReturn_t nvmlDeviceSetVgpuSchedulerState_v2(nvmlDevice_t device, nvmlVg cdef nvmlReturn_t nvmlGpuInstanceSetVgpuSchedulerState_v2(nvmlGpuInstance_t gpuInstance, nvmlVgpuSchedulerState_v2_t* pSchedulerState) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: return _nvml._nvmlGpuInstanceSetVgpuSchedulerState_v2(gpuInstance, pSchedulerState) + + +cdef nvmlReturn_t nvmlSystemGetCPER_v1(nvmlGetCPER_v1_t* cper) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + return _nvml._nvmlSystemGetCPER_v1(cper) + + +cdef nvmlReturn_t nvmlDeviceGetBBXTimeData_v1(nvmlDevice_t device, nvmlBBXTimeData_v1_t* timeData) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + return _nvml._nvmlDeviceGetBBXTimeData_v1(device, timeData) + + +cdef nvmlReturn_t nvmlDeviceGetAccountingStats_v2(nvmlDevice_t device, nvmlAccountingStats_v2_t* stats) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + return _nvml._nvmlDeviceGetAccountingStats_v2(device, stats) + + +cdef nvmlReturn_t nvmlDeviceGetRemappedRows_v2(nvmlDevice_t device, nvmlRemappedRowsInfo_v2_t* info) except?_NVMLRETURN_T_INTERNAL_LOADING_ERROR nogil: + return _nvml._nvmlDeviceGetRemappedRows_v2(device, info) diff --git a/cuda_bindings/cuda/bindings/cynvrtc.pxd b/cuda_bindings/cuda/bindings/cynvrtc.pxd index e71047109dc..5eebe44a02d 100644 --- a/cuda_bindings/cuda/bindings/cynvrtc.pxd +++ b/cuda_bindings/cuda/bindings/cynvrtc.pxd @@ -4,11 +4,10 @@ # # This code was automatically generated with version 12.9.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=6f38dbbe253af1c7868b30481f9caa6a927ecff257c6d62a5b704fdbda0a07d5 -from libc.stdint cimport uint32_t, uint64_t # ENUMS +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=399fa22cff463d0f3b9a99ef5af1a65f711aee777f6afb0776203f71c10c1c32 cdef extern from 'nvrtc.h': ctypedef enum nvrtcResult "nvrtcResult": NVRTC_SUCCESS diff --git a/cuda_bindings/cuda/bindings/driver.pxd b/cuda_bindings/cuda/bindings/driver.pxd index 75254ecd94c..637ed4fe08e 100644 --- a/cuda_bindings/cuda/bindings/driver.pxd +++ b/cuda_bindings/cuda/bindings/driver.pxd @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 # This code was automatically generated with version 12.9.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=85882c8e7e7a391ad2144ed52e90ac461be531395ab82b3539211a90734531b1 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=5739d4e34a7ac7d9fab129e5380ab9dfa7cfe983957b3b97d76d21a6ee2d710d cimport cuda.bindings.cydriver as cydriver include "_lib/utils.pxd" @@ -507,13 +507,6 @@ cdef class CUipcEventHandle_st: """ CUDA IPC event handle - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -526,13 +519,6 @@ cdef class CUipcMemHandle_st: """ CUDA IPC mem handle - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -1434,11 +1420,6 @@ cdef class CUgraphEdgeData_st: See CUgraphDependencyType. - reserved : bytes - These bytes are unused and must be zeroed. This ensures - compatibility if additional fields are added in the future. - - Methods ------- getPtr() @@ -2159,10 +2140,6 @@ cdef class CUDA_MEMCPY3D_st: Source array reference - reserved0 : Any - Must be NULL - - srcPitch : size_t Source pitch (ignored when src is array) @@ -2203,10 +2180,6 @@ cdef class CUDA_MEMCPY3D_st: Destination array reference - reserved1 : Any - Must be NULL - - dstPitch : size_t Destination pitch (ignored when dst is array) @@ -2245,9 +2218,6 @@ cdef class CUDA_MEMCPY3D_st: cdef CUarray _srcArray - cdef _HelperInputVoidPtr _cyreserved0 - - cdef _HelperInputVoidPtr _cydstHost @@ -2257,9 +2227,6 @@ cdef class CUDA_MEMCPY3D_st: cdef CUarray _dstArray - cdef _HelperInputVoidPtr _cyreserved1 - - cdef class CUDA_MEMCPY3D_PEER_st: """ 3D memory cross-context copy parameters @@ -2412,10 +2379,6 @@ cdef class CUDA_MEMCPY_NODE_PARAMS_st: Must be zero - reserved : int - Must be zero - - copyCtx : CUcontext Context on which to run the node @@ -2556,10 +2519,6 @@ cdef class CUDA_ARRAY_SPARSE_PROPERTIES_st: CU_ARRAY_SPARSE_PROPERTIES_SINGLE_MIPTAIL - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -2586,10 +2545,6 @@ cdef class CUDA_ARRAY_MEMORY_REQUIREMENTS_st: alignment requirement - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -2708,13 +2663,6 @@ cdef class anon_struct10: cdef class anon_struct11: """ - Attributes - ---------- - - reserved : list[int] - - - Methods ------- getPtr() @@ -2743,10 +2691,6 @@ cdef class anon_union4: - reserved : anon_struct11 - - - Methods ------- getPtr() @@ -2766,9 +2710,6 @@ cdef class anon_union4: cdef anon_struct10 _pitch2D - cdef anon_struct11 _reserved - - cdef class CUDA_RESOURCE_DESC_st: """ CUDA Resource descriptor @@ -2842,10 +2783,6 @@ cdef class CUDA_TEXTURE_DESC_st: Border Color - reserved : list[int] - - - Methods ------- getPtr() @@ -2893,10 +2830,6 @@ cdef class CUDA_RESOURCE_VIEW_DESC_st: Last layer index - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -3091,10 +3024,6 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st: Flags must either be zero or CUDA_EXTERNAL_MEMORY_DEDICATED - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -3125,10 +3054,6 @@ cdef class CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st: Flags reserved for future use. Must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -3157,10 +3082,6 @@ cdef class CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st: Total number of levels in the mipmap chain - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -3247,10 +3168,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st: Flags reserved for the future. Must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -3287,10 +3204,6 @@ cdef class anon_union7: - reserved : unsigned long long - - - Methods ------- getPtr() @@ -3334,10 +3247,6 @@ cdef class anon_struct16: - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -3376,10 +3285,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st: For all other types of CUexternalSemaphore, flags must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -3416,10 +3321,6 @@ cdef class anon_union8: - reserved : unsigned long long - - - Methods ------- getPtr() @@ -3467,10 +3368,6 @@ cdef class anon_struct19: - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -3509,10 +3406,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st: For all other types of CUexternalSemaphore, flags must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -3855,10 +3748,6 @@ cdef class CUarrayMapInfo_st: flags for future use, must be zero now. - reserved : list[unsigned int] - Reserved for future use, must be zero now. - - Methods ------- getPtr() @@ -3916,10 +3805,6 @@ cdef class anon_struct22: - reserved : bytes - - - Methods ------- getPtr() @@ -4108,10 +3993,6 @@ cdef class CUmemPoolProps_st: Bitmask indicating intended usage for the pool. - reserved : bytes - reserved for future use, must be 0 - - Methods ------- getPtr() @@ -4130,13 +4011,6 @@ cdef class CUmemPoolPtrExportData_st: """ Opaque data for exporting a pool allocation - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -4600,14 +4474,6 @@ cdef class CUgraphNodeParams_st: Type of the node - reserved0 : list[int] - Reserved. Must be zero. - - - reserved1 : list[long long] - Padding. Unused bytes must be zero. - - kernel : CUDA_KERNEL_NODE_PARAMS_v3 Kernel node parameters. @@ -4660,10 +4526,6 @@ cdef class CUgraphNodeParams_st: Conditional node parameters. - reserved2 : long long - Reserved bytes. Must be zero. - - Methods ------- getPtr() @@ -4723,14 +4585,6 @@ cdef class CUcheckpointLockArgs_st: no timeout - reserved0 : unsigned int - Reserved for future use, must be zero - - - reserved1 : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -4743,13 +4597,6 @@ cdef class CUcheckpointCheckpointArgs_st: """ CUDA checkpoint optional checkpoint arguments - Attributes - ---------- - - reserved : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -4762,17 +4609,6 @@ cdef class CUcheckpointRestoreArgs_st: """ CUDA checkpoint optional restore arguments - Attributes - ---------- - - reserved : bytes - Reserved for future use, must be zeroed - - - reserved : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -4785,13 +4621,6 @@ cdef class CUcheckpointUnlockArgs_st: """ CUDA checkpoint optional unlock arguments - Attributes - ---------- - - reserved : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -4841,10 +4670,6 @@ cdef class CUmemDecompressParams_st: The decompression algorithm to use. - padding : bytes - - - Methods ------- getPtr() @@ -5119,13 +4944,6 @@ cdef class CUipcEventHandle_v1(CUipcEventHandle_st): """ CUDA IPC event handle - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -5137,13 +4955,6 @@ cdef class CUipcEventHandle(CUipcEventHandle_v1): """ CUDA IPC event handle - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -5155,13 +4966,6 @@ cdef class CUipcMemHandle_v1(CUipcMemHandle_st): """ CUDA IPC mem handle - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -5173,13 +4977,6 @@ cdef class CUipcMemHandle(CUipcMemHandle_v1): """ CUDA IPC mem handle - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -6039,11 +5836,6 @@ cdef class CUgraphEdgeData(CUgraphEdgeData_st): See CUgraphDependencyType. - reserved : bytes - These bytes are unused and must be zeroed. This ensures - compatibility if additional fields are added in the future. - - Methods ------- getPtr() @@ -7112,10 +6904,6 @@ cdef class CUDA_MEMCPY3D_v2(CUDA_MEMCPY3D_st): Source array reference - reserved0 : Any - Must be NULL - - srcPitch : size_t Source pitch (ignored when src is array) @@ -7156,10 +6944,6 @@ cdef class CUDA_MEMCPY3D_v2(CUDA_MEMCPY3D_st): Destination array reference - reserved1 : Any - Must be NULL - - dstPitch : size_t Destination pitch (ignored when dst is array) @@ -7227,10 +7011,6 @@ cdef class CUDA_MEMCPY3D(CUDA_MEMCPY3D_v2): Source array reference - reserved0 : Any - Must be NULL - - srcPitch : size_t Source pitch (ignored when src is array) @@ -7271,10 +7051,6 @@ cdef class CUDA_MEMCPY3D(CUDA_MEMCPY3D_v2): Destination array reference - reserved1 : Any - Must be NULL - - dstPitch : size_t Destination pitch (ignored when dst is array) @@ -7546,10 +7322,6 @@ cdef class CUDA_MEMCPY_NODE_PARAMS(CUDA_MEMCPY_NODE_PARAMS_st): Must be zero - reserved : int - Must be zero - - copyCtx : CUcontext Context on which to run the node @@ -7725,10 +7497,6 @@ cdef class CUDA_ARRAY_SPARSE_PROPERTIES_v1(CUDA_ARRAY_SPARSE_PROPERTIES_st): CU_ARRAY_SPARSE_PROPERTIES_SINGLE_MIPTAIL - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -7760,10 +7528,6 @@ cdef class CUDA_ARRAY_SPARSE_PROPERTIES(CUDA_ARRAY_SPARSE_PROPERTIES_v1): CU_ARRAY_SPARSE_PROPERTIES_SINGLE_MIPTAIL - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -7786,10 +7550,6 @@ cdef class CUDA_ARRAY_MEMORY_REQUIREMENTS_v1(CUDA_ARRAY_MEMORY_REQUIREMENTS_st): alignment requirement - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -7812,10 +7572,6 @@ cdef class CUDA_ARRAY_MEMORY_REQUIREMENTS(CUDA_ARRAY_MEMORY_REQUIREMENTS_v1): alignment requirement - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -7918,10 +7674,6 @@ cdef class CUDA_TEXTURE_DESC_v1(CUDA_TEXTURE_DESC_st): Border Color - reserved : list[int] - - - Methods ------- getPtr() @@ -7972,10 +7724,6 @@ cdef class CUDA_TEXTURE_DESC(CUDA_TEXTURE_DESC_v1): Border Color - reserved : list[int] - - - Methods ------- getPtr() @@ -8022,10 +7770,6 @@ cdef class CUDA_RESOURCE_VIEW_DESC_v1(CUDA_RESOURCE_VIEW_DESC_st): Last layer index - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8072,10 +7816,6 @@ cdef class CUDA_RESOURCE_VIEW_DESC(CUDA_RESOURCE_VIEW_DESC_v1): Last layer index - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8277,10 +8017,6 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1(CUDA_EXTERNAL_MEMORY_HANDLE_DESC_ Flags must either be zero or CUDA_EXTERNAL_MEMORY_DEDICATED - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8311,10 +8047,6 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC(CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1) Flags must either be zero or CUDA_EXTERNAL_MEMORY_DEDICATED - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8341,10 +8073,6 @@ cdef class CUDA_EXTERNAL_MEMORY_BUFFER_DESC_v1(CUDA_EXTERNAL_MEMORY_BUFFER_DESC_ Flags reserved for future use. Must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8371,10 +8099,6 @@ cdef class CUDA_EXTERNAL_MEMORY_BUFFER_DESC(CUDA_EXTERNAL_MEMORY_BUFFER_DESC_v1) Flags reserved for future use. Must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8402,10 +8126,6 @@ cdef class CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_v1(CUDA_EXTERNAL_MEMORY_MIP Total number of levels in the mipmap chain - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8433,10 +8153,6 @@ cdef class CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC(CUDA_EXTERNAL_MEMORY_MIPMAP Total number of levels in the mipmap chain - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8463,10 +8179,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1(CUDA_EXTERNAL_SEMAPHORE_HANDLE Flags reserved for the future. Must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8493,10 +8205,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC(CUDA_EXTERNAL_SEMAPHORE_HANDLE_DE Flags reserved for the future. Must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8526,10 +8234,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_v1(CUDA_EXTERNAL_SEMAPHORE_SIGN For all other types of CUexternalSemaphore, flags must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8559,10 +8263,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS(CUDA_EXTERNAL_SEMAPHORE_SIGNAL_ For all other types of CUexternalSemaphore, flags must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8592,10 +8292,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1(CUDA_EXTERNAL_SEMAPHORE_WAIT_P For all other types of CUexternalSemaphore, flags must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8625,10 +8321,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS(CUDA_EXTERNAL_SEMAPHORE_WAIT_PARA For all other types of CUexternalSemaphore, flags must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -8858,10 +8550,6 @@ cdef class CUarrayMapInfo_v1(CUarrayMapInfo_st): flags for future use, must be zero now. - reserved : list[unsigned int] - Reserved for future use, must be zero now. - - Methods ------- getPtr() @@ -8917,10 +8605,6 @@ cdef class CUarrayMapInfo(CUarrayMapInfo_v1): flags for future use, must be zero now. - reserved : list[unsigned int] - Reserved for future use, must be zero now. - - Methods ------- getPtr() @@ -9253,10 +8937,6 @@ cdef class CUmemPoolProps_v1(CUmemPoolProps_st): Bitmask indicating intended usage for the pool. - reserved : bytes - reserved for future use, must be 0 - - Methods ------- getPtr() @@ -9301,10 +8981,6 @@ cdef class CUmemPoolProps(CUmemPoolProps_v1): Bitmask indicating intended usage for the pool. - reserved : bytes - reserved for future use, must be 0 - - Methods ------- getPtr() @@ -9316,13 +8992,6 @@ cdef class CUmemPoolPtrExportData_v1(CUmemPoolPtrExportData_st): """ Opaque data for exporting a pool allocation - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -9334,13 +9003,6 @@ cdef class CUmemPoolPtrExportData(CUmemPoolPtrExportData_v1): """ Opaque data for exporting a pool allocation - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -9835,14 +9497,6 @@ cdef class CUgraphNodeParams(CUgraphNodeParams_st): Type of the node - reserved0 : list[int] - Reserved. Must be zero. - - - reserved1 : list[long long] - Padding. Unused bytes must be zero. - - kernel : CUDA_KERNEL_NODE_PARAMS_v3 Kernel node parameters. @@ -9895,10 +9549,6 @@ cdef class CUgraphNodeParams(CUgraphNodeParams_st): Conditional node parameters. - reserved2 : long long - Reserved bytes. Must be zero. - - Methods ------- getPtr() @@ -9918,14 +9568,6 @@ cdef class CUcheckpointLockArgs(CUcheckpointLockArgs_st): no timeout - reserved0 : unsigned int - Reserved for future use, must be zero - - - reserved1 : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -9937,13 +9579,6 @@ cdef class CUcheckpointCheckpointArgs(CUcheckpointCheckpointArgs_st): """ CUDA checkpoint optional checkpoint arguments - Attributes - ---------- - - reserved : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -9955,17 +9590,6 @@ cdef class CUcheckpointRestoreArgs(CUcheckpointRestoreArgs_st): """ CUDA checkpoint optional restore arguments - Attributes - ---------- - - reserved : bytes - Reserved for future use, must be zeroed - - - reserved : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -9977,13 +9601,6 @@ cdef class CUcheckpointUnlockArgs(CUcheckpointUnlockArgs_st): """ CUDA checkpoint optional unlock arguments - Attributes - ---------- - - reserved : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -10032,10 +9649,6 @@ cdef class CUmemDecompressParams(CUmemDecompressParams_st): The decompression algorithm to use. - padding : bytes - - - Methods ------- getPtr() diff --git a/cuda_bindings/cuda/bindings/driver.pyx b/cuda_bindings/cuda/bindings/driver.pyx index a08b501022e..981da233384 100644 --- a/cuda_bindings/cuda/bindings/driver.pyx +++ b/cuda_bindings/cuda/bindings/driver.pyx @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 # This code was automatically generated with version 12.9.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=f4a7d70ec028e2a4748ebe2f71c93423b55be56221209e3c75a586bcdb130427 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=faf8de1cd4a99bbf9a812ae8b7cfb742b4d6abd0ade517b9ac7ce5335a8864ef from typing import Any, Optional import cython import ctypes @@ -8888,13 +8888,6 @@ cdef class CUipcEventHandle_st: """ CUDA IPC event handle - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -8915,45 +8908,14 @@ cdef class CUipcEventHandle_st: if self._pvt_ptr is not NULL: str_list = [] - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' - @property - def reserved(self): - return PyBytes_FromStringAndSize(self._pvt_ptr[0].reserved, 64) - @reserved.setter - def reserved(self, reserved): - if len(reserved) != 64: - raise ValueError("reserved length must be 64, is " + str(len(reserved))) - if CHAR_MIN == 0: - for i, b in enumerate(reserved): - if b < 0 and b > -129: - b = b + 256 - self._pvt_ptr[0].reserved[i] = b - else: - for i, b in enumerate(reserved): - if b > 127 and b < 256: - b = b - 256 - self._pvt_ptr[0].reserved[i] = b - - cdef class CUipcMemHandle_st: """ CUDA IPC mem handle - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -8974,34 +8936,10 @@ cdef class CUipcMemHandle_st: if self._pvt_ptr is not NULL: str_list = [] - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' - @property - def reserved(self): - return PyBytes_FromStringAndSize(self._pvt_ptr[0].reserved, 64) - @reserved.setter - def reserved(self, reserved): - if len(reserved) != 64: - raise ValueError("reserved length must be 64, is " + str(len(reserved))) - if CHAR_MIN == 0: - for i, b in enumerate(reserved): - if b < 0 and b > -129: - b = b + 256 - self._pvt_ptr[0].reserved[i] = b - else: - for i, b in enumerate(reserved): - if b > 127 and b < 256: - b = b - 256 - self._pvt_ptr[0].reserved[i] = b - - cdef class CUstreamMemOpWaitValueParams_st: """ Attributes @@ -9756,6 +9694,7 @@ cdef class CUDA_BATCH_MEM_OP_NODE_PARAMS_v1_st: return [CUstreamBatchMemOpParams(_ptr=arr) for arr in arrs] @paramArray.setter def paramArray(self, val): + cdef cydriver.CUstreamBatchMemOpParams* _paramArray_new if len(val) == 0: free(self._paramArray) self._paramArray = NULL @@ -9763,14 +9702,22 @@ cdef class CUDA_BATCH_MEM_OP_NODE_PARAMS_v1_st: self._pvt_ptr[0].paramArray = NULL else: if self._paramArray_length != len(val): - free(self._paramArray) - self._paramArray = calloc(len(val), sizeof(cydriver.CUstreamBatchMemOpParams)) - if self._paramArray is NULL: + # Allocate and fill a new buffer before touching the + # live state so a failure leaves this object unchanged + # (strong exception guarantee); the old buffer is only + # freed once the resize is known to succeed. + _paramArray_new = calloc(len(val), sizeof(cydriver.CUstreamBatchMemOpParams)) + if _paramArray_new is NULL: raise MemoryError('Failed to allocate length x size memory: ' + str(len(val)) + 'x' + str(sizeof(cydriver.CUstreamBatchMemOpParams))) + for idx in range(len(val)): + string.memcpy(&_paramArray_new[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUstreamBatchMemOpParams)) + free(self._paramArray) + self._paramArray = _paramArray_new self._paramArray_length = len(val) - self._pvt_ptr[0].paramArray = self._paramArray - for idx in range(len(val)): - string.memcpy(&self._paramArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUstreamBatchMemOpParams)) + self._pvt_ptr[0].paramArray = _paramArray_new + else: + for idx in range(len(val)): + string.memcpy(&self._paramArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUstreamBatchMemOpParams)) @@ -9891,6 +9838,7 @@ cdef class CUDA_BATCH_MEM_OP_NODE_PARAMS_v2_st: return [CUstreamBatchMemOpParams(_ptr=arr) for arr in arrs] @paramArray.setter def paramArray(self, val): + cdef cydriver.CUstreamBatchMemOpParams* _paramArray_new if len(val) == 0: free(self._paramArray) self._paramArray = NULL @@ -9898,14 +9846,22 @@ cdef class CUDA_BATCH_MEM_OP_NODE_PARAMS_v2_st: self._pvt_ptr[0].paramArray = NULL else: if self._paramArray_length != len(val): - free(self._paramArray) - self._paramArray = calloc(len(val), sizeof(cydriver.CUstreamBatchMemOpParams)) - if self._paramArray is NULL: + # Allocate and fill a new buffer before touching the + # live state so a failure leaves this object unchanged + # (strong exception guarantee); the old buffer is only + # freed once the resize is known to succeed. + _paramArray_new = calloc(len(val), sizeof(cydriver.CUstreamBatchMemOpParams)) + if _paramArray_new is NULL: raise MemoryError('Failed to allocate length x size memory: ' + str(len(val)) + 'x' + str(sizeof(cydriver.CUstreamBatchMemOpParams))) + for idx in range(len(val)): + string.memcpy(&_paramArray_new[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUstreamBatchMemOpParams)) + free(self._paramArray) + self._paramArray = _paramArray_new self._paramArray_length = len(val) - self._pvt_ptr[0].paramArray = self._paramArray - for idx in range(len(val)): - string.memcpy(&self._paramArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUstreamBatchMemOpParams)) + self._pvt_ptr[0].paramArray = _paramArray_new + else: + for idx in range(len(val)): + string.memcpy(&self._paramArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUstreamBatchMemOpParams)) @@ -11905,11 +11861,6 @@ cdef class CUgraphEdgeData_st: See CUgraphDependencyType. - reserved : bytes - These bytes are unused and must be zeroed. This ensures - compatibility if additional fields are added in the future. - - Methods ------- getPtr() @@ -11947,12 +11898,6 @@ cdef class CUgraphEdgeData_st: except ValueError: str_list += ['type : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -11981,17 +11926,6 @@ cdef class CUgraphEdgeData_st: self._pvt_ptr[0].type = type - @property - def reserved(self): - return PyBytes_FromStringAndSize(self._pvt_ptr[0].reserved, 5) - @reserved.setter - def reserved(self, reserved): - if len(reserved) != 5: - raise ValueError("reserved length must be 5, is " + str(len(reserved))) - for i, b in enumerate(reserved): - self._pvt_ptr[0].reserved[i] = b - - cdef class CUDA_GRAPH_INSTANTIATE_PARAMS_st: """ Graph instantiation parameters @@ -13262,6 +13196,7 @@ cdef class CUlaunchConfig_st: return [CUlaunchAttribute(_ptr=arr) for arr in arrs] @attrs.setter def attrs(self, val): + cdef cydriver.CUlaunchAttribute* _attrs_new if len(val) == 0: free(self._attrs) self._attrs = NULL @@ -13269,14 +13204,22 @@ cdef class CUlaunchConfig_st: self._pvt_ptr[0].attrs = NULL else: if self._attrs_length != len(val): - free(self._attrs) - self._attrs = calloc(len(val), sizeof(cydriver.CUlaunchAttribute)) - if self._attrs is NULL: + # Allocate and fill a new buffer before touching the + # live state so a failure leaves this object unchanged + # (strong exception guarantee); the old buffer is only + # freed once the resize is known to succeed. + _attrs_new = calloc(len(val), sizeof(cydriver.CUlaunchAttribute)) + if _attrs_new is NULL: raise MemoryError('Failed to allocate length x size memory: ' + str(len(val)) + 'x' + str(sizeof(cydriver.CUlaunchAttribute))) + for idx in range(len(val)): + string.memcpy(&_attrs_new[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUlaunchAttribute)) + free(self._attrs) + self._attrs = _attrs_new self._attrs_length = len(val) - self._pvt_ptr[0].attrs = self._attrs - for idx in range(len(val)): - string.memcpy(&self._attrs[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUlaunchAttribute)) + self._pvt_ptr[0].attrs = _attrs_new + else: + for idx in range(len(val)): + string.memcpy(&self._attrs[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUlaunchAttribute)) @@ -13598,6 +13541,7 @@ cdef class CUctxCreateParams_st: return [CUexecAffinityParam(_ptr=arr) for arr in arrs] @execAffinityParams.setter def execAffinityParams(self, val): + cdef cydriver.CUexecAffinityParam* _execAffinityParams_new if len(val) == 0: free(self._execAffinityParams) self._execAffinityParams = NULL @@ -13605,14 +13549,22 @@ cdef class CUctxCreateParams_st: self._pvt_ptr[0].execAffinityParams = NULL else: if self._execAffinityParams_length != len(val): - free(self._execAffinityParams) - self._execAffinityParams = calloc(len(val), sizeof(cydriver.CUexecAffinityParam)) - if self._execAffinityParams is NULL: + # Allocate and fill a new buffer before touching the + # live state so a failure leaves this object unchanged + # (strong exception guarantee); the old buffer is only + # freed once the resize is known to succeed. + _execAffinityParams_new = calloc(len(val), sizeof(cydriver.CUexecAffinityParam)) + if _execAffinityParams_new is NULL: raise MemoryError('Failed to allocate length x size memory: ' + str(len(val)) + 'x' + str(sizeof(cydriver.CUexecAffinityParam))) + for idx in range(len(val)): + string.memcpy(&_execAffinityParams_new[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUexecAffinityParam)) + free(self._execAffinityParams) + self._execAffinityParams = _execAffinityParams_new self._execAffinityParams_length = len(val) - self._pvt_ptr[0].execAffinityParams = self._execAffinityParams - for idx in range(len(val)): - string.memcpy(&self._execAffinityParams[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUexecAffinityParam)) + self._pvt_ptr[0].execAffinityParams = _execAffinityParams_new + else: + for idx in range(len(val)): + string.memcpy(&self._execAffinityParams[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUexecAffinityParam)) @@ -13630,6 +13582,7 @@ cdef class CUctxCreateParams_st: return [CUctxCigParam(_ptr=arr) for arr in arrs] @cigParams.setter def cigParams(self, val): + cdef cydriver.CUctxCigParam* _cigParams_new if len(val) == 0: free(self._cigParams) self._cigParams = NULL @@ -13637,14 +13590,22 @@ cdef class CUctxCreateParams_st: self._pvt_ptr[0].cigParams = NULL else: if self._cigParams_length != len(val): - free(self._cigParams) - self._cigParams = calloc(len(val), sizeof(cydriver.CUctxCigParam)) - if self._cigParams is NULL: + # Allocate and fill a new buffer before touching the + # live state so a failure leaves this object unchanged + # (strong exception guarantee); the old buffer is only + # freed once the resize is known to succeed. + _cigParams_new = calloc(len(val), sizeof(cydriver.CUctxCigParam)) + if _cigParams_new is NULL: raise MemoryError('Failed to allocate length x size memory: ' + str(len(val)) + 'x' + str(sizeof(cydriver.CUctxCigParam))) + for idx in range(len(val)): + string.memcpy(&_cigParams_new[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUctxCigParam)) + free(self._cigParams) + self._cigParams = _cigParams_new self._cigParams_length = len(val) - self._pvt_ptr[0].cigParams = self._cigParams - for idx in range(len(val)): - string.memcpy(&self._cigParams[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUctxCigParam)) + self._pvt_ptr[0].cigParams = _cigParams_new + else: + for idx in range(len(val)): + string.memcpy(&self._cigParams[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUctxCigParam)) @@ -14159,10 +14120,6 @@ cdef class CUDA_MEMCPY3D_st: Source array reference - reserved0 : Any - Must be NULL - - srcPitch : size_t Source pitch (ignored when src is array) @@ -14203,10 +14160,6 @@ cdef class CUDA_MEMCPY3D_st: Destination array reference - reserved1 : Any - Must be NULL - - dstPitch : size_t Destination pitch (ignored when dst is array) @@ -14308,12 +14261,6 @@ cdef class CUDA_MEMCPY3D_st: str_list += ['srcArray : '] - try: - str_list += ['reserved0 : ' + hex(self.reserved0)] - except ValueError: - str_list += ['reserved0 : '] - - try: str_list += ['srcPitch : ' + str(self.srcPitch)] except ValueError: @@ -14374,12 +14321,6 @@ cdef class CUDA_MEMCPY3D_st: str_list += ['dstArray : '] - try: - str_list += ['reserved1 : ' + hex(self.reserved1)] - except ValueError: - str_list += ['reserved1 : '] - - try: str_list += ['dstPitch : ' + str(self.dstPitch)] except ValueError: @@ -14497,15 +14438,6 @@ cdef class CUDA_MEMCPY3D_st: self._srcArray._pvt_ptr[0] = cysrcArray - @property - def reserved0(self): - return self._pvt_ptr[0].reserved0 - @reserved0.setter - def reserved0(self, reserved0): - self._cyreserved0 = _HelperInputVoidPtr(reserved0) - self._pvt_ptr[0].reserved0 = self._cyreserved0.cptr - - @property def srcPitch(self): return self._pvt_ptr[0].srcPitch @@ -14606,15 +14538,6 @@ cdef class CUDA_MEMCPY3D_st: self._dstArray._pvt_ptr[0] = cydstArray - @property - def reserved1(self): - return self._pvt_ptr[0].reserved1 - @reserved1.setter - def reserved1(self, reserved1): - self._cyreserved1 = _HelperInputVoidPtr(reserved1) - self._pvt_ptr[0].reserved1 = self._cyreserved1.cptr - - @property def dstPitch(self): return self._pvt_ptr[0].dstPitch @@ -15224,10 +15147,6 @@ cdef class CUDA_MEMCPY_NODE_PARAMS_st: Must be zero - reserved : int - Must be zero - - copyCtx : CUcontext Context on which to run the node @@ -15268,12 +15187,6 @@ cdef class CUDA_MEMCPY_NODE_PARAMS_st: str_list += ['flags : '] - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - - try: str_list += ['copyCtx : ' + str(self.copyCtx)] except ValueError: @@ -15297,14 +15210,6 @@ cdef class CUDA_MEMCPY_NODE_PARAMS_st: self._pvt_ptr[0].flags = flags - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, int reserved): - self._pvt_ptr[0].reserved = reserved - - @property def copyCtx(self): return self._copyCtx @@ -15674,10 +15579,6 @@ cdef class CUDA_ARRAY_SPARSE_PROPERTIES_st: CU_ARRAY_SPARSE_PROPERTIES_SINGLE_MIPTAIL - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -15724,12 +15625,6 @@ cdef class CUDA_ARRAY_SPARSE_PROPERTIES_st: except ValueError: str_list += ['flags : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -15766,14 +15661,6 @@ cdef class CUDA_ARRAY_SPARSE_PROPERTIES_st: self._pvt_ptr[0].flags = flags - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - cdef class CUDA_ARRAY_MEMORY_REQUIREMENTS_st: """ CUDA array memory requirements @@ -15789,10 +15676,6 @@ cdef class CUDA_ARRAY_MEMORY_REQUIREMENTS_st: alignment requirement - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -15824,12 +15707,6 @@ cdef class CUDA_ARRAY_MEMORY_REQUIREMENTS_st: except ValueError: str_list += ['alignment : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -15850,14 +15727,6 @@ cdef class CUDA_ARRAY_MEMORY_REQUIREMENTS_st: self._pvt_ptr[0].alignment = alignment - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - cdef class anon_struct7: """ Attributes @@ -16230,13 +16099,6 @@ cdef class anon_struct10: cdef class anon_struct11: """ - Attributes - ---------- - - reserved : list[int] - - - Methods ------- getPtr() @@ -16255,23 +16117,10 @@ cdef class anon_struct11: if self._pvt_ptr is not NULL: str_list = [] - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' - @property - def reserved(self): - return self._pvt_ptr[0].res.reserved.reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].res.reserved.reserved = reserved - - cdef class anon_union4: """ Attributes @@ -16293,10 +16142,6 @@ cdef class anon_union4: - reserved : anon_struct11 - - - Methods ------- getPtr() @@ -16319,9 +16164,6 @@ cdef class anon_union4: self._pitch2D = anon_struct10(_ptr=self._pvt_ptr) - - self._reserved = anon_struct11(_ptr=self._pvt_ptr) - def __dealloc__(self): pass def getPtr(self): @@ -16353,12 +16195,6 @@ cdef class anon_union4: except ValueError: str_list += ['pitch2D : '] - - try: - str_list += ['reserved :\n' + '\n'.join([' ' + line for line in str(self.reserved).splitlines()])] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -16395,14 +16231,6 @@ cdef class anon_union4: string.memcpy(&self._pvt_ptr[0].res.pitch2D, pitch2D.getPtr(), sizeof(self._pvt_ptr[0].res.pitch2D)) - @property - def reserved(self): - return self._reserved - @reserved.setter - def reserved(self, reserved not None : anon_struct11): - string.memcpy(&self._pvt_ptr[0].res.reserved, reserved.getPtr(), sizeof(self._pvt_ptr[0].res.reserved)) - - cdef class CUDA_RESOURCE_DESC_st: """ CUDA Resource descriptor @@ -16535,10 +16363,6 @@ cdef class CUDA_TEXTURE_DESC_st: Border Color - reserved : list[int] - - - Methods ------- getPtr() @@ -16612,12 +16436,6 @@ cdef class CUDA_TEXTURE_DESC_st: except ValueError: str_list += ['borderColor : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -16694,14 +16512,6 @@ cdef class CUDA_TEXTURE_DESC_st: self._pvt_ptr[0].borderColor = borderColor - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - cdef class CUDA_RESOURCE_VIEW_DESC_st: """ Resource view descriptor @@ -16741,10 +16551,6 @@ cdef class CUDA_RESOURCE_VIEW_DESC_st: Last layer index - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -16812,12 +16618,6 @@ cdef class CUDA_RESOURCE_VIEW_DESC_st: except ValueError: str_list += ['lastLayer : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -16886,14 +16686,6 @@ cdef class CUDA_RESOURCE_VIEW_DESC_st: self._pvt_ptr[0].lastLayer = lastLayer - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - cdef class CUtensorMap_st: """ Tensor map descriptor. Requires compiler support for aligning to 64 @@ -17416,10 +17208,6 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st: Flags must either be zero or CUDA_EXTERNAL_MEMORY_DEDICATED - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -17468,12 +17256,6 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st: except ValueError: str_list += ['flags : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -17510,14 +17292,6 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st: self._pvt_ptr[0].flags = flags - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - cdef class CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st: """ External memory buffer descriptor @@ -17537,10 +17311,6 @@ cdef class CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st: Flags reserved for future use. Must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -17578,12 +17348,6 @@ cdef class CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st: except ValueError: str_list += ['flags : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -17612,14 +17376,6 @@ cdef class CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st: self._pvt_ptr[0].flags = flags - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - cdef class CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st: """ External memory mipmap descriptor @@ -17640,10 +17396,6 @@ cdef class CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st: Total number of levels in the mipmap chain - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -17684,12 +17436,6 @@ cdef class CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st: except ValueError: str_list += ['numLevels : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -17718,14 +17464,6 @@ cdef class CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st: self._pvt_ptr[0].numLevels = numLevels - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - cdef class anon_struct13: """ Attributes @@ -17893,10 +17631,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st: Flags reserved for the future. Must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -17939,12 +17673,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st: except ValueError: str_list += ['flags : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -17973,14 +17701,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st: self._pvt_ptr[0].flags = flags - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - cdef class anon_struct14: """ Attributes @@ -18034,10 +17754,6 @@ cdef class anon_union7: - reserved : unsigned long long - - - Methods ------- getPtr() @@ -18061,12 +17777,6 @@ cdef class anon_union7: except ValueError: str_list += ['fence : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -18080,14 +17790,6 @@ cdef class anon_union7: self._pvt_ptr[0].params.nvSciSync.fence = self._cyfence.cptr - @property - def reserved(self): - return self._pvt_ptr[0].params.nvSciSync.reserved - @reserved.setter - def reserved(self, unsigned long long reserved): - self._pvt_ptr[0].params.nvSciSync.reserved = reserved - - cdef class anon_struct15: """ Attributes @@ -18149,10 +17851,6 @@ cdef class anon_struct16: - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -18197,12 +17895,6 @@ cdef class anon_struct16: except ValueError: str_list += ['keyedMutex : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -18231,14 +17923,6 @@ cdef class anon_struct16: string.memcpy(&self._pvt_ptr[0].params.keyedMutex, keyedMutex.getPtr(), sizeof(self._pvt_ptr[0].params.keyedMutex)) - @property - def reserved(self): - return self._pvt_ptr[0].params.reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].params.reserved = reserved - - cdef class CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st: """ External semaphore signal parameters @@ -18261,10 +17945,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st: For all other types of CUexternalSemaphore, flags must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -18299,12 +17979,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st: except ValueError: str_list += ['flags : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -18325,14 +17999,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st: self._pvt_ptr[0].flags = flags - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - cdef class anon_struct17: """ Attributes @@ -18386,10 +18052,6 @@ cdef class anon_union8: - reserved : unsigned long long - - - Methods ------- getPtr() @@ -18413,12 +18075,6 @@ cdef class anon_union8: except ValueError: str_list += ['fence : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -18432,14 +18088,6 @@ cdef class anon_union8: self._pvt_ptr[0].params.nvSciSync.fence = self._cyfence.cptr - @property - def reserved(self): - return self._pvt_ptr[0].params.nvSciSync.reserved - @reserved.setter - def reserved(self, unsigned long long reserved): - self._pvt_ptr[0].params.nvSciSync.reserved = reserved - - cdef class anon_struct18: """ Attributes @@ -18519,10 +18167,6 @@ cdef class anon_struct19: - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -18567,12 +18211,6 @@ cdef class anon_struct19: except ValueError: str_list += ['keyedMutex : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -18601,14 +18239,6 @@ cdef class anon_struct19: string.memcpy(&self._pvt_ptr[0].params.keyedMutex, keyedMutex.getPtr(), sizeof(self._pvt_ptr[0].params.keyedMutex)) - @property - def reserved(self): - return self._pvt_ptr[0].params.reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].params.reserved = reserved - - cdef class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st: """ External semaphore wait parameters @@ -18631,10 +18261,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st: For all other types of CUexternalSemaphore, flags must be zero. - reserved : list[unsigned int] - - - Methods ------- getPtr() @@ -18669,12 +18295,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st: except ValueError: str_list += ['flags : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -18695,14 +18315,6 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st: self._pvt_ptr[0].flags = flags - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - cdef class CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_st: """ Semaphore signal node parameters @@ -18804,6 +18416,7 @@ cdef class CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_st: return [CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS(_ptr=arr) for arr in arrs] @paramsArray.setter def paramsArray(self, val): + cdef cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS* _paramsArray_new if len(val) == 0: free(self._paramsArray) self._paramsArray = NULL @@ -18811,14 +18424,22 @@ cdef class CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_st: self._pvt_ptr[0].paramsArray = NULL else: if self._paramsArray_length != len(val): - free(self._paramsArray) - self._paramsArray = calloc(len(val), sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS)) - if self._paramsArray is NULL: + # Allocate and fill a new buffer before touching the + # live state so a failure leaves this object unchanged + # (strong exception guarantee); the old buffer is only + # freed once the resize is known to succeed. + _paramsArray_new = calloc(len(val), sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS)) + if _paramsArray_new is NULL: raise MemoryError('Failed to allocate length x size memory: ' + str(len(val)) + 'x' + str(sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS))) + for idx in range(len(val)): + string.memcpy(&_paramsArray_new[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS)) + free(self._paramsArray) + self._paramsArray = _paramsArray_new self._paramsArray_length = len(val) - self._pvt_ptr[0].paramsArray = self._paramsArray - for idx in range(len(val)): - string.memcpy(&self._paramsArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS)) + self._pvt_ptr[0].paramsArray = _paramsArray_new + else: + for idx in range(len(val)): + string.memcpy(&self._paramsArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS)) @@ -18931,6 +18552,7 @@ cdef class CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v2_st: return [CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS(_ptr=arr) for arr in arrs] @paramsArray.setter def paramsArray(self, val): + cdef cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS* _paramsArray_new if len(val) == 0: free(self._paramsArray) self._paramsArray = NULL @@ -18938,14 +18560,22 @@ cdef class CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v2_st: self._pvt_ptr[0].paramsArray = NULL else: if self._paramsArray_length != len(val): - free(self._paramsArray) - self._paramsArray = calloc(len(val), sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS)) - if self._paramsArray is NULL: + # Allocate and fill a new buffer before touching the + # live state so a failure leaves this object unchanged + # (strong exception guarantee); the old buffer is only + # freed once the resize is known to succeed. + _paramsArray_new = calloc(len(val), sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS)) + if _paramsArray_new is NULL: raise MemoryError('Failed to allocate length x size memory: ' + str(len(val)) + 'x' + str(sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS))) + for idx in range(len(val)): + string.memcpy(&_paramsArray_new[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS)) + free(self._paramsArray) + self._paramsArray = _paramsArray_new self._paramsArray_length = len(val) - self._pvt_ptr[0].paramsArray = self._paramsArray - for idx in range(len(val)): - string.memcpy(&self._paramsArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS)) + self._pvt_ptr[0].paramsArray = _paramsArray_new + else: + for idx in range(len(val)): + string.memcpy(&self._paramsArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS)) @@ -19058,6 +18688,7 @@ cdef class CUDA_EXT_SEM_WAIT_NODE_PARAMS_st: return [CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS(_ptr=arr) for arr in arrs] @paramsArray.setter def paramsArray(self, val): + cdef cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS* _paramsArray_new if len(val) == 0: free(self._paramsArray) self._paramsArray = NULL @@ -19065,14 +18696,22 @@ cdef class CUDA_EXT_SEM_WAIT_NODE_PARAMS_st: self._pvt_ptr[0].paramsArray = NULL else: if self._paramsArray_length != len(val): - free(self._paramsArray) - self._paramsArray = calloc(len(val), sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS)) - if self._paramsArray is NULL: + # Allocate and fill a new buffer before touching the + # live state so a failure leaves this object unchanged + # (strong exception guarantee); the old buffer is only + # freed once the resize is known to succeed. + _paramsArray_new = calloc(len(val), sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS)) + if _paramsArray_new is NULL: raise MemoryError('Failed to allocate length x size memory: ' + str(len(val)) + 'x' + str(sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS))) + for idx in range(len(val)): + string.memcpy(&_paramsArray_new[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS)) + free(self._paramsArray) + self._paramsArray = _paramsArray_new self._paramsArray_length = len(val) - self._pvt_ptr[0].paramsArray = self._paramsArray - for idx in range(len(val)): - string.memcpy(&self._paramsArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS)) + self._pvt_ptr[0].paramsArray = _paramsArray_new + else: + for idx in range(len(val)): + string.memcpy(&self._paramsArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS)) @@ -19185,6 +18824,7 @@ cdef class CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2_st: return [CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS(_ptr=arr) for arr in arrs] @paramsArray.setter def paramsArray(self, val): + cdef cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS* _paramsArray_new if len(val) == 0: free(self._paramsArray) self._paramsArray = NULL @@ -19192,14 +18832,22 @@ cdef class CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2_st: self._pvt_ptr[0].paramsArray = NULL else: if self._paramsArray_length != len(val): - free(self._paramsArray) - self._paramsArray = calloc(len(val), sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS)) - if self._paramsArray is NULL: + # Allocate and fill a new buffer before touching the + # live state so a failure leaves this object unchanged + # (strong exception guarantee); the old buffer is only + # freed once the resize is known to succeed. + _paramsArray_new = calloc(len(val), sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS)) + if _paramsArray_new is NULL: raise MemoryError('Failed to allocate length x size memory: ' + str(len(val)) + 'x' + str(sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS))) + for idx in range(len(val)): + string.memcpy(&_paramsArray_new[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS)) + free(self._paramsArray) + self._paramsArray = _paramsArray_new self._paramsArray_length = len(val) - self._pvt_ptr[0].paramsArray = self._paramsArray - for idx in range(len(val)): - string.memcpy(&self._paramsArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS)) + self._pvt_ptr[0].paramsArray = _paramsArray_new + else: + for idx in range(len(val)): + string.memcpy(&self._paramsArray[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS)) @@ -19720,10 +19368,6 @@ cdef class CUarrayMapInfo_st: flags for future use, must be zero now. - reserved : list[unsigned int] - Reserved for future use, must be zero now. - - Methods ------- getPtr() @@ -19814,12 +19458,6 @@ cdef class CUarrayMapInfo_st: except ValueError: str_list += ['flags : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -19904,14 +19542,6 @@ cdef class CUarrayMapInfo_st: self._pvt_ptr[0].flags = flags - @property - def reserved(self): - return self._pvt_ptr[0].reserved - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - cdef class CUmemLocation_st: """ Specifies a memory location. @@ -19995,10 +19625,6 @@ cdef class anon_struct22: - reserved : bytes - - - Methods ------- getPtr() @@ -20034,12 +19660,6 @@ cdef class anon_struct22: except ValueError: str_list += ['usage : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -20068,17 +19688,6 @@ cdef class anon_struct22: self._pvt_ptr[0].allocFlags.usage = usage - @property - def reserved(self): - return PyBytes_FromStringAndSize(self._pvt_ptr[0].allocFlags.reserved, 4) - @reserved.setter - def reserved(self, reserved): - if len(reserved) != 4: - raise ValueError("reserved length must be 4, is " + str(len(reserved))) - for i, b in enumerate(reserved): - self._pvt_ptr[0].allocFlags.reserved[i] = b - - cdef class CUmemAllocationProp_st: """ Specifies the allocation properties for a allocation. @@ -20532,10 +20141,6 @@ cdef class CUmemPoolProps_st: Bitmask indicating intended usage for the pool. - reserved : bytes - reserved for future use, must be 0 - - Methods ------- getPtr() @@ -20594,12 +20199,6 @@ cdef class CUmemPoolProps_st: except ValueError: str_list += ['usage : '] - - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' @@ -20653,28 +20252,10 @@ cdef class CUmemPoolProps_st: self._pvt_ptr[0].usage = usage - @property - def reserved(self): - return PyBytes_FromStringAndSize(self._pvt_ptr[0].reserved, 54) - @reserved.setter - def reserved(self, reserved): - if len(reserved) != 54: - raise ValueError("reserved length must be 54, is " + str(len(reserved))) - for i, b in enumerate(reserved): - self._pvt_ptr[0].reserved[i] = b - - cdef class CUmemPoolPtrExportData_st: """ Opaque data for exporting a pool allocation - Attributes - ---------- - - reserved : bytes - - - Methods ------- getPtr() @@ -20695,26 +20276,10 @@ cdef class CUmemPoolPtrExportData_st: if self._pvt_ptr is not NULL: str_list = [] - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' - @property - def reserved(self): - return PyBytes_FromStringAndSize(self._pvt_ptr[0].reserved, 64) - @reserved.setter - def reserved(self, reserved): - if len(reserved) != 64: - raise ValueError("reserved length must be 64, is " + str(len(reserved))) - for i, b in enumerate(reserved): - self._pvt_ptr[0].reserved[i] = b - - cdef class CUmemcpyAttributes_st: """ Attributes specific to copies within a batch. For more details on @@ -21562,6 +21127,7 @@ cdef class CUDA_MEM_ALLOC_NODE_PARAMS_v1_st: return [CUmemAccessDesc(_ptr=arr) for arr in arrs] @accessDescs.setter def accessDescs(self, val): + cdef cydriver.CUmemAccessDesc* _accessDescs_new if len(val) == 0: free(self._accessDescs) self._accessDescs = NULL @@ -21569,14 +21135,22 @@ cdef class CUDA_MEM_ALLOC_NODE_PARAMS_v1_st: self._pvt_ptr[0].accessDescs = NULL else: if self._accessDescs_length != len(val): - free(self._accessDescs) - self._accessDescs = calloc(len(val), sizeof(cydriver.CUmemAccessDesc)) - if self._accessDescs is NULL: + # Allocate and fill a new buffer before touching the + # live state so a failure leaves this object unchanged + # (strong exception guarantee); the old buffer is only + # freed once the resize is known to succeed. + _accessDescs_new = calloc(len(val), sizeof(cydriver.CUmemAccessDesc)) + if _accessDescs_new is NULL: raise MemoryError('Failed to allocate length x size memory: ' + str(len(val)) + 'x' + str(sizeof(cydriver.CUmemAccessDesc))) + for idx in range(len(val)): + string.memcpy(&_accessDescs_new[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUmemAccessDesc)) + free(self._accessDescs) + self._accessDescs = _accessDescs_new self._accessDescs_length = len(val) - self._pvt_ptr[0].accessDescs = self._accessDescs - for idx in range(len(val)): - string.memcpy(&self._accessDescs[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUmemAccessDesc)) + self._pvt_ptr[0].accessDescs = _accessDescs_new + else: + for idx in range(len(val)): + string.memcpy(&self._accessDescs[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUmemAccessDesc)) @@ -21723,6 +21297,7 @@ cdef class CUDA_MEM_ALLOC_NODE_PARAMS_v2_st: return [CUmemAccessDesc(_ptr=arr) for arr in arrs] @accessDescs.setter def accessDescs(self, val): + cdef cydriver.CUmemAccessDesc* _accessDescs_new if len(val) == 0: free(self._accessDescs) self._accessDescs = NULL @@ -21730,14 +21305,22 @@ cdef class CUDA_MEM_ALLOC_NODE_PARAMS_v2_st: self._pvt_ptr[0].accessDescs = NULL else: if self._accessDescs_length != len(val): - free(self._accessDescs) - self._accessDescs = calloc(len(val), sizeof(cydriver.CUmemAccessDesc)) - if self._accessDescs is NULL: + # Allocate and fill a new buffer before touching the + # live state so a failure leaves this object unchanged + # (strong exception guarantee); the old buffer is only + # freed once the resize is known to succeed. + _accessDescs_new = calloc(len(val), sizeof(cydriver.CUmemAccessDesc)) + if _accessDescs_new is NULL: raise MemoryError('Failed to allocate length x size memory: ' + str(len(val)) + 'x' + str(sizeof(cydriver.CUmemAccessDesc))) + for idx in range(len(val)): + string.memcpy(&_accessDescs_new[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUmemAccessDesc)) + free(self._accessDescs) + self._accessDescs = _accessDescs_new self._accessDescs_length = len(val) - self._pvt_ptr[0].accessDescs = self._accessDescs - for idx in range(len(val)): - string.memcpy(&self._accessDescs[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUmemAccessDesc)) + self._pvt_ptr[0].accessDescs = _accessDescs_new + else: + for idx in range(len(val)): + string.memcpy(&self._accessDescs[idx], (val[idx])._pvt_ptr, sizeof(cydriver.CUmemAccessDesc)) @@ -22049,14 +21632,6 @@ cdef class CUgraphNodeParams_st: Type of the node - reserved0 : list[int] - Reserved. Must be zero. - - - reserved1 : list[long long] - Padding. Unused bytes must be zero. - - kernel : CUDA_KERNEL_NODE_PARAMS_v3 Kernel node parameters. @@ -22109,10 +21684,6 @@ cdef class CUgraphNodeParams_st: Conditional node parameters. - reserved2 : long long - Reserved bytes. Must be zero. - - Methods ------- getPtr() @@ -22180,18 +21751,6 @@ cdef class CUgraphNodeParams_st: str_list += ['type : '] - try: - str_list += ['reserved0 : ' + str(self.reserved0)] - except ValueError: - str_list += ['reserved0 : '] - - - try: - str_list += ['reserved1 : ' + str(self.reserved1)] - except ValueError: - str_list += ['reserved1 : '] - - try: str_list += ['kernel :\n' + '\n'.join([' ' + line for line in str(self.kernel).splitlines()])] except ValueError: @@ -22269,12 +21828,6 @@ cdef class CUgraphNodeParams_st: except ValueError: str_list += ['conditional : '] - - try: - str_list += ['reserved2 : ' + str(self.reserved2)] - except ValueError: - str_list += ['reserved2 : '] - return '\n'.join(str_list) else: return '' @@ -22287,22 +21840,6 @@ cdef class CUgraphNodeParams_st: self._pvt_ptr[0].type = int(type) - @property - def reserved0(self): - return self._pvt_ptr[0].reserved0 - @reserved0.setter - def reserved0(self, reserved0): - self._pvt_ptr[0].reserved0 = reserved0 - - - @property - def reserved1(self): - return self._pvt_ptr[0].reserved1 - @reserved1.setter - def reserved1(self, reserved1): - self._pvt_ptr[0].reserved1 = reserved1 - - @property def kernel(self): return self._kernel @@ -22407,14 +21944,6 @@ cdef class CUgraphNodeParams_st: string.memcpy(&self._pvt_ptr[0].conditional, conditional.getPtr(), sizeof(self._pvt_ptr[0].conditional)) - @property - def reserved2(self): - return self._pvt_ptr[0].reserved2 - @reserved2.setter - def reserved2(self, long long reserved2): - self._pvt_ptr[0].reserved2 = reserved2 - - cdef class CUcheckpointLockArgs_st: """ CUDA checkpoint optional lock arguments @@ -22427,14 +21956,6 @@ cdef class CUcheckpointLockArgs_st: no timeout - reserved0 : unsigned int - Reserved for future use, must be zero - - - reserved1 : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -22460,18 +21981,6 @@ cdef class CUcheckpointLockArgs_st: except ValueError: str_list += ['timeoutMs : '] - - try: - str_list += ['reserved0 : ' + str(self.reserved0)] - except ValueError: - str_list += ['reserved0 : '] - - - try: - str_list += ['reserved1 : ' + str(self.reserved1)] - except ValueError: - str_list += ['reserved1 : '] - return '\n'.join(str_list) else: return '' @@ -22484,34 +21993,10 @@ cdef class CUcheckpointLockArgs_st: self._pvt_ptr[0].timeoutMs = timeoutMs - @property - def reserved0(self): - return self._pvt_ptr[0].reserved0 - @reserved0.setter - def reserved0(self, unsigned int reserved0): - self._pvt_ptr[0].reserved0 = reserved0 - - - @property - def reserved1(self): - return [cuuint64_t(init_value=_reserved1) for _reserved1 in self._pvt_ptr[0].reserved1] - @reserved1.setter - def reserved1(self, reserved1): - self._pvt_ptr[0].reserved1 = reserved1 - - - cdef class CUcheckpointCheckpointArgs_st: """ CUDA checkpoint optional checkpoint arguments - Attributes - ---------- - - reserved : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -22532,39 +22017,14 @@ cdef class CUcheckpointCheckpointArgs_st: if self._pvt_ptr is not NULL: str_list = [] - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' - @property - def reserved(self): - return [cuuint64_t(init_value=_reserved) for _reserved in self._pvt_ptr[0].reserved] - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - - cdef class CUcheckpointRestoreArgs_st: """ CUDA checkpoint optional restore arguments - Attributes - ---------- - - reserved : bytes - Reserved for future use, must be zeroed - - - reserved : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -22585,54 +22045,14 @@ cdef class CUcheckpointRestoreArgs_st: if self._pvt_ptr is not NULL: str_list = [] - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' - @property - def reserved(self): - return PyBytes_FromStringAndSize(self._pvt_ptr[0].reserved, {{struct_field_array_lengths['CUcheckpointRestoreArgs_st.reserved']}}) - @reserved.setter - def reserved(self, reserved): - if len(reserved) != {{struct_field_array_lengths['CUcheckpointRestoreArgs_st.reserved']}}: - raise ValueError("reserved length must be {{struct_field_array_lengths['CUcheckpointRestoreArgs_st.reserved']}}, is " + str(len(reserved))) - if CHAR_MIN == 0: - for i, b in enumerate(reserved): - if b < 0 and b > -129: - b = b + 256 - self._pvt_ptr[0].reserved[i] = b - else: - for i, b in enumerate(reserved): - if b > 127 and b < 256: - b = b - 256 - self._pvt_ptr[0].reserved[i] = b - - - @property - def reserved(self): - return [cuuint64_t(init_value=_reserved) for _reserved in self._pvt_ptr[0].reserved] - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - - cdef class CUcheckpointUnlockArgs_st: """ CUDA checkpoint optional unlock arguments - Attributes - ---------- - - reserved : list[cuuint64_t] - Reserved for future use, must be zeroed - - Methods ------- getPtr() @@ -22653,24 +22073,10 @@ cdef class CUcheckpointUnlockArgs_st: if self._pvt_ptr is not NULL: str_list = [] - try: - str_list += ['reserved : ' + str(self.reserved)] - except ValueError: - str_list += ['reserved : '] - return '\n'.join(str_list) else: return '' - @property - def reserved(self): - return [cuuint64_t(init_value=_reserved) for _reserved in self._pvt_ptr[0].reserved] - @reserved.setter - def reserved(self, reserved): - self._pvt_ptr[0].reserved = reserved - - - cdef class CUmemDecompressParams_st: """ Structure describing the parameters that compose a single @@ -22712,10 +22118,6 @@ cdef class CUmemDecompressParams_st: The decompression algorithm to use. - padding : bytes - - - Methods ------- getPtr() @@ -22771,12 +22173,6 @@ cdef class CUmemDecompressParams_st: except ValueError: str_list += ['algo : '] - - try: - str_list += ['padding : ' + str(self.padding)] - except ValueError: - str_list += ['padding : '] - return '\n'.join(str_list) else: return '' @@ -22828,17 +22224,6 @@ cdef class CUmemDecompressParams_st: self._pvt_ptr[0].algo = int(algo) - @property - def padding(self): - return PyBytes_FromStringAndSize(self._pvt_ptr[0].padding, 20) - @padding.setter - def padding(self, padding): - if len(padding) != 20: - raise ValueError("padding length must be 20, is " + str(len(padding))) - for i, b in enumerate(padding): - self._pvt_ptr[0].padding[i] = b - - cdef class CUdevSmResource_st: """ Attributes @@ -33767,7 +33152,7 @@ def cuMemSetAccess(ptr, size_t size, desc : Optional[tuple[CUmemAccessDesc] | li See Also -------- - :py:obj:`~.cuMemSetAccess`, :py:obj:`~.cuMemCreate`, :py:obj:`~.py`:obj:`~.cuMemMap` + :py:obj:`~.cuMemSetAccess`, :py:obj:`~.cuMemCreate`, :py:obj:`~.cuMemMap` """ desc = [] if desc is None else desc if not all(isinstance(_x, (CUmemAccessDesc,)) for _x in desc): @@ -34813,11 +34198,11 @@ def cuMulticastCreate(prop : Optional[CUmulticastObjectProp]): :py:obj:`~.cuMulticastBindAddr`, and can be unbound via :py:obj:`~.cuMulticastUnbind`. The total amount of memory that can be bound per device is specified by - :py:obj:`~.py`:obj:`~.CUmulticastObjectProp.size`. This size must be a - multiple of the value returned by :py:obj:`~.cuMulticastGetGranularity` - with the flag :py:obj:`~.CU_MULTICAST_GRANULARITY_MINIMUM`. For best - performance however, the size should be aligned to the value returned - by :py:obj:`~.cuMulticastGetGranularity` with the flag + :py:obj:`~.CUmulticastObjectProp.size`. This size must be a multiple of + the value returned by :py:obj:`~.cuMulticastGetGranularity` with the + flag :py:obj:`~.CU_MULTICAST_GRANULARITY_MINIMUM`. For best performance + however, the size should be aligned to the value returned by + :py:obj:`~.cuMulticastGetGranularity` with the flag :py:obj:`~.CU_MULTICAST_GRANULARITY_RECOMMENDED`. After all participating devices have been added, multicast objects can @@ -35224,13 +34609,12 @@ def cuPointerGetAttribute(attribute not None : CUpointer_attribute, ptr): :py:obj:`~.CUDA_POINTER_ATTRIBUTE_P2P_TOKENS`. - `ptr` must be a pointer to memory obtained from - :py:obj:`~.py`:obj:`~.cuMemAlloc()`. Note that p2pToken and - vaSpaceToken are only valid for the lifetime of the source - allocation. A subsequent allocation at the same address may return - completely different tokens. Querying this attribute has a side - effect of setting the attribute - :py:obj:`~.CU_POINTER_ATTRIBUTE_SYNC_MEMOPS` for the region of memory - that `ptr` points to. + :py:obj:`~.cuMemAlloc()`. Note that p2pToken and vaSpaceToken are + only valid for the lifetime of the source allocation. A subsequent + allocation at the same address may return completely different + tokens. Querying this attribute has a side effect of setting the + attribute :py:obj:`~.CU_POINTER_ATTRIBUTE_SYNC_MEMOPS` for the region + of memory that `ptr` points to. - :py:obj:`~.CU_POINTER_ATTRIBUTE_SYNC_MEMOPS`: diff --git a/cuda_bindings/cuda/bindings/nvfatbin.pxd b/cuda_bindings/cuda/bindings/nvfatbin.pxd index facc2dfeeb4..d27d4002320 100644 --- a/cuda_bindings/cuda/bindings/nvfatbin.pxd +++ b/cuda_bindings/cuda/bindings/nvfatbin.pxd @@ -3,9 +3,16 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.4.1 to 13.3.0. Do not modify it directly. +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=d9fd5ffb6adedf403c2fee0594d979c6ad2221c94f886cdaaa5efb01c1fa1421 -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=c9d5a4b06ca92f766674f286b75dfc83dff952b5987eb88cdb2773bb28f1ea6a -from libc.stdint cimport intptr_t, uint32_t + + +# <<<< PREAMBLE CONTENT >>>> + +from libc.stdint cimport intptr_t + + +# <<<< END OF PREAMBLE CONTENT >>>> from .cynvfatbin cimport * diff --git a/cuda_bindings/cuda/bindings/nvfatbin.pyx b/cuda_bindings/cuda/bindings/nvfatbin.pyx index 309d2d751df..1cbe3794eb5 100644 --- a/cuda_bindings/cuda/bindings/nvfatbin.pyx +++ b/cuda_bindings/cuda/bindings/nvfatbin.pyx @@ -3,20 +3,52 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.4.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=22dd0937e8e243f48b06a24f0c1819e09360d102541b621dfe1cdeaa55c2154c +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=c62920508a430e4c4fe921907da4b519becae045487a6a8c006484153df9341d # <<<< PREAMBLE CONTENT >>>> +cimport cpython as _cyb_cpython +from libc.stdint cimport intptr_t as _cyb_intptr_t + from cuda.bindings._internal._fast_enum import FastEnum as _cyb_FastEnum +cdef int _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: + cdef void* ptr + cdef int flags = _cyb_cpython.PyBUF_ANY_CONTIGUOUS + if not readonly: + flags |= _cyb_cpython.PyBUF_WRITABLE + cdef int status = -1 + cdef _cyb_cpython.Py_buffer view + if isinstance(buf, int): + ptr = <_cyb_intptr_t>buf + else: + try: + status = _cyb_cpython.PyObject_GetBuffer(buf, &view, flags) + if size != -1: + assert view.len == size + assert view.ndim == 1 + except Exception as e: + adj = "writable " if not readonly else "" + raise ValueError( + "buf must be either a Python int representing the pointer " + f"address to a valid buffer, or a 1D contiguous {adj}" + f"buffer, of size {size}" + ) from e + else: + ptr = view.buf + finally: + if status == 0: + _cyb_cpython.PyBuffer_Release(&view) + return ptr + # <<<< END OF PREAMBLE CONTENT >>>> cimport cython # NOQA from ._internal.utils cimport (get_resource_ptr, get_nested_resource_ptr, nested_resource, nullable_unique_ptr, - get_buffer_pointer, get_resource_ptrs) + get_resource_ptrs) from libcpp.vector cimport vector @@ -117,7 +149,8 @@ cpdef intptr_t create(options, size_t options_count) except -1: """nvFatbinCreate creates a new handle. Args: - options (object): An array of strings, each containing a single option. It can be: + options (object): An array of strings, each containing a + single option. It can be: - an :class:`int` as the pointer address to the nested sequence, or - a Python sequence of :class:`int`\s, each of which is a pointer address @@ -147,13 +180,15 @@ cpdef add_ptx(intptr_t handle, code, size_t size, arch, identifier, options_cmd_ handle (intptr_t): nvFatbin handle. code (bytes): The PTX code. size (size_t): The size of the PTX code. - arch (str): The numerical architecture that this PTX is for (the XX of any sm_XX, lto_XX, or compute_XX). - identifier (str): Name of the PTX, useful when extracting the fatbin with tools like cuobjdump. + arch (str): The numerical architecture that this PTX is for + (the XX of any sm_XX, lto_XX, or compute_XX). + identifier (str): Name of the PTX, useful when extracting the + fatbin with tools like cuobjdump. options_cmd_line (str): Options used during JIT compilation. .. seealso:: `nvFatbinAddPTX` """ - cdef void* _code_ = get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) if not isinstance(arch, str): raise TypeError("arch must be a Python str") cdef bytes _temp_arch_ = (arch).encode() @@ -178,12 +213,14 @@ cpdef add_cubin(intptr_t handle, code, size_t size, arch, identifier): handle (intptr_t): nvFatbin handle. code (bytes): The cubin. size (size_t): The size of the cubin. - arch (str): The numerical architecture that this cubin is for (the XX of any sm_XX, lto_XX, or compute_XX). - identifier (str): Name of the cubin, useful when extracting the fatbin with tools like cuobjdump. + arch (str): The numerical architecture that this cubin is for + (the XX of any sm_XX, lto_XX, or compute_XX). + identifier (str): Name of the cubin, useful when extracting + the fatbin with tools like cuobjdump. .. seealso:: `nvFatbinAddCubin` """ - cdef void* _code_ = get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) if not isinstance(arch, str): raise TypeError("arch must be a Python str") cdef bytes _temp_arch_ = (arch).encode() @@ -204,13 +241,15 @@ cpdef add_ltoir(intptr_t handle, code, size_t size, arch, identifier, options_cm handle (intptr_t): nvFatbin handle. code (bytes): The LTOIR code. size (size_t): The size of the LTOIR code. - arch (str): The numerical architecture that this LTOIR is for (the XX of any sm_XX, lto_XX, or compute_XX). - identifier (str): Name of the LTOIR, useful when extracting the fatbin with tools like cuobjdump. + arch (str): The numerical architecture that this LTOIR is for + (the XX of any sm_XX, lto_XX, or compute_XX). + identifier (str): Name of the LTOIR, useful when extracting + the fatbin with tools like cuobjdump. options_cmd_line (str): Options used during JIT compilation. .. seealso:: `nvFatbinAddLTOIR` """ - cdef void* _code_ = get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) if not isinstance(arch, str): raise TypeError("arch must be a Python str") cdef bytes _temp_arch_ = (arch).encode() @@ -255,7 +294,7 @@ cpdef get(intptr_t handle, buffer): .. seealso:: `nvFatbinGet` """ - cdef void* _buffer_ = get_buffer_pointer(buffer, -1, readonly=False) + cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, -1, readonly=False) with nogil: __status__ = nvFatbinGet(handle, _buffer_) check_status(__status__) @@ -281,7 +320,7 @@ cpdef tuple version(): cpdef add_index(intptr_t handle, code, size_t size, identifier): - cdef void* _code_ = get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) if not isinstance(identifier, str): raise TypeError("identifier must be a Python str") cdef bytes _temp_identifier_ = (identifier).encode() @@ -301,7 +340,7 @@ cpdef add_reloc(intptr_t handle, code, size_t size): .. seealso:: `nvFatbinAddReloc` """ - cdef void* _code_ = get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) with nogil: __status__ = nvFatbinAddReloc(handle, _code_, size) check_status(__status__) @@ -314,12 +353,13 @@ cpdef add_tile_ir(intptr_t handle, code, size_t size, identifier, options_cmd_li handle (intptr_t): nvFatbin handle. code (bytes): The Tile IR. size (size_t): The size of the Tile IR. - identifier (str): Name of the Tile IR, useful when extracting the fatbin with tools like cuobjdump. + identifier (str): Name of the Tile IR, useful when extracting + the fatbin with tools like cuobjdump. options_cmd_line (str): Options used during JIT compilation. .. seealso:: `nvFatbinAddTileIR` """ - cdef void* _code_ = get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) if not isinstance(identifier, str): raise TypeError("identifier must be a Python str") cdef bytes _temp_identifier_ = (identifier).encode() diff --git a/cuda_bindings/cuda/bindings/nvjitlink.pxd b/cuda_bindings/cuda/bindings/nvjitlink.pxd index ac697049088..714bbbc33ee 100644 --- a/cuda_bindings/cuda/bindings/nvjitlink.pxd +++ b/cuda_bindings/cuda/bindings/nvjitlink.pxd @@ -3,9 +3,19 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b3986e82e5ac57f70277f1ab470024ff95d353999f98723724c7eb62f6a409a1 -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b847666247321f33f1f6b4c5fa92d6ee5d1022389e32eceb03c7458c45ff44ed -from libc.stdint cimport intptr_t, uint32_t + + +# <<<< PREAMBLE CONTENT >>>> + +from libc.stdint cimport ( + intptr_t, + uint32_t, +) + + +# <<<< END OF PREAMBLE CONTENT >>>> from .cynvjitlink cimport * diff --git a/cuda_bindings/cuda/bindings/nvjitlink.pyx b/cuda_bindings/cuda/bindings/nvjitlink.pyx index eee6cc33923..3fc6cb50111 100644 --- a/cuda_bindings/cuda/bindings/nvjitlink.pyx +++ b/cuda_bindings/cuda/bindings/nvjitlink.pyx @@ -3,20 +3,55 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=85275f1596953f034c156776f8fe4f6e518dbb89ffedda994d8e78bfd9284246 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=0ff9b5041843049905190d3047d5e57c62b273f69c85787fd04a71f5a1e9b37a # <<<< PREAMBLE CONTENT >>>> +cimport cpython as _cyb_cpython +from libc.stdint cimport ( + intptr_t as _cyb_intptr_t, + uint32_t, +) + from cuda.bindings._internal._fast_enum import FastEnum as _cyb_FastEnum +cdef int _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: + cdef void* ptr + cdef int flags = _cyb_cpython.PyBUF_ANY_CONTIGUOUS + if not readonly: + flags |= _cyb_cpython.PyBUF_WRITABLE + cdef int status = -1 + cdef _cyb_cpython.Py_buffer view + if isinstance(buf, int): + ptr = <_cyb_intptr_t>buf + else: + try: + status = _cyb_cpython.PyObject_GetBuffer(buf, &view, flags) + if size != -1: + assert view.len == size + assert view.ndim == 1 + except Exception as e: + adj = "writable " if not readonly else "" + raise ValueError( + "buf must be either a Python int representing the pointer " + f"address to a valid buffer, or a 1D contiguous {adj}" + f"buffer, of size {size}" + ) from e + else: + ptr = view.buf + finally: + if status == 0: + _cyb_cpython.PyBuffer_Release(&view) + return ptr + # <<<< END OF PREAMBLE CONTENT >>>> cimport cython # NOQA from ._internal.utils cimport (get_resource_ptr, get_nested_resource_ptr, nested_resource, nullable_unique_ptr, - get_buffer_pointer, get_resource_ptrs) + get_resource_ptrs) from libcpp.vector cimport vector @@ -117,7 +152,8 @@ cpdef intptr_t create(uint32_t num_options, options) except -1: Args: num_options (uint32_t): Number of options passed. - options (object): Array of size ``num_options`` of option strings. It can be: + options (object): Array of size ``num_options`` of option + strings. It can be: - an :class:`int` as the pointer address to the nested sequence, or - a Python sequence of :class:`int`\s, each of which is a pointer address @@ -151,7 +187,7 @@ cpdef add_data(intptr_t handle, int input_type, data, size_t size, name): .. seealso:: `nvJitLinkAddData` """ - cdef void* _data_ = get_buffer_pointer(data, size, readonly=True) + cdef void* _data_ = _cyb_get_buffer_pointer(data, size, readonly=True) if not isinstance(name, str): raise TypeError("name must be a Python str") cdef bytes _temp_name_ = (name).encode() @@ -220,7 +256,7 @@ cpdef get_linked_cubin(intptr_t handle, cubin): .. seealso:: `nvJitLinkGetLinkedCubin` """ - cdef void* _cubin_ = get_buffer_pointer(cubin, -1, readonly=False) + cdef void* _cubin_ = _cyb_get_buffer_pointer(cubin, -1, readonly=False) with nogil: __status__ = nvJitLinkGetLinkedCubin(handle, _cubin_) check_status(__status__) @@ -253,7 +289,7 @@ cpdef get_linked_ptx(intptr_t handle, ptx): .. seealso:: `nvJitLinkGetLinkedPtx` """ - cdef void* _ptx_ = get_buffer_pointer(ptx, -1, readonly=False) + cdef void* _ptx_ = _cyb_get_buffer_pointer(ptx, -1, readonly=False) with nogil: __status__ = nvJitLinkGetLinkedPtx(handle, _ptx_) check_status(__status__) @@ -286,7 +322,7 @@ cpdef get_error_log(intptr_t handle, log): .. seealso:: `nvJitLinkGetErrorLog` """ - cdef void* _log_ = get_buffer_pointer(log, -1, readonly=False) + cdef void* _log_ = _cyb_get_buffer_pointer(log, -1, readonly=False) with nogil: __status__ = nvJitLinkGetErrorLog(handle, _log_) check_status(__status__) @@ -319,7 +355,7 @@ cpdef get_info_log(intptr_t handle, log): .. seealso:: `nvJitLinkGetInfoLog` """ - cdef void* _log_ = get_buffer_pointer(log, -1, readonly=False) + cdef void* _log_ = _cyb_get_buffer_pointer(log, -1, readonly=False) with nogil: __status__ = nvJitLinkGetInfoLog(handle, _log_) check_status(__status__) @@ -371,7 +407,7 @@ cpdef get_linked_ltoir(intptr_t handle, ltoir): .. seealso:: `nvJitLinkGetLinkedLTOIR` """ - cdef void* _ltoir_ = get_buffer_pointer(ltoir, -1, readonly=False) + cdef void* _ltoir_ = _cyb_get_buffer_pointer(ltoir, -1, readonly=False) with nogil: __status__ = nvJitLinkGetLinkedLTOIR(handle, _ltoir_) check_status(__status__) diff --git a/cuda_bindings/cuda/bindings/nvml.pxd b/cuda_bindings/cuda/bindings/nvml.pxd index acc9900f069..ce3c1db4852 100644 --- a/cuda_bindings/cuda/bindings/nvml.pxd +++ b/cuda_bindings/cuda/bindings/nvml.pxd @@ -3,10 +3,17 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.1 to 13.3.0. Do not modify it directly. +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b6fe9a4efd0077f8c09ef4f826880ad0a54100455d4465953c4127d3de8c4d91 + + + +# <<<< PREAMBLE CONTENT >>>> -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=eb901f46ca6b6930935726541c32b3ea04f7f46b6090c4c2ad9cb62386c2028b from libc.stdint cimport intptr_t + +# <<<< END OF PREAMBLE CONTENT >>>> + from .cynvml cimport * @@ -53,14 +60,10 @@ ctypedef nvmlMask255_t Mask255 ctypedef nvmlHostname_v1_t Hostname_v1 ctypedef nvmlUnrepairableMemoryStatus_v1_t UnrepairableMemoryStatus_v1 ctypedef nvmlRusdSettings_v1_t RusdSettings_v1 -ctypedef nvmlBBXTimeData_v1_t BBXTimeData_v1 -ctypedef nvmlRemappedRowsInfo_v2_t RemappedRowsInfo_v2 -ctypedef nvmlAccountingStats_v2_t AccountingStats_v2 ctypedef nvmlPowerValue_v2_t PowerValue_v2 ctypedef nvmlVgpuTypeMaxInstance_v1_t VgpuTypeMaxInstance_v1 ctypedef nvmlVgpuProcessUtilizationSample_t VgpuProcessUtilizationSample ctypedef nvmlGpuFabricInfo_t GpuFabricInfo -ctypedef nvmlCPERCursor_v1_t CPERCursor_v1 ctypedef nvmlSystemEventSetCreateRequest_v1_t SystemEventSetCreateRequest_v1 ctypedef nvmlSystemEventSetFreeRequest_v1_t SystemEventSetFreeRequest_v1 ctypedef nvmlSystemRegisterEventRequest_v1_t SystemRegisterEventRequest_v1 @@ -72,7 +75,6 @@ ctypedef nvmlWorkloadPowerProfileCurrentProfiles_v1_t WorkloadPowerProfileCurren ctypedef nvmlWorkloadPowerProfileRequestedProfiles_v1_t WorkloadPowerProfileRequestedProfiles_v1 ctypedef nvmlWorkloadPowerProfileUpdateProfiles_v1_t WorkloadPowerProfileUpdateProfiles_v1 ctypedef nvmlPRMTLV_v1_t PRMTLV_v1 -ctypedef nvmlGetCPER_v1_t GetCPER_v1 ctypedef nvmlVgpuSchedulerSetState_t VgpuSchedulerSetState ctypedef nvmlGpmMetricsGet_t GpmMetricsGet ctypedef nvmlPRMCounterList_v1_t PRMCounterList_v1 @@ -432,3 +434,7 @@ cpdef object device_get_vgpu_scheduler_log_v2(intptr_t device) cpdef object gpu_instance_get_vgpu_scheduler_log_v2(intptr_t gpu_instance) cpdef device_set_vgpu_scheduler_state_v2(intptr_t device, intptr_t p_scheduler_state) cpdef gpu_instance_set_vgpu_scheduler_state_v2(intptr_t gpu_instance, intptr_t p_scheduler_state) +cpdef object system_get_cper_v1() +cpdef object device_get_bbx_time_data_v1(intptr_t device) +cpdef object device_get_accounting_stats_v2(intptr_t device) +cpdef object device_get_remapped_rows_v2(intptr_t device) diff --git a/cuda_bindings/cuda/bindings/nvml.pyx b/cuda_bindings/cuda/bindings/nvml.pyx index a51d4264363..4378e667d06 100644 --- a/cuda_bindings/cuda/bindings/nvml.pyx +++ b/cuda_bindings/cuda/bindings/nvml.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=e47a16bd9956de14a991ded5d1aef667cdd26a141e27db5b2015b91be6918d3c +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=9167da2a3d3194c67c44a0fe8d4d34b3dbd3c0f43061c50b7d238d2044c75509 # <<<< PREAMBLE CONTENT >>>> @@ -12,6 +12,7 @@ cimport cpython as _cyb_cpython cimport cpython.buffer as _cyb_cpython_buffer cimport cpython.memoryview as _cyb_cpython_memoryview from cython cimport view as _cyb_view +from libc.stdint cimport intptr_t from libc.stdlib cimport ( calloc as _cyb_calloc, free as _cyb_free, @@ -72,7 +73,7 @@ from cython cimport view cimport cpython from libc.string cimport memcpy -from ._internal.utils cimport (get_buffer_pointer, get_nested_resource_ptr, +from ._internal.utils cimport (get_nested_resource_ptr, nested_resource) from cuda.bindings._internal._fast_enum import FastEnum as _FastEnum @@ -840,7 +841,7 @@ class GpmMetricId(_cyb_FastEnum): GPM_METRIC_HMMA_TENSOR_UTIL = (NVML_GPM_METRIC_HMMA_TENSOR_UTIL, "Percentage of time the GPU's SMs were doing HMMA tensor operations. 0.0 - 100.0.") GPM_METRIC_DMMA_TENSOR_UTIL = (NVML_GPM_METRIC_DMMA_TENSOR_UTIL, "Percentage of time the GPU's SMs were doing DMMA tensor operations. 0.0 - 100.0.") GPM_METRIC_IMMA_TENSOR_UTIL = (NVML_GPM_METRIC_IMMA_TENSOR_UTIL, "Percentage of time the GPU's SMs were doing IMMA tensor operations. 0.0 - 100.0.") - GPM_METRIC_DRAM_BW_UTIL = (NVML_GPM_METRIC_DRAM_BW_UTIL, 'Percentage of DRAM bw used vs theoretical maximum. 0.0 - 100.0 *\u200d/.') + GPM_METRIC_DRAM_BW_UTIL = (NVML_GPM_METRIC_DRAM_BW_UTIL, 'Percentage of DRAM bw used vs theoretical maximum. `0.0 - 100.0 */`.') GPM_METRIC_FP64_UTIL = (NVML_GPM_METRIC_FP64_UTIL, "Percentage of time the GPU's SMs were doing non-tensor FP64 math. 0.0 - 100.0.") GPM_METRIC_FP32_UTIL = (NVML_GPM_METRIC_FP32_UTIL, "Percentage of time the GPU's SMs were doing non-tensor FP32 math. 0.0 - 100.0.") GPM_METRIC_FP16_UTIL = (NVML_GPM_METRIC_FP16_UTIL, "Percentage of time the GPU's SMs were doing non-tensor FP16 math. 0.0 - 100.0.") @@ -1607,7 +1608,7 @@ class FieldId(_FastEnum): PWR_SMOOTHING_ADMIN_OVERRIDE_PRIMARY_FLOOR_TAR_WIN_MULT = (287, "Current primary floor target window multiplier value for admin override") PWR_SMOOTHING_ADMIN_OVERRIDE_PRIMARY_FLOOR_ACT_OFFSET = (288, "Current primary floor activation offset value in Watts for admin override") - MAX = 289 + NVLINK_MAX_LINKS = 18 @@ -3263,6 +3264,7 @@ cdef class ProcessInfo: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=process_info_dtype) @@ -3392,13 +3394,15 @@ cdef class ProcessInfo: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an ProcessInfo instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -3408,6 +3412,7 @@ cdef class ProcessInfo: ptr, sizeof(nvmlProcessInfo_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=process_info_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -3441,6 +3446,7 @@ cdef class ProcessDetail_v1: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=process_detail_v1_dtype) @@ -3581,13 +3587,15 @@ cdef class ProcessDetail_v1: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an ProcessDetail_v1 instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -3597,6 +3605,7 @@ cdef class ProcessDetail_v1: ptr, sizeof(nvmlProcessDetail_v1_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=process_detail_v1_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -4164,6 +4173,7 @@ cdef class BridgeChipInfo: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=bridge_chip_info_dtype) @@ -4271,13 +4281,15 @@ cdef class BridgeChipInfo: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an BridgeChipInfo instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -4287,22 +4299,29 @@ cdef class BridgeChipInfo: ptr, sizeof(nvmlBridgeChipInfo_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=bridge_chip_info_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj -value_dtype = _numpy.dtype(( - _numpy.dtype((_numpy.void, sizeof(nvmlValue_t))), - { - "d_val": (_numpy.float64, 0), - "si_val": (_numpy.int32, 0), - "ui_val": (_numpy.uint32, 0), - "ul_val": (_numpy.uint32, 0), - "ull_val": (_numpy.uint64, 0), - "sll_val": (_numpy.int64, 0), - "us_val": (_numpy.uint16, 0), - } - )) +cdef _get_value_dtype_offsets(): + cdef nvmlValue_t pod + return _numpy.dtype({ + 'names': ['d_val', 'si_val', 'ui_val', 'ul_val', 'ull_val', 'sll_val', 'us_val'], + 'formats': [_numpy.float64, _numpy.int32, _numpy.uint32, _numpy.uint32, _numpy.uint64, _numpy.int64, _numpy.uint16], + 'offsets': [ + (&(pod.dVal)) - (&pod), + (&(pod.siVal)) - (&pod), + (&(pod.uiVal)) - (&pod), + (&(pod.ulVal)) - (&pod), + (&(pod.ullVal)) - (&pod), + (&(pod.sllVal)) - (&pod), + (&(pod.usVal)) - (&pod), + ], + 'itemsize': sizeof(nvmlValue_t), + }) + +value_dtype = _get_value_dtype_offsets() cdef class Value: """Empty-initialize an instance of `nvmlValue_t`. @@ -4506,164 +4525,178 @@ cdef _get__py_anon_pod0_dtype_offsets(): _py_anon_pod0_dtype = _get__py_anon_pod0_dtype_offsets() cdef class _py_anon_pod0: - """Empty-initialize an instance of `cuda_bindings_nvml__anon_pod0`. + """Empty-initialize an array of `cuda_bindings_nvml__anon_pod0`. + The resulting object is of length `size` and of dtype `_py_anon_pod0_dtype`. + If default-constructed, the instance represents a single struct. + Args: + size (int): number of structs, default=1. .. seealso:: `cuda_bindings_nvml__anon_pod0` """ cdef: - cuda_bindings_nvml__anon_pod0 *_ptr + readonly object _data object _owner - bint _owned - bint _readonly - - def __init__(self): - self._ptr = _cyb_calloc(1, sizeof(cuda_bindings_nvml__anon_pod0)) - if self._ptr == NULL: - raise MemoryError("Error allocating _py_anon_pod0") - self._owner = None - self._owned = True - self._readonly = False - def __dealloc__(self): - cdef cuda_bindings_nvml__anon_pod0 *ptr - if self._owned and self._ptr != NULL: - ptr = self._ptr - self._ptr = NULL - _cyb_free(ptr) + def __init__(self, size=1): + arr = _numpy.empty(size, dtype=_py_anon_pod0_dtype) + self._data = arr.view(_numpy.recarray) + assert self._data.itemsize == sizeof(cuda_bindings_nvml__anon_pod0), \ + f"itemsize {self._data.itemsize} mismatches struct size { sizeof(cuda_bindings_nvml__anon_pod0) }" def __repr__(self): - return f"<{__name__}._py_anon_pod0 object at {hex(id(self))}>" + if self._data.size > 1: + return f"<{__name__}._py_anon_pod0_Array_{self._data.size} object at {hex(id(self))}>" + else: + return f"<{__name__}._py_anon_pod0 object at {hex(id(self))}>" @property def ptr(self): """Get the pointer address to the data as Python :class:`int`.""" - return (self._ptr) + return self._data.ctypes.data cdef intptr_t _get_ptr(self): - return (self._ptr) + return self._data.ctypes.data def __int__(self): - return (self._ptr) + if self._data.size > 1: + raise TypeError("int() argument must be a bytes-like object of size 1. " + "To get the pointer address of an array, use .ptr") + return self._data.ctypes.data + + def __len__(self): + return self._data.size def __eq__(self, other): - cdef _py_anon_pod0 other_ - if not isinstance(other, _py_anon_pod0): + cdef object self_data = self._data + if (not isinstance(other, _py_anon_pod0)) or self_data.size != other._data.size or self_data.dtype != other._data.dtype: return False - other_ = other - return (_cyb_memcmp((self._ptr), (other_._ptr), sizeof(cuda_bindings_nvml__anon_pod0)) == 0) + return bool((self_data == other._data).all()) - def __getbuffer__(self, _cyb_cpython.Py_buffer *buffer, int flags): - _cyb___getbuffer(self, buffer, self._ptr, sizeof(cuda_bindings_nvml__anon_pod0), self._readonly) + def __getbuffer__(self, Py_buffer *buffer, int flags): + _cyb_cpython.PyObject_GetBuffer(self._data, buffer, flags) def __releasebuffer__(self, Py_buffer *buffer): - pass - - def __setitem__(self, key, val): - if key == 0 and isinstance(val, _numpy.ndarray): - self._ptr = _cyb_malloc(sizeof(cuda_bindings_nvml__anon_pod0)) - if self._ptr == NULL: - raise MemoryError("Error allocating _py_anon_pod0") - _cyb_memcpy(self._ptr, val.ctypes.data, sizeof(cuda_bindings_nvml__anon_pod0)) - self._owner = None - self._owned = True - self._readonly = not val.flags.writeable - else: - setattr(self, key, val) + _cyb_cpython.PyBuffer_Release(buffer) @property def controller(self): - """int: """ - return (self._ptr[0].controller) + """Union[~_numpy.int32, int]: """ + if self._data.size == 1: + return int(self._data.controller[0]) + return self._data.controller @controller.setter def controller(self, val): - if self._readonly: - raise ValueError("This _py_anon_pod0 instance is read-only") - self._ptr[0].controller = val + self._data.controller = val @property def default_min_temp(self): - """int: """ - return self._ptr[0].defaultMinTemp + """Union[~_numpy.int32, int]: """ + if self._data.size == 1: + return int(self._data.default_min_temp[0]) + return self._data.default_min_temp @default_min_temp.setter def default_min_temp(self, val): - if self._readonly: - raise ValueError("This _py_anon_pod0 instance is read-only") - self._ptr[0].defaultMinTemp = val + self._data.default_min_temp = val @property def default_max_temp(self): - """int: """ - return self._ptr[0].defaultMaxTemp + """Union[~_numpy.int32, int]: """ + if self._data.size == 1: + return int(self._data.default_max_temp[0]) + return self._data.default_max_temp @default_max_temp.setter def default_max_temp(self, val): - if self._readonly: - raise ValueError("This _py_anon_pod0 instance is read-only") - self._ptr[0].defaultMaxTemp = val + self._data.default_max_temp = val @property def current_temp(self): - """int: """ - return self._ptr[0].currentTemp + """Union[~_numpy.int32, int]: """ + if self._data.size == 1: + return int(self._data.current_temp[0]) + return self._data.current_temp @current_temp.setter def current_temp(self, val): - if self._readonly: - raise ValueError("This _py_anon_pod0 instance is read-only") - self._ptr[0].currentTemp = val + self._data.current_temp = val @property def target(self): - """int: """ - return (self._ptr[0].target) + """Union[~_numpy.int32, int]: """ + if self._data.size == 1: + return int(self._data.target[0]) + return self._data.target @target.setter def target(self, val): - if self._readonly: - raise ValueError("This _py_anon_pod0 instance is read-only") - self._ptr[0].target = val + self._data.target = val + + def __getitem__(self, key): + cdef ssize_t key_ + cdef ssize_t size + if isinstance(key, int): + key_ = key + size = self._data.size + if key_ >= size or key_ <= -(size+1): + raise IndexError("index is out of bounds") + if key_ < 0: + key_ += size + return _py_anon_pod0.from_data(self._data[key_:key_+1]) + out = self._data[key] + if isinstance(out, _numpy.recarray) and out.dtype == _py_anon_pod0_dtype: + return _py_anon_pod0.from_data(out) + return out + + def __setitem__(self, key, val): + self._data[key] = val @staticmethod def from_buffer(buffer): """Create an _py_anon_pod0 instance with the memory from the given buffer.""" - return _cyb_from_buffer(buffer, sizeof(cuda_bindings_nvml__anon_pod0), _py_anon_pod0) + return _py_anon_pod0.from_data(_numpy.frombuffer(buffer, dtype=_py_anon_pod0_dtype)) @staticmethod def from_data(data): """Create an _py_anon_pod0 instance wrapping the given NumPy array. Args: - data (_numpy.ndarray): a single-element array of dtype `_py_anon_pod0_dtype` holding the data. + data (_numpy.ndarray): a 1D array of dtype `_py_anon_pod0_dtype` holding the data. """ - return _cyb_from_data(data, "_py_anon_pod0_dtype", _py_anon_pod0_dtype, _py_anon_pod0) + cdef _py_anon_pod0 obj = _py_anon_pod0.__new__(_py_anon_pod0) + if not isinstance(data, _numpy.ndarray): + raise TypeError("data argument must be a NumPy ndarray") + if data.ndim != 1: + raise ValueError("data array must be 1D") + if data.dtype != _py_anon_pod0_dtype: + raise ValueError("data array must be of dtype _py_anon_pod0_dtype") + obj._data = data.view(_numpy.recarray) + + return obj @staticmethod - def from_ptr(intptr_t ptr, bint readonly=False, object owner=None): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an _py_anon_pod0 instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. - owner (object): The Python object that owns the pointer. If not provided, data will be copied. + size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") cdef _py_anon_pod0 obj = _py_anon_pod0.__new__(_py_anon_pod0) - if owner is None: - obj._ptr = _cyb_malloc(sizeof(cuda_bindings_nvml__anon_pod0)) - if obj._ptr == NULL: - raise MemoryError("Error allocating _py_anon_pod0") - _cyb_memcpy((obj._ptr), ptr, sizeof(cuda_bindings_nvml__anon_pod0)) - obj._owner = None - obj._owned = True - else: - obj._ptr = ptr - obj._owner = owner - obj._owned = False - obj._readonly = readonly + cdef flag = _cyb_cpython_buffer.PyBUF_READ if readonly else _cyb_cpython_buffer.PyBUF_WRITE + cdef object buf = _cyb_cpython_memoryview.PyMemoryView_FromMemory( + ptr, sizeof(cuda_bindings_nvml__anon_pod0) * size, flag) + data = _numpy.ndarray(size, buffer=buf, dtype=_py_anon_pod0_dtype) + obj._data = data.view(_numpy.recarray) + obj._owner = owner + return obj @@ -4860,6 +4893,7 @@ cdef class ClkMonFaultInfo: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=clk_mon_fault_info_dtype) @@ -4967,13 +5001,15 @@ cdef class ClkMonFaultInfo: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an ClkMonFaultInfo instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -4983,6 +5019,7 @@ cdef class ClkMonFaultInfo: ptr, sizeof(nvmlClkMonFaultInfo_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=clk_mon_fault_info_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -5208,6 +5245,7 @@ cdef class ProcessUtilizationSample: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=process_utilization_sample_dtype) @@ -5359,13 +5397,15 @@ cdef class ProcessUtilizationSample: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an ProcessUtilizationSample instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -5375,6 +5415,7 @@ cdef class ProcessUtilizationSample: ptr, sizeof(nvmlProcessUtilizationSample_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=process_utilization_sample_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -5411,6 +5452,7 @@ cdef class ProcessUtilizationInfo_v1: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=process_utilization_info_v1_dtype) @@ -5584,13 +5626,15 @@ cdef class ProcessUtilizationInfo_v1: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an ProcessUtilizationInfo_v1 instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -5600,6 +5644,7 @@ cdef class ProcessUtilizationInfo_v1: ptr, sizeof(nvmlProcessUtilizationInfo_v1_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=process_utilization_info_v1_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -6350,153 +6395,167 @@ cdef _get__py_anon_pod1_dtype_offsets(): _py_anon_pod1_dtype = _get__py_anon_pod1_dtype_offsets() cdef class _py_anon_pod1: - """Empty-initialize an instance of `cuda_bindings_nvml__anon_pod1`. + """Empty-initialize an array of `cuda_bindings_nvml__anon_pod1`. + The resulting object is of length `size` and of dtype `_py_anon_pod1_dtype`. + If default-constructed, the instance represents a single struct. + Args: + size (int): number of structs, default=1. .. seealso:: `cuda_bindings_nvml__anon_pod1` """ cdef: - cuda_bindings_nvml__anon_pod1 *_ptr + readonly object _data object _owner - bint _owned - bint _readonly - def __init__(self): - self._ptr = _cyb_calloc(1, sizeof(cuda_bindings_nvml__anon_pod1)) - if self._ptr == NULL: - raise MemoryError("Error allocating _py_anon_pod1") - self._owner = None - self._owned = True - self._readonly = False - - def __dealloc__(self): - cdef cuda_bindings_nvml__anon_pod1 *ptr - if self._owned and self._ptr != NULL: - ptr = self._ptr - self._ptr = NULL - _cyb_free(ptr) + def __init__(self, size=1): + arr = _numpy.empty(size, dtype=_py_anon_pod1_dtype) + self._data = arr.view(_numpy.recarray) + assert self._data.itemsize == sizeof(cuda_bindings_nvml__anon_pod1), \ + f"itemsize {self._data.itemsize} mismatches struct size { sizeof(cuda_bindings_nvml__anon_pod1) }" def __repr__(self): - return f"<{__name__}._py_anon_pod1 object at {hex(id(self))}>" + if self._data.size > 1: + return f"<{__name__}._py_anon_pod1_Array_{self._data.size} object at {hex(id(self))}>" + else: + return f"<{__name__}._py_anon_pod1 object at {hex(id(self))}>" @property def ptr(self): """Get the pointer address to the data as Python :class:`int`.""" - return (self._ptr) + return self._data.ctypes.data cdef intptr_t _get_ptr(self): - return (self._ptr) + return self._data.ctypes.data def __int__(self): - return (self._ptr) + if self._data.size > 1: + raise TypeError("int() argument must be a bytes-like object of size 1. " + "To get the pointer address of an array, use .ptr") + return self._data.ctypes.data + + def __len__(self): + return self._data.size def __eq__(self, other): - cdef _py_anon_pod1 other_ - if not isinstance(other, _py_anon_pod1): + cdef object self_data = self._data + if (not isinstance(other, _py_anon_pod1)) or self_data.size != other._data.size or self_data.dtype != other._data.dtype: return False - other_ = other - return (_cyb_memcmp((self._ptr), (other_._ptr), sizeof(cuda_bindings_nvml__anon_pod1)) == 0) + return bool((self_data == other._data).all()) - def __getbuffer__(self, _cyb_cpython.Py_buffer *buffer, int flags): - _cyb___getbuffer(self, buffer, self._ptr, sizeof(cuda_bindings_nvml__anon_pod1), self._readonly) + def __getbuffer__(self, Py_buffer *buffer, int flags): + _cyb_cpython.PyObject_GetBuffer(self._data, buffer, flags) def __releasebuffer__(self, Py_buffer *buffer): - pass - - def __setitem__(self, key, val): - if key == 0 and isinstance(val, _numpy.ndarray): - self._ptr = _cyb_malloc(sizeof(cuda_bindings_nvml__anon_pod1)) - if self._ptr == NULL: - raise MemoryError("Error allocating _py_anon_pod1") - _cyb_memcpy(self._ptr, val.ctypes.data, sizeof(cuda_bindings_nvml__anon_pod1)) - self._owner = None - self._owned = True - self._readonly = not val.flags.writeable - else: - setattr(self, key, val) + _cyb_cpython.PyBuffer_Release(buffer) @property def b_is_present(self): - """int: """ - return self._ptr[0].bIsPresent + """Union[~_numpy.uint32, int]: """ + if self._data.size == 1: + return int(self._data.b_is_present[0]) + return self._data.b_is_present @b_is_present.setter def b_is_present(self, val): - if self._readonly: - raise ValueError("This _py_anon_pod1 instance is read-only") - self._ptr[0].bIsPresent = val + self._data.b_is_present = val @property def percentage(self): - """int: """ - return self._ptr[0].percentage + """Union[~_numpy.uint32, int]: """ + if self._data.size == 1: + return int(self._data.percentage[0]) + return self._data.percentage @percentage.setter def percentage(self, val): - if self._readonly: - raise ValueError("This _py_anon_pod1 instance is read-only") - self._ptr[0].percentage = val + self._data.percentage = val @property def inc_threshold(self): - """int: """ - return self._ptr[0].incThreshold + """Union[~_numpy.uint32, int]: """ + if self._data.size == 1: + return int(self._data.inc_threshold[0]) + return self._data.inc_threshold @inc_threshold.setter def inc_threshold(self, val): - if self._readonly: - raise ValueError("This _py_anon_pod1 instance is read-only") - self._ptr[0].incThreshold = val + self._data.inc_threshold = val @property def dec_threshold(self): - """int: """ - return self._ptr[0].decThreshold + """Union[~_numpy.uint32, int]: """ + if self._data.size == 1: + return int(self._data.dec_threshold[0]) + return self._data.dec_threshold @dec_threshold.setter def dec_threshold(self, val): - if self._readonly: - raise ValueError("This _py_anon_pod1 instance is read-only") - self._ptr[0].decThreshold = val + self._data.dec_threshold = val + + def __getitem__(self, key): + cdef ssize_t key_ + cdef ssize_t size + if isinstance(key, int): + key_ = key + size = self._data.size + if key_ >= size or key_ <= -(size+1): + raise IndexError("index is out of bounds") + if key_ < 0: + key_ += size + return _py_anon_pod1.from_data(self._data[key_:key_+1]) + out = self._data[key] + if isinstance(out, _numpy.recarray) and out.dtype == _py_anon_pod1_dtype: + return _py_anon_pod1.from_data(out) + return out + + def __setitem__(self, key, val): + self._data[key] = val @staticmethod def from_buffer(buffer): """Create an _py_anon_pod1 instance with the memory from the given buffer.""" - return _cyb_from_buffer(buffer, sizeof(cuda_bindings_nvml__anon_pod1), _py_anon_pod1) + return _py_anon_pod1.from_data(_numpy.frombuffer(buffer, dtype=_py_anon_pod1_dtype)) @staticmethod def from_data(data): """Create an _py_anon_pod1 instance wrapping the given NumPy array. Args: - data (_numpy.ndarray): a single-element array of dtype `_py_anon_pod1_dtype` holding the data. + data (_numpy.ndarray): a 1D array of dtype `_py_anon_pod1_dtype` holding the data. """ - return _cyb_from_data(data, "_py_anon_pod1_dtype", _py_anon_pod1_dtype, _py_anon_pod1) + cdef _py_anon_pod1 obj = _py_anon_pod1.__new__(_py_anon_pod1) + if not isinstance(data, _numpy.ndarray): + raise TypeError("data argument must be a NumPy ndarray") + if data.ndim != 1: + raise ValueError("data array must be 1D") + if data.dtype != _py_anon_pod1_dtype: + raise ValueError("data array must be of dtype _py_anon_pod1_dtype") + obj._data = data.view(_numpy.recarray) + + return obj @staticmethod - def from_ptr(intptr_t ptr, bint readonly=False, object owner=None): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an _py_anon_pod1 instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. - owner (object): The Python object that owns the pointer. If not provided, data will be copied. + size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") cdef _py_anon_pod1 obj = _py_anon_pod1.__new__(_py_anon_pod1) - if owner is None: - obj._ptr = _cyb_malloc(sizeof(cuda_bindings_nvml__anon_pod1)) - if obj._ptr == NULL: - raise MemoryError("Error allocating _py_anon_pod1") - _cyb_memcpy((obj._ptr), ptr, sizeof(cuda_bindings_nvml__anon_pod1)) - obj._owner = None - obj._owned = True - else: - obj._ptr = ptr - obj._owner = owner - obj._owned = False - obj._readonly = readonly + cdef flag = _cyb_cpython_buffer.PyBUF_READ if readonly else _cyb_cpython_buffer.PyBUF_WRITE + cdef object buf = _cyb_cpython_memoryview.PyMemoryView_FromMemory( + ptr, sizeof(cuda_bindings_nvml__anon_pod1) * size, flag) + data = _numpy.ndarray(size, buffer=buf, dtype=_py_anon_pod1_dtype) + obj._data = data.view(_numpy.recarray) + obj._owner = owner + return obj @@ -6856,6 +6915,7 @@ cdef class VgpuProcessUtilizationInfo_v1: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=vgpu_process_utilization_info_v1_dtype) @@ -7049,13 +7109,15 @@ cdef class VgpuProcessUtilizationInfo_v1: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an VgpuProcessUtilizationInfo_v1 instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -7065,6 +7127,7 @@ cdef class VgpuProcessUtilizationInfo_v1: ptr, sizeof(nvmlVgpuProcessUtilizationInfo_v1_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=vgpu_process_utilization_info_v1_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -7373,6 +7436,7 @@ cdef class VgpuSchedulerLogEntry: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=vgpu_scheduler_log_entry_dtype) @@ -7524,13 +7588,15 @@ cdef class VgpuSchedulerLogEntry: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an VgpuSchedulerLogEntry instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -7540,6 +7606,7 @@ cdef class VgpuSchedulerLogEntry: ptr, sizeof(nvmlVgpuSchedulerLogEntry_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=vgpu_scheduler_log_entry_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -8960,6 +9027,7 @@ cdef class HwbcEntry: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=hwbc_entry_dtype) @@ -9065,13 +9133,15 @@ cdef class HwbcEntry: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an HwbcEntry instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -9081,6 +9151,7 @@ cdef class HwbcEntry: ptr, sizeof(nvmlHwbcEntry_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=hwbc_entry_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -9612,6 +9683,7 @@ cdef class UnitFanInfo: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=unit_fan_info_dtype) @@ -9719,13 +9791,15 @@ cdef class UnitFanInfo: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an UnitFanInfo instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -9735,6 +9809,7 @@ cdef class UnitFanInfo: ptr, sizeof(nvmlUnitFanInfo_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=unit_fan_info_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -9944,6 +10019,7 @@ cdef class SystemEventData_v1: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=system_event_data_v1_dtype) @@ -10051,13 +10127,15 @@ cdef class SystemEventData_v1: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an SystemEventData_v1 instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -10067,6 +10145,7 @@ cdef class SystemEventData_v1: ptr, sizeof(nvmlSystemEventData_v1_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=system_event_data_v1_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -10295,6 +10374,7 @@ cdef class EncoderSessionInfo: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=encoder_session_info_dtype) @@ -10468,13 +10548,15 @@ cdef class EncoderSessionInfo: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an EncoderSessionInfo instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -10484,6 +10566,7 @@ cdef class EncoderSessionInfo: ptr, sizeof(nvmlEncoderSessionInfo_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=encoder_session_info_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -10679,6 +10762,7 @@ cdef class FBCSessionInfo: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=fbc_session_info_dtype) @@ -10896,13 +10980,15 @@ cdef class FBCSessionInfo: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an FBCSessionInfo instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -10912,6 +10998,7 @@ cdef class FBCSessionInfo: ptr, sizeof(nvmlFBCSessionInfo_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=fbc_session_info_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -13114,6 +13201,7 @@ cdef class GpuInstancePlacement: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=gpu_instance_placement_dtype) @@ -13221,13 +13309,15 @@ cdef class GpuInstancePlacement: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an GpuInstancePlacement instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -13237,6 +13327,7 @@ cdef class GpuInstancePlacement: ptr, sizeof(nvmlGpuInstancePlacement_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=gpu_instance_placement_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -13546,6 +13637,7 @@ cdef class ComputeInstancePlacement: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=compute_instance_placement_dtype) @@ -13653,13 +13745,15 @@ cdef class ComputeInstancePlacement: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an ComputeInstancePlacement instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -13669,6 +13763,7 @@ cdef class ComputeInstancePlacement: ptr, sizeof(nvmlComputeInstancePlacement_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=compute_instance_placement_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -14598,7 +14693,7 @@ cdef class DevicePowerMizerModes_v1: @property def supported_power_mizer_modes(self): - """int: OUT: Bitmask of supported powermizer modes. The bitmask of supported power mizer modes on this device. The supported modes can be combined using the bitwise OR operator '|'. For example, if a device supports all PowerMizer modes, the bitmask would be: supportedPowerMizerModes = ((1 << NVML_POWER_MIZER_MODE_ADAPTIVE) | (1 << NVML_POWER_MIZER_MODE_PREFER_MAXIMUM_PERFORMANCE) | (1 << NVML_POWER_MIZER_MODE_AUTO) | (1 << NVML_POWER_MIZER_MODE_PREFER_CONSISTENT_PERFORMANCE)); This bitmask can be used to check which power mizer modes are available on the device by performing a bitwise AND operation with the specific mode you want to check.""" + """int: OUT: Bitmask of supported powermizer modes. The bitmask of supported power mizer modes on this device. The supported modes can be combined using the bitwise OR operator '|'. For example, if a device supports all PowerMizer modes, the bitmask would be: supportedPowerMizerModes = ((1 << NVML_POWER_MIZER_MODE_ADAPTIVE) | (1 << NVML_POWER_MIZER_MODE_PREFER_MAXIMUM_PERFORMANCE) | (1 << NVML_POWER_MIZER_MODE_AUTO) | (1 << NVML_POWER_MIZER_MODE_PREFER_CONSISTENT_PERFORMANCE)); This bitmask can be used to check which power mizer modes are available on the device by performing a bitwise AND operation with the specific mode you want to check.""" return self._ptr[0].supportedPowerMizerModes @supported_power_mizer_modes.setter @@ -14679,6 +14774,7 @@ cdef class EccSramUniqueUncorrectedErrorEntry_v1: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=ecc_sram_unique_uncorrected_error_entry_v1_dtype) @@ -14841,13 +14937,15 @@ cdef class EccSramUniqueUncorrectedErrorEntry_v1: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an EccSramUniqueUncorrectedErrorEntry_v1 instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -14857,6 +14955,7 @@ cdef class EccSramUniqueUncorrectedErrorEntry_v1: ptr, sizeof(nvmlEccSramUniqueUncorrectedErrorEntry_v1_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=ecc_sram_unique_uncorrected_error_entry_v1_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -15230,153 +15329,167 @@ cdef _get_nvlink_firmware_version_dtype_offsets(): nvlink_firmware_version_dtype = _get_nvlink_firmware_version_dtype_offsets() cdef class NvlinkFirmwareVersion: - """Empty-initialize an instance of `nvmlNvlinkFirmwareVersion_t`. + """Empty-initialize an array of `nvmlNvlinkFirmwareVersion_t`. + The resulting object is of length `size` and of dtype `nvlink_firmware_version_dtype`. + If default-constructed, the instance represents a single struct. + Args: + size (int): number of structs, default=1. .. seealso:: `nvmlNvlinkFirmwareVersion_t` """ cdef: - nvmlNvlinkFirmwareVersion_t *_ptr + readonly object _data object _owner - bint _owned - bint _readonly - - def __init__(self): - self._ptr = _cyb_calloc(1, sizeof(nvmlNvlinkFirmwareVersion_t)) - if self._ptr == NULL: - raise MemoryError("Error allocating NvlinkFirmwareVersion") - self._owner = None - self._owned = True - self._readonly = False - def __dealloc__(self): - cdef nvmlNvlinkFirmwareVersion_t *ptr - if self._owned and self._ptr != NULL: - ptr = self._ptr - self._ptr = NULL - _cyb_free(ptr) + def __init__(self, size=1): + arr = _numpy.empty(size, dtype=nvlink_firmware_version_dtype) + self._data = arr.view(_numpy.recarray) + assert self._data.itemsize == sizeof(nvmlNvlinkFirmwareVersion_t), \ + f"itemsize {self._data.itemsize} mismatches struct size { sizeof(nvmlNvlinkFirmwareVersion_t) }" def __repr__(self): - return f"<{__name__}.NvlinkFirmwareVersion object at {hex(id(self))}>" + if self._data.size > 1: + return f"<{__name__}.NvlinkFirmwareVersion_Array_{self._data.size} object at {hex(id(self))}>" + else: + return f"<{__name__}.NvlinkFirmwareVersion object at {hex(id(self))}>" @property def ptr(self): """Get the pointer address to the data as Python :class:`int`.""" - return (self._ptr) + return self._data.ctypes.data cdef intptr_t _get_ptr(self): - return (self._ptr) + return self._data.ctypes.data def __int__(self): - return (self._ptr) + if self._data.size > 1: + raise TypeError("int() argument must be a bytes-like object of size 1. " + "To get the pointer address of an array, use .ptr") + return self._data.ctypes.data + + def __len__(self): + return self._data.size def __eq__(self, other): - cdef NvlinkFirmwareVersion other_ - if not isinstance(other, NvlinkFirmwareVersion): + cdef object self_data = self._data + if (not isinstance(other, NvlinkFirmwareVersion)) or self_data.size != other._data.size or self_data.dtype != other._data.dtype: return False - other_ = other - return (_cyb_memcmp((self._ptr), (other_._ptr), sizeof(nvmlNvlinkFirmwareVersion_t)) == 0) + return bool((self_data == other._data).all()) - def __getbuffer__(self, _cyb_cpython.Py_buffer *buffer, int flags): - _cyb___getbuffer(self, buffer, self._ptr, sizeof(nvmlNvlinkFirmwareVersion_t), self._readonly) + def __getbuffer__(self, Py_buffer *buffer, int flags): + _cyb_cpython.PyObject_GetBuffer(self._data, buffer, flags) def __releasebuffer__(self, Py_buffer *buffer): - pass - - def __setitem__(self, key, val): - if key == 0 and isinstance(val, _numpy.ndarray): - self._ptr = _cyb_malloc(sizeof(nvmlNvlinkFirmwareVersion_t)) - if self._ptr == NULL: - raise MemoryError("Error allocating NvlinkFirmwareVersion") - _cyb_memcpy(self._ptr, val.ctypes.data, sizeof(nvmlNvlinkFirmwareVersion_t)) - self._owner = None - self._owned = True - self._readonly = not val.flags.writeable - else: - setattr(self, key, val) + _cyb_cpython.PyBuffer_Release(buffer) @property def ucode_type(self): - """int: """ - return self._ptr[0].ucodeType + """Union[~_numpy.uint8, int]: """ + if self._data.size == 1: + return int(self._data.ucode_type[0]) + return self._data.ucode_type @ucode_type.setter def ucode_type(self, val): - if self._readonly: - raise ValueError("This NvlinkFirmwareVersion instance is read-only") - self._ptr[0].ucodeType = val + self._data.ucode_type = val @property def major(self): - """int: """ - return self._ptr[0].major + """Union[~_numpy.uint32, int]: """ + if self._data.size == 1: + return int(self._data.major[0]) + return self._data.major @major.setter def major(self, val): - if self._readonly: - raise ValueError("This NvlinkFirmwareVersion instance is read-only") - self._ptr[0].major = val + self._data.major = val @property def minor(self): - """int: """ - return self._ptr[0].minor + """Union[~_numpy.uint32, int]: """ + if self._data.size == 1: + return int(self._data.minor[0]) + return self._data.minor @minor.setter def minor(self, val): - if self._readonly: - raise ValueError("This NvlinkFirmwareVersion instance is read-only") - self._ptr[0].minor = val + self._data.minor = val @property def sub_minor(self): - """int: """ - return self._ptr[0].subMinor + """Union[~_numpy.uint32, int]: """ + if self._data.size == 1: + return int(self._data.sub_minor[0]) + return self._data.sub_minor @sub_minor.setter def sub_minor(self, val): - if self._readonly: - raise ValueError("This NvlinkFirmwareVersion instance is read-only") - self._ptr[0].subMinor = val + self._data.sub_minor = val + + def __getitem__(self, key): + cdef ssize_t key_ + cdef ssize_t size + if isinstance(key, int): + key_ = key + size = self._data.size + if key_ >= size or key_ <= -(size+1): + raise IndexError("index is out of bounds") + if key_ < 0: + key_ += size + return NvlinkFirmwareVersion.from_data(self._data[key_:key_+1]) + out = self._data[key] + if isinstance(out, _numpy.recarray) and out.dtype == nvlink_firmware_version_dtype: + return NvlinkFirmwareVersion.from_data(out) + return out + + def __setitem__(self, key, val): + self._data[key] = val @staticmethod def from_buffer(buffer): """Create an NvlinkFirmwareVersion instance with the memory from the given buffer.""" - return _cyb_from_buffer(buffer, sizeof(nvmlNvlinkFirmwareVersion_t), NvlinkFirmwareVersion) + return NvlinkFirmwareVersion.from_data(_numpy.frombuffer(buffer, dtype=nvlink_firmware_version_dtype)) @staticmethod def from_data(data): """Create an NvlinkFirmwareVersion instance wrapping the given NumPy array. Args: - data (_numpy.ndarray): a single-element array of dtype `nvlink_firmware_version_dtype` holding the data. + data (_numpy.ndarray): a 1D array of dtype `nvlink_firmware_version_dtype` holding the data. """ - return _cyb_from_data(data, "nvlink_firmware_version_dtype", nvlink_firmware_version_dtype, NvlinkFirmwareVersion) + cdef NvlinkFirmwareVersion obj = NvlinkFirmwareVersion.__new__(NvlinkFirmwareVersion) + if not isinstance(data, _numpy.ndarray): + raise TypeError("data argument must be a NumPy ndarray") + if data.ndim != 1: + raise ValueError("data array must be 1D") + if data.dtype != nvlink_firmware_version_dtype: + raise ValueError("data array must be of dtype nvlink_firmware_version_dtype") + obj._data = data.view(_numpy.recarray) + + return obj @staticmethod - def from_ptr(intptr_t ptr, bint readonly=False, object owner=None): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an NvlinkFirmwareVersion instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. - owner (object): The Python object that owns the pointer. If not provided, data will be copied. + size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") cdef NvlinkFirmwareVersion obj = NvlinkFirmwareVersion.__new__(NvlinkFirmwareVersion) - if owner is None: - obj._ptr = _cyb_malloc(sizeof(nvmlNvlinkFirmwareVersion_t)) - if obj._ptr == NULL: - raise MemoryError("Error allocating NvlinkFirmwareVersion") - _cyb_memcpy((obj._ptr), ptr, sizeof(nvmlNvlinkFirmwareVersion_t)) - obj._owner = None - obj._owned = True - else: - obj._ptr = ptr - obj._owner = owner - obj._owned = False - obj._readonly = readonly + cdef flag = _cyb_cpython_buffer.PyBUF_READ if readonly else _cyb_cpython_buffer.PyBUF_WRITE + cdef object buf = _cyb_cpython_memoryview.PyMemoryView_FromMemory( + ptr, sizeof(nvmlNvlinkFirmwareVersion_t) * size, flag) + data = _numpy.ndarray(size, buffer=buf, dtype=nvlink_firmware_version_dtype) + obj._data = data.view(_numpy.recarray) + obj._owner = owner + return obj @@ -15709,6 +15822,7 @@ cdef class VgpuSchedulerLogEntry_v2: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=vgpu_scheduler_log_entry_v2_dtype) @@ -15871,13 +15985,15 @@ cdef class VgpuSchedulerLogEntry_v2: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an VgpuSchedulerLogEntry_v2 instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -15887,6 +16003,7 @@ cdef class VgpuSchedulerLogEntry_v2: ptr, sizeof(nvmlVgpuSchedulerLogEntry_v2_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=vgpu_scheduler_log_entry_v2_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -15985,55 +16102,775 @@ cdef class VgpuSchedulerState_v2: self._ptr[0].engineId = val @property - def scheduler_policy(self): - """int: IN: Scheduler policy.""" - return self._ptr[0].schedulerPolicy + def scheduler_policy(self): + """int: IN: Scheduler policy.""" + return self._ptr[0].schedulerPolicy + + @scheduler_policy.setter + def scheduler_policy(self, val): + if self._readonly: + raise ValueError("This VgpuSchedulerState_v2 instance is read-only") + self._ptr[0].schedulerPolicy = val + + @property + def avg_factor(self): + """int: IN: Average factor in compensating the timeslice for Adaptive Round Robin mode. 0 or unspecified uses default.""" + return self._ptr[0].avgFactor + + @avg_factor.setter + def avg_factor(self, val): + if self._readonly: + raise ValueError("This VgpuSchedulerState_v2 instance is read-only") + self._ptr[0].avgFactor = val + + @property + def frequency(self): + """int: IN: Frequency for Adaptive Round Robin mode. 0 or unspecified uses default.""" + return self._ptr[0].frequency + + @frequency.setter + def frequency(self, val): + if self._readonly: + raise ValueError("This VgpuSchedulerState_v2 instance is read-only") + self._ptr[0].frequency = val + + @staticmethod + def from_buffer(buffer): + """Create an VgpuSchedulerState_v2 instance with the memory from the given buffer.""" + return _cyb_from_buffer(buffer, sizeof(nvmlVgpuSchedulerState_v2_t), VgpuSchedulerState_v2) + + @staticmethod + def from_data(data): + """Create an VgpuSchedulerState_v2 instance wrapping the given NumPy array. + + Args: + data (_numpy.ndarray): a single-element array of dtype `vgpu_scheduler_state_v2_dtype` holding the data. + """ + return _cyb_from_data(data, "vgpu_scheduler_state_v2_dtype", vgpu_scheduler_state_v2_dtype, VgpuSchedulerState_v2) + + @staticmethod + def from_ptr(intptr_t ptr, bint readonly=False, object owner=None): + """Create an VgpuSchedulerState_v2 instance wrapping the given pointer. + + Args: + ptr (intptr_t): pointer address as Python :class:`int` to the data. + owner (object): The Python object that owns the pointer. If not provided, data will be copied. + readonly (bool): whether the data is read-only (to the user). default is `False`. + """ + if ptr == 0: + raise ValueError("ptr must not be null (0)") + cdef VgpuSchedulerState_v2 obj = VgpuSchedulerState_v2.__new__(VgpuSchedulerState_v2) + if owner is None: + obj._ptr = _cyb_malloc(sizeof(nvmlVgpuSchedulerState_v2_t)) + if obj._ptr == NULL: + raise MemoryError("Error allocating VgpuSchedulerState_v2") + _cyb_memcpy((obj._ptr), ptr, sizeof(nvmlVgpuSchedulerState_v2_t)) + obj._owner = None + obj._owned = True + else: + obj._ptr = ptr + obj._owner = owner + obj._owned = False + obj._readonly = readonly + return obj + + +cdef _get_bbx_time_data_v1_dtype_offsets(): + cdef nvmlBBXTimeData_v1_t pod + return _numpy.dtype({ + 'names': ['time_run'], + 'formats': [_numpy.uint32], + 'offsets': [ + (&(pod.timeRun)) - (&pod), + ], + 'itemsize': sizeof(nvmlBBXTimeData_v1_t), + }) + +bbx_time_data_v1_dtype = _get_bbx_time_data_v1_dtype_offsets() + +cdef class BBXTimeData_v1: + """Empty-initialize an instance of `nvmlBBXTimeData_v1_t`. + + + .. seealso:: `nvmlBBXTimeData_v1_t` + """ + cdef: + nvmlBBXTimeData_v1_t *_ptr + object _owner + bint _owned + bint _readonly + + def __init__(self): + self._ptr = _cyb_calloc(1, sizeof(nvmlBBXTimeData_v1_t)) + if self._ptr == NULL: + raise MemoryError("Error allocating BBXTimeData_v1") + self._owner = None + self._owned = True + self._readonly = False + + def __dealloc__(self): + cdef nvmlBBXTimeData_v1_t *ptr + if self._owned and self._ptr != NULL: + ptr = self._ptr + self._ptr = NULL + _cyb_free(ptr) + + def __repr__(self): + return f"<{__name__}.BBXTimeData_v1 object at {hex(id(self))}>" + + @property + def ptr(self): + """Get the pointer address to the data as Python :class:`int`.""" + return (self._ptr) + + cdef intptr_t _get_ptr(self): + return (self._ptr) + + def __int__(self): + return (self._ptr) + + def __eq__(self, other): + cdef BBXTimeData_v1 other_ + if not isinstance(other, BBXTimeData_v1): + return False + other_ = other + return (_cyb_memcmp((self._ptr), (other_._ptr), sizeof(nvmlBBXTimeData_v1_t)) == 0) + + def __getbuffer__(self, _cyb_cpython.Py_buffer *buffer, int flags): + _cyb___getbuffer(self, buffer, self._ptr, sizeof(nvmlBBXTimeData_v1_t), self._readonly) + + def __releasebuffer__(self, Py_buffer *buffer): + pass + + def __setitem__(self, key, val): + if key == 0 and isinstance(val, _numpy.ndarray): + self._ptr = _cyb_malloc(sizeof(nvmlBBXTimeData_v1_t)) + if self._ptr == NULL: + raise MemoryError("Error allocating BBXTimeData_v1") + _cyb_memcpy(self._ptr, val.ctypes.data, sizeof(nvmlBBXTimeData_v1_t)) + self._owner = None + self._owned = True + self._readonly = not val.flags.writeable + else: + setattr(self, key, val) + + @property + def time_run(self): + """int: [out] Cumulative number of seconds the GPU has had the driver loaded""" + return self._ptr[0].timeRun + + @time_run.setter + def time_run(self, val): + if self._readonly: + raise ValueError("This BBXTimeData_v1 instance is read-only") + self._ptr[0].timeRun = val + + @staticmethod + def from_buffer(buffer): + """Create an BBXTimeData_v1 instance with the memory from the given buffer.""" + return _cyb_from_buffer(buffer, sizeof(nvmlBBXTimeData_v1_t), BBXTimeData_v1) + + @staticmethod + def from_data(data): + """Create an BBXTimeData_v1 instance wrapping the given NumPy array. + + Args: + data (_numpy.ndarray): a single-element array of dtype `bbx_time_data_v1_dtype` holding the data. + """ + return _cyb_from_data(data, "bbx_time_data_v1_dtype", bbx_time_data_v1_dtype, BBXTimeData_v1) + + @staticmethod + def from_ptr(intptr_t ptr, bint readonly=False, object owner=None): + """Create an BBXTimeData_v1 instance wrapping the given pointer. + + Args: + ptr (intptr_t): pointer address as Python :class:`int` to the data. + owner (object): The Python object that owns the pointer. If not provided, data will be copied. + readonly (bool): whether the data is read-only (to the user). default is `False`. + """ + if ptr == 0: + raise ValueError("ptr must not be null (0)") + cdef BBXTimeData_v1 obj = BBXTimeData_v1.__new__(BBXTimeData_v1) + if owner is None: + obj._ptr = _cyb_malloc(sizeof(nvmlBBXTimeData_v1_t)) + if obj._ptr == NULL: + raise MemoryError("Error allocating BBXTimeData_v1") + _cyb_memcpy((obj._ptr), ptr, sizeof(nvmlBBXTimeData_v1_t)) + obj._owner = None + obj._owned = True + else: + obj._ptr = ptr + obj._owner = owner + obj._owned = False + obj._readonly = readonly + return obj + + +cdef _get_remapped_rows_info_v2_dtype_offsets(): + cdef nvmlRemappedRowsInfo_v2_t pod + return _numpy.dtype({ + 'names': ['corr_active_remaps', 'corr_inactive_remaps', 'unc_active_remaps', 'unc_inactive_remaps', 'b_pending', 'b_failure_occurred'], + 'formats': [_numpy.uint32, _numpy.uint32, _numpy.uint32, _numpy.uint32, _numpy.uint32, _numpy.uint32], + 'offsets': [ + (&(pod.corrActiveRemaps)) - (&pod), + (&(pod.corrInactiveRemaps)) - (&pod), + (&(pod.uncActiveRemaps)) - (&pod), + (&(pod.uncInactiveRemaps)) - (&pod), + (&(pod.bPending)) - (&pod), + (&(pod.bFailureOccurred)) - (&pod), + ], + 'itemsize': sizeof(nvmlRemappedRowsInfo_v2_t), + }) + +remapped_rows_info_v2_dtype = _get_remapped_rows_info_v2_dtype_offsets() + +cdef class RemappedRowsInfo_v2: + """Empty-initialize an instance of `nvmlRemappedRowsInfo_v2_t`. + + + .. seealso:: `nvmlRemappedRowsInfo_v2_t` + """ + cdef: + nvmlRemappedRowsInfo_v2_t *_ptr + object _owner + bint _owned + bint _readonly + + def __init__(self): + self._ptr = _cyb_calloc(1, sizeof(nvmlRemappedRowsInfo_v2_t)) + if self._ptr == NULL: + raise MemoryError("Error allocating RemappedRowsInfo_v2") + self._owner = None + self._owned = True + self._readonly = False + + def __dealloc__(self): + cdef nvmlRemappedRowsInfo_v2_t *ptr + if self._owned and self._ptr != NULL: + ptr = self._ptr + self._ptr = NULL + _cyb_free(ptr) + + def __repr__(self): + return f"<{__name__}.RemappedRowsInfo_v2 object at {hex(id(self))}>" + + @property + def ptr(self): + """Get the pointer address to the data as Python :class:`int`.""" + return (self._ptr) + + cdef intptr_t _get_ptr(self): + return (self._ptr) + + def __int__(self): + return (self._ptr) + + def __eq__(self, other): + cdef RemappedRowsInfo_v2 other_ + if not isinstance(other, RemappedRowsInfo_v2): + return False + other_ = other + return (_cyb_memcmp((self._ptr), (other_._ptr), sizeof(nvmlRemappedRowsInfo_v2_t)) == 0) + + def __getbuffer__(self, _cyb_cpython.Py_buffer *buffer, int flags): + _cyb___getbuffer(self, buffer, self._ptr, sizeof(nvmlRemappedRowsInfo_v2_t), self._readonly) + + def __releasebuffer__(self, Py_buffer *buffer): + pass + + def __setitem__(self, key, val): + if key == 0 and isinstance(val, _numpy.ndarray): + self._ptr = _cyb_malloc(sizeof(nvmlRemappedRowsInfo_v2_t)) + if self._ptr == NULL: + raise MemoryError("Error allocating RemappedRowsInfo_v2") + _cyb_memcpy(self._ptr, val.ctypes.data, sizeof(nvmlRemappedRowsInfo_v2_t)) + self._owner = None + self._owned = True + self._readonly = not val.flags.writeable + else: + setattr(self, key, val) + + @property + def corr_active_remaps(self): + """int: Number of active row remappings due to correctable errors.""" + return self._ptr[0].corrActiveRemaps + + @corr_active_remaps.setter + def corr_active_remaps(self, val): + if self._readonly: + raise ValueError("This RemappedRowsInfo_v2 instance is read-only") + self._ptr[0].corrActiveRemaps = val + + @property + def corr_inactive_remaps(self): + """int: Number of inactive row remappings due to correctable errors.""" + return self._ptr[0].corrInactiveRemaps + + @corr_inactive_remaps.setter + def corr_inactive_remaps(self, val): + if self._readonly: + raise ValueError("This RemappedRowsInfo_v2 instance is read-only") + self._ptr[0].corrInactiveRemaps = val + + @property + def unc_active_remaps(self): + """int: Number of active row remappings due to uncorrectable errors.""" + return self._ptr[0].uncActiveRemaps + + @unc_active_remaps.setter + def unc_active_remaps(self, val): + if self._readonly: + raise ValueError("This RemappedRowsInfo_v2 instance is read-only") + self._ptr[0].uncActiveRemaps = val + + @property + def unc_inactive_remaps(self): + """int: Number of inactive row remappings due to uncorrectable errors.""" + return self._ptr[0].uncInactiveRemaps + + @unc_inactive_remaps.setter + def unc_inactive_remaps(self, val): + if self._readonly: + raise ValueError("This RemappedRowsInfo_v2 instance is read-only") + self._ptr[0].uncInactiveRemaps = val + + @property + def b_pending(self): + """int: Whether or not there is any pending row remapping; 0 indicates not pending, 1 indicates pending.""" + return self._ptr[0].bPending + + @b_pending.setter + def b_pending(self, val): + if self._readonly: + raise ValueError("This RemappedRowsInfo_v2 instance is read-only") + self._ptr[0].bPending = val + + @property + def b_failure_occurred(self): + """int: Whether or not there's any row remapping failure in the past; 0 indicates no failure, 1 indicates failure occurred.""" + return self._ptr[0].bFailureOccurred + + @b_failure_occurred.setter + def b_failure_occurred(self, val): + if self._readonly: + raise ValueError("This RemappedRowsInfo_v2 instance is read-only") + self._ptr[0].bFailureOccurred = val + + @staticmethod + def from_buffer(buffer): + """Create an RemappedRowsInfo_v2 instance with the memory from the given buffer.""" + return _cyb_from_buffer(buffer, sizeof(nvmlRemappedRowsInfo_v2_t), RemappedRowsInfo_v2) + + @staticmethod + def from_data(data): + """Create an RemappedRowsInfo_v2 instance wrapping the given NumPy array. + + Args: + data (_numpy.ndarray): a single-element array of dtype `remapped_rows_info_v2_dtype` holding the data. + """ + return _cyb_from_data(data, "remapped_rows_info_v2_dtype", remapped_rows_info_v2_dtype, RemappedRowsInfo_v2) + + @staticmethod + def from_ptr(intptr_t ptr, bint readonly=False, object owner=None): + """Create an RemappedRowsInfo_v2 instance wrapping the given pointer. + + Args: + ptr (intptr_t): pointer address as Python :class:`int` to the data. + owner (object): The Python object that owns the pointer. If not provided, data will be copied. + readonly (bool): whether the data is read-only (to the user). default is `False`. + """ + if ptr == 0: + raise ValueError("ptr must not be null (0)") + cdef RemappedRowsInfo_v2 obj = RemappedRowsInfo_v2.__new__(RemappedRowsInfo_v2) + if owner is None: + obj._ptr = _cyb_malloc(sizeof(nvmlRemappedRowsInfo_v2_t)) + if obj._ptr == NULL: + raise MemoryError("Error allocating RemappedRowsInfo_v2") + _cyb_memcpy((obj._ptr), ptr, sizeof(nvmlRemappedRowsInfo_v2_t)) + obj._owner = None + obj._owned = True + else: + obj._ptr = ptr + obj._owner = owner + obj._owned = False + obj._readonly = readonly + return obj + + +cdef _get_accounting_stats_v2_dtype_offsets(): + cdef nvmlAccountingStats_v2_t pod + return _numpy.dtype({ + 'names': ['pid', 'is_running', 'gpu_utilization', 'memory_utilization', 'max_memory_usage', 'sample_count', 'sum_gpu_util', 'sum_fb_util', 'time', 'start_time'], + 'formats': [_numpy.uint32, _numpy.uint32, _numpy.uint32, _numpy.uint32, _numpy.uint64, _numpy.uint32, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64], + 'offsets': [ + (&(pod.pid)) - (&pod), + (&(pod.isRunning)) - (&pod), + (&(pod.gpuUtilization)) - (&pod), + (&(pod.memoryUtilization)) - (&pod), + (&(pod.maxMemoryUsage)) - (&pod), + (&(pod.sampleCount)) - (&pod), + (&(pod.sumGpuUtil)) - (&pod), + (&(pod.sumFbUtil)) - (&pod), + (&(pod.time)) - (&pod), + (&(pod.startTime)) - (&pod), + ], + 'itemsize': sizeof(nvmlAccountingStats_v2_t), + }) + +accounting_stats_v2_dtype = _get_accounting_stats_v2_dtype_offsets() + +cdef class AccountingStats_v2: + """Empty-initialize an instance of `nvmlAccountingStats_v2_t`. + + + .. seealso:: `nvmlAccountingStats_v2_t` + """ + cdef: + nvmlAccountingStats_v2_t *_ptr + object _owner + bint _owned + bint _readonly + + def __init__(self): + self._ptr = _cyb_calloc(1, sizeof(nvmlAccountingStats_v2_t)) + if self._ptr == NULL: + raise MemoryError("Error allocating AccountingStats_v2") + self._owner = None + self._owned = True + self._readonly = False + + def __dealloc__(self): + cdef nvmlAccountingStats_v2_t *ptr + if self._owned and self._ptr != NULL: + ptr = self._ptr + self._ptr = NULL + _cyb_free(ptr) + + def __repr__(self): + return f"<{__name__}.AccountingStats_v2 object at {hex(id(self))}>" + + @property + def ptr(self): + """Get the pointer address to the data as Python :class:`int`.""" + return (self._ptr) + + cdef intptr_t _get_ptr(self): + return (self._ptr) + + def __int__(self): + return (self._ptr) + + def __eq__(self, other): + cdef AccountingStats_v2 other_ + if not isinstance(other, AccountingStats_v2): + return False + other_ = other + return (_cyb_memcmp((self._ptr), (other_._ptr), sizeof(nvmlAccountingStats_v2_t)) == 0) + + def __getbuffer__(self, _cyb_cpython.Py_buffer *buffer, int flags): + _cyb___getbuffer(self, buffer, self._ptr, sizeof(nvmlAccountingStats_v2_t), self._readonly) + + def __releasebuffer__(self, Py_buffer *buffer): + pass + + def __setitem__(self, key, val): + if key == 0 and isinstance(val, _numpy.ndarray): + self._ptr = _cyb_malloc(sizeof(nvmlAccountingStats_v2_t)) + if self._ptr == NULL: + raise MemoryError("Error allocating AccountingStats_v2") + _cyb_memcpy(self._ptr, val.ctypes.data, sizeof(nvmlAccountingStats_v2_t)) + self._owner = None + self._owned = True + self._readonly = not val.flags.writeable + else: + setattr(self, key, val) + + @property + def pid(self): + """int: Process Id of the target process to query stats for.""" + return self._ptr[0].pid + + @pid.setter + def pid(self, val): + if self._readonly: + raise ValueError("This AccountingStats_v2 instance is read-only") + self._ptr[0].pid = val + + @property + def is_running(self): + """int: Flag to represent if the process is running (1 for running, 0 for terminated).""" + return self._ptr[0].isRunning + + @is_running.setter + def is_running(self, val): + if self._readonly: + raise ValueError("This AccountingStats_v2 instance is read-only") + self._ptr[0].isRunning = val + + @property + def gpu_utilization(self): + """int: Percent of time over the process's lifetime during which one or more kernels was executing on the GPU. Utilization stats just like returned by nvmlDeviceGetUtilizationRates but for the life time of a process (not just the last sample period). Set to NVML_VALUE_NOT_AVAILABLE if nvmlDeviceGetUtilizationRates is not supported""" + return self._ptr[0].gpuUtilization + + @gpu_utilization.setter + def gpu_utilization(self, val): + if self._readonly: + raise ValueError("This AccountingStats_v2 instance is read-only") + self._ptr[0].gpuUtilization = val + + @property + def memory_utilization(self): + """int: Percent of time over the process's lifetime during which global (device) memory was being read or written. Set to NVML_VALUE_NOT_AVAILABLE if nvmlDeviceGetUtilizationRates is not supported""" + return self._ptr[0].memoryUtilization + + @memory_utilization.setter + def memory_utilization(self, val): + if self._readonly: + raise ValueError("This AccountingStats_v2 instance is read-only") + self._ptr[0].memoryUtilization = val + + @property + def max_memory_usage(self): + """int: Maximum total memory in bytes that was ever allocated by the process. Set to NVML_VALUE_NOT_AVAILABLE if nvmlProcessInfo_t->usedGpuMemory is not supported""" + return self._ptr[0].maxMemoryUsage + + @max_memory_usage.setter + def max_memory_usage(self, val): + if self._readonly: + raise ValueError("This AccountingStats_v2 instance is read-only") + self._ptr[0].maxMemoryUsage = val + + @property + def sample_count(self): + """int: The sample counts since the process starts.""" + return self._ptr[0].sampleCount + + @sample_count.setter + def sample_count(self, val): + if self._readonly: + raise ValueError("This AccountingStats_v2 instance is read-only") + self._ptr[0].sampleCount = val + + @property + def sum_gpu_util(self): + """int: The sum of process's GR engine utilization in unit of pct * 100.""" + return self._ptr[0].sumGpuUtil + + @sum_gpu_util.setter + def sum_gpu_util(self, val): + if self._readonly: + raise ValueError("This AccountingStats_v2 instance is read-only") + self._ptr[0].sumGpuUtil = val + + @property + def sum_fb_util(self): + """int: The sum of process's FB bandwidth utilization in unit of pct * 100.""" + return self._ptr[0].sumFbUtil + + @sum_fb_util.setter + def sum_fb_util(self, val): + if self._readonly: + raise ValueError("This AccountingStats_v2 instance is read-only") + self._ptr[0].sumFbUtil = val + + @property + def time(self): + """int: Amount of time in ms during which the compute context was active. The time is reported as 0 if the process is not terminated""" + return self._ptr[0].time + + @time.setter + def time(self, val): + if self._readonly: + raise ValueError("This AccountingStats_v2 instance is read-only") + self._ptr[0].time = val + + @property + def start_time(self): + """int: CPU Timestamp in usec representing start time for the process.""" + return self._ptr[0].startTime + + @start_time.setter + def start_time(self, val): + if self._readonly: + raise ValueError("This AccountingStats_v2 instance is read-only") + self._ptr[0].startTime = val + + @staticmethod + def from_buffer(buffer): + """Create an AccountingStats_v2 instance with the memory from the given buffer.""" + return _cyb_from_buffer(buffer, sizeof(nvmlAccountingStats_v2_t), AccountingStats_v2) + + @staticmethod + def from_data(data): + """Create an AccountingStats_v2 instance wrapping the given NumPy array. + + Args: + data (_numpy.ndarray): a single-element array of dtype `accounting_stats_v2_dtype` holding the data. + """ + return _cyb_from_data(data, "accounting_stats_v2_dtype", accounting_stats_v2_dtype, AccountingStats_v2) + + @staticmethod + def from_ptr(intptr_t ptr, bint readonly=False, object owner=None): + """Create an AccountingStats_v2 instance wrapping the given pointer. + + Args: + ptr (intptr_t): pointer address as Python :class:`int` to the data. + owner (object): The Python object that owns the pointer. If not provided, data will be copied. + readonly (bool): whether the data is read-only (to the user). default is `False`. + """ + if ptr == 0: + raise ValueError("ptr must not be null (0)") + cdef AccountingStats_v2 obj = AccountingStats_v2.__new__(AccountingStats_v2) + if owner is None: + obj._ptr = _cyb_malloc(sizeof(nvmlAccountingStats_v2_t)) + if obj._ptr == NULL: + raise MemoryError("Error allocating AccountingStats_v2") + _cyb_memcpy((obj._ptr), ptr, sizeof(nvmlAccountingStats_v2_t)) + obj._owner = None + obj._owned = True + else: + obj._ptr = ptr + obj._owner = owner + obj._owned = False + obj._readonly = readonly + return obj + + +cdef _get_cper_cursor_v1_dtype_offsets(): + cdef nvmlCPERCursor_v1_t pod + return _numpy.dtype({ + 'names': ['cper_type_mask', 'uuid', 'handle'], + 'formats': [_numpy.uint32, (_numpy.int8, 80), _numpy.uint64], + 'offsets': [ + (&(pod.cperTypeMask)) - (&pod), + (&(pod.uuid)) - (&pod), + (&(pod.handle)) - (&pod), + ], + 'itemsize': sizeof(nvmlCPERCursor_v1_t), + }) + +cper_cursor_v1_dtype = _get_cper_cursor_v1_dtype_offsets() + +cdef class CPERCursor_v1: + """Empty-initialize an instance of `nvmlCPERCursor_v1_t`. + + + .. seealso:: `nvmlCPERCursor_v1_t` + """ + cdef: + nvmlCPERCursor_v1_t *_ptr + object _owner + bint _owned + bint _readonly + + def __init__(self): + self._ptr = _cyb_calloc(1, sizeof(nvmlCPERCursor_v1_t)) + if self._ptr == NULL: + raise MemoryError("Error allocating CPERCursor_v1") + self._owner = None + self._owned = True + self._readonly = False + + def __dealloc__(self): + cdef nvmlCPERCursor_v1_t *ptr + if self._owned and self._ptr != NULL: + ptr = self._ptr + self._ptr = NULL + _cyb_free(ptr) + + def __repr__(self): + return f"<{__name__}.CPERCursor_v1 object at {hex(id(self))}>" + + @property + def ptr(self): + """Get the pointer address to the data as Python :class:`int`.""" + return (self._ptr) + + cdef intptr_t _get_ptr(self): + return (self._ptr) + + def __int__(self): + return (self._ptr) + + def __eq__(self, other): + cdef CPERCursor_v1 other_ + if not isinstance(other, CPERCursor_v1): + return False + other_ = other + return (_cyb_memcmp((self._ptr), (other_._ptr), sizeof(nvmlCPERCursor_v1_t)) == 0) + + def __getbuffer__(self, _cyb_cpython.Py_buffer *buffer, int flags): + _cyb___getbuffer(self, buffer, self._ptr, sizeof(nvmlCPERCursor_v1_t), self._readonly) + + def __releasebuffer__(self, Py_buffer *buffer): + pass + + def __setitem__(self, key, val): + if key == 0 and isinstance(val, _numpy.ndarray): + self._ptr = _cyb_malloc(sizeof(nvmlCPERCursor_v1_t)) + if self._ptr == NULL: + raise MemoryError("Error allocating CPERCursor_v1") + _cyb_memcpy(self._ptr, val.ctypes.data, sizeof(nvmlCPERCursor_v1_t)) + self._owner = None + self._owned = True + self._readonly = not val.flags.writeable + else: + setattr(self, key, val) + + @property + def cper_type_mask(self): + """int: [IN] Types of records to access. Bitmask of `nvmlCPERType_t` values. To change, reset `handle` to `NVML_CPER_CURSOR_HANDLE_INIT`.""" + return self._ptr[0].cperTypeMask - @scheduler_policy.setter - def scheduler_policy(self, val): + @cper_type_mask.setter + def cper_type_mask(self, val): if self._readonly: - raise ValueError("This VgpuSchedulerState_v2 instance is read-only") - self._ptr[0].schedulerPolicy = val + raise ValueError("This CPERCursor_v1 instance is read-only") + self._ptr[0].cperTypeMask = val @property - def avg_factor(self): - """int: IN: Average factor in compensating the timeslice for Adaptive Round Robin mode. 0 or unspecified uses default.""" - return self._ptr[0].avgFactor + def uuid(self): + """~_numpy.int8: (array of length 80).[IN] UUID of target to filter records for. Required for `NVML_CPER_ACCESS_TYPE_GPU`. To change, reset `handle` to `NVML_CPER_CURSOR_HANDLE_INIT`.""" + return _cyb_cpython.PyUnicode_FromString(self._ptr[0].uuid) - @avg_factor.setter - def avg_factor(self, val): + @uuid.setter + def uuid(self, val): if self._readonly: - raise ValueError("This VgpuSchedulerState_v2 instance is read-only") - self._ptr[0].avgFactor = val + raise ValueError("This CPERCursor_v1 instance is read-only") + cdef bytes buf = val.encode() + if len(buf) >= 80: + raise ValueError("String too long for field uuid, max length is 79") + cdef char *ptr = buf + _cyb_memcpy((self._ptr[0].uuid), ptr, 80) @property - def frequency(self): - """int: IN: Frequency for Adaptive Round Robin mode. 0 or unspecified uses default.""" - return self._ptr[0].frequency + def handle(self): + """int: [IN/OUT] Opaque handle tracking read position. Initialize to `NVML_CPER_CURSOR_HANDLE_INIT` on first call; pass the same ``nvmlCPERCursor_v1_t`` on the next call to continue. Caller must not interpret or modify.""" + return (self._ptr[0].handle) - @frequency.setter - def frequency(self, val): + @handle.setter + def handle(self, val): if self._readonly: - raise ValueError("This VgpuSchedulerState_v2 instance is read-only") - self._ptr[0].frequency = val + raise ValueError("This CPERCursor_v1 instance is read-only") + self._ptr[0].handle = val @staticmethod def from_buffer(buffer): - """Create an VgpuSchedulerState_v2 instance with the memory from the given buffer.""" - return _cyb_from_buffer(buffer, sizeof(nvmlVgpuSchedulerState_v2_t), VgpuSchedulerState_v2) + """Create an CPERCursor_v1 instance with the memory from the given buffer.""" + return _cyb_from_buffer(buffer, sizeof(nvmlCPERCursor_v1_t), CPERCursor_v1) @staticmethod def from_data(data): - """Create an VgpuSchedulerState_v2 instance wrapping the given NumPy array. + """Create an CPERCursor_v1 instance wrapping the given NumPy array. Args: - data (_numpy.ndarray): a single-element array of dtype `vgpu_scheduler_state_v2_dtype` holding the data. + data (_numpy.ndarray): a single-element array of dtype `cper_cursor_v1_dtype` holding the data. """ - return _cyb_from_data(data, "vgpu_scheduler_state_v2_dtype", vgpu_scheduler_state_v2_dtype, VgpuSchedulerState_v2) + return _cyb_from_data(data, "cper_cursor_v1_dtype", cper_cursor_v1_dtype, CPERCursor_v1) @staticmethod def from_ptr(intptr_t ptr, bint readonly=False, object owner=None): - """Create an VgpuSchedulerState_v2 instance wrapping the given pointer. + """Create an CPERCursor_v1 instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. @@ -16042,16 +16879,16 @@ cdef class VgpuSchedulerState_v2: """ if ptr == 0: raise ValueError("ptr must not be null (0)") - cdef VgpuSchedulerState_v2 obj = VgpuSchedulerState_v2.__new__(VgpuSchedulerState_v2) + cdef CPERCursor_v1 obj = CPERCursor_v1.__new__(CPERCursor_v1) if owner is None: - obj._ptr = _cyb_malloc(sizeof(nvmlVgpuSchedulerState_v2_t)) + obj._ptr = _cyb_malloc(sizeof(nvmlCPERCursor_v1_t)) if obj._ptr == NULL: - raise MemoryError("Error allocating VgpuSchedulerState_v2") - _cyb_memcpy((obj._ptr), ptr, sizeof(nvmlVgpuSchedulerState_v2_t)) + raise MemoryError("Error allocating CPERCursor_v1") + _cyb_memcpy((obj._ptr), ptr, sizeof(nvmlCPERCursor_v1_t)) obj._owner = None obj._owned = True else: - obj._ptr = ptr + obj._ptr = ptr obj._owner = owner obj._owned = False obj._readonly = readonly @@ -16141,7 +16978,11 @@ cdef class ExcludedDeviceInfo: @property def pci_info(self): """PciInfo: """ - return PciInfo.from_ptr(&(self._ptr[0].pciInfo), self._readonly, self) + return PciInfo.from_ptr( + &(self._ptr[0].pciInfo), + readonly=self._readonly, + owner=self, + ) @pci_info.setter def pci_info(self, val): @@ -16317,7 +17158,12 @@ cdef class ProcessDetailList_v1: """int: Process array.""" if self._ptr[0].procArray == NULL or self._ptr[0].numProcArrayEntries == 0: return [] - return ProcessDetail_v1.from_ptr((self._ptr[0].procArray), self._ptr[0].numProcArrayEntries) + return ProcessDetail_v1.from_ptr( + (self._ptr[0].procArray), + self._ptr[0].numProcArrayEntries, + owner=self, + readonly=self._readonly + ) @proc_array.setter def proc_array(self, val): @@ -16453,7 +17299,12 @@ cdef class BridgeChipHierarchy: @property def bridge_chip_info(self): """BridgeChipInfo: """ - return BridgeChipInfo.from_ptr(&(self._ptr[0].bridgeChipInfo), self._ptr[0].bridgeCount, self._readonly) + return BridgeChipInfo.from_ptr( + &(self._ptr[0].bridgeChipInfo), + self._ptr[0].bridgeCount, + readonly=self._readonly, + owner=self, + ) @bridge_chip_info.setter def bridge_chip_info(self, val): @@ -16534,6 +17385,7 @@ cdef class Sample: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=sample_dtype) @@ -16639,13 +17491,15 @@ cdef class Sample: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an Sample instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -16655,6 +17509,7 @@ cdef class Sample: ptr, sizeof(nvmlSample_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=sample_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -16689,6 +17544,7 @@ cdef class VgpuInstanceUtilizationSample: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=vgpu_instance_utilization_sample_dtype) @@ -16832,13 +17688,15 @@ cdef class VgpuInstanceUtilizationSample: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an VgpuInstanceUtilizationSample instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -16848,6 +17706,7 @@ cdef class VgpuInstanceUtilizationSample: ptr, sizeof(nvmlVgpuInstanceUtilizationSample_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=vgpu_instance_utilization_sample_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -16884,6 +17743,7 @@ cdef class VgpuInstanceUtilizationInfo_v1: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=vgpu_instance_utilization_info_v1_dtype) @@ -17045,13 +17905,15 @@ cdef class VgpuInstanceUtilizationInfo_v1: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an VgpuInstanceUtilizationInfo_v1 instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -17061,6 +17923,7 @@ cdef class VgpuInstanceUtilizationInfo_v1: ptr, sizeof(nvmlVgpuInstanceUtilizationInfo_v1_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=vgpu_instance_utilization_info_v1_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -17096,6 +17959,7 @@ cdef class FieldValue: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=field_value_dtype) @@ -17256,13 +18120,15 @@ cdef class FieldValue: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an FieldValue instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -17272,6 +18138,7 @@ cdef class FieldValue: ptr, sizeof(nvmlFieldValue_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=field_value_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -17360,7 +18227,11 @@ cdef class PRMCounterValue_v1: @property def output_value(self): """Value: Output value.""" - return Value.from_ptr(&(self._ptr[0].outputValue), self._readonly, self) + return Value.from_ptr( + &(self._ptr[0].outputValue), + readonly=self._readonly, + owner=self, + ) @output_value.setter def output_value(self, val): @@ -17515,7 +18386,12 @@ cdef class GpuThermalSettings: @property def sensor(self): """_py_anon_pod0: """ - return _py_anon_pod0.from_ptr(&(self._ptr[0].sensor), 3, self._readonly) + return _py_anon_pod0.from_ptr( + &(self._ptr[0].sensor), + 3, + readonly=self._readonly, + owner=self, + ) @sensor.setter def sensor(self, val): @@ -17662,7 +18538,12 @@ cdef class ClkMonStatus: @property def clk_mon_list(self): """ClkMonFaultInfo: """ - return ClkMonFaultInfo.from_ptr(&(self._ptr[0].clkMonList), self._ptr[0].clkMonListSize, self._readonly) + return ClkMonFaultInfo.from_ptr( + &(self._ptr[0].clkMonList), + self._ptr[0].clkMonListSize, + readonly=self._readonly, + owner=self, + ) @clk_mon_list.setter def clk_mon_list(self, val): @@ -17839,7 +18720,12 @@ cdef class ProcessesUtilizationInfo_v1: """int: The array (allocated by caller) of the utilization of GPU SM, framebuffer, video encoder, video decoder, JPEG, and OFA.""" if self._ptr[0].procUtilArray == NULL or self._ptr[0].processSamplesCount == 0: return [] - return ProcessUtilizationInfo_v1.from_ptr((self._ptr[0].procUtilArray), self._ptr[0].processSamplesCount) + return ProcessUtilizationInfo_v1.from_ptr( + (self._ptr[0].procUtilArray), + self._ptr[0].processSamplesCount, + owner=self, + readonly=self._readonly + ) @proc_util_array.setter def proc_util_array(self, val): @@ -17975,7 +18861,12 @@ cdef class GpuDynamicPstatesInfo: @property def utilization(self): """_py_anon_pod1: """ - return _py_anon_pod1.from_ptr(&(self._ptr[0].utilization), 8, self._readonly) + return _py_anon_pod1.from_ptr( + &(self._ptr[0].utilization), + 8, + readonly=self._readonly, + owner=self, + ) @utilization.setter def utilization(self, val): @@ -18149,7 +19040,12 @@ cdef class VgpuProcessesUtilizationInfo_v1: """int: The array (allocated by caller) in which utilization of processes running on vGPU instances are returned.""" if self._ptr[0].vgpuProcUtilArray == NULL or self._ptr[0].vgpuProcessCount == 0: return [] - return VgpuProcessUtilizationInfo_v1.from_ptr((self._ptr[0].vgpuProcUtilArray), self._ptr[0].vgpuProcessCount) + return VgpuProcessUtilizationInfo_v1.from_ptr( + (self._ptr[0].vgpuProcUtilArray), + self._ptr[0].vgpuProcessCount, + owner=self, + readonly=self._readonly + ) @vgpu_proc_util_array.setter def vgpu_proc_util_array(self, val): @@ -18202,13 +19098,19 @@ cdef class VgpuProcessesUtilizationInfo_v1: return obj -vgpu_scheduler_params_dtype = _numpy.dtype(( - _numpy.dtype((_numpy.void, sizeof(nvmlVgpuSchedulerParams_t))), - { - "vgpu_sched_data_with_arr": (_py_anon_pod2_dtype, 0), - "vgpu_sched_data": (_py_anon_pod3_dtype, 0), - } - )) +cdef _get_vgpu_scheduler_params_dtype_offsets(): + cdef nvmlVgpuSchedulerParams_t pod + return _numpy.dtype({ + 'names': ['vgpu_sched_data_with_arr', 'vgpu_sched_data'], + 'formats': [_py_anon_pod2_dtype, _py_anon_pod3_dtype], + 'offsets': [ + (&(pod.vgpuSchedDataWithARR)) - (&pod), + (&(pod.vgpuSchedData)) - (&pod), + ], + 'itemsize': sizeof(nvmlVgpuSchedulerParams_t), + }) + +vgpu_scheduler_params_dtype = _get_vgpu_scheduler_params_dtype_offsets() cdef class VgpuSchedulerParams: """Empty-initialize an instance of `nvmlVgpuSchedulerParams_t`. @@ -18279,7 +19181,11 @@ cdef class VgpuSchedulerParams: @property def vgpu_sched_data_with_arr(self): """_py_anon_pod2: """ - return _py_anon_pod2.from_ptr(&(self._ptr[0].vgpuSchedDataWithARR), self._readonly, self) + return _py_anon_pod2.from_ptr( + &(self._ptr[0].vgpuSchedDataWithARR), + readonly=self._readonly, + owner=self, + ) @vgpu_sched_data_with_arr.setter def vgpu_sched_data_with_arr(self, val): @@ -18291,7 +19197,11 @@ cdef class VgpuSchedulerParams: @property def vgpu_sched_data(self): """_py_anon_pod3: """ - return _py_anon_pod3.from_ptr(&(self._ptr[0].vgpuSchedData), self._readonly, self) + return _py_anon_pod3.from_ptr( + &(self._ptr[0].vgpuSchedData), + readonly=self._readonly, + owner=self, + ) @vgpu_sched_data.setter def vgpu_sched_data(self, val): @@ -18341,13 +19251,19 @@ cdef class VgpuSchedulerParams: return obj -vgpu_scheduler_set_params_dtype = _numpy.dtype(( - _numpy.dtype((_numpy.void, sizeof(nvmlVgpuSchedulerSetParams_t))), - { - "vgpu_sched_data_with_arr": (_py_anon_pod4_dtype, 0), - "vgpu_sched_data": (_py_anon_pod5_dtype, 0), - } - )) +cdef _get_vgpu_scheduler_set_params_dtype_offsets(): + cdef nvmlVgpuSchedulerSetParams_t pod + return _numpy.dtype({ + 'names': ['vgpu_sched_data_with_arr', 'vgpu_sched_data'], + 'formats': [_py_anon_pod4_dtype, _py_anon_pod5_dtype], + 'offsets': [ + (&(pod.vgpuSchedDataWithARR)) - (&pod), + (&(pod.vgpuSchedData)) - (&pod), + ], + 'itemsize': sizeof(nvmlVgpuSchedulerSetParams_t), + }) + +vgpu_scheduler_set_params_dtype = _get_vgpu_scheduler_set_params_dtype_offsets() cdef class VgpuSchedulerSetParams: """Empty-initialize an instance of `nvmlVgpuSchedulerSetParams_t`. @@ -18418,7 +19334,11 @@ cdef class VgpuSchedulerSetParams: @property def vgpu_sched_data_with_arr(self): """_py_anon_pod4: """ - return _py_anon_pod4.from_ptr(&(self._ptr[0].vgpuSchedDataWithARR), self._readonly, self) + return _py_anon_pod4.from_ptr( + &(self._ptr[0].vgpuSchedDataWithARR), + readonly=self._readonly, + owner=self, + ) @vgpu_sched_data_with_arr.setter def vgpu_sched_data_with_arr(self, val): @@ -18430,7 +19350,11 @@ cdef class VgpuSchedulerSetParams: @property def vgpu_sched_data(self): """_py_anon_pod5: """ - return _py_anon_pod5.from_ptr(&(self._ptr[0].vgpuSchedData), self._readonly, self) + return _py_anon_pod5.from_ptr( + &(self._ptr[0].vgpuSchedData), + readonly=self._readonly, + owner=self, + ) @vgpu_sched_data.setter def vgpu_sched_data(self, val): @@ -18564,7 +19488,11 @@ cdef class VgpuLicenseInfo: @property def license_expiry(self): """VgpuLicenseExpiry: """ - return VgpuLicenseExpiry.from_ptr(&(self._ptr[0].licenseExpiry), self._readonly, self) + return VgpuLicenseExpiry.from_ptr( + &(self._ptr[0].licenseExpiry), + readonly=self._readonly, + owner=self, + ) @license_expiry.setter def license_expiry(self, val): @@ -18666,6 +19594,7 @@ cdef class GridLicensableFeature: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=grid_licensable_feature_dtype) @@ -18811,13 +19740,15 @@ cdef class GridLicensableFeature: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an GridLicensableFeature instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -18827,6 +19758,7 @@ cdef class GridLicensableFeature: ptr, sizeof(nvmlGridLicensableFeature_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=grid_licensable_feature_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -18914,7 +19846,12 @@ cdef class UnitFanSpeeds: @property def fans(self): """UnitFanInfo: """ - return UnitFanInfo.from_ptr(&(self._ptr[0].fans), 24, self._readonly) + return UnitFanInfo.from_ptr( + &(self._ptr[0].fans), + 24, + readonly=self._readonly, + owner=self, + ) @fans.setter def fans(self, val): @@ -19066,7 +20003,11 @@ cdef class VgpuPgpuMetadata: @property def host_supported_vgpu_range(self): """VgpuVersion: """ - return VgpuVersion.from_ptr(&(self._ptr[0].hostSupportedVgpuRange), self._readonly, self) + return VgpuVersion.from_ptr( + &(self._ptr[0].hostSupportedVgpuRange), + readonly=self._readonly, + owner=self, + ) @host_supported_vgpu_range.setter def host_supported_vgpu_range(self, val): @@ -19275,7 +20216,12 @@ cdef class GpuInstanceInfo: @property def placement(self): """GpuInstancePlacement: """ - return GpuInstancePlacement.from_ptr(&(self._ptr[0].placement), self._readonly, self) + return GpuInstancePlacement.from_ptr( + &(self._ptr[0].placement), + 1, + readonly=self._readonly, + owner=self, + ) @placement.setter def placement(self, val): @@ -19444,7 +20390,12 @@ cdef class ComputeInstanceInfo: @property def placement(self): """ComputeInstancePlacement: """ - return ComputeInstancePlacement.from_ptr(&(self._ptr[0].placement), self._readonly, self) + return ComputeInstancePlacement.from_ptr( + &(self._ptr[0].placement), + 1, + readonly=self._readonly, + owner=self, + ) @placement.setter def placement(self, val): @@ -19637,7 +20588,12 @@ cdef class EccSramUniqueUncorrectedErrorCounts_v1: """int: pointer to caller-supplied buffer to return the SRAM unique uncorrected ECC error count entries""" if self._ptr[0].entries == NULL or self._ptr[0].entryCount == 0: return [] - return EccSramUniqueUncorrectedErrorEntry_v1.from_ptr((self._ptr[0].entries), self._ptr[0].entryCount) + return EccSramUniqueUncorrectedErrorEntry_v1.from_ptr( + (self._ptr[0].entries), + self._ptr[0].entryCount, + owner=self, + readonly=self._readonly + ) @entries.setter def entries(self, val): @@ -19773,7 +20729,12 @@ cdef class NvlinkFirmwareInfo: @property def firmware_version(self): """NvlinkFirmwareVersion: OUT - NVLINK firmware version.""" - return NvlinkFirmwareVersion.from_ptr(&(self._ptr[0].firmwareVersion), 100, self._readonly) + return NvlinkFirmwareVersion.from_ptr( + &(self._ptr[0].firmwareVersion), + 100, + readonly=self._readonly, + owner=self, + ) @firmware_version.setter def firmware_version(self, val): @@ -19923,7 +20884,12 @@ cdef class VgpuSchedulerLogInfo_v2: @property def log_entries(self): """VgpuSchedulerLogEntry_v2: OUT: Structure to store the state and logs of a software runlist.""" - return VgpuSchedulerLogEntry_v2.from_ptr(&(self._ptr[0].logEntries), 200, self._readonly) + return VgpuSchedulerLogEntry_v2.from_ptr( + &(self._ptr[0].logEntries), + 200, + readonly=self._readonly, + owner=self, + ) @log_entries.setter def log_entries(self, val): @@ -20030,6 +20996,166 @@ cdef class VgpuSchedulerLogInfo_v2: return obj +cdef _get_get_cper_v1_dtype_offsets(): + cdef nvmlGetCPER_v1_t pod + return _numpy.dtype({ + 'names': ['cursor', 'buffer', 'buffer_size'], + 'formats': [cper_cursor_v1_dtype, _numpy.intp, _numpy.uint32], + 'offsets': [ + (&(pod.cursor)) - (&pod), + (&(pod.buffer)) - (&pod), + (&(pod.bufferSize)) - (&pod), + ], + 'itemsize': sizeof(nvmlGetCPER_v1_t), + }) + +get_cper_v1_dtype = _get_get_cper_v1_dtype_offsets() + +cdef class GetCPER_v1: + """Empty-initialize an instance of `nvmlGetCPER_v1_t`. + + + .. seealso:: `nvmlGetCPER_v1_t` + """ + cdef: + nvmlGetCPER_v1_t *_ptr + object _owner + bint _owned + bint _readonly + + def __init__(self): + self._ptr = _cyb_calloc(1, sizeof(nvmlGetCPER_v1_t)) + if self._ptr == NULL: + raise MemoryError("Error allocating GetCPER_v1") + self._owner = None + self._owned = True + self._readonly = False + + def __dealloc__(self): + cdef nvmlGetCPER_v1_t *ptr + if self._owned and self._ptr != NULL: + ptr = self._ptr + self._ptr = NULL + _cyb_free(ptr) + + def __repr__(self): + return f"<{__name__}.GetCPER_v1 object at {hex(id(self))}>" + + @property + def ptr(self): + """Get the pointer address to the data as Python :class:`int`.""" + return (self._ptr) + + cdef intptr_t _get_ptr(self): + return (self._ptr) + + def __int__(self): + return (self._ptr) + + def __eq__(self, other): + cdef GetCPER_v1 other_ + if not isinstance(other, GetCPER_v1): + return False + other_ = other + return (_cyb_memcmp((self._ptr), (other_._ptr), sizeof(nvmlGetCPER_v1_t)) == 0) + + def __getbuffer__(self, _cyb_cpython.Py_buffer *buffer, int flags): + _cyb___getbuffer(self, buffer, self._ptr, sizeof(nvmlGetCPER_v1_t), self._readonly) + + def __releasebuffer__(self, Py_buffer *buffer): + pass + + def __setitem__(self, key, val): + if key == 0 and isinstance(val, _numpy.ndarray): + self._ptr = _cyb_malloc(sizeof(nvmlGetCPER_v1_t)) + if self._ptr == NULL: + raise MemoryError("Error allocating GetCPER_v1") + _cyb_memcpy(self._ptr, val.ctypes.data, sizeof(nvmlGetCPER_v1_t)) + self._owner = None + self._owned = True + self._readonly = not val.flags.writeable + else: + setattr(self, key, val) + + @property + def cursor(self): + """CPERCursor_v1: [IN/OUT] Query parameters and cursor. See `nvmlCPERCursor_v1_t`""" + return CPERCursor_v1.from_ptr( + &(self._ptr[0].cursor), + readonly=self._readonly, + owner=self, + ) + + @cursor.setter + def cursor(self, val): + if self._readonly: + raise ValueError("This GetCPER_v1 instance is read-only") + cdef CPERCursor_v1 val_ = val + _cyb_memcpy(&(self._ptr[0].cursor), (val_._get_ptr()), sizeof(nvmlCPERCursor_v1_t) * 1) + + @property + def buffer(self): + """str: [OUT] Buffer to be filled (allocated by client). May be NULL for size query.""" + return (self._ptr[0].buffer) + + @buffer.setter + def buffer(self, val): + if self._readonly: + raise ValueError("This GetCPER_v1 instance is read-only") + self._ptr[0].buffer = val + + @property + def buffer_size(self): + """int: [IN/OUT] Size of `buffer`. Set to 0 with `buffer` NULL to query required size. On return, set to required or used size; 0 means no (more) records.""" + return self._ptr[0].bufferSize + + @buffer_size.setter + def buffer_size(self, val): + if self._readonly: + raise ValueError("This GetCPER_v1 instance is read-only") + self._ptr[0].bufferSize = val + + @staticmethod + def from_buffer(buffer): + """Create an GetCPER_v1 instance with the memory from the given buffer.""" + return _cyb_from_buffer(buffer, sizeof(nvmlGetCPER_v1_t), GetCPER_v1) + + @staticmethod + def from_data(data): + """Create an GetCPER_v1 instance wrapping the given NumPy array. + + Args: + data (_numpy.ndarray): a single-element array of dtype `get_cper_v1_dtype` holding the data. + """ + return _cyb_from_data(data, "get_cper_v1_dtype", get_cper_v1_dtype, GetCPER_v1) + + @staticmethod + def from_ptr(intptr_t ptr, bint readonly=False, object owner=None): + """Create an GetCPER_v1 instance wrapping the given pointer. + + Args: + ptr (intptr_t): pointer address as Python :class:`int` to the data. + owner (object): The Python object that owns the pointer. If not provided, data will be copied. + readonly (bool): whether the data is read-only (to the user). default is `False`. + """ + if ptr == 0: + raise ValueError("ptr must not be null (0)") + cdef GetCPER_v1 obj = GetCPER_v1.__new__(GetCPER_v1) + if owner is None: + obj._ptr = _cyb_malloc(sizeof(nvmlGetCPER_v1_t)) + if obj._ptr == NULL: + raise MemoryError("Error allocating GetCPER_v1") + _cyb_memcpy((obj._ptr), ptr, sizeof(nvmlGetCPER_v1_t)) + obj._owner = None + obj._owned = True + else: + obj._ptr = ptr + obj._owner = owner + obj._owned = False + obj._readonly = readonly + return obj + + cdef _get_vgpu_instances_utilization_info_v1_dtype_offsets(): cdef nvmlVgpuInstancesUtilizationInfo_v1_t pod return _numpy.dtype({ @@ -20153,7 +21279,12 @@ cdef class VgpuInstancesUtilizationInfo_v1: """int: The array (allocated by caller) in which vGPU utilization are returned.""" if self._ptr[0].vgpuUtilArray == NULL or self._ptr[0].vgpuInstanceCount == 0: return [] - return VgpuInstanceUtilizationInfo_v1.from_ptr((self._ptr[0].vgpuUtilArray), self._ptr[0].vgpuInstanceCount) + return VgpuInstanceUtilizationInfo_v1.from_ptr( + (self._ptr[0].vgpuUtilArray), + self._ptr[0].vgpuInstanceCount, + owner=self, + readonly=self._readonly + ) @vgpu_util_array.setter def vgpu_util_array(self, val): @@ -20233,6 +21364,7 @@ cdef class PRMCounter_v1: """ cdef: readonly object _data + object _owner def __init__(self, size=1): arr = _numpy.empty(size, dtype=prm_counter_v1_dtype) @@ -20347,13 +21479,15 @@ cdef class PRMCounter_v1: return obj @staticmethod - def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False): + def from_ptr(intptr_t ptr, size_t size=1, bint readonly=False, object owner=None): """Create an PRMCounter_v1 instance wrapping the given pointer. Args: ptr (intptr_t): pointer address as Python :class:`int` to the data. size (int): number of structs, default=1. readonly (bool): whether the data is read-only (to the user). default is `False`. + owner (object): object that owns the memory at *ptr*. A strong reference is + kept so the backing storage outlives this wrapper. """ if ptr == 0: raise ValueError("ptr must not be null (0)") @@ -20363,6 +21497,7 @@ cdef class PRMCounter_v1: ptr, sizeof(nvmlPRMCounter_v1_t) * size, flag) data = _numpy.ndarray(size, buffer=buf, dtype=prm_counter_v1_dtype) obj._data = data.view(_numpy.recarray) + obj._owner = owner return obj @@ -20454,7 +21589,11 @@ cdef class VgpuSchedulerLog: @property def scheduler_params(self): """VgpuSchedulerParams: """ - return VgpuSchedulerParams.from_ptr(&(self._ptr[0].schedulerParams), self._readonly, self) + return VgpuSchedulerParams.from_ptr( + &(self._ptr[0].schedulerParams), + readonly=self._readonly, + owner=self, + ) @scheduler_params.setter def scheduler_params(self, val): @@ -20466,7 +21605,12 @@ cdef class VgpuSchedulerLog: @property def log_entries(self): """VgpuSchedulerLogEntry: """ - return VgpuSchedulerLogEntry.from_ptr(&(self._ptr[0].logEntries), 200, self._readonly) + return VgpuSchedulerLogEntry.from_ptr( + &(self._ptr[0].logEntries), + 200, + readonly=self._readonly, + owner=self, + ) @log_entries.setter def log_entries(self, val): @@ -20646,7 +21790,11 @@ cdef class VgpuSchedulerGetState: @property def scheduler_params(self): """VgpuSchedulerParams: """ - return VgpuSchedulerParams.from_ptr(&(self._ptr[0].schedulerParams), self._readonly, self) + return VgpuSchedulerParams.from_ptr( + &(self._ptr[0].schedulerParams), + readonly=self._readonly, + owner=self, + ) @scheduler_params.setter def scheduler_params(self, val): @@ -20804,7 +21952,11 @@ cdef class VgpuSchedulerStateInfo_v1: @property def scheduler_params(self): """VgpuSchedulerParams: OUT: vGPU Scheduler Parameters.""" - return VgpuSchedulerParams.from_ptr(&(self._ptr[0].schedulerParams), self._readonly, self) + return VgpuSchedulerParams.from_ptr( + &(self._ptr[0].schedulerParams), + readonly=self._readonly, + owner=self, + ) @scheduler_params.setter def scheduler_params(self, val): @@ -20986,7 +22138,11 @@ cdef class VgpuSchedulerLogInfo_v1: @property def scheduler_params(self): """VgpuSchedulerParams: OUT: vGPU Scheduler Parameters.""" - return VgpuSchedulerParams.from_ptr(&(self._ptr[0].schedulerParams), self._readonly, self) + return VgpuSchedulerParams.from_ptr( + &(self._ptr[0].schedulerParams), + readonly=self._readonly, + owner=self, + ) @scheduler_params.setter def scheduler_params(self, val): @@ -20998,7 +22154,12 @@ cdef class VgpuSchedulerLogInfo_v1: @property def log_entries(self): """VgpuSchedulerLogEntry: OUT: Structure to store the state and logs of a software runlist.""" - return VgpuSchedulerLogEntry.from_ptr(&(self._ptr[0].logEntries), 200, self._readonly) + return VgpuSchedulerLogEntry.from_ptr( + &(self._ptr[0].logEntries), + 200, + readonly=self._readonly, + owner=self, + ) @log_entries.setter def log_entries(self, val): @@ -21191,7 +22352,11 @@ cdef class VgpuSchedulerState_v1: @property def scheduler_params(self): """VgpuSchedulerSetParams: IN: vGPU Scheduler Parameters.""" - return VgpuSchedulerSetParams.from_ptr(&(self._ptr[0].schedulerParams), self._readonly, self) + return VgpuSchedulerSetParams.from_ptr( + &(self._ptr[0].schedulerParams), + readonly=self._readonly, + owner=self, + ) @scheduler_params.setter def scheduler_params(self, val): @@ -21369,7 +22534,12 @@ cdef class GridLicensableFeatures: @property def grid_licensable_features(self): """GridLicensableFeature: """ - return GridLicensableFeature.from_ptr(&(self._ptr[0].gridLicensableFeatures), self._ptr[0].licensableFeaturesCount, self._readonly) + return GridLicensableFeature.from_ptr( + &(self._ptr[0].gridLicensableFeatures), + self._ptr[0].licensableFeaturesCount, + readonly=self._readonly, + owner=self, + ) @grid_licensable_features.setter def grid_licensable_features(self, val): @@ -21519,7 +22689,11 @@ cdef class NvLinkInfo_v2: @property def firmware_info(self): """NvlinkFirmwareInfo: OUT - NVLINK Firmware info.""" - return NvlinkFirmwareInfo.from_ptr(&(self._ptr[0].firmwareInfo), self._readonly, self) + return NvlinkFirmwareInfo.from_ptr( + &(self._ptr[0].firmwareInfo), + readonly=self._readonly, + owner=self, + ) @firmware_info.setter def firmware_info(self, val): @@ -21747,7 +22921,8 @@ cpdef unsigned int unit_get_count() except? 0: """Retrieves the number of units in the system. Returns: - unsigned int: Reference in which to return the number of units. + unsigned int: Reference in which to return the number of + units. .. seealso:: `nvmlUnitGetCount` """ @@ -21762,7 +22937,8 @@ cpdef intptr_t unit_get_handle_by_index(unsigned int index) except? 0: """Acquire the handle for a particular unit, based on its index. Args: - index (unsigned int): The index of the target unit, >= 0 and < ``unitCount``. + index (unsigned int): The index of the target unit, >= 0 and < + ``unitCount``. Returns: intptr_t: Reference in which to return the unit handle. @@ -21783,7 +22959,8 @@ cpdef object unit_get_unit_info(intptr_t unit): unit (intptr_t): The identifier of the target unit. Returns: - nvmlUnitInfo_t: Reference in which to return the unit information. + nvmlUnitInfo_t: Reference in which to return the unit + information. .. seealso:: `nvmlUnitGetUnitInfo` """ @@ -21802,7 +22979,8 @@ cpdef object unit_get_led_state(intptr_t unit): unit (intptr_t): The identifier of the target unit. Returns: - nvmlLedState_t: Reference in which to return the current LED state. + nvmlLedState_t: Reference in which to return the current LED + state. .. seealso:: `nvmlUnitGetLedState` """ @@ -21821,7 +22999,8 @@ cpdef object unit_get_psu_info(intptr_t unit): unit (intptr_t): The identifier of the target unit. Returns: - nvmlPSUInfo_t: Reference in which to return the PSU information. + nvmlPSUInfo_t: Reference in which to return the PSU + information. .. seealso:: `nvmlUnitGetPsuInfo` """ @@ -21841,7 +23020,8 @@ cpdef unsigned int unit_get_temperature(intptr_t unit, unsigned int type) except type (unsigned int): The type of reading to take. Returns: - unsigned int: Reference in which to return the intake temperature. + unsigned int: Reference in which to return the intake + temperature. .. seealso:: `nvmlUnitGetTemperature` """ @@ -21859,7 +23039,8 @@ cpdef object unit_get_fan_speed_info(intptr_t unit): unit (intptr_t): The identifier of the target unit. Returns: - nvmlUnitFanSpeeds_t: Reference in which to return the fan speed information. + nvmlUnitFanSpeeds_t: Reference in which to return the fan + speed information. .. seealso:: `nvmlUnitGetFanSpeedInfo` """ @@ -21875,7 +23056,8 @@ cpdef unsigned int device_get_count_v2() except? 0: """Retrieves the number of compute devices in the system. A compute device is a single GPU. Returns: - unsigned int: Reference in which to return the number of accessible devices. + unsigned int: Reference in which to return the number of + accessible devices. .. seealso:: `nvmlDeviceGetCount_v2` """ @@ -21909,7 +23091,8 @@ cpdef intptr_t device_get_handle_by_index_v2(unsigned int index) except? 0: """Acquire the handle for a particular device, based on its index. Args: - index (unsigned int): The index of the target GPU, >= 0 and < ``accessibleDevices``. + index (unsigned int): The index of the target GPU, >= 0 and < + ``accessibleDevices``. Returns: intptr_t: Reference in which to return the device handle. @@ -21952,7 +23135,8 @@ cpdef intptr_t device_get_handle_by_uuid(uuid) except? 0: uuid (str): The UUID of the target GPU or MIG instance. Returns: - intptr_t: Reference in which to return the device handle or MIG device handle. + intptr_t: Reference in which to return the device handle or + MIG device handle. .. seealso:: `nvmlDeviceGetHandleByUUID` """ @@ -21971,7 +23155,11 @@ cpdef intptr_t device_get_handle_by_pci_bus_id_v2(pci_bus_id) except? 0: """Acquire the handle for a particular device, based on its PCI bus id. Args: - pci_bus_id (str): The PCI bus id of the target GPU Accept the following formats (all numbers in hexadecimal): domain:bus:device.function in format x:x:x.x domain:bus:device in format x:x:x bus:device.function in format x:x.x. + pci_bus_id (str): The PCI bus id of the target GPU Accept the + following formats (all numbers in hexadecimal): + domain:bus:device.function in format x:x:x.x + domain:bus:device in format x:x:x bus:device.function in + format x:x.x. Returns: intptr_t: Reference in which to return the device handle. @@ -22033,7 +23221,8 @@ cpdef unsigned int device_get_index(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the NVML index of the device. + unsigned int: Reference in which to return the NVML index of + the device. .. seealso:: `nvmlDeviceGetIndex` """ @@ -22051,7 +23240,8 @@ cpdef str device_get_serial(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - char: Reference in which to return the board/module serial number. + char: Reference in which to return the board/module serial + number. .. seealso:: `nvmlDeviceGetSerial` """ @@ -22088,7 +23278,8 @@ cpdef object device_get_c2c_mode_info_v(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlC2cModeInfo_v1_t: Output struct containing the device's C2C Mode info. + nvmlC2cModeInfo_v1_t: Output struct containing the device's + C2C Mode info. .. seealso:: `nvmlDeviceGetC2cModeInfoV` """ @@ -22105,11 +23296,14 @@ cpdef object device_get_memory_affinity(intptr_t device, unsigned int node_set_s Args: device (intptr_t): The identifier of the target device. - node_set_size (unsigned int): The size of the node_set array that is safe to access. + node_set_size (unsigned int): The size of the node_set array + that is safe to access. scope (unsigned int): Scope that change the default behavior. Returns: - unsigned long: Array reference in which to return a bitmask of NODEs, 64 NODEs per unsigned long on 64-bit machines, 32 on 32-bit machines. + unsigned long: Array reference in which to return a bitmask of + NODEs, 64 NODEs per unsigned long on 64-bit machines, 32 + on 32-bit machines. .. seealso:: `nvmlDeviceGetMemoryAffinity` """ @@ -22128,11 +23322,14 @@ cpdef object device_get_cpu_affinity_within_scope(intptr_t device, unsigned int Args: device (intptr_t): The identifier of the target device. - cpu_set_size (unsigned int): The size of the cpu_set array that is safe to access. + cpu_set_size (unsigned int): The size of the cpu_set array + that is safe to access. scope (unsigned int): Scope that change the default behavior. Returns: - unsigned long: Array reference in which to return a bitmask of CPUs, 64 CPUs per unsigned long on 64-bit machines, 32 on 32-bit machines. + unsigned long: Array reference in which to return a bitmask of + CPUs, 64 CPUs per unsigned long on 64-bit machines, 32 on + 32-bit machines. .. seealso:: `nvmlDeviceGetCpuAffinityWithinScope` """ @@ -22151,10 +23348,13 @@ cpdef object device_get_cpu_affinity(intptr_t device, unsigned int cpu_set_size) Args: device (intptr_t): The identifier of the target device. - cpu_set_size (unsigned int): The size of the cpu_set array that is safe to access. + cpu_set_size (unsigned int): The size of the cpu_set array + that is safe to access. Returns: - unsigned long: Array reference in which to return a bitmask of CPUs, 64 CPUs per unsigned long on 64-bit machines, 32 on 32-bit machines. + unsigned long: Array reference in which to return a bitmask of + CPUs, 64 CPUs per unsigned long on 64-bit machines, 32 on + 32-bit machines. .. seealso:: `nvmlDeviceGetCpuAffinity` """ @@ -22237,10 +23437,12 @@ cpdef int device_get_p2p_status(intptr_t device1, intptr_t device2, int p2p_inde Args: device1 (intptr_t): The first device. device2 (intptr_t): The second device. - p2p_index (GpuP2PCapsIndex): p2p Capability Index being looked for between ``device1`` and ``device2``. + p2p_index (GpuP2PCapsIndex): p2p Capability Index being looked + for between ``device1`` and ``device2``. Returns: - int: Reference in which to return the status of the ``p2p_index`` between ``device1`` and ``device2``. + int: Reference in which to return the status of the + ``p2p_index`` between ``device1`` and ``device2``. .. seealso:: `nvmlDeviceGetP2PStatus` """ @@ -22277,7 +23479,8 @@ cpdef unsigned int device_get_minor_number(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the minor number for the device. + unsigned int: Reference in which to return the minor number + for the device. .. seealso:: `nvmlDeviceGetMinorNumber` """ @@ -22353,7 +23556,8 @@ cpdef unsigned int device_get_inforom_configuration_checksum(intptr_t device) ex device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the infoROM configuration checksum. + unsigned int: Reference in which to return the infoROM + configuration checksum. .. seealso:: `nvmlDeviceGetInforomConfigurationChecksum` """ @@ -22442,7 +23646,8 @@ cpdef int device_get_persistence_mode(intptr_t device) except? -1: device (intptr_t): The identifier of the target device. Returns: - int: Reference in which to return the current driver persistence mode. + int: Reference in which to return the current driver + persistence mode. .. seealso:: `nvmlDeviceGetPersistenceMode` """ @@ -22460,7 +23665,8 @@ cpdef object device_get_pci_info_ext(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlPciInfoExt_v1_t: Reference in which to return the PCI info. + nvmlPciInfoExt_v1_t: Reference in which to return the PCI + info. .. seealso:: `nvmlDeviceGetPciInfoExt` """ @@ -22499,7 +23705,8 @@ cpdef unsigned int device_get_max_pcie_link_generation(intptr_t device) except? device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the max PCIe link generation. + unsigned int: Reference in which to return the max PCIe link + generation. .. seealso:: `nvmlDeviceGetMaxPcieLinkGeneration` """ @@ -22517,7 +23724,8 @@ cpdef unsigned int device_get_gpu_max_pcie_link_generation(intptr_t device) exce device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the max PCIe link generation. + unsigned int: Reference in which to return the max PCIe link + generation. .. seealso:: `nvmlDeviceGetGpuMaxPcieLinkGeneration` """ @@ -22535,7 +23743,8 @@ cpdef unsigned int device_get_max_pcie_link_width(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the max PCIe link generation. + unsigned int: Reference in which to return the max PCIe link + generation. .. seealso:: `nvmlDeviceGetMaxPcieLinkWidth` """ @@ -22553,7 +23762,8 @@ cpdef unsigned int device_get_curr_pcie_link_generation(intptr_t device) except? device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the current PCIe link generation. + unsigned int: Reference in which to return the current PCIe + link generation. .. seealso:: `nvmlDeviceGetCurrPcieLinkGeneration` """ @@ -22571,7 +23781,8 @@ cpdef unsigned int device_get_curr_pcie_link_width(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the current PCIe link generation. + unsigned int: Reference in which to return the current PCIe + link generation. .. seealso:: `nvmlDeviceGetCurrPcieLinkWidth` """ @@ -22587,7 +23798,8 @@ cpdef unsigned int device_get_pcie_throughput(intptr_t device, int counter) exce Args: device (intptr_t): The identifier of the target device. - counter (PcieUtilCounter): The specific counter that should be queried ``nvmlPcieUtilCounter_t``. + counter (PcieUtilCounter): The specific counter that should be + queried ``nvmlPcieUtilCounter_t``. Returns: unsigned int: Reference in which to return throughput in KB/s. @@ -22608,7 +23820,8 @@ cpdef unsigned int device_get_pcie_replay_counter(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the counter's value. + unsigned int: Reference in which to return the counter's + value. .. seealso:: `nvmlDeviceGetPcieReplayCounter` """ @@ -22627,7 +23840,8 @@ cpdef unsigned int device_get_clock_info(intptr_t device, int type) except? 0: type (ClockType): Identify which clock domain to query. Returns: - unsigned int: Reference in which to return the clock speed in MHz. + unsigned int: Reference in which to return the clock speed in + MHz. .. seealso:: `nvmlDeviceGetClockInfo` """ @@ -22646,7 +23860,8 @@ cpdef unsigned int device_get_max_clock_info(intptr_t device, int type) except? type (ClockType): Identify which clock domain to query. Returns: - unsigned int: Reference in which to return the clock speed in MHz. + unsigned int: Reference in which to return the clock speed in + MHz. .. seealso:: `nvmlDeviceGetMaxClockInfo` """ @@ -22681,7 +23896,8 @@ cpdef unsigned int device_get_clock(intptr_t device, int clock_type, int clock_i Args: device (intptr_t): The identifier of the target device. clock_type (ClockType): Identify which clock domain to query. - clock_id (ClockId): Identify which clock in the domain to query. + clock_id (ClockId): Identify which clock in the domain to + query. Returns: unsigned int: Reference in which to return the clock in MHz. @@ -22744,7 +23960,8 @@ cpdef object device_get_supported_graphics_clocks(intptr_t device, unsigned int Args: device (intptr_t): The identifier of the target device. - memory_clock_m_hz (unsigned int): Memory clock for which to return possible graphics clocks. + memory_clock_m_hz (unsigned int): Memory clock for which to + return possible graphics clocks. Returns: unsigned int: Reference in which to return the clocks in MHz. @@ -22774,8 +23991,11 @@ cpdef tuple device_get_auto_boosted_clocks_enabled(intptr_t device): Returns: A 2-tuple containing: - - int: Where to store the current state of Auto Boosted clocks of the target device. - - int: Where to store the default Auto Boosted clocks behavior of the target device that the device will revert to when no applications are using the GPU. + - int: Where to store the current state of Auto Boosted clocks + of the target device. + - int: Where to store the default Auto Boosted clocks behavior + of the target device that the device will revert to when + no applications are using the GPU. .. seealso:: `nvmlDeviceGetAutoBoostedClocksEnabled` """ @@ -22794,7 +24014,8 @@ cpdef unsigned int device_get_fan_speed(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the fan speed percentage. + unsigned int: Reference in which to return the fan speed + percentage. .. seealso:: `nvmlDeviceGetFanSpeed` """ @@ -22813,7 +24034,8 @@ cpdef unsigned int device_get_fan_speed_v2(intptr_t device, unsigned int fan) ex fan (unsigned int): The index of the target fan, zero indexed. Returns: - unsigned int: Reference in which to return the fan speed percentage. + unsigned int: Reference in which to return the fan speed + percentage. .. seealso:: `nvmlDeviceGetFanSpeed_v2` """ @@ -22832,7 +24054,8 @@ cpdef unsigned int device_get_target_fan_speed(intptr_t device, unsigned int fan fan (unsigned int): The index of the target fan, zero indexed. Returns: - unsigned int: Reference in which to return the fan speed percentage. + unsigned int: Reference in which to return the fan speed + percentage. .. seealso:: `nvmlDeviceGetTargetFanSpeed` """ @@ -22873,7 +24096,8 @@ cpdef unsigned int device_get_fan_control_policy_v2(intptr_t device, unsigned in fan (unsigned int): The index of the target fan, zero indexed. Returns: - unsigned int: Reference in which to return the fan control ``policy``. + unsigned int: Reference in which to return the fan control + ``policy``. .. seealso:: `nvmlDeviceGetFanControlPolicy_v2` """ @@ -22909,7 +24133,9 @@ cpdef object device_get_cooler_info(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlCoolerInfo_v1_t: Structure specifying the cooler's control signal characteristics (out) and the target that cooler cools (out). + nvmlCoolerInfo_v1_t: Structure specifying the cooler's control + signal characteristics (out) and the target that cooler + cools (out). .. seealso:: `nvmlDeviceGetCoolerInfo` """ @@ -22927,10 +24153,12 @@ cpdef unsigned int device_get_temperature_threshold(intptr_t device, int thresho Args: device (intptr_t): The identifier of the target device. - threshold_type (TemperatureThresholds): The type of threshold value queried. + threshold_type (TemperatureThresholds): The type of threshold + value queried. Returns: - unsigned int: Reference in which to return the temperature reading. + unsigned int: Reference in which to return the temperature + reading. .. seealso:: `nvmlDeviceGetTemperatureThreshold` """ @@ -22949,7 +24177,8 @@ cpdef object device_get_thermal_settings(intptr_t device, unsigned int sensor_in sensor_index (unsigned int): The index of the thermal sensor. Returns: - nvmlGpuThermalSettings_t: Reference in which to return the thermal sensor information. + nvmlGpuThermalSettings_t: Reference in which to return the + thermal sensor information. .. seealso:: `nvmlDeviceGetThermalSettings` """ @@ -22968,7 +24197,8 @@ cpdef int device_get_performance_state(intptr_t device) except? -1: device (intptr_t): The identifier of the target device. Returns: - int: Reference in which to return the performance state reading. + int: Reference in which to return the performance state + reading. .. seealso:: `nvmlDeviceGetPerformanceState` """ @@ -22986,7 +24216,8 @@ cpdef unsigned long long device_get_current_clocks_event_reasons(intptr_t device device (intptr_t): The identifier of the target device. Returns: - unsigned long long: Reference in which to return bitmask of active clocks event reasons. + unsigned long long: Reference in which to return bitmask of + active clocks event reasons. .. seealso:: `nvmlDeviceGetCurrentClocksEventReasons` """ @@ -23004,7 +24235,8 @@ cpdef unsigned long long device_get_supported_clocks_event_reasons(intptr_t devi device (intptr_t): The identifier of the target device. Returns: - unsigned long long: Reference in which to return bitmask of supported clocks event reasons. + unsigned long long: Reference in which to return bitmask of + supported clocks event reasons. .. seealso:: `nvmlDeviceGetSupportedClocksEventReasons` """ @@ -23022,7 +24254,8 @@ cpdef int device_get_power_state(intptr_t device) except? -1: device (intptr_t): The identifier of the target device. Returns: - int: Reference in which to return the performance state reading. + int: Reference in which to return the performance state + reading. .. seealso:: `nvmlDeviceGetPowerState` """ @@ -23081,8 +24314,10 @@ cpdef tuple device_get_min_max_clock_of_p_state(intptr_t device, int type, int p Returns: A 2-tuple containing: - - unsigned int: Reference in which to return min clock frequency. - - unsigned int: Reference in which to return max clock frequency. + - unsigned int: Reference in which to return min clock + frequency. + - unsigned int: Reference in which to return max clock + frequency. .. seealso:: `nvmlDeviceGetMinMaxClockOfPState` """ @@ -23143,7 +24378,8 @@ cpdef device_set_clock_offsets(intptr_t device, intptr_t info): Args: device (intptr_t): The identifier of the target device. - info (intptr_t): Structure specifying the clock type (input), the pstate (input) and clock offset value (input). + info (intptr_t): Structure specifying the clock type (input), + the pstate (input) and clock offset value (input). .. seealso:: `nvmlDeviceSetClockOffsets` """ @@ -23159,7 +24395,8 @@ cpdef unsigned int device_get_power_management_limit(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the power management limit in milliwatts. + unsigned int: Reference in which to return the power + management limit in milliwatts. .. seealso:: `nvmlDeviceGetPowerManagementLimit` """ @@ -23179,8 +24416,10 @@ cpdef tuple device_get_power_management_limit_constraints(intptr_t device): Returns: A 2-tuple containing: - - unsigned int: Reference in which to return the minimum power management limit in milliwatts. - - unsigned int: Reference in which to return the maximum power management limit in milliwatts. + - unsigned int: Reference in which to return the minimum power + management limit in milliwatts. + - unsigned int: Reference in which to return the maximum power + management limit in milliwatts. .. seealso:: `nvmlDeviceGetPowerManagementLimitConstraints` """ @@ -23199,7 +24438,8 @@ cpdef unsigned int device_get_power_management_default_limit(intptr_t device) ex device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the default power management limit in milliwatts. + unsigned int: Reference in which to return the default power + management limit in milliwatts. .. seealso:: `nvmlDeviceGetPowerManagementDefaultLimit` """ @@ -23217,7 +24457,8 @@ cpdef unsigned int device_get_power_usage(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the power usage information. + unsigned int: Reference in which to return the power usage + information. .. seealso:: `nvmlDeviceGetPowerUsage` """ @@ -23235,7 +24476,8 @@ cpdef unsigned long long device_get_total_energy_consumption(intptr_t device) ex device (intptr_t): The identifier of the target device. Returns: - unsigned long long: Reference in which to return the energy consumption information. + unsigned long long: Reference in which to return the energy + consumption information. .. seealso:: `nvmlDeviceGetTotalEnergyConsumption` """ @@ -23253,7 +24495,8 @@ cpdef unsigned int device_get_enforced_power_limit(intptr_t device) except? 0: device (intptr_t): The device to communicate with. Returns: - unsigned int: Reference in which to return the power management limit in milliwatts. + unsigned int: Reference in which to return the power + management limit in milliwatts. .. seealso:: `nvmlDeviceGetEnforcedPowerLimit` """ @@ -23293,7 +24536,8 @@ cpdef object device_get_memory_info_v2(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlMemory_v2_t: Reference in which to return the memory information. + nvmlMemory_v2_t: Reference in which to return the memory + information. .. seealso:: `nvmlDeviceGetMemoryInfo_v2` """ @@ -23310,7 +24554,8 @@ cpdef int device_get_compute_mode(intptr_t device) except? -1: """Retrieves the current compute mode for the device or MIG device. Args: - device (intptr_t): The identifier of the target device handle or MIG device handle. + device (intptr_t): The identifier of the target device handle + or MIG device handle. Returns: int: Reference in which to return the current compute mode. @@ -23333,8 +24578,10 @@ cpdef tuple device_get_cuda_compute_capability(intptr_t device): Returns: A 2-tuple containing: - - int: Reference in which to return the major CUDA compute capability. - - int: Reference in which to return the minor CUDA compute capability. + - int: Reference in which to return the major CUDA compute + capability. + - int: Reference in which to return the minor CUDA compute + capability. .. seealso:: `nvmlDeviceGetCudaComputeCapability` """ @@ -23393,7 +24640,8 @@ cpdef unsigned int device_get_board_id(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return the device's board ID. + unsigned int: Reference in which to return the device's board + ID. .. seealso:: `nvmlDeviceGetBoardId` """ @@ -23411,7 +24659,9 @@ cpdef unsigned int device_get_multi_gpu_board(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return a zero or non-zero value to indicate whether the device is on a multi GPU board. + unsigned int: Reference in which to return a zero or non-zero + value to indicate whether the device is on a multi GPU + board. .. seealso:: `nvmlDeviceGetMultiGpuBoard` """ @@ -23427,11 +24677,14 @@ cpdef unsigned long long device_get_total_ecc_errors(intptr_t device, int error_ Args: device (intptr_t): The identifier of the target device. - error_type (MemoryErrorType): Flag that specifies the type of the errors. - counter_type (EccCounterType): Flag that specifies the counter-type of the errors. + error_type (MemoryErrorType): Flag that specifies the type of + the errors. + counter_type (EccCounterType): Flag that specifies the + counter-type of the errors. Returns: - unsigned long long: Reference in which to return the specified ECC errors. + unsigned long long: Reference in which to return the specified + ECC errors. .. seealso:: `nvmlDeviceGetTotalEccErrors` """ @@ -23447,12 +24700,16 @@ cpdef unsigned long long device_get_memory_error_counter(intptr_t device, int er Args: device (intptr_t): The identifier of the target device. - error_type (MemoryErrorType): Flag that specifies the type of error. - counter_type (EccCounterType): Flag that specifies the counter-type of the errors. - location_type (MemoryLocation): Specifies the location of the counter. + error_type (MemoryErrorType): Flag that specifies the type of + error. + counter_type (EccCounterType): Flag that specifies the + counter-type of the errors. + location_type (MemoryLocation): Specifies the location of the + counter. Returns: - unsigned long long: Reference in which to return the ECC counter. + unsigned long long: Reference in which to return the ECC + counter. .. seealso:: `nvmlDeviceGetMemoryErrorCounter` """ @@ -23470,7 +24727,8 @@ cpdef object device_get_utilization_rates(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlUtilization_t: Reference in which to return the utilization information. + nvmlUtilization_t: Reference in which to return the + utilization information. .. seealso:: `nvmlDeviceGetUtilizationRates` """ @@ -23491,8 +24749,10 @@ cpdef tuple device_get_encoder_utilization(intptr_t device): Returns: A 2-tuple containing: - - unsigned int: Reference to an unsigned int for encoder utilization info. - - unsigned int: Reference to an unsigned int for the sampling period in US. + - unsigned int: Reference to an unsigned int for encoder + utilization info. + - unsigned int: Reference to an unsigned int for the sampling + period in US. .. seealso:: `nvmlDeviceGetEncoderUtilization` """ @@ -23512,7 +24772,8 @@ cpdef unsigned int device_get_encoder_capacity(intptr_t device, int encoder_quer encoder_query_type (EncoderType): Type of encoder to query. Returns: - unsigned int: Reference to an unsigned int for the encoder capacity. + unsigned int: Reference to an unsigned int for the encoder + capacity. .. seealso:: `nvmlDeviceGetEncoderCapacity` """ @@ -23532,9 +24793,12 @@ cpdef tuple device_get_encoder_stats(intptr_t device): Returns: A 3-tuple containing: - - unsigned int: Reference to an unsigned int for count of active encoder sessions. - - unsigned int: Reference to an unsigned int for trailing average FPS of all active sessions. - - unsigned int: Reference to an unsigned int for encode latency in microseconds. + - unsigned int: Reference to an unsigned int for count of active + encoder sessions. + - unsigned int: Reference to an unsigned int for trailing + average FPS of all active sessions. + - unsigned int: Reference to an unsigned int for encode latency + in microseconds. .. seealso:: `nvmlDeviceGetEncoderStats` """ @@ -23554,7 +24818,8 @@ cpdef object device_get_encoder_sessions(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlEncoderSessionInfo_t: Reference in which to return the session information. + nvmlEncoderSessionInfo_t: Reference in which to return the + session information. .. seealso:: `nvmlDeviceGetEncoderSessions` """ @@ -23581,8 +24846,10 @@ cpdef tuple device_get_decoder_utilization(intptr_t device): Returns: A 2-tuple containing: - - unsigned int: Reference to an unsigned int for decoder utilization info. - - unsigned int: Reference to an unsigned int for the sampling period in US. + - unsigned int: Reference to an unsigned int for decoder + utilization info. + - unsigned int: Reference to an unsigned int for the sampling + period in US. .. seealso:: `nvmlDeviceGetDecoderUtilization` """ @@ -23603,8 +24870,10 @@ cpdef tuple device_get_jpg_utilization(intptr_t device): Returns: A 2-tuple containing: - - unsigned int: Reference to an unsigned int for jpg utilization info. - - unsigned int: Reference to an unsigned int for the sampling period in US. + - unsigned int: Reference to an unsigned int for jpg utilization + info. + - unsigned int: Reference to an unsigned int for the sampling + period in US. .. seealso:: `nvmlDeviceGetJpgUtilization` """ @@ -23625,8 +24894,10 @@ cpdef tuple device_get_ofa_utilization(intptr_t device): Returns: A 2-tuple containing: - - unsigned int: Reference to an unsigned int for ofa utilization info. - - unsigned int: Reference to an unsigned int for the sampling period in US. + - unsigned int: Reference to an unsigned int for ofa utilization + info. + - unsigned int: Reference to an unsigned int for the sampling + period in US. .. seealso:: `nvmlDeviceGetOfaUtilization` """ @@ -23645,7 +24916,8 @@ cpdef object device_get_fbc_stats(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlFBCStats_t: Reference to ``nvmlFBCStats_t`` structure containing NvFBC stats. + nvmlFBCStats_t: Reference to ``nvmlFBCStats_t`` structure + containing NvFBC stats. .. seealso:: `nvmlDeviceGetFBCStats` """ @@ -23664,7 +24936,8 @@ cpdef object device_get_fbc_sessions(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlFBCSessionInfo_t: Reference in which to return the session information. + nvmlFBCSessionInfo_t: Reference in which to return the session + information. .. seealso:: `nvmlDeviceGetFBCSessions` """ @@ -23730,7 +25003,8 @@ cpdef object device_get_bridge_chip_info(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlBridgeChipHierarchy_t: Reference to the returned bridge chip Hierarchy. + nvmlBridgeChipHierarchy_t: Reference to the returned bridge + chip Hierarchy. .. seealso:: `nvmlDeviceGetBridgeChipInfo` """ @@ -23749,7 +25023,8 @@ cpdef object device_get_compute_running_processes_v3(intptr_t device): device (intptr_t): The device handle or MIG device handle. Returns: - nvmlProcessInfo_t: Reference in which to return the process information. + nvmlProcessInfo_t: Reference in which to return the process + information. .. seealso:: `nvmlDeviceGetComputeRunningProcesses_v3` """ @@ -23774,7 +25049,8 @@ cpdef object device_get_graphics_running_processes_v3(intptr_t device): device (intptr_t): The device handle or MIG device handle. Returns: - nvmlProcessInfo_t: Reference in which to return the process information. + nvmlProcessInfo_t: Reference in which to return the process + information. .. seealso:: `nvmlDeviceGetGraphicsRunningProcesses_v3` """ @@ -23799,7 +25075,8 @@ cpdef object device_get_mps_compute_running_processes_v3(intptr_t device): device (intptr_t): The device handle or MIG device handle. Returns: - nvmlProcessInfo_t: Reference in which to return the process information. + nvmlProcessInfo_t: Reference in which to return the process + information. .. seealso:: `nvmlDeviceGetMPSComputeRunningProcesses_v3` """ @@ -23825,7 +25102,8 @@ cpdef int device_on_same_board(intptr_t device1, intptr_t device2) except? 0: device2 (intptr_t): The second GPU device. Returns: - int: Reference in which to return the status. Non-zero indicates that the GPUs are on the same board. + int: Reference in which to return the status. Non-zero + indicates that the GPUs are on the same board. .. seealso:: `nvmlDeviceOnSameBoard` """ @@ -23844,7 +25122,10 @@ cpdef int device_get_api_restriction(intptr_t device, int api_type) except? -1: api_type (RestrictedAPI): Target API type for this operation. Returns: - int: Reference in which to return the current restriction NVML_FEATURE_ENABLED indicates that the API is root-only NVML_FEATURE_DISABLED indicates that the API is accessible to all users. + int: Reference in which to return the current restriction + NVML_FEATURE_ENABLED indicates that the API is root-only + NVML_FEATURE_DISABLED indicates that the API is accessible + to all users. .. seealso:: `nvmlDeviceGetAPIRestriction` """ @@ -23862,7 +25143,8 @@ cpdef object device_get_bar1_memory_info(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlBAR1Memory_t: Reference in which BAR1 memory information is returned. + nvmlBAR1Memory_t: Reference in which BAR1 memory information + is returned. .. seealso:: `nvmlDeviceGetBAR1MemoryInfo` """ @@ -23881,7 +25163,8 @@ cpdef unsigned int device_get_irq_num(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: The interrupt number associated with the specified device. + unsigned int: The interrupt number associated with the + specified device. .. seealso:: `nvmlDeviceGetIrqNum` """ @@ -23989,7 +25272,9 @@ cpdef unsigned int device_get_adaptive_clock_info_status(intptr_t device) except device (intptr_t): The identifier of the target device. Returns: - unsigned int: The current adaptive clocking status, either NVML_ADAPTIVE_CLOCKING_INFO_STATUS_DISABLED or NVML_ADAPTIVE_CLOCKING_INFO_STATUS_ENABLED. + unsigned int: The current adaptive clocking status, either + NVML_ADAPTIVE_CLOCKING_INFO_STATUS_DISABLED or + NVML_ADAPTIVE_CLOCKING_INFO_STATUS_ENABLED. .. seealso:: `nvmlDeviceGetAdaptiveClockInfoStatus` """ @@ -24057,7 +25342,8 @@ cpdef object device_get_conf_compute_mem_size_info(intptr_t device): device (intptr_t): Device handle. Returns: - nvmlConfComputeMemSizeInfo_t: Protected/Unprotected Memory sizes. + nvmlConfComputeMemSizeInfo_t: Protected/Unprotected Memory + sizes. .. seealso:: `nvmlDeviceGetConfComputeMemSizeInfo` """ @@ -24073,7 +25359,9 @@ cpdef unsigned int system_get_conf_compute_gpus_ready_state() except? 0: """Get Conf Computing GPUs ready state. Returns: - unsigned int: Returns GPU current work accepting state, NVML_CC_ACCEPTING_CLIENT_REQUESTS_TRUE or NVML_CC_ACCEPTING_CLIENT_REQUESTS_FALSE. + unsigned int: Returns GPU current work accepting state, + NVML_CC_ACCEPTING_CLIENT_REQUESTS_TRUE or + NVML_CC_ACCEPTING_CLIENT_REQUESTS_FALSE. .. seealso:: `nvmlSystemGetConfComputeGpusReadyState` """ @@ -24091,7 +25379,8 @@ cpdef object device_get_conf_compute_protected_memory_usage(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlMemory_t: Reference in which to return the memory information. + nvmlMemory_t: Reference in which to return the memory + information. .. seealso:: `nvmlDeviceGetConfComputeProtectedMemoryUsage` """ @@ -24110,7 +25399,8 @@ cpdef object device_get_conf_compute_gpu_certificate(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlConfComputeGpuCertificate_t: Reference in which to return the gpu certificate information. + nvmlConfComputeGpuCertificate_t: Reference in which to return + the gpu certificate information. .. seealso:: `nvmlDeviceGetConfComputeGpuCertificate` """ @@ -24127,7 +25417,8 @@ cpdef device_set_conf_compute_unprotected_mem_size(intptr_t device, unsigned lon Args: device (intptr_t): Device Handle. - size_ki_b (unsigned long long): Unprotected Memory size to be set in KiB. + size_ki_b (unsigned long long): Unprotected Memory size to be + set in KiB. .. seealso:: `nvmlDeviceSetConfComputeUnprotectedMemSize` """ @@ -24140,7 +25431,9 @@ cpdef system_set_conf_compute_gpus_ready_state(unsigned int is_accepting_work): """Set Conf Computing GPUs ready state. Args: - is_accepting_work (unsigned int): GPU accepting new work, NVML_CC_ACCEPTING_CLIENT_REQUESTS_TRUE or NVML_CC_ACCEPTING_CLIENT_REQUESTS_FALSE. + is_accepting_work (unsigned int): GPU accepting new work, + NVML_CC_ACCEPTING_CLIENT_REQUESTS_TRUE or + NVML_CC_ACCEPTING_CLIENT_REQUESTS_FALSE. .. seealso:: `nvmlSystemSetConfComputeGpusReadyState` """ @@ -24194,7 +25487,8 @@ cpdef tuple device_get_gsp_firmware_mode(intptr_t device): A 2-tuple containing: - unsigned int: Pointer to specify if GSP firmware is enabled. - - unsigned int: Pointer to specify if GSP firmware is supported by default on ``device``. + - unsigned int: Pointer to specify if GSP firmware is supported + by default on ``device``. .. seealso:: `nvmlDeviceGetGspFirmwareMode` """ @@ -24249,10 +25543,12 @@ cpdef object device_get_accounting_stats(intptr_t device, unsigned int pid): Args: device (intptr_t): The identifier of the target device. - pid (unsigned int): Process Id of the target process to query stats for. + pid (unsigned int): Process Id of the target process to query + stats for. Returns: - nvmlAccountingStats_t: Reference in which to return the process's accounting stats. + nvmlAccountingStats_t: Reference in which to return the + process's accounting stats. .. seealso:: `nvmlDeviceGetAccountingStats` """ @@ -24271,7 +25567,8 @@ cpdef object device_get_accounting_pids(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to return list of process ids. + unsigned int: Reference in which to return list of process + ids. .. seealso:: `nvmlDeviceGetAccountingPids` """ @@ -24296,7 +25593,9 @@ cpdef unsigned int device_get_accounting_buffer_size(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference in which to provide the size (in number of elements) of the circular buffer for accounting stats. + unsigned int: Reference in which to provide the size (in + number of elements) of the circular buffer for accounting + stats. .. seealso:: `nvmlDeviceGetAccountingBufferSize` """ @@ -24312,7 +25611,8 @@ cpdef object device_get_retired_pages(intptr_t device, int cause): Args: device (intptr_t): The identifier of the target device. - cause (PageRetirementCause): Filter page addresses by cause of retirement. + cause (PageRetirementCause): Filter page addresses by cause of + retirement. Returns: unsigned long long: Buffer to write the page addresses into. @@ -24360,10 +25660,14 @@ cpdef tuple device_get_remapped_rows(intptr_t device): Returns: A 4-tuple containing: - - unsigned int: Reference for number of rows remapped due to correctable errors. - - unsigned int: Reference for number of rows remapped due to uncorrectable errors. - - unsigned int: Reference for whether or not remappings are pending. - - unsigned int: Reference that is set when a remapping has failed in the past. + - unsigned int: Reference for number of rows remapped due to + correctable errors. + - unsigned int: Reference for number of rows remapped due to + uncorrectable errors. + - unsigned int: Reference for whether or not remappings are + pending. + - unsigned int: Reference that is set when a remapping has + failed in the past. .. seealso:: `nvmlDeviceGetRemappedRows` """ @@ -24403,7 +25707,8 @@ cpdef unsigned int device_get_architecture(intptr_t device) except? 0: device (intptr_t): The identifier of the target device. Returns: - unsigned int: Reference where architecture is returned, if call successful. Set to NVML_DEVICE_ARCH_* upon success. + unsigned int: Reference where architecture is returned, if + call successful. Set to NVML_DEVICE_ARCH_* upon success. .. seealso:: `nvmlDeviceGetArchitecture` """ @@ -24421,7 +25726,8 @@ cpdef object device_get_clk_mon_status(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlClkMonStatus_t: Reference in which to return the clkmon fault status. + nvmlClkMonStatus_t: Reference in which to return the clkmon + fault status. .. seealso:: `nvmlDeviceGetClkMonStatus` """ @@ -24438,10 +25744,13 @@ cpdef object device_get_process_utilization(intptr_t device, unsigned long long Args: device (intptr_t): The identifier of the target device. - last_seen_time_stamp (unsigned long long): Return only samples with timestamp greater than last_seen_time_stamp. + last_seen_time_stamp (unsigned long long): Return only samples + with timestamp greater than last_seen_time_stamp. Returns: - nvmlProcessUtilizationSample_t: Pointer to caller-supplied buffer in which guest process utilization samples are returned. + nvmlProcessUtilizationSample_t: Pointer to caller-supplied + buffer in which guest process utilization samples are + returned. .. seealso:: `nvmlDeviceGetProcessUtilization` """ @@ -24491,7 +25800,8 @@ cpdef device_set_compute_mode(intptr_t device, int mode): """Set the compute mode for the device or MIG device. Args: - device (intptr_t): The identifier of the target device handle or MIG device handle. + device (intptr_t): The identifier of the target device handle + or MIG device handle. mode (ComputeMode): The target compute mode. .. seealso:: `nvmlDeviceSetComputeMode` @@ -24520,7 +25830,8 @@ cpdef device_clear_ecc_error_counts(intptr_t device, int counter_type): Args: device (intptr_t): The identifier of the target device. - counter_type (EccCounterType): Flag that indicates which type of errors should be cleared. + counter_type (EccCounterType): Flag that indicates which type + of errors should be cleared. .. seealso:: `nvmlDeviceClearEccErrorCounts` """ @@ -24549,8 +25860,10 @@ cpdef device_set_gpu_locked_clocks(intptr_t device, unsigned int min_gpu_clock_m Args: device (intptr_t): The identifier of the target device. - min_gpu_clock_m_hz (unsigned int): Requested minimum gpu clock in MHz. - max_gpu_clock_m_hz (unsigned int): Requested maximum gpu clock in MHz. + min_gpu_clock_m_hz (unsigned int): Requested minimum gpu clock + in MHz. + max_gpu_clock_m_hz (unsigned int): Requested maximum gpu clock + in MHz. .. seealso:: `nvmlDeviceSetGpuLockedClocks` """ @@ -24577,8 +25890,10 @@ cpdef device_set_memory_locked_clocks(intptr_t device, unsigned int min_mem_cloc Args: device (intptr_t): The identifier of the target device. - min_mem_clock_m_hz (unsigned int): Requested minimum memory clock in MHz. - max_mem_clock_m_hz (unsigned int): Requested maximum memory clock in MHz. + min_mem_clock_m_hz (unsigned int): Requested minimum memory + clock in MHz. + max_mem_clock_m_hz (unsigned int): Requested maximum memory + clock in MHz. .. seealso:: `nvmlDeviceSetMemoryLockedClocks` """ @@ -24605,7 +25920,8 @@ cpdef device_set_auto_boosted_clocks_enabled(intptr_t device, int enabled): Args: device (intptr_t): The identifier of the target device. - enabled (EnableState): What state to try to set Auto Boosted clocks of the target device to. + enabled (EnableState): What state to try to set Auto Boosted + clocks of the target device to. .. seealso:: `nvmlDeviceSetAutoBoostedClocksEnabled` """ @@ -24619,8 +25935,10 @@ cpdef device_set_default_auto_boosted_clocks_enabled(intptr_t device, int enable Args: device (intptr_t): The identifier of the target device. - enabled (EnableState): What state to try to set default Auto Boosted clocks of the target device to. - flags (unsigned int): Flags that change the default behavior. Currently Unused. + enabled (EnableState): What state to try to set default Auto + Boosted clocks of the target device to. + flags (unsigned int): Flags that change the default behavior. + Currently Unused. .. seealso:: `nvmlDeviceSetDefaultAutoBoostedClocksEnabled` """ @@ -24693,7 +26011,8 @@ cpdef device_set_fan_speed_v2(intptr_t device, unsigned int fan, unsigned int sp Args: device (intptr_t): The identifier of the target device. fan (unsigned int): The index of the fan, starting at zero. - speed (unsigned int): The target speed of the fan [0-100] in % of max speed. + speed (unsigned int): The target speed of the fan [0-100] in % + of max speed. .. seealso:: `nvmlDeviceSetFanSpeed_v2` """ @@ -24737,7 +26056,9 @@ cpdef int device_get_nvlink_state(intptr_t device, unsigned int link) except? -1 link (unsigned int): Specifies the NvLink link to be queried. Returns: - int: ``nvmlEnableState_t`` where NVML_FEATURE_ENABLED indicates that the link is active and NVML_FEATURE_DISABLED indicates it is inactive. + int: ``nvmlEnableState_t`` where NVML_FEATURE_ENABLED + indicates that the link is active and + NVML_FEATURE_DISABLED indicates it is inactive. .. seealso:: `nvmlDeviceGetNvLinkState` """ @@ -24756,7 +26077,8 @@ cpdef unsigned int device_get_nvlink_version(intptr_t device, unsigned int link) link (unsigned int): Specifies the NvLink link to be queried. Returns: - unsigned int: Requested NvLink version from ``nvmlNvlinkVersion_t``. + unsigned int: Requested NvLink version from + ``nvmlNvlinkVersion_t``. .. seealso:: `nvmlDeviceGetNvLinkVersion` """ @@ -24773,10 +26095,12 @@ cpdef unsigned int device_get_nvlink_capability(intptr_t device, unsigned int li Args: device (intptr_t): The identifier of the target device. link (unsigned int): Specifies the NvLink link to be queried. - capability (NvLinkCapability): Specifies the ``nvmlNvLinkCapability_t`` to be queried. + capability (NvLinkCapability): Specifies the + ``nvmlNvLinkCapability_t`` to be queried. Returns: - unsigned int: A boolean for the queried capability indicating that feature is available. + unsigned int: A boolean for the queried capability indicating + that feature is available. .. seealso:: `nvmlDeviceGetNvLinkCapability` """ @@ -24795,7 +26119,8 @@ cpdef object device_get_nvlink_remote_pci_info_v2(intptr_t device, unsigned int link (unsigned int): Specifies the NvLink link to be queried. Returns: - nvmlPciInfo_t: ``nvmlPciInfo_t`` of the remote node for the specified link. + nvmlPciInfo_t: ``nvmlPciInfo_t`` of the remote node for the + specified link. .. seealso:: `nvmlDeviceGetNvLinkRemotePciInfo_v2` """ @@ -24813,7 +26138,8 @@ cpdef unsigned long long device_get_nvlink_error_counter(intptr_t device, unsign Args: device (intptr_t): The identifier of the target device. link (unsigned int): Specifies the NvLink link to be queried. - counter (NvLinkErrorCounter): Specifies the NvLink counter to be queried. + counter (NvLinkErrorCounter): Specifies the NvLink counter to + be queried. Returns: unsigned long long: Returned counter value. @@ -24849,7 +26175,8 @@ cpdef int device_get_nvlink_remote_device_type(intptr_t device, unsigned int lin link (unsigned int): The NVLink link index on the target GPU. Returns: - int: Pointer in which the output remote device type is returned. + int: Pointer in which the output remote device type is + returned. .. seealso:: `nvmlDeviceGetNvLinkRemoteDeviceType` """ @@ -24895,7 +26222,8 @@ cpdef object device_get_nvlink_supported_bw_modes(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlNvlinkSupportedBwModes_v1_t: Reference to ``nvmlNvlinkSupportedBwModes_t``. + nvmlNvlinkSupportedBwModes_v1_t: Reference to + ``nvmlNvlinkSupportedBwModes_t``. .. seealso:: `nvmlDeviceGetNvlinkSupportedBwModes` """ @@ -24915,7 +26243,8 @@ cpdef object device_get_nvlink_bw_mode(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlNvlinkGetBwMode_v1_t: Reference to ``nvmlNvlinkGetBwMode_t``. + nvmlNvlinkGetBwMode_v1_t: Reference to + ``nvmlNvlinkGetBwMode_t``. .. seealso:: `nvmlDeviceGetNvlinkBwMode` """ @@ -24933,7 +26262,8 @@ cpdef device_set_nvlink_bw_mode(intptr_t device, intptr_t set_bw_mode): Args: device (intptr_t): The identifier of the target device. - set_bw_mode (intptr_t): Reference to ``nvmlNvlinkSetBwMode_t``. + set_bw_mode (intptr_t): Reference to + ``nvmlNvlinkSetBwMode_t``. .. seealso:: `nvmlDeviceSetNvlinkBwMode` """ @@ -24963,7 +26293,8 @@ cpdef device_register_events(intptr_t device, unsigned long long event_types, in Args: device (intptr_t): The identifier of the target device. - event_types (unsigned long long): Bitmask of ``Event Types`` to record. + event_types (unsigned long long): Bitmask of ``Event Types`` + to record. set (intptr_t): Set to which add new event types. .. seealso:: `nvmlDeviceRegisterEvents` @@ -24980,7 +26311,8 @@ cpdef unsigned long long device_get_supported_event_types(intptr_t device) excep device (intptr_t): The identifier of the target device. Returns: - unsigned long long: Reference in which to return bitmask of supported events. + unsigned long long: Reference in which to return bitmask of + supported events. .. seealso:: `nvmlDeviceGetSupportedEventTypes` """ @@ -24996,7 +26328,8 @@ cpdef object event_set_wait_v2(intptr_t set, unsigned int timeoutms): Args: set (intptr_t): Reference to set of events to wait on. - timeoutms (unsigned int): Maximum amount of wait time in milliseconds for registered event. + timeoutms (unsigned int): Maximum amount of wait time in + milliseconds for registered event. Returns: nvmlEventData_t: Reference in which to return event data. @@ -25028,8 +26361,10 @@ cpdef device_modify_drain_state(intptr_t pci_info, int new_state): """Modify the drain state of a GPU. This method forces a GPU to no longer accept new incoming requests. Any new NVML process will no longer see this GPU. Persistence mode for this GPU must be turned off before this call is made. Must be called as administrator. For Linux only. Args: - pci_info (intptr_t): The PCI address of the GPU drain state to be modified. - new_state (EnableState): The drain state that should be entered, see ``nvmlEnableState_t``. + pci_info (intptr_t): The PCI address of the GPU drain state to + be modified. + new_state (EnableState): The drain state that should be + entered, see ``nvmlEnableState_t``. .. seealso:: `nvmlDeviceModifyDrainState` """ @@ -25042,10 +26377,12 @@ cpdef int device_query_drain_state(intptr_t pci_info) except? -1: """Query the drain state of a GPU. This method is used to check if a GPU is in a currently draining state. For Linux only. Args: - pci_info (intptr_t): The PCI address of the GPU drain state to be queried. + pci_info (intptr_t): The PCI address of the GPU drain state to + be queried. Returns: - int: The current drain state for this GPU, see ``nvmlEnableState_t``. + int: The current drain state for this GPU, see + ``nvmlEnableState_t``. .. seealso:: `nvmlDeviceQueryDrainState` """ @@ -25061,8 +26398,10 @@ cpdef device_remove_gpu_v2(intptr_t pci_info, int gpu_state, int link_state): Args: pci_info (intptr_t): The PCI address of the GPU to be removed. - gpu_state (DetachGpuState): Whether the GPU is to be removed, from the OS see ``nvmlDetachGpuState_t``. - link_state (PcieLinkState): Requested upstream PCIe link state, see ``nvmlPcieLinkState_t``. + gpu_state (DetachGpuState): Whether the GPU is to be removed, + from the OS see ``nvmlDetachGpuState_t``. + link_state (PcieLinkState): Requested upstream PCIe link + state, see ``nvmlPcieLinkState_t``. .. seealso:: `nvmlDeviceRemoveGpu_v2` """ @@ -25075,7 +26414,8 @@ cpdef device_discover_gpus(intptr_t pci_info): """Request the OS and the NVIDIA kernel driver to rediscover a portion of the PCI subsystem looking for GPUs that were previously removed. The portion of the PCI tree can be narrowed by specifying a domain, bus, and device. If all are zeroes then the entire PCI tree will be searched. Please note that for long-running NVML processes the enumeration will change based on how many GPUs are discovered and where they are inserted in bus order. Args: - pci_info (intptr_t): The PCI tree to be searched. Only the domain, bus, and device fields are used in this call. + pci_info (intptr_t): The PCI tree to be searched. Only the + domain, bus, and device fields are used in this call. .. seealso:: `nvmlDeviceDiscoverGpus` """ @@ -25091,7 +26431,8 @@ cpdef int device_get_virtualization_mode(intptr_t device) except? -1: device (intptr_t): Identifier of the target device. Returns: - int: Reference to virtualization mode. One of NVML_GPU_VIRTUALIZATION_?. + int: Reference to virtualization mode. One of + ``NVML_GPU_VIRTUALIZATION_?``. .. seealso:: `nvmlDeviceGetVirtualizationMode` """ @@ -25125,7 +26466,8 @@ cpdef device_set_virtualization_mode(intptr_t device, int virtual_mode): Args: device (intptr_t): Identifier of the target device. - virtual_mode (GpuVirtualizationMode): virtualization mode. One of NVML_GPU_VIRTUALIZATION_?. + virtual_mode (GpuVirtualizationMode): virtualization mode. One + of ``NVML_GPU_VIRTUALIZATION_?``. .. seealso:: `nvmlDeviceSetVirtualizationMode` """ @@ -25141,7 +26483,8 @@ cpdef unsigned long long vgpu_type_get_gsp_heap_size(unsigned int vgpu_type_id) vgpu_type_id (unsigned int): Handle to vGPU type. Returns: - unsigned long long: Reference to return the GSP heap size value. + unsigned long long: Reference to return the GSP heap size + value. .. seealso:: `nvmlVgpuTypeGetGspHeapSize` """ @@ -25159,7 +26502,8 @@ cpdef unsigned long long vgpu_type_get_fb_reservation(unsigned int vgpu_type_id) vgpu_type_id (unsigned int): Handle to vGPU type. Returns: - unsigned long long: Reference to return the framebuffer reservation. + unsigned long long: Reference to return the framebuffer + reservation. .. seealso:: `nvmlVgpuTypeGetFbReservation` """ @@ -25175,7 +26519,8 @@ cpdef device_set_vgpu_capabilities(intptr_t device, int capability, int state): Args: device (intptr_t): The identifier of the target device. - capability (DeviceVgpuCapability): Specifies the ``nvmlDeviceVgpuCapability_t`` to be set. + capability (DeviceVgpuCapability): Specifies the + ``nvmlDeviceVgpuCapability_t`` to be set. state (EnableState): The target capability mode. .. seealso:: `nvmlDeviceSetVgpuCapabilities` @@ -25192,7 +26537,8 @@ cpdef object device_get_grid_licensable_features_v4(intptr_t device): device (intptr_t): Identifier of the target device. Returns: - nvmlGridLicensableFeatures_t: Pointer to structure in which vGPU software licensable features are returned. + nvmlGridLicensableFeatures_t: Pointer to structure in which + vGPU software licensable features are returned. .. seealso:: `nvmlDeviceGetGridLicensableFeatures_v4` """ @@ -25208,10 +26554,12 @@ cpdef unsigned int get_vgpu_driver_capabilities(int capability) except? 0: """Retrieve the requested vGPU driver capability. Args: - capability (VgpuDriverCapability): Specifies the ``nvmlVgpuDriverCapability_t`` to be queried. + capability (VgpuDriverCapability): Specifies the + ``nvmlVgpuDriverCapability_t`` to be queried. Returns: - unsigned int: A boolean for the queried capability indicating that feature is supported. + unsigned int: A boolean for the queried capability indicating + that feature is supported. .. seealso:: `nvmlGetVgpuDriverCapabilities` """ @@ -25227,10 +26575,12 @@ cpdef unsigned int device_get_vgpu_capabilities(intptr_t device, int capability) Args: device (intptr_t): The identifier of the target device. - capability (DeviceVgpuCapability): Specifies the ``nvmlDeviceVgpuCapability_t`` to be queried. + capability (DeviceVgpuCapability): Specifies the + ``nvmlDeviceVgpuCapability_t`` to be queried. Returns: - unsigned int: Specifies that the queried capability is supported, and also returns capability's data. + unsigned int: Specifies that the queried capability is + supported, and also returns capability's data. .. seealso:: `nvmlDeviceGetVgpuCapabilities` """ @@ -25293,8 +26643,10 @@ cpdef tuple vgpu_type_get_device_id(unsigned int vgpu_type_id): Returns: A 2-tuple containing: - - unsigned long long: Device ID and vendor ID of the device contained in single 32 bit value. - - unsigned long long: Subsystem ID and subsystem vendor ID of the device contained in single 32 bit value. + - unsigned long long: Device ID and vendor ID of the device + contained in single 32 bit value. + - unsigned long long: Subsystem ID and subsystem vendor ID of + the device contained in single 32 bit value. .. seealso:: `nvmlVgpuTypeGetDeviceID` """ @@ -25347,13 +26699,16 @@ cpdef tuple vgpu_type_get_resolution(unsigned int vgpu_type_id, unsigned int dis Args: vgpu_type_id (unsigned int): Handle to vGPU type. - display_index (unsigned int): Zero-based index of display head. + display_index (unsigned int): Zero-based index of display + head. Returns: A 2-tuple containing: - - unsigned int: Pointer to maximum number of pixels in X dimension. - - unsigned int: Pointer to maximum number of pixels in Y dimension. + - unsigned int: Pointer to maximum number of pixels in X + dimension. + - unsigned int: Pointer to maximum number of pixels in Y + dimension. .. seealso:: `nvmlVgpuTypeGetResolution` """ @@ -25410,7 +26765,8 @@ cpdef unsigned int vgpu_type_get_max_instances(intptr_t device, unsigned int vgp vgpu_type_id (unsigned int): Handle to vGPU type. Returns: - unsigned int: Pointer to get the max number of vGPU instances that can be created on a deicve for given vgpu_type_id. + unsigned int: Pointer to get the max number of vGPU instances + that can be created on a deicve for given vgpu_type_id. .. seealso:: `nvmlVgpuTypeGetMaxInstances` """ @@ -25428,7 +26784,8 @@ cpdef unsigned int vgpu_type_get_max_instances_per_vm(unsigned int vgpu_type_id) vgpu_type_id (unsigned int): Handle to vGPU type. Returns: - unsigned int: Pointer to get the max number of vGPU instances supported per VM for given ``vgpu_type_id``. + unsigned int: Pointer to get the max number of vGPU instances + supported per VM for given ``vgpu_type_id``. .. seealso:: `nvmlVgpuTypeGetMaxInstancesPerVm` """ @@ -25446,7 +26803,8 @@ cpdef object vgpu_type_get_bar1_info(unsigned int vgpu_type_id): vgpu_type_id (unsigned int): Handle to vGPU type. Returns: - nvmlVgpuTypeBar1Info_v1_t: Pointer to the vGPU type BAR1 information structure ``nvmlVgpuTypeBar1Info_t``. + nvmlVgpuTypeBar1Info_v1_t: Pointer to the vGPU type BAR1 + information structure ``nvmlVgpuTypeBar1Info_t``. .. seealso:: `nvmlVgpuTypeGetBAR1Info` """ @@ -25463,7 +26821,8 @@ cpdef str vgpu_instance_get_uuid(unsigned int vgpu_instance): """Retrieve the UUID of a vGPU instance. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: char: Pointer to caller-supplied buffer to hold vGPU UUID. @@ -25482,7 +26841,8 @@ cpdef str vgpu_instance_get_vm_driver_version(unsigned int vgpu_instance): """Retrieve the NVIDIA driver version installed in the VM associated with a vGPU. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: char: Caller-supplied buffer to return driver version string. @@ -25501,7 +26861,8 @@ cpdef unsigned long long vgpu_instance_get_fb_usage(unsigned int vgpu_instance) """Retrieve the framebuffer usage in bytes. Args: - vgpu_instance (unsigned int): The identifier of the target instance. + vgpu_instance (unsigned int): The identifier of the target + instance. Returns: unsigned long long: Pointer to framebuffer usage in bytes. @@ -25519,7 +26880,8 @@ cpdef unsigned int vgpu_instance_get_license_status(unsigned int vgpu_instance) """[Deprecated]. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: unsigned int: Reference to return the licensing status. @@ -25537,7 +26899,8 @@ cpdef unsigned int vgpu_instance_get_type(unsigned int vgpu_instance) except? 0: """Retrieve the vGPU type of a vGPU instance. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: unsigned int: Reference to return the vgpu_type_id. @@ -25555,7 +26918,8 @@ cpdef unsigned int vgpu_instance_get_frame_rate_limit(unsigned int vgpu_instance """Retrieve the frame rate limit set for the vGPU instance. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: unsigned int: Reference to return the frame rate limit. @@ -25573,7 +26937,8 @@ cpdef int vgpu_instance_get_ecc_mode(unsigned int vgpu_instance) except? -1: """Retrieve the current ECC mode of vGPU instance. Args: - vgpu_instance (unsigned int): The identifier of the target vGPU instance. + vgpu_instance (unsigned int): The identifier of the target + vGPU instance. Returns: int: Reference in which to return the current ECC mode. @@ -25591,10 +26956,12 @@ cpdef unsigned int vgpu_instance_get_encoder_capacity(unsigned int vgpu_instance """Retrieve the encoder capacity of a vGPU instance, as a percentage of maximum encoder capacity with valid values in the range 0-100. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: - unsigned int: Reference to an unsigned int for the encoder capacity. + unsigned int: Reference to an unsigned int for the encoder + capacity. .. seealso:: `nvmlVgpuInstanceGetEncoderCapacity` """ @@ -25609,8 +26976,10 @@ cpdef vgpu_instance_set_encoder_capacity(unsigned int vgpu_instance, unsigned in """Set the encoder capacity of a vGPU instance, as a percentage of maximum encoder capacity with valid values in the range 0-100. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. - encoder_capacity (unsigned int): Unsigned int for the encoder capacity value. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. + encoder_capacity (unsigned int): Unsigned int for the encoder + capacity value. .. seealso:: `nvmlVgpuInstanceSetEncoderCapacity` """ @@ -25623,14 +26992,18 @@ cpdef tuple vgpu_instance_get_encoder_stats(unsigned int vgpu_instance): """Retrieves the current encoder statistics of a vGPU Instance. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: A 3-tuple containing: - - unsigned int: Reference to an unsigned int for count of active encoder sessions. - - unsigned int: Reference to an unsigned int for trailing average FPS of all active sessions. - - unsigned int: Reference to an unsigned int for encode latency in microseconds. + - unsigned int: Reference to an unsigned int for count of active + encoder sessions. + - unsigned int: Reference to an unsigned int for trailing + average FPS of all active sessions. + - unsigned int: Reference to an unsigned int for encode latency + in microseconds. .. seealso:: `nvmlVgpuInstanceGetEncoderStats` """ @@ -25647,10 +27020,12 @@ cpdef object vgpu_instance_get_encoder_sessions(unsigned int vgpu_instance): """Retrieves information about all active encoder sessions on a vGPU Instance. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: - nvmlEncoderSessionInfo_t: Reference to caller supplied array in which the list of session information us returned. + nvmlEncoderSessionInfo_t: Reference to caller supplied array + in which the list of session information us returned. .. seealso:: `nvmlVgpuInstanceGetEncoderSessions` """ @@ -25672,10 +27047,12 @@ cpdef object vgpu_instance_get_fbc_stats(unsigned int vgpu_instance): """Retrieves the active frame buffer capture sessions statistics of a vGPU Instance. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: - nvmlFBCStats_t: Reference to ``nvmlFBCStats_t`` structure containing NvFBC stats. + nvmlFBCStats_t: Reference to ``nvmlFBCStats_t`` structure + containing NvFBC stats. .. seealso:: `nvmlVgpuInstanceGetFBCStats` """ @@ -25691,10 +27068,12 @@ cpdef object vgpu_instance_get_fbc_sessions(unsigned int vgpu_instance): """Retrieves information about active frame buffer capture sessions on a vGPU Instance. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: - nvmlFBCSessionInfo_t: Reference in which to return the session information. + nvmlFBCSessionInfo_t: Reference in which to return the session + information. .. seealso:: `nvmlVgpuInstanceGetFBCSessions` """ @@ -25716,7 +27095,8 @@ cpdef unsigned int vgpu_instance_get_gpu_instance_id(unsigned int vgpu_instance) """Retrieve the GPU Instance ID for the given vGPU Instance. The API will return a valid GPU Instance ID for MIG backed vGPU Instance, else INVALID_GPU_INSTANCE_ID is returned. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: unsigned int: GPU Instance ID. @@ -25734,7 +27114,8 @@ cpdef str vgpu_instance_get_gpu_pci_id(unsigned int vgpu_instance): """Retrieves the PCI Id of the given vGPU Instance i.e. the PCI Id of the GPU as seen inside the VM. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: char: Caller-supplied buffer to return vGPU PCI Id string. @@ -25760,10 +27141,12 @@ cpdef unsigned int vgpu_type_get_capabilities(unsigned int vgpu_type_id, int cap Args: vgpu_type_id (unsigned int): Handle to vGPU type. - capability (VgpuCapability): Specifies the ``nvmlVgpuCapability_t`` to be queried. + capability (VgpuCapability): Specifies the + ``nvmlVgpuCapability_t`` to be queried. Returns: - unsigned int: A boolean for the queried capability indicating that feature is supported. + unsigned int: A boolean for the queried capability indicating + that feature is supported. .. seealso:: `nvmlVgpuTypeGetCapabilities` """ @@ -25778,7 +27161,8 @@ cpdef str vgpu_instance_get_mdev_uuid(unsigned int vgpu_instance): """Retrieve the MDEV UUID of a vGPU instance. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: char: Pointer to caller-supplied buffer to hold MDEV UUID. @@ -25798,7 +27182,8 @@ cpdef gpu_instance_set_vgpu_scheduler_state(intptr_t gpu_instance, intptr_t p_sc Args: gpu_instance (intptr_t): The GPU instance handle. - p_scheduler (intptr_t): Pointer to the caller-provided structure of ``nvmlVgpuSchedulerState_t``. + p_scheduler (intptr_t): Pointer to the caller-provided + structure of ``nvmlVgpuSchedulerState_t``. .. seealso:: `nvmlGpuInstanceSetVgpuSchedulerState` """ @@ -25815,7 +27200,8 @@ cpdef object gpu_instance_get_vgpu_scheduler_state(intptr_t gpu_instance): gpu_instance (intptr_t): The GPU instance handle. Returns: - nvmlVgpuSchedulerStateInfo_v1_t: Reference in which ``p_scheduler_state_info`` is returned. + nvmlVgpuSchedulerStateInfo_v1_t: Reference in which + ``p_scheduler_state_info`` is returned. .. seealso:: `nvmlGpuInstanceGetVgpuSchedulerState` """ @@ -25835,7 +27221,8 @@ cpdef object gpu_instance_get_vgpu_scheduler_log(intptr_t gpu_instance): gpu_instance (intptr_t): The GPU instance handle. Returns: - nvmlVgpuSchedulerLogInfo_v1_t: Reference in which ``p_scheduler_log_info`` is written. + nvmlVgpuSchedulerLogInfo_v1_t: Reference in which + ``p_scheduler_log_info`` is written. .. seealso:: `nvmlGpuInstanceGetVgpuSchedulerLog` """ @@ -25855,7 +27242,8 @@ cpdef str device_get_pgpu_metadata_string(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - char: Pointer to caller-supplied buffer into which ``pgpu_metadata`` is written. + char: Pointer to caller-supplied buffer into which + ``pgpu_metadata`` is written. .. seealso:: `nvmlDeviceGetPgpuMetadataString` """ @@ -25880,7 +27268,8 @@ cpdef object device_get_vgpu_scheduler_log(intptr_t device): device (intptr_t): The identifier of the target ``device``. Returns: - nvmlVgpuSchedulerLog_t: Reference in which ``p_scheduler_log`` is written. + nvmlVgpuSchedulerLog_t: Reference in which ``p_scheduler_log`` + is written. .. seealso:: `nvmlDeviceGetVgpuSchedulerLog` """ @@ -25899,7 +27288,8 @@ cpdef object device_get_vgpu_scheduler_state(intptr_t device): device (intptr_t): The identifier of the target ``device``. Returns: - nvmlVgpuSchedulerGetState_t: Reference in which ``p_scheduler_state`` is returned. + nvmlVgpuSchedulerGetState_t: Reference in which + ``p_scheduler_state`` is returned. .. seealso:: `nvmlDeviceGetVgpuSchedulerState` """ @@ -25918,7 +27308,8 @@ cpdef object device_get_vgpu_scheduler_capabilities(intptr_t device): device (intptr_t): The identifier of the target ``device``. Returns: - nvmlVgpuSchedulerCapabilities_t: Reference in which ``p_capabilities`` is written. + nvmlVgpuSchedulerCapabilities_t: Reference in which + ``p_capabilities`` is written. .. seealso:: `nvmlDeviceGetVgpuSchedulerCapabilities` """ @@ -25935,7 +27326,8 @@ cpdef device_set_vgpu_scheduler_state(intptr_t device, intptr_t p_scheduler_stat Args: device (intptr_t): The identifier of the target ``device``. - p_scheduler_state (intptr_t): vGPU ``p_scheduler_state`` to set. + p_scheduler_state (intptr_t): vGPU ``p_scheduler_state`` to + set. .. seealso:: `nvmlDeviceSetVgpuSchedulerState` """ @@ -25948,7 +27340,8 @@ cpdef set_vgpu_version(intptr_t vgpu_version): """Override the preset range of vGPU versions supported by the NVIDIA vGPU Manager with a range set by an administrator. Args: - vgpu_version (intptr_t): Pointer to a caller-supplied range of supported vGPU versions. + vgpu_version (intptr_t): Pointer to a caller-supplied range of + supported vGPU versions. .. seealso:: `nvmlSetVgpuVersion` """ @@ -25962,13 +27355,17 @@ cpdef tuple device_get_vgpu_process_utilization(intptr_t device, unsigned long l Args: device (intptr_t): The identifier for the target device. - last_seen_time_stamp (unsigned long long): Return only samples with timestamp greater than last_seen_time_stamp. + last_seen_time_stamp (unsigned long long): Return only samples + with timestamp greater than last_seen_time_stamp. Returns: A 2-tuple containing: - - unsigned int: Pointer to caller-supplied array size, and returns number of processes running on vGPU instances. - - nvmlVgpuProcessUtilizationSample_t: Pointer to caller-supplied buffer in which vGPU sub process utilization samples are returned. + - unsigned int: Pointer to caller-supplied array size, and + returns number of processes running on vGPU instances. + - nvmlVgpuProcessUtilizationSample_t: Pointer to caller-supplied + buffer in which vGPU sub process utilization samples are + returned. .. seealso:: `nvmlDeviceGetVgpuProcessUtilization` """ @@ -25984,7 +27381,8 @@ cpdef int vgpu_instance_get_accounting_mode(unsigned int vgpu_instance) except? """Queries the state of per process accounting mode on vGPU. Args: - vgpu_instance (unsigned int): The identifier of the target vGPU instance. + vgpu_instance (unsigned int): The identifier of the target + vGPU instance. Returns: int: Reference in which to return the current accounting mode. @@ -26002,10 +27400,12 @@ cpdef object vgpu_instance_get_accounting_pids(unsigned int vgpu_instance): """Queries list of processes running on vGPU that can be queried for accounting stats. The list of processes returned can be in running or terminated state. Args: - vgpu_instance (unsigned int): The identifier of the target vGPU instance. + vgpu_instance (unsigned int): The identifier of the target + vGPU instance. Returns: - unsigned int: Reference in which to return list of process ids. + unsigned int: Reference in which to return list of process + ids. .. seealso:: `nvmlVgpuInstanceGetAccountingPids` """ @@ -26027,11 +27427,14 @@ cpdef object vgpu_instance_get_accounting_stats(unsigned int vgpu_instance, unsi """Queries process's accounting stats. Args: - vgpu_instance (unsigned int): The identifier of the target vGPU instance. - pid (unsigned int): Process Id of the target process to query stats for. + vgpu_instance (unsigned int): The identifier of the target + vGPU instance. + pid (unsigned int): Process Id of the target process to query + stats for. Returns: - nvmlAccountingStats_t: Reference in which to return the process's accounting stats. + nvmlAccountingStats_t: Reference in which to return the + process's accounting stats. .. seealso:: `nvmlVgpuInstanceGetAccountingStats` """ @@ -26047,7 +27450,8 @@ cpdef vgpu_instance_clear_accounting_pids(unsigned int vgpu_instance): """Clears accounting information of the vGPU instance that have already terminated. Args: - vgpu_instance (unsigned int): The identifier of the target vGPU instance. + vgpu_instance (unsigned int): The identifier of the target + vGPU instance. .. seealso:: `nvmlVgpuInstanceClearAccountingPids` """ @@ -26060,10 +27464,12 @@ cpdef object vgpu_instance_get_license_info_v2(unsigned int vgpu_instance): """Query the license information of the vGPU instance. Args: - vgpu_instance (unsigned int): Identifier of the target vGPU instance. + vgpu_instance (unsigned int): Identifier of the target vGPU + instance. Returns: - nvmlVgpuLicenseInfo_t: Pointer to vGPU license information structure. + nvmlVgpuLicenseInfo_t: Pointer to vGPU license information + structure. .. seealso:: `nvmlVgpuInstanceGetLicenseInfo_v2` """ @@ -26079,7 +27485,8 @@ cpdef unsigned int get_excluded_device_count() except? 0: """Retrieves the number of excluded GPU devices in the system. Returns: - unsigned int: Reference in which to return the number of excluded devices. + unsigned int: Reference in which to return the number of + excluded devices. .. seealso:: `nvmlGetExcludedDeviceCount` """ @@ -26094,10 +27501,12 @@ cpdef object get_excluded_device_info_by_index(unsigned int index): """Acquire the device information for an excluded GPU device, based on its index. Args: - index (unsigned int): The index of the target GPU, >= 0 and < ``deviceCount``. + index (unsigned int): The index of the target GPU, >= 0 and < + ``deviceCount``. Returns: - nvmlExcludedDeviceInfo_t: Reference in which to return the device information. + nvmlExcludedDeviceInfo_t: Reference in which to return the + device information. .. seealso:: `nvmlGetExcludedDeviceInfoByIndex` """ @@ -26114,7 +27523,8 @@ cpdef int device_set_mig_mode(intptr_t device, unsigned int mode) except? -1: Args: device (intptr_t): The identifier of the target device. - mode (unsigned int): The mode to be set, ``NVML_DEVICE_MIG_DISABLE`` or ``NVML_DEVICE_MIG_ENABLE``. + mode (unsigned int): The mode to be set, + ``NVML_DEVICE_MIG_DISABLE`` or ``NVML_DEVICE_MIG_ENABLE``. Returns: int: The activation_status status. @@ -26137,8 +27547,10 @@ cpdef tuple device_get_mig_mode(intptr_t device): Returns: A 2-tuple containing: - - unsigned int: Returns the current mode, ``NVML_DEVICE_MIG_DISABLE`` or ``NVML_DEVICE_MIG_ENABLE``. - - unsigned int: Returns the pending mode, ``NVML_DEVICE_MIG_DISABLE`` or ``NVML_DEVICE_MIG_ENABLE``. + - unsigned int: Returns the current mode, + ``NVML_DEVICE_MIG_DISABLE`` or ``NVML_DEVICE_MIG_ENABLE``. + - unsigned int: Returns the pending mode, + ``NVML_DEVICE_MIG_DISABLE`` or ``NVML_DEVICE_MIG_ENABLE``. .. seealso:: `nvmlDeviceGetMigMode` """ @@ -26155,10 +27567,15 @@ cpdef object device_get_gpu_instance_possible_placements_v2(intptr_t device, uns Args: device (intptr_t): The identifier of the target device. - profile_id (unsigned int): The GPU instance profile ID. See ``nvmlDeviceGetGpuInstanceProfileInfo``. + profile_id (unsigned int): The GPU instance profile ID. See + ``nvmlDeviceGetGpuInstanceProfileInfo``. Returns: - nvmlGpuInstancePlacement_t: Returns placements allowed for the profile. Can be NULL to discover number of allowed placements for this profile. If non-NULL must be large enough to accommodate the placements supported by the profile. + nvmlGpuInstancePlacement_t: Returns placements allowed for the + profile. Can be NULL to discover number of allowed + placements for this profile. If non-NULL must be large + enough to accommodate the placements supported by the + profile. .. seealso:: `nvmlDeviceGetGpuInstancePossiblePlacements_v2` """ @@ -26181,10 +27598,12 @@ cpdef unsigned int device_get_gpu_instance_remaining_capacity(intptr_t device, u Args: device (intptr_t): The identifier of the target device. - profile_id (unsigned int): The GPU instance profile ID. See ``nvmlDeviceGetGpuInstanceProfileInfo``. + profile_id (unsigned int): The GPU instance profile ID. See + ``nvmlDeviceGetGpuInstanceProfileInfo``. Returns: - unsigned int: Returns remaining instance count for the profile ID. + unsigned int: Returns remaining instance count for the profile + ID. .. seealso:: `nvmlDeviceGetGpuInstanceRemainingCapacity` """ @@ -26200,7 +27619,8 @@ cpdef intptr_t device_create_gpu_instance(intptr_t device, unsigned int profile_ Args: device (intptr_t): The identifier of the target device. - profile_id (unsigned int): The GPU instance profile ID. See ``nvmlDeviceGetGpuInstanceProfileInfo``. + profile_id (unsigned int): The GPU instance profile ID. See + ``nvmlDeviceGetGpuInstanceProfileInfo``. Returns: intptr_t: Returns the GPU instance handle. @@ -26219,8 +27639,10 @@ cpdef intptr_t device_create_gpu_instance_with_placement(intptr_t device, unsign Args: device (intptr_t): The identifier of the target device. - profile_id (unsigned int): The GPU instance profile ID. See ``nvmlDeviceGetGpuInstanceProfileInfo``. - placement (intptr_t): The requested placement. See ``nvmlDeviceGetGpuInstancePossiblePlacements_v2``. + profile_id (unsigned int): The GPU instance profile ID. See + ``nvmlDeviceGetGpuInstanceProfileInfo``. + placement (intptr_t): The requested placement. See + ``nvmlDeviceGetGpuInstancePossiblePlacements_v2``. Returns: intptr_t: Returns the GPU instance handle. @@ -26289,12 +27711,16 @@ cpdef object gpu_instance_get_compute_instance_profile_info_v(intptr_t gpu_insta """Versioned wrapper around ``nvmlGpuInstanceGetComputeInstanceProfileInfo`` that accepts a versioned ``nvmlComputeInstanceProfileInfo_v2_t`` or later output structure. Args: - gpu_instance (intptr_t): The identifier of the target GPU instance. - profile (unsigned int): One of the NVML_COMPUTE_INSTANCE_PROFILE_*. - eng_profile (unsigned int): One of the NVML_COMPUTE_INSTANCE_ENGINE_PROFILE_*. + gpu_instance (intptr_t): The identifier of the target GPU + instance. + profile (unsigned int): One of the + NVML_COMPUTE_INSTANCE_PROFILE_*. + eng_profile (unsigned int): One of the + NVML_COMPUTE_INSTANCE_ENGINE_PROFILE_*. Returns: - nvmlComputeInstanceProfileInfo_v2_t: Returns detailed profile information. + nvmlComputeInstanceProfileInfo_v2_t: Returns detailed profile + information. .. seealso:: `nvmlGpuInstanceGetComputeInstanceProfileInfoV` """ @@ -26311,11 +27737,14 @@ cpdef unsigned int gpu_instance_get_compute_instance_remaining_capacity(intptr_t """Get compute instance profile capacity. Args: - gpu_instance (intptr_t): The identifier of the target GPU instance. - profile_id (unsigned int): The compute instance profile ID. See ``nvmlGpuInstanceGetComputeInstanceProfileInfo``. + gpu_instance (intptr_t): The identifier of the target GPU + instance. + profile_id (unsigned int): The compute instance profile ID. + See ``nvmlGpuInstanceGetComputeInstanceProfileInfo``. Returns: - unsigned int: Returns remaining instance count for the profile ID. + unsigned int: Returns remaining instance count for the profile + ID. .. seealso:: `nvmlGpuInstanceGetComputeInstanceRemainingCapacity` """ @@ -26330,11 +27759,17 @@ cpdef object gpu_instance_get_compute_instance_possible_placements(intptr_t gpu_ """Get compute instance placements. Args: - gpu_instance (intptr_t): The identifier of the target GPU instance. - profile_id (unsigned int): The compute instance profile ID. See ``nvmlGpuInstanceGetComputeInstanceProfileInfo``. + gpu_instance (intptr_t): The identifier of the target GPU + instance. + profile_id (unsigned int): The compute instance profile ID. + See ``nvmlGpuInstanceGetComputeInstanceProfileInfo``. Returns: - nvmlComputeInstancePlacement_t: Returns placements allowed for the profile. Can be NULL to discover number of allowed placements for this profile. If non-NULL must be large enough to accommodate the placements supported by the profile. + nvmlComputeInstancePlacement_t: Returns placements allowed for + the profile. Can be NULL to discover number of allowed + placements for this profile. If non-NULL must be large + enough to accommodate the placements supported by the + profile. .. seealso:: `nvmlGpuInstanceGetComputeInstancePossiblePlacements` """ @@ -26356,8 +27791,10 @@ cpdef intptr_t gpu_instance_create_compute_instance(intptr_t gpu_instance, unsig """Create compute instance. Args: - gpu_instance (intptr_t): The identifier of the target GPU instance. - profile_id (unsigned int): The compute instance profile ID. See ``nvmlGpuInstanceGetComputeInstanceProfileInfo``. + gpu_instance (intptr_t): The identifier of the target GPU + instance. + profile_id (unsigned int): The compute instance profile ID. + See ``nvmlGpuInstanceGetComputeInstanceProfileInfo``. Returns: intptr_t: Returns the compute instance handle. @@ -26375,9 +27812,12 @@ cpdef intptr_t gpu_instance_create_compute_instance_with_placement(intptr_t gpu_ """Create compute instance with the specified placement. Args: - gpu_instance (intptr_t): The identifier of the target GPU instance. - profile_id (unsigned int): The compute instance profile ID. See ``nvmlGpuInstanceGetComputeInstanceProfileInfo``. - placement (intptr_t): The requested placement. See ``nvmlGpuInstanceGetComputeInstancePossiblePlacements``. + gpu_instance (intptr_t): The identifier of the target GPU + instance. + profile_id (unsigned int): The compute instance profile ID. + See ``nvmlGpuInstanceGetComputeInstanceProfileInfo``. + placement (intptr_t): The requested placement. See + ``nvmlGpuInstanceGetComputeInstancePossiblePlacements``. Returns: intptr_t: Returns the compute instance handle. @@ -26408,7 +27848,8 @@ cpdef intptr_t gpu_instance_get_compute_instance_by_id(intptr_t gpu_instance, un """Get compute instance for given instance ID. Args: - gpu_instance (intptr_t): The identifier of the target GPU instance. + gpu_instance (intptr_t): The identifier of the target GPU + instance. id (unsigned int): The compute instance ID. Returns: @@ -26430,7 +27871,8 @@ cpdef object compute_instance_get_info_v2(intptr_t compute_instance): compute_instance (intptr_t): The compute instance handle. Returns: - nvmlComputeInstanceInfo_t: Return compute instance information. + nvmlComputeInstanceInfo_t: Return compute instance + information. .. seealso:: `nvmlComputeInstanceGetInfo_v2` """ @@ -26556,7 +27998,10 @@ cpdef device_power_smoothing_activate_preset_profile(intptr_t device, intptr_t p Args: device (intptr_t): The identifier of the target device. - profile (intptr_t): Reference to ``nvmlPowerSmoothingProfile_v1_t``. Note that only ``profile->profileId`` is used and the rest of the structure is ignored. + profile (intptr_t): Reference to + ``nvmlPowerSmoothingProfile_v1_t``. Note that only + ``profile->profileId`` is used and the rest of the + structure is ignored. .. seealso:: `nvmlDevicePowerSmoothingActivatePresetProfile` """ @@ -26570,7 +28015,8 @@ cpdef device_power_smoothing_update_preset_profile_param(intptr_t device, intptr Args: device (intptr_t): The identifier of the target device. - profile (intptr_t): Reference to ``nvmlPowerSmoothingProfile_v1_t`` struct. + profile (intptr_t): Reference to + ``nvmlPowerSmoothingProfile_v1_t`` struct. .. seealso:: `nvmlDevicePowerSmoothingUpdatePresetProfileParam` """ @@ -26584,7 +28030,8 @@ cpdef device_power_smoothing_set_state(intptr_t device, intptr_t state): Args: device (intptr_t): The identifier of the target device. - state (intptr_t): Reference to ``nvmlPowerSmoothingState_v1_t``. + state (intptr_t): Reference to + ``nvmlPowerSmoothingState_v1_t``. .. seealso:: `nvmlDevicePowerSmoothingSetState` """ @@ -26600,7 +28047,8 @@ cpdef object device_get_addressing_mode(intptr_t device): device (intptr_t): The device handle. Returns: - nvmlDeviceAddressingMode_v1_t: Pointer to addressing mode of the device. + nvmlDeviceAddressingMode_v1_t: Pointer to addressing mode of + the device. .. seealso:: `nvmlDeviceGetAddressingMode` """ @@ -26640,7 +28088,8 @@ cpdef object device_get_power_mizer_mode_v1(intptr_t device): device (intptr_t): The identifier of the target device. Returns: - nvmlDevicePowerMizerModes_v1_t: Reference in which to return the power mizer mode. + nvmlDevicePowerMizerModes_v1_t: Reference in which to return + the power mizer mode. .. seealso:: `nvmlDeviceGetPowerMizerMode_v1` """ @@ -26657,7 +28106,8 @@ cpdef device_set_power_mizer_mode_v1(intptr_t device, intptr_t power_mizer_mode) Args: device (intptr_t): The identifier of the target device. - power_mizer_mode (intptr_t): Reference in which to set the power mizer mode. + power_mizer_mode (intptr_t): Reference in which to set the + power mizer mode. .. seealso:: `nvmlDeviceSetPowerMizerMode_v1` """ @@ -26686,7 +28136,8 @@ cpdef object device_get_vgpu_scheduler_state_v2(intptr_t device): device (intptr_t): The identifier of the target ``device``. Returns: - nvmlVgpuSchedulerStateInfo_v2_t: Reference in which ``p_scheduler_state_info`` is returned. + nvmlVgpuSchedulerStateInfo_v2_t: Reference in which + ``p_scheduler_state_info`` is returned. .. seealso:: `nvmlDeviceGetVgpuSchedulerState_v2` """ @@ -26705,7 +28156,8 @@ cpdef object gpu_instance_get_vgpu_scheduler_state_v2(intptr_t gpu_instance): gpu_instance (intptr_t): The GPU instance handle. Returns: - nvmlVgpuSchedulerStateInfo_v2_t: Reference in which ``p_scheduler_state_info`` is returned. + nvmlVgpuSchedulerStateInfo_v2_t: Reference in which + ``p_scheduler_state_info`` is returned. .. seealso:: `nvmlGpuInstanceGetVgpuSchedulerState_v2` """ @@ -26724,7 +28176,8 @@ cpdef object device_get_vgpu_scheduler_log_v2(intptr_t device): device (intptr_t): The identifier of the target ``device``. Returns: - nvmlVgpuSchedulerLogInfo_v2_t: Reference in which ``p_scheduler_log_info`` is written. + nvmlVgpuSchedulerLogInfo_v2_t: Reference in which + ``p_scheduler_log_info`` is written. .. seealso:: `nvmlDeviceGetVgpuSchedulerLog_v2` """ @@ -26743,7 +28196,8 @@ cpdef object gpu_instance_get_vgpu_scheduler_log_v2(intptr_t gpu_instance): gpu_instance (intptr_t): The GPU instance handle. Returns: - nvmlVgpuSchedulerLogInfo_v2_t: Reference in which ``p_scheduler_log_info`` is written. + nvmlVgpuSchedulerLogInfo_v2_t: Reference in which + ``p_scheduler_log_info`` is written. .. seealso:: `nvmlGpuInstanceGetVgpuSchedulerLog_v2` """ @@ -26760,7 +28214,8 @@ cpdef device_set_vgpu_scheduler_state_v2(intptr_t device, intptr_t p_scheduler_s Args: device (intptr_t): The identifier of the target ``device``. - p_scheduler_state (intptr_t): vGPU ``p_scheduler_state`` to set. + p_scheduler_state (intptr_t): vGPU ``p_scheduler_state`` to + set. .. seealso:: `nvmlDeviceSetVgpuSchedulerState_v2` """ @@ -26774,7 +28229,8 @@ cpdef gpu_instance_set_vgpu_scheduler_state_v2(intptr_t gpu_instance, intptr_t p Args: gpu_instance (intptr_t): The GPU instance handle. - p_scheduler_state (intptr_t): Pointer to the caller-provided structure of ``nvmlVgpuSchedulerState_v2_t``. + p_scheduler_state (intptr_t): Pointer to the caller-provided + structure of ``nvmlVgpuSchedulerState_v2_t``. .. seealso:: `nvmlGpuInstanceSetVgpuSchedulerState_v2` """ @@ -26783,6 +28239,88 @@ cpdef gpu_instance_set_vgpu_scheduler_state_v2(intptr_t gpu_instance, intptr_t p check_status(__status__) +cpdef object system_get_cper_v1(): + """Retrieves Common Platform Error Record (CPER) data. + + Returns: + nvmlGetCPER_v1_t: Pointer to an ``nvmlGetCPER_v1_t``. On entry + set ``cursor.cperTypeMask``, ``cursor.uuid`` (empty string + for all), ``cursor.handle`` (to + ``NVML_CPER_CURSOR_HANDLE_INIT`` for first call), + ``buffer`` (or NULL), ``bufferSize``. On return + ``cursor.handle`` and ``bufferSize`` are updated. + + .. seealso:: `nvmlSystemGetCPER_v1` + """ + cdef GetCPER_v1 cper_py = GetCPER_v1() + cdef nvmlGetCPER_v1_t *cper = (cper_py._get_ptr()) + with nogil: + __status__ = nvmlSystemGetCPER_v1(cper) + check_status(__status__) + return cper_py + + +cpdef object device_get_bbx_time_data_v1(intptr_t device): + """Retrieves the cumulative number of seconds the GPU has had the driver loaded. + + Args: + device (intptr_t): The identifier of the target device. + + Returns: + nvmlBBXTimeData_v1_t: Reference in which to return the + cumulative number of seconds the GPU has had the driver + loaded. + + .. seealso:: `nvmlDeviceGetBBXTimeData_v1` + """ + cdef BBXTimeData_v1 time_data_py = BBXTimeData_v1() + cdef nvmlBBXTimeData_v1_t *time_data = (time_data_py._get_ptr()) + with nogil: + __status__ = nvmlDeviceGetBBXTimeData_v1(device, time_data) + check_status(__status__) + return time_data_py + + +cpdef object device_get_accounting_stats_v2(intptr_t device): + """Queries process's accounting stats (v2). + + Args: + device (intptr_t): The identifier of the target device. + + Returns: + nvmlAccountingStats_v2_t: Reference in which to return the + process's accounting stats (v2). + + .. seealso:: `nvmlDeviceGetAccountingStats_v2` + """ + cdef AccountingStats_v2 stats_py = AccountingStats_v2() + cdef nvmlAccountingStats_v2_t *stats = (stats_py._get_ptr()) + with nogil: + __status__ = nvmlDeviceGetAccountingStats_v2(device, stats) + check_status(__status__) + return stats_py + + +cpdef object device_get_remapped_rows_v2(intptr_t device): + """Get the status of row remapper. + + Args: + device (intptr_t): The identifier of the target device. + + Returns: + nvmlRemappedRowsInfo_v2_t: Reference for + ``nvmlRemappedRowsInfo_v2_t``. + + .. seealso:: `nvmlDeviceGetRemappedRows_v2` + """ + cdef RemappedRowsInfo_v2 info_py = RemappedRowsInfo_v2() + cdef nvmlRemappedRowsInfo_v2_t *info = (info_py._get_ptr()) + with nogil: + __status__ = nvmlDeviceGetRemappedRows_v2(device, info) + check_status(__status__) + return info_py + + cpdef object system_get_topology_gpu_set(unsigned int cpuNumber): """Retrieve the set of GPUs that have a CPU affinity with the given CPU number @@ -28466,8 +30004,4 @@ cpdef str vgpu_type_get_name(unsigned int vgpu_type_id): return cpython.PyUnicode_FromStringAndSize(vgpu_type_name, size[0]) -# Cleanup some docstrings that don't parse as rst. -device_get_virtualization_mode.__doc__ = device_get_virtualization_mode.__doc__.replace("NVML_GPU_VIRTUALIZATION_?", "``NVML_GPU_VIRTUALIZATION_?``") -device_set_virtualization_mode.__doc__ = device_set_virtualization_mode.__doc__.replace("NVML_GPU_VIRTUALIZATION_?", "``NVML_GPU_VIRTUALIZATION_?``") -GpmMetricId.GPM_METRIC_DRAM_BW_UTIL.__doc__ = "Percentage of DRAM bw used vs theoretical maximum. ``0.0 - 100.0 *\u200d/``." del _cyb_FastEnum diff --git a/cuda_bindings/cuda/bindings/nvvm.pxd b/cuda_bindings/cuda/bindings/nvvm.pxd index cb97bd48714..ddff245c4ae 100644 --- a/cuda_bindings/cuda/bindings/nvvm.pxd +++ b/cuda_bindings/cuda/bindings/nvvm.pxd @@ -3,10 +3,17 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=8fba6eefce0839acab8433ec432e9759b576665fc20b6d977953041f18c0e1d2 + + + +# <<<< PREAMBLE CONTENT >>>> -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b4e10f31d2308a47fccfc9401d4f179bf61d389c1eb1491e8f9b00bf37a14ea9 from libc.stdint cimport intptr_t + +# <<<< END OF PREAMBLE CONTENT >>>> + from .cynvvm cimport * diff --git a/cuda_bindings/cuda/bindings/nvvm.pyx b/cuda_bindings/cuda/bindings/nvvm.pyx index 6d18a50f24c..3f498e4dcc7 100644 --- a/cuda_bindings/cuda/bindings/nvvm.pyx +++ b/cuda_bindings/cuda/bindings/nvvm.pyx @@ -3,19 +3,51 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=82dc56ccc695031faa515d1971c9841131d5aadc60c6d6e6cc223580fc544d16 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=21e313614dcf7f54f273dcd1ee3bbb5feb1dfff2b40a05bcd9007813856cfea8 # <<<< PREAMBLE CONTENT >>>> +cimport cpython as _cyb_cpython +from libc.stdint cimport intptr_t as _cyb_intptr_t + from cuda.bindings._internal._fast_enum import FastEnum as _cyb_FastEnum +cdef int _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: + cdef void* ptr + cdef int flags = _cyb_cpython.PyBUF_ANY_CONTIGUOUS + if not readonly: + flags |= _cyb_cpython.PyBUF_WRITABLE + cdef int status = -1 + cdef _cyb_cpython.Py_buffer view + if isinstance(buf, int): + ptr = <_cyb_intptr_t>buf + else: + try: + status = _cyb_cpython.PyObject_GetBuffer(buf, &view, flags) + if size != -1: + assert view.len == size + assert view.ndim == 1 + except Exception as e: + adj = "writable " if not readonly else "" + raise ValueError( + "buf must be either a Python int representing the pointer " + f"address to a valid buffer, or a 1D contiguous {adj}" + f"buffer, of size {size}" + ) from e + else: + ptr = view.buf + finally: + if status == 0: + _cyb_cpython.PyBuffer_Release(&view) + return ptr + # <<<< END OF PREAMBLE CONTENT >>>> cimport cython # NOQA -from ._internal.utils cimport (get_buffer_pointer, get_nested_resource_ptr, +from ._internal.utils cimport (get_nested_resource_ptr, nested_resource) @@ -162,13 +194,15 @@ cpdef add_module_to_program(intptr_t prog, buffer, size_t size, name): Args: prog (intptr_t): NVVM program. - buffer (bytes): NVVM IR module in the bitcode or text representation. + buffer (bytes): NVVM IR module in the bitcode or text + representation. size (size_t): Size of the NVVM IR module. - name (str): Name of the NVVM IR module. If NULL, "" is used as the name. + name (str): Name of the NVVM IR module. If NULL, "" + is used as the name. .. seealso:: `nvvmAddModuleToProgram` """ - cdef void* _buffer_ = get_buffer_pointer(buffer, size, readonly=True) + cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, size, readonly=True) if not isinstance(name, str): raise TypeError("name must be a Python str") cdef bytes _temp_name_ = (name).encode() @@ -185,11 +219,12 @@ cpdef lazy_add_module_to_program(intptr_t prog, buffer, size_t size, name): prog (intptr_t): NVVM program. buffer (bytes): NVVM IR module in the bitcode representation. size (size_t): Size of the NVVM IR module. - name (str): Name of the NVVM IR module. If NULL, "" is used as the name. + name (str): Name of the NVVM IR module. If NULL, "" + is used as the name. .. seealso:: `nvvmLazyAddModuleToProgram` """ - cdef void* _buffer_ = get_buffer_pointer(buffer, size, readonly=True) + cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, size, readonly=True) if not isinstance(name, str): raise TypeError("name must be a Python str") cdef bytes _temp_name_ = (name).encode() @@ -205,7 +240,8 @@ cpdef compile_program(intptr_t prog, int num_options, options): Args: prog (intptr_t): NVVM program. num_options (int): Number of compiler ``options`` passed. - options (object): Compiler options in the form of C string array. It can be: + options (object): Compiler options in the form of C string + array. It can be: - an :class:`int` as the pointer address to the nested sequence, or - a Python sequence of :class:`int`\s, each of which is a pointer address @@ -228,7 +264,8 @@ cpdef verify_program(intptr_t prog, int num_options, options): Args: prog (intptr_t): NVVM program. num_options (int): Number of compiler ``options`` passed. - options (object): Compiler options in the form of C string array. It can be: + options (object): Compiler options in the form of C string + array. It can be: - an :class:`int` as the pointer address to the nested sequence, or - a Python sequence of :class:`int`\s, each of which is a pointer address @@ -252,7 +289,8 @@ cpdef size_t get_compiled_result_size(intptr_t prog) except? 0: prog (intptr_t): NVVM program. Returns: - size_t: Size of the compiled result (including the trailing NULL). + size_t: Size of the compiled result (including the trailing + NULL). .. seealso:: `nvvmGetCompiledResultSize` """ @@ -272,7 +310,7 @@ cpdef get_compiled_result(intptr_t prog, buffer): .. seealso:: `nvvmGetCompiledResult` """ - cdef void* _buffer_ = get_buffer_pointer(buffer, -1, readonly=False) + cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, -1, readonly=False) with nogil: __status__ = nvvmGetCompiledResult(prog, _buffer_) check_status(__status__) @@ -285,7 +323,8 @@ cpdef size_t get_program_log_size(intptr_t prog) except? 0: prog (intptr_t): NVVM program. Returns: - size_t: Size of the compilation/verification log (including the trailing NULL). + size_t: Size of the compilation/verification log (including + the trailing NULL). .. seealso:: `nvvmGetProgramLogSize` """ @@ -305,7 +344,7 @@ cpdef get_program_log(intptr_t prog, buffer): .. seealso:: `nvvmGetProgramLog` """ - cdef void* _buffer_ = get_buffer_pointer(buffer, -1, readonly=False) + cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, -1, readonly=False) with nogil: __status__ = nvvmGetProgramLog(prog, _buffer_) check_status(__status__) diff --git a/cuda_bindings/docs/source/module/driver.rst b/cuda_bindings/docs/source/module/driver.rst index 30f5186bc3e..474f72ed5ea 100644 --- a/cuda_bindings/docs/source/module/driver.rst +++ b/cuda_bindings/docs/source/module/driver.rst @@ -1,7 +1,9 @@ .. SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. .. SPDX-License-Identifier: Apache-2.0 -.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=8e10c6e13ee5f533eba6bc00dde11788062fb728155770cbfb7f2e3aab69b54a +.. This code was automatically generated with version 12.9.0. Do not modify it directly. + +.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=3341eb958de99a8a92ef2f17b31e2e2e5a40e5ba4f563a8bb1e4d94239154141 ------ driver ------ @@ -5974,10 +5976,6 @@ Data types used by CUDA driver CUDA API version number -.. autoattribute:: cuda.bindings.driver.CU_UUID_HAS_BEEN_DEFINED - - CUDA UUID types - .. autoattribute:: cuda.bindings.driver.CU_IPC_HANDLE_SIZE CUDA IPC handle size @@ -6008,7 +6006,6 @@ Data types used by CUDA driver .. autoattribute:: cuda.bindings.driver.CU_COMPUTE_ACCELERATED_TARGET_BASE .. autoattribute:: cuda.bindings.driver.CU_COMPUTE_FAMILY_TARGET_BASE -.. autoattribute:: cuda.bindings.driver.CUDA_CB .. autoattribute:: cuda.bindings.driver.CU_GRAPH_COND_ASSIGN_DEFAULT Conditional node handle flags Default value is applied when graph is launched. @@ -7236,7 +7233,6 @@ Even if the green contexts have disjoint SM partitions, it is not guaranteed tha .. autoclass:: cuda.bindings.driver.CUdevResourceDesc .. autoclass:: cuda.bindings.driver.CUdevSmResource -.. autofunction:: cuda.bindings.driver._CONCAT_OUTER .. autofunction:: cuda.bindings.driver.cuGreenCtxCreate .. autofunction:: cuda.bindings.driver.cuGreenCtxDestroy .. autofunction:: cuda.bindings.driver.cuCtxFromGreenCtx @@ -7251,8 +7247,6 @@ Even if the green contexts have disjoint SM partitions, it is not guaranteed tha .. autofunction:: cuda.bindings.driver.cuGreenCtxStreamCreate .. autoattribute:: cuda.bindings.driver.RESOURCE_ABI_VERSION .. autoattribute:: cuda.bindings.driver.RESOURCE_ABI_EXTERNAL_BYTES -.. autoattribute:: cuda.bindings.driver._CONCAT_INNER -.. autoattribute:: cuda.bindings.driver._CONCAT_OUTER Error Log Management Functions ------------------------------ diff --git a/cuda_bindings/docs/source/module/nvrtc.rst b/cuda_bindings/docs/source/module/nvrtc.rst index 37580174193..ec7bf2863b4 100644 --- a/cuda_bindings/docs/source/module/nvrtc.rst +++ b/cuda_bindings/docs/source/module/nvrtc.rst @@ -1,7 +1,9 @@ .. SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. .. SPDX-License-Identifier: Apache-2.0 -.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=aeed4e592810bdbba98ec50df2758a33df25dbe2de430acadf302002d9942fa3 +.. This code was automatically generated with version 12.9.0. Do not modify it directly. + +.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=94543d1d167795e83519d0d89c96062e57b7ca1809e2188bbfe019d3eca16cb3 ----- nvrtc ----- diff --git a/cuda_bindings/docs/source/module/runtime.rst b/cuda_bindings/docs/source/module/runtime.rst index 63c8806b498..271116021e0 100644 --- a/cuda_bindings/docs/source/module/runtime.rst +++ b/cuda_bindings/docs/source/module/runtime.rst @@ -1,7 +1,9 @@ .. SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. .. SPDX-License-Identifier: Apache-2.0 -.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=eb8f3c65cb9b34e507ec109b67497ce209248a5e0faf14fb611e2d34b9c51f08 +.. This code was automatically generated with version 12.9.0. Do not modify it directly. + +.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=9471dcb7815306c7978746e132235eac637aad52a8d9aca8ee6c1f492a866769 ------- runtime ------- @@ -3785,7 +3787,7 @@ Data types used by CUDA Runtime Valid for graph nodes, launches. This attribute is graphs-only, and passing it to a launch in a non-capturing stream will result in an error. - :cudaLaunchAttributeValue::deviceUpdatableKernelNode::deviceUpdatable can only be set to 0 or 1. Setting the field to 1 indicates that the corresponding kernel node should be device-updatable. On success, a handle will be returned via :py:obj:`~.cudaLaunchAttributeValue.deviceUpdatableKernelNode.devNode` which can be passed to the various device-side update functions to update the node's kernel parameters from within another kernel. For more information on the types of device updates that can be made, as well as the relevant limitations thereof, see :py:obj:`~.cudaGraphKernelNodeUpdatesApply`. + :py:obj:`~.cudaLaunchAttributeValue.deviceUpdatableKernelNode.deviceUpdatable` can only be set to 0 or 1. Setting the field to 1 indicates that the corresponding kernel node should be device-updatable. On success, a handle will be returned via :py:obj:`~.cudaLaunchAttributeValue.deviceUpdatableKernelNode.devNode` which can be passed to the various device-side update functions to update the node's kernel parameters from within another kernel. For more information on the types of device updates that can be made, as well as the relevant limitations thereof, see :py:obj:`~.cudaGraphKernelNodeUpdatesApply`. Nodes which are device-updatable have additional restrictions compared to regular kernel nodes. Firstly, device-updatable nodes cannot be removed from their graph via :py:obj:`~.cudaGraphDestroyNode`. Additionally, once opted-in to this functionality, a node cannot opt out, and any attempt to set the deviceUpdatable attribute to 0 will result in an error. Device-updatable kernel nodes also cannot have their attributes copied to/from another kernel node via :py:obj:`~.cudaGraphKernelNodeCopyAttributes`. Graphs containing one or more device-updatable nodes also do not allow multiple instantiation, and neither the graph nor its instantiated version can be passed to :py:obj:`~.cudaGraphExecUpdate`. @@ -4870,15 +4872,10 @@ Data types used by CUDA Runtime Indicates that the layered sparse CUDA array or CUDA mipmapped array has a single mip tail region for all layers -.. autoattribute:: cuda.bindings.runtime.CUDART_CB .. autoattribute:: cuda.bindings.runtime.cudaMemPoolCreateUsageHwDecompress This flag, if set, indicates that the memory will be used as a buffer for hardware accelerated decompression. -.. autoattribute:: cuda.bindings.runtime.CU_UUID_HAS_BEEN_DEFINED - - CUDA UUID types - .. autoattribute:: cuda.bindings.runtime.CUDA_IPC_HANDLE_SIZE CUDA IPC Handle Size @@ -4915,14 +4912,11 @@ Data types used by CUDA Runtime This port activates when all blocks of the kernel have begun execution. See also :py:obj:`~.cudaLaunchAttributeLaunchCompletionEvent`. -.. autoattribute:: cuda.bindings.runtime.cudaStreamAttrID .. autoattribute:: cuda.bindings.runtime.cudaStreamAttributeAccessPolicyWindow .. autoattribute:: cuda.bindings.runtime.cudaStreamAttributeSynchronizationPolicy .. autoattribute:: cuda.bindings.runtime.cudaStreamAttributeMemSyncDomainMap .. autoattribute:: cuda.bindings.runtime.cudaStreamAttributeMemSyncDomain .. autoattribute:: cuda.bindings.runtime.cudaStreamAttributePriority -.. autoattribute:: cuda.bindings.runtime.cudaStreamAttrValue -.. autoattribute:: cuda.bindings.runtime.cudaKernelNodeAttrID .. autoattribute:: cuda.bindings.runtime.cudaKernelNodeAttributeAccessPolicyWindow .. autoattribute:: cuda.bindings.runtime.cudaKernelNodeAttributeCooperative .. autoattribute:: cuda.bindings.runtime.cudaKernelNodeAttributePriority @@ -4932,7 +4926,6 @@ Data types used by CUDA Runtime .. autoattribute:: cuda.bindings.runtime.cudaKernelNodeAttributeMemSyncDomain .. autoattribute:: cuda.bindings.runtime.cudaKernelNodeAttributePreferredSharedMemoryCarveout .. autoattribute:: cuda.bindings.runtime.cudaKernelNodeAttributeDeviceUpdatableKernelNode -.. autoattribute:: cuda.bindings.runtime.cudaKernelNodeAttrValue .. autoattribute:: cuda.bindings.runtime.cudaSurfaceType1D .. autoattribute:: cuda.bindings.runtime.cudaSurfaceType2D .. autoattribute:: cuda.bindings.runtime.cudaSurfaceType3D From e7c0af68907abd5f3737244a26fb8ab3c9683e61 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 11 Aug 2026 16:44:13 -0400 Subject: [PATCH 2/2] Fix get_buffer_pointer --- cuda_bindings/cuda/bindings/nvfatbin.pyx | 26 +++++++++++------------ cuda_bindings/cuda/bindings/nvjitlink.pyx | 24 ++++++++++----------- cuda_bindings/cuda/bindings/nvvm.pyx | 20 ++++++++--------- 3 files changed, 35 insertions(+), 35 deletions(-) diff --git a/cuda_bindings/cuda/bindings/nvfatbin.pyx b/cuda_bindings/cuda/bindings/nvfatbin.pyx index 1cbe3794eb5..0e485dd80dc 100644 --- a/cuda_bindings/cuda/bindings/nvfatbin.pyx +++ b/cuda_bindings/cuda/bindings/nvfatbin.pyx @@ -3,25 +3,25 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.4.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=c62920508a430e4c4fe921907da4b519becae045487a6a8c006484153df9341d +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=464151e9be344b663eb001d24b780328f477470afca263a03384394a057b74bd # <<<< PREAMBLE CONTENT >>>> cimport cpython as _cyb_cpython -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport intptr_t from cuda.bindings._internal._fast_enum import FastEnum as _cyb_FastEnum -cdef int _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: - cdef void* ptr +cdef intptr_t _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: + cdef intptr_t ptr cdef int flags = _cyb_cpython.PyBUF_ANY_CONTIGUOUS if not readonly: flags |= _cyb_cpython.PyBUF_WRITABLE cdef int status = -1 cdef _cyb_cpython.Py_buffer view if isinstance(buf, int): - ptr = <_cyb_intptr_t>buf + ptr = buf else: try: status = _cyb_cpython.PyObject_GetBuffer(buf, &view, flags) @@ -36,7 +36,7 @@ cdef int _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: f"buffer, of size {size}" ) from e else: - ptr = view.buf + ptr = view.buf finally: if status == 0: _cyb_cpython.PyBuffer_Release(&view) @@ -188,7 +188,7 @@ cpdef add_ptx(intptr_t handle, code, size_t size, arch, identifier, options_cmd_ .. seealso:: `nvFatbinAddPTX` """ - cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) if not isinstance(arch, str): raise TypeError("arch must be a Python str") cdef bytes _temp_arch_ = (arch).encode() @@ -220,7 +220,7 @@ cpdef add_cubin(intptr_t handle, code, size_t size, arch, identifier): .. seealso:: `nvFatbinAddCubin` """ - cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) if not isinstance(arch, str): raise TypeError("arch must be a Python str") cdef bytes _temp_arch_ = (arch).encode() @@ -249,7 +249,7 @@ cpdef add_ltoir(intptr_t handle, code, size_t size, arch, identifier, options_cm .. seealso:: `nvFatbinAddLTOIR` """ - cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) if not isinstance(arch, str): raise TypeError("arch must be a Python str") cdef bytes _temp_arch_ = (arch).encode() @@ -294,7 +294,7 @@ cpdef get(intptr_t handle, buffer): .. seealso:: `nvFatbinGet` """ - cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, -1, readonly=False) + cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, -1, readonly=False) with nogil: __status__ = nvFatbinGet(handle, _buffer_) check_status(__status__) @@ -320,7 +320,7 @@ cpdef tuple version(): cpdef add_index(intptr_t handle, code, size_t size, identifier): - cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) if not isinstance(identifier, str): raise TypeError("identifier must be a Python str") cdef bytes _temp_identifier_ = (identifier).encode() @@ -340,7 +340,7 @@ cpdef add_reloc(intptr_t handle, code, size_t size): .. seealso:: `nvFatbinAddReloc` """ - cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) with nogil: __status__ = nvFatbinAddReloc(handle, _code_, size) check_status(__status__) @@ -359,7 +359,7 @@ cpdef add_tile_ir(intptr_t handle, code, size_t size, identifier, options_cmd_li .. seealso:: `nvFatbinAddTileIR` """ - cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) + cdef void* _code_ = _cyb_get_buffer_pointer(code, size, readonly=True) if not isinstance(identifier, str): raise TypeError("identifier must be a Python str") cdef bytes _temp_identifier_ = (identifier).encode() diff --git a/cuda_bindings/cuda/bindings/nvjitlink.pyx b/cuda_bindings/cuda/bindings/nvjitlink.pyx index 3fc6cb50111..89076249cf9 100644 --- a/cuda_bindings/cuda/bindings/nvjitlink.pyx +++ b/cuda_bindings/cuda/bindings/nvjitlink.pyx @@ -3,28 +3,28 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=0ff9b5041843049905190d3047d5e57c62b273f69c85787fd04a71f5a1e9b37a +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=4f142d6dd069dd459052ff17e4e585b764e7a8b4298051df3c6c0d39e1c67ded # <<<< PREAMBLE CONTENT >>>> cimport cpython as _cyb_cpython from libc.stdint cimport ( - intptr_t as _cyb_intptr_t, + intptr_t, uint32_t, ) from cuda.bindings._internal._fast_enum import FastEnum as _cyb_FastEnum -cdef int _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: - cdef void* ptr +cdef intptr_t _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: + cdef intptr_t ptr cdef int flags = _cyb_cpython.PyBUF_ANY_CONTIGUOUS if not readonly: flags |= _cyb_cpython.PyBUF_WRITABLE cdef int status = -1 cdef _cyb_cpython.Py_buffer view if isinstance(buf, int): - ptr = <_cyb_intptr_t>buf + ptr = buf else: try: status = _cyb_cpython.PyObject_GetBuffer(buf, &view, flags) @@ -39,7 +39,7 @@ cdef int _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: f"buffer, of size {size}" ) from e else: - ptr = view.buf + ptr = view.buf finally: if status == 0: _cyb_cpython.PyBuffer_Release(&view) @@ -187,7 +187,7 @@ cpdef add_data(intptr_t handle, int input_type, data, size_t size, name): .. seealso:: `nvJitLinkAddData` """ - cdef void* _data_ = _cyb_get_buffer_pointer(data, size, readonly=True) + cdef void* _data_ = _cyb_get_buffer_pointer(data, size, readonly=True) if not isinstance(name, str): raise TypeError("name must be a Python str") cdef bytes _temp_name_ = (name).encode() @@ -256,7 +256,7 @@ cpdef get_linked_cubin(intptr_t handle, cubin): .. seealso:: `nvJitLinkGetLinkedCubin` """ - cdef void* _cubin_ = _cyb_get_buffer_pointer(cubin, -1, readonly=False) + cdef void* _cubin_ = _cyb_get_buffer_pointer(cubin, -1, readonly=False) with nogil: __status__ = nvJitLinkGetLinkedCubin(handle, _cubin_) check_status(__status__) @@ -289,7 +289,7 @@ cpdef get_linked_ptx(intptr_t handle, ptx): .. seealso:: `nvJitLinkGetLinkedPtx` """ - cdef void* _ptx_ = _cyb_get_buffer_pointer(ptx, -1, readonly=False) + cdef void* _ptx_ = _cyb_get_buffer_pointer(ptx, -1, readonly=False) with nogil: __status__ = nvJitLinkGetLinkedPtx(handle, _ptx_) check_status(__status__) @@ -322,7 +322,7 @@ cpdef get_error_log(intptr_t handle, log): .. seealso:: `nvJitLinkGetErrorLog` """ - cdef void* _log_ = _cyb_get_buffer_pointer(log, -1, readonly=False) + cdef void* _log_ = _cyb_get_buffer_pointer(log, -1, readonly=False) with nogil: __status__ = nvJitLinkGetErrorLog(handle, _log_) check_status(__status__) @@ -355,7 +355,7 @@ cpdef get_info_log(intptr_t handle, log): .. seealso:: `nvJitLinkGetInfoLog` """ - cdef void* _log_ = _cyb_get_buffer_pointer(log, -1, readonly=False) + cdef void* _log_ = _cyb_get_buffer_pointer(log, -1, readonly=False) with nogil: __status__ = nvJitLinkGetInfoLog(handle, _log_) check_status(__status__) @@ -407,7 +407,7 @@ cpdef get_linked_ltoir(intptr_t handle, ltoir): .. seealso:: `nvJitLinkGetLinkedLTOIR` """ - cdef void* _ltoir_ = _cyb_get_buffer_pointer(ltoir, -1, readonly=False) + cdef void* _ltoir_ = _cyb_get_buffer_pointer(ltoir, -1, readonly=False) with nogil: __status__ = nvJitLinkGetLinkedLTOIR(handle, _ltoir_) check_status(__status__) diff --git a/cuda_bindings/cuda/bindings/nvvm.pyx b/cuda_bindings/cuda/bindings/nvvm.pyx index 3f498e4dcc7..b6e8a13f1cb 100644 --- a/cuda_bindings/cuda/bindings/nvvm.pyx +++ b/cuda_bindings/cuda/bindings/nvvm.pyx @@ -3,25 +3,25 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.0.1 to 13.3.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=21e313614dcf7f54f273dcd1ee3bbb5feb1dfff2b40a05bcd9007813856cfea8 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=a82258bb2654bea18f6bce657324bdbbee8b8b0b30d2a0021e792ba5f95fa9a4 # <<<< PREAMBLE CONTENT >>>> cimport cpython as _cyb_cpython -from libc.stdint cimport intptr_t as _cyb_intptr_t +from libc.stdint cimport intptr_t from cuda.bindings._internal._fast_enum import FastEnum as _cyb_FastEnum -cdef int _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: - cdef void* ptr +cdef intptr_t _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: + cdef intptr_t ptr cdef int flags = _cyb_cpython.PyBUF_ANY_CONTIGUOUS if not readonly: flags |= _cyb_cpython.PyBUF_WRITABLE cdef int status = -1 cdef _cyb_cpython.Py_buffer view if isinstance(buf, int): - ptr = <_cyb_intptr_t>buf + ptr = buf else: try: status = _cyb_cpython.PyObject_GetBuffer(buf, &view, flags) @@ -36,7 +36,7 @@ cdef int _cyb_get_buffer_pointer(buf, Py_ssize_t size, readonly=True) except?-1: f"buffer, of size {size}" ) from e else: - ptr = view.buf + ptr = view.buf finally: if status == 0: _cyb_cpython.PyBuffer_Release(&view) @@ -202,7 +202,7 @@ cpdef add_module_to_program(intptr_t prog, buffer, size_t size, name): .. seealso:: `nvvmAddModuleToProgram` """ - cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, size, readonly=True) + cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, size, readonly=True) if not isinstance(name, str): raise TypeError("name must be a Python str") cdef bytes _temp_name_ = (name).encode() @@ -224,7 +224,7 @@ cpdef lazy_add_module_to_program(intptr_t prog, buffer, size_t size, name): .. seealso:: `nvvmLazyAddModuleToProgram` """ - cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, size, readonly=True) + cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, size, readonly=True) if not isinstance(name, str): raise TypeError("name must be a Python str") cdef bytes _temp_name_ = (name).encode() @@ -310,7 +310,7 @@ cpdef get_compiled_result(intptr_t prog, buffer): .. seealso:: `nvvmGetCompiledResult` """ - cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, -1, readonly=False) + cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, -1, readonly=False) with nogil: __status__ = nvvmGetCompiledResult(prog, _buffer_) check_status(__status__) @@ -344,7 +344,7 @@ cpdef get_program_log(intptr_t prog, buffer): .. seealso:: `nvvmGetProgramLog` """ - cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, -1, readonly=False) + cdef void* _buffer_ = _cyb_get_buffer_pointer(buffer, -1, readonly=False) with nogil: __status__ = nvvmGetProgramLog(prog, _buffer_) check_status(__status__)