From 21afbb369575b60efc231ec1adbbb4e8f7ed5a63 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 24 Nov 2026 07:23:41 -0500 Subject: [PATCH] Catchup generated code --- cuda_bindings_12/cuda/bindings/cufile.pxd | 4 +- cuda_bindings_12/cuda/bindings/cufile.pyx | 296 +++++++------- cuda_bindings_12/cuda/bindings/cycufile.pxd | 26 +- cuda_bindings_12/cuda/bindings/cynvml.pxd | 3 +- cuda_bindings_12/cuda/bindings/cyruntime.pxd | 55 +-- cuda_bindings_12/cuda/bindings/driver.pxd | 20 +- cuda_bindings_12/cuda/bindings/driver.pyx | 86 ++-- cuda_bindings_12/cuda/bindings/nvml.pyx | 34 +- cuda_bindings_12/cuda/bindings/runtime.pxd | 6 +- cuda_bindings_12/cuda/bindings/runtime.pyx | 66 ++-- .../docs/source/module/driver.rst | 122 +++--- .../docs/source/module/runtime.rst | 133 +++---- cuda_bindings_13/cuda/bindings/_v2/driver.pyx | 149 ++++--- cuda_bindings_13/cuda/bindings/cufile.pxd | 4 +- cuda_bindings_13/cuda/bindings/cufile.pyx | 372 +++++++++--------- cuda_bindings_13/cuda/bindings/cycufile.pxd | 26 +- cuda_bindings_13/cuda/bindings/cydriver.pxd | 3 +- cuda_bindings_13/cuda/bindings/cynvml.pxd | 3 +- cuda_bindings_13/cuda/bindings/cyruntime.pxd | 59 +-- cuda_bindings_13/cuda/bindings/driver.pxd | 20 +- cuda_bindings_13/cuda/bindings/driver.pyx | 103 +++-- cuda_bindings_13/cuda/bindings/nvml.pyx | 34 +- cuda_bindings_13/cuda/bindings/runtime.pxd | 6 +- cuda_bindings_13/cuda/bindings/runtime.pyx | 96 ++--- .../docs/source/module/driver.rst | 142 ++++--- .../docs/source/module/runtime.rst | 163 +++----- 26 files changed, 917 insertions(+), 1114 deletions(-) diff --git a/cuda_bindings_12/cuda/bindings/cufile.pxd b/cuda_bindings_12/cuda/bindings/cufile.pxd index 9b8b510ed916..97ecafe2855a 100644 --- a/cuda_bindings_12/cuda/bindings/cufile.pxd +++ b/cuda_bindings_12/cuda/bindings/cufile.pxd @@ -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=d258ab09c1e0f379fdda911b1088aaecef867845f2c2a93095a0a311679d95e2 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=655aa3f4d39228f19b8eff38336deea991f07b766c3c6cb728a8cb811cb5e56e @@ -26,8 +26,8 @@ ctypedef CUfileHandle_t Handle ctypedef CUfileBatchHandle_t BatchHandle ctypedef CUfileError_t Error ctypedef cufileRDMAInfo_t RDMAInfo -ctypedef CUfileFSOps_t FSOps ctypedef CUfileDrvProps_t DrvProps +ctypedef CUfileFSOps_t FSOps ############################################################################### diff --git a/cuda_bindings_12/cuda/bindings/cufile.pyx b/cuda_bindings_12/cuda/bindings/cufile.pyx index 273e24581ba2..250c46a32cf5 100644 --- a/cuda_bindings_12/cuda/bindings/cufile.pyx +++ b/cuda_bindings_12/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=5c0f0ede5957fb7cbd597e6b23620fecb7128a0740b00a6313f8a4b1c79846f3 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=865a4efd24ea9f23c4d6f195b4930ba426924724e91ce087bad87a6ecc43507d # <<<< PREAMBLE CONTENT >>>> @@ -615,6 +615,153 @@ cdef class IOEvents: return obj +cdef _get__py_anon_pod2_dtype_offsets(): + cdef cuda_bindings_cufile__anon_pod2 *pod = _cyb_calloc(1, sizeof(cuda_bindings_cufile__anon_pod2)) + if pod == NULL: + raise MemoryError("Error allocating cuda_bindings_cufile__anon_pod2") + try: + return _numpy.dtype({ + 'names': ['batch'], + 'formats': [_py_anon_pod3_dtype], + 'offsets': [ + (&(pod.batch)) - (pod), + ], + 'itemsize': sizeof(cuda_bindings_cufile__anon_pod2), + }) + finally: + _cyb_free(pod) + +_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`. + + + .. seealso:: `cuda_bindings_cufile__anon_pod2` + """ + cdef: + cuda_bindings_cufile__anon_pod2 *_ptr + object _owner + bint _owns_ptr + bint _readonly + + def __init__(self): + self._ptr = _cyb_calloc(1, sizeof(cuda_bindings_cufile__anon_pod2)) + if self._ptr == NULL: + raise MemoryError("Error allocating _py_anon_pod2") + self._owns_ptr = True + self._owner = None + self._readonly = False + + def __dealloc__(self): + cdef cuda_bindings_cufile__anon_pod2 *ptr + if self._owns_ptr and self._ptr != NULL: + ptr = self._ptr + self._ptr = NULL + _cyb_free(ptr) + + def __repr__(self): + return f"<{__name__}._py_anon_pod2 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 _py_anon_pod2 other_ + if not isinstance(other, _py_anon_pod2): + return False + other_ = other + return (_cyb_memcmp((self._ptr), (other_._ptr), sizeof(cuda_bindings_cufile__anon_pod2)) == 0) + + def __getbuffer__(self, _cyb_cpython.Py_buffer *buffer, int flags): + _cyb___getbuffer(self, buffer, self._ptr, sizeof(cuda_bindings_cufile__anon_pod2), self._readonly) + + def __releasebuffer__(self, Py_buffer *buffer): + pass + + def __setitem__(self, key, val): + cdef _cyb_Py_buffer view + if key == 0: + if self._readonly: + raise ValueError("This _py_anon_pod2 instance is read-only") + _cyb_PyObject_GetBuffer(val, &view, _cyb_PyBUF_SIMPLE) + try: + if view.len < sizeof(cuda_bindings_cufile__anon_pod2): + raise ValueError( + "source buffer too small: expected at least %d bytes, got %d" % (sizeof(cuda_bindings_cufile__anon_pod2), view.len) + ) + _cyb_memmove(self._ptr, view.buf, sizeof(cuda_bindings_cufile__anon_pod2)) + self._readonly = view.readonly != 0 + finally: + _cyb_PyBuffer_Release(&view) + else: + setattr(self, key, val) + + @property + def batch(self): + """_py_anon_pod3: """ + return _py_anon_pod3.from_ptr( + &(self._ptr[0].batch), + readonly=self._readonly, + owner=self, + ) + + @batch.setter + def batch(self, val): + if self._readonly: + raise ValueError("This _py_anon_pod2 instance is read-only") + cdef _py_anon_pod3 val_ = val + _cyb_memcpy(&(self._ptr[0].batch), (val_._get_ptr()), sizeof(cuda_bindings_cufile__anon_pod3) * 1) + + @staticmethod + def from_buffer(buffer): + """Create an _py_anon_pod2 instance with the memory from the given buffer.""" + return _cyb_from_buffer(buffer, sizeof(cuda_bindings_cufile__anon_pod2), _py_anon_pod2) + + @staticmethod + def from_data(data): + """Create an _py_anon_pod2 instance wrapping the given NumPy array. + + Args: + data (_numpy.ndarray): a single-element array of dtype `_py_anon_pod2_dtype` holding the data. + """ + return _cyb_from_data(data, "_py_anon_pod2_dtype", _py_anon_pod2_dtype, _py_anon_pod2) + + @staticmethod + def from_ptr(intptr_t ptr, bint readonly=False, object owner=None): + """Create an _py_anon_pod2 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 _py_anon_pod2 obj = _py_anon_pod2.__new__(_py_anon_pod2) + if owner is None: + obj._ptr = _cyb_malloc(sizeof(cuda_bindings_cufile__anon_pod2)) + if obj._ptr == NULL: + raise MemoryError("Error allocating _py_anon_pod2") + _cyb_memcpy((obj._ptr), ptr, sizeof(cuda_bindings_cufile__anon_pod2)) + obj._owns_ptr = True + obj._owner = None + else: + obj._ptr = ptr + obj._owns_ptr = False + obj._owner = owner + obj._readonly = readonly + return obj + + cdef _get_descr_dtype_offsets(): cdef CUfileDescr_t *pod = _cyb_calloc(1, sizeof(CUfileDescr_t)) if pod == NULL: @@ -800,153 +947,6 @@ cdef class Descr: return obj -cdef _get__py_anon_pod2_dtype_offsets(): - cdef cuda_bindings_cufile__anon_pod2 *pod = _cyb_calloc(1, sizeof(cuda_bindings_cufile__anon_pod2)) - if pod == NULL: - raise MemoryError("Error allocating cuda_bindings_cufile__anon_pod2") - try: - return _numpy.dtype({ - 'names': ['batch'], - 'formats': [_py_anon_pod3_dtype], - 'offsets': [ - (&(pod.batch)) - (pod), - ], - 'itemsize': sizeof(cuda_bindings_cufile__anon_pod2), - }) - finally: - _cyb_free(pod) - -_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`. - - - .. seealso:: `cuda_bindings_cufile__anon_pod2` - """ - cdef: - cuda_bindings_cufile__anon_pod2 *_ptr - object _owner - bint _owns_ptr - bint _readonly - - def __init__(self): - self._ptr = _cyb_calloc(1, sizeof(cuda_bindings_cufile__anon_pod2)) - if self._ptr == NULL: - raise MemoryError("Error allocating _py_anon_pod2") - self._owns_ptr = True - self._owner = None - self._readonly = False - - def __dealloc__(self): - cdef cuda_bindings_cufile__anon_pod2 *ptr - if self._owns_ptr and self._ptr != NULL: - ptr = self._ptr - self._ptr = NULL - _cyb_free(ptr) - - def __repr__(self): - return f"<{__name__}._py_anon_pod2 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 _py_anon_pod2 other_ - if not isinstance(other, _py_anon_pod2): - return False - other_ = other - return (_cyb_memcmp((self._ptr), (other_._ptr), sizeof(cuda_bindings_cufile__anon_pod2)) == 0) - - def __getbuffer__(self, _cyb_cpython.Py_buffer *buffer, int flags): - _cyb___getbuffer(self, buffer, self._ptr, sizeof(cuda_bindings_cufile__anon_pod2), self._readonly) - - def __releasebuffer__(self, Py_buffer *buffer): - pass - - def __setitem__(self, key, val): - cdef _cyb_Py_buffer view - if key == 0: - if self._readonly: - raise ValueError("This _py_anon_pod2 instance is read-only") - _cyb_PyObject_GetBuffer(val, &view, _cyb_PyBUF_SIMPLE) - try: - if view.len < sizeof(cuda_bindings_cufile__anon_pod2): - raise ValueError( - "source buffer too small: expected at least %d bytes, got %d" % (sizeof(cuda_bindings_cufile__anon_pod2), view.len) - ) - _cyb_memmove(self._ptr, view.buf, sizeof(cuda_bindings_cufile__anon_pod2)) - self._readonly = view.readonly != 0 - finally: - _cyb_PyBuffer_Release(&view) - else: - setattr(self, key, val) - - @property - def batch(self): - """_py_anon_pod3: """ - return _py_anon_pod3.from_ptr( - &(self._ptr[0].batch), - readonly=self._readonly, - owner=self, - ) - - @batch.setter - def batch(self, val): - if self._readonly: - raise ValueError("This _py_anon_pod2 instance is read-only") - cdef _py_anon_pod3 val_ = val - _cyb_memcpy(&(self._ptr[0].batch), (val_._get_ptr()), sizeof(cuda_bindings_cufile__anon_pod3) * 1) - - @staticmethod - def from_buffer(buffer): - """Create an _py_anon_pod2 instance with the memory from the given buffer.""" - return _cyb_from_buffer(buffer, sizeof(cuda_bindings_cufile__anon_pod2), _py_anon_pod2) - - @staticmethod - def from_data(data): - """Create an _py_anon_pod2 instance wrapping the given NumPy array. - - Args: - data (_numpy.ndarray): a single-element array of dtype `_py_anon_pod2_dtype` holding the data. - """ - return _cyb_from_data(data, "_py_anon_pod2_dtype", _py_anon_pod2_dtype, _py_anon_pod2) - - @staticmethod - def from_ptr(intptr_t ptr, bint readonly=False, object owner=None): - """Create an _py_anon_pod2 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 _py_anon_pod2 obj = _py_anon_pod2.__new__(_py_anon_pod2) - if owner is None: - obj._ptr = _cyb_malloc(sizeof(cuda_bindings_cufile__anon_pod2)) - if obj._ptr == NULL: - raise MemoryError("Error allocating _py_anon_pod2") - _cyb_memcpy((obj._ptr), ptr, sizeof(cuda_bindings_cufile__anon_pod2)) - obj._owns_ptr = True - obj._owner = None - else: - obj._ptr = ptr - obj._owns_ptr = False - obj._owner = owner - obj._readonly = readonly - return obj - - cdef _get_io_params_dtype_offsets(): cdef CUfileIOParams_t *pod = _cyb_calloc(1, sizeof(CUfileIOParams_t)) if pod == NULL: diff --git a/cuda_bindings_12/cuda/bindings/cycufile.pxd b/cuda_bindings_12/cuda/bindings/cycufile.pxd index 9072a6420ad1..689183090047 100644 --- a/cuda_bindings_12/cuda/bindings/cycufile.pxd +++ b/cuda_bindings_12/cuda/bindings/cycufile.pxd @@ -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=3eb9d86dd8b3d2b8b241bc23f2706f73b456a6d9eab5a83d910a9057ce0a8ab2 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=3b8b25417027fecbe1f002168775e688c2af62826825699a84a775ab43c46b23 # <<<< PREAMBLE CONTENT >>>> @@ -202,14 +202,6 @@ cdef extern from 'cufile.h': int desc_len char* desc_str -cdef extern from 'cufile.h': - ctypedef struct CUfileFSOps_t 'CUfileFSOps_t': - char* (*fs_type)(void*) - int (*getRDMADeviceList)(void*, sockaddr_t**) - int (*getRDMADevicePriority)(void*, char*, size_t, loff_t, sockaddr_t*) - ssize_t (*read)(void*, char*, size_t, loff_t, cufileRDMAInfo_t*) - ssize_t (*write)(void*, const char*, size_t, loff_t, cufileRDMAInfo_t*) - cdef extern from 'cufile.h': ctypedef union cuda_bindings_cufile__anon_pod1 "std::remove_all_extentshandle)>::type": int fd @@ -239,15 +231,23 @@ cdef extern from 'cufile.h': unsigned int max_batch_io_timeout_msecs cdef extern from 'cufile.h': - ctypedef struct CUfileDescr_t 'CUfileDescr_t': - CUfileFileHandleType type - cuda_bindings_cufile__anon_pod1 handle - CUfileFSOps_t* fs_ops + ctypedef struct CUfileFSOps_t 'CUfileFSOps_t': + char* (*fs_type)(void*) + int (*getRDMADeviceList)(void*, sockaddr_t**) + int (*getRDMADevicePriority)(void*, char*, size_t, loff_t, sockaddr_t*) + ssize_t (*read)(void*, char*, size_t, loff_t, cufileRDMAInfo_t*) + ssize_t (*write)(void*, const char*, size_t, loff_t, cufileRDMAInfo_t*) cdef extern from 'cufile.h': ctypedef union cuda_bindings_cufile__anon_pod2 "std::remove_all_extentsu)>::type": cuda_bindings_cufile__anon_pod3 batch +cdef extern from 'cufile.h': + ctypedef struct CUfileDescr_t 'CUfileDescr_t': + CUfileFileHandleType type + cuda_bindings_cufile__anon_pod1 handle + CUfileFSOps_t* fs_ops + cdef extern from 'cufile.h': ctypedef struct CUfileIOParams_t 'CUfileIOParams_t': CUfileBatchMode_t mode diff --git a/cuda_bindings_12/cuda/bindings/cynvml.pxd b/cuda_bindings_12/cuda/bindings/cynvml.pxd index 6b7077f0fa84..44af9e1e18ab 100644 --- a/cuda_bindings_12/cuda/bindings/cynvml.pxd +++ b/cuda_bindings_12/cuda/bindings/cynvml.pxd @@ -11,7 +11,7 @@ ############################################################################### # enums -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=2c738c3fcedf7ae3325451885afecee74d7aa012ce8cf57d351957d5f22e02fc +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=18f24866cadb434b5312ebe3aa384030731e3b319ab6535781ee95f25ab32ff4 ctypedef enum nvmlBridgeChipType_t "nvmlBridgeChipType_t": NVML_BRIDGE_CHIP_PLX "NVML_BRIDGE_CHIP_PLX" = 0 NVML_BRIDGE_CHIP_BRO4 "NVML_BRIDGE_CHIP_BRO4" = 1 @@ -20,7 +20,6 @@ ctypedef enum nvmlNvLinkUtilizationCountUnits_t "nvmlNvLinkUtilizationCountUnits NVML_NVLINK_COUNTER_UNIT_CYCLES "NVML_NVLINK_COUNTER_UNIT_CYCLES" = 0 NVML_NVLINK_COUNTER_UNIT_PACKETS "NVML_NVLINK_COUNTER_UNIT_PACKETS" = 1 NVML_NVLINK_COUNTER_UNIT_BYTES "NVML_NVLINK_COUNTER_UNIT_BYTES" = 2 - NVML_NVLINK_COUNTER_UNIT_RESERVED "NVML_NVLINK_COUNTER_UNIT_RESERVED" = 3 NVML_NVLINK_COUNTER_UNIT_COUNT "NVML_NVLINK_COUNTER_UNIT_COUNT" ctypedef enum nvmlNvLinkUtilizationCountPktTypes_t "nvmlNvLinkUtilizationCountPktTypes_t": diff --git a/cuda_bindings_12/cuda/bindings/cyruntime.pxd b/cuda_bindings_12/cuda/bindings/cyruntime.pxd index f729a32c14f2..25e65c9072bb 100644 --- a/cuda_bindings_12/cuda/bindings/cyruntime.pxd +++ b/cuda_bindings_12/cuda/bindings/cyruntime.pxd @@ -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=3b4da42728210e76f79e896fe70d8167e7dff92ec533e35a6ee4cf78234c272c +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=66f0dc47b5b0224a0d37244fcb24d79b32bffa16d6cb90703cdca4e9851f790a # <<<< PREAMBLE CONTENT >>>> @@ -655,9 +655,6 @@ cdef extern from 'driver_types.h': cudaDevAttrConcurrentManagedAccess cudaDevAttrComputePreemptionSupported cudaDevAttrCanUseHostPointerForRegisteredMem - cudaDevAttrReserved92 - cudaDevAttrReserved93 - cudaDevAttrReserved94 cudaDevAttrCooperativeLaunch cudaDevAttrCooperativeMultiDeviceLaunch cudaDevAttrMaxSharedMemoryPerBlockOptin @@ -680,24 +677,16 @@ cdef extern from 'driver_types.h': cudaDevAttrMemoryPoolSupportedHandleTypes cudaDevAttrClusterLaunch cudaDevAttrDeferredMappingCudaArraySupported - cudaDevAttrReserved122 - cudaDevAttrReserved123 - cudaDevAttrReserved124 cudaDevAttrIpcEventSupport cudaDevAttrMemSyncDomainCount - cudaDevAttrReserved127 - cudaDevAttrReserved128 - cudaDevAttrReserved129 cudaDevAttrNumaConfig cudaDevAttrNumaId - cudaDevAttrReserved132 cudaDevAttrMpsEnabled cudaDevAttrHostNumaId cudaDevAttrD3D12CigSupported cudaDevAttrVulkanCigSupported cudaDevAttrGpuPciDeviceId cudaDevAttrGpuPciSubsystemId - cudaDevAttrReserved141 cudaDevAttrHostNumaMemoryPoolsSupported cudaDevAttrHostNumaMultinodeIpcSupported cudaDevAttrMax @@ -1952,6 +1941,12 @@ cdef extern from 'driver_types.h': cuda_bindings_runtime__anon_pod37 info ctypedef cudaAsyncNotificationInfo cudaAsyncNotificationInfo_t +cdef extern from 'driver_types.h': + cdef struct cudaLaunchAttribute_st: + cudaLaunchAttributeID id + cudaLaunchAttributeValue val + ctypedef cudaLaunchAttribute_st cudaLaunchAttribute + cdef extern from 'driver_types.h': cdef struct cudaResourceDesc: cudaResourceType resType @@ -1986,6 +1981,16 @@ cdef extern from 'driver_types.h': cudaExternalSemaphoreWaitParams* paramsArray unsigned int numExtSems +cdef extern from 'driver_types.h': + cdef struct cudaLaunchConfig_st: + dim3 gridDim + dim3 blockDim + size_t dynamicSmemBytes + cudaStream_t stream + cudaLaunchAttribute* attrs + unsigned int numAttrs + ctypedef cudaLaunchConfig_st cudaLaunchConfig_t + cdef extern from 'driver_types.h': cdef struct cudaMemcpy3DBatchOp: cudaMemcpy3DOperand src @@ -2013,32 +2018,6 @@ cdef extern from 'driver_types.h': cudaConditionalNodeParams conditional long long reserved2 -cdef extern from 'driver_types.h': - # cudaLaunchAttribute_st is SKIPped (sizeof-based array dimension in pad field). - # Declared here (after the enum and type sections) so that cudaLaunchAttributeID and - # cudaLaunchAttributeValue are already in scope — Cython requires forward types to - # be visible at the point of use even inside cdef extern from blocks. - # Field types must match the legacy_cython_gen ABI baseline for __pyx_capi__ compat. - ctypedef struct cudaLaunchAttribute_st 'cudaLaunchAttribute_st': - cudaLaunchAttributeID id - cudaLaunchAttributeValue val - -cdef extern from 'driver_types.h': - ctypedef cudaLaunchAttribute_st cudaLaunchAttribute 'cudaLaunchAttribute' - -# cudaLaunchConfig_st references cudaLaunchAttribute* so it must follow the above. -# Declared here rather than auto-generated (which would land in type_decls, before -# cudaLaunchAttribute) to satisfy Cython's forward-declaration requirement. -cdef extern from '': - cdef struct cudaLaunchConfig_st: - dim3 gridDim - dim3 blockDim - size_t dynamicSmemBytes - cudaStream_t stream - cudaLaunchAttribute* attrs - unsigned int numAttrs - ctypedef cudaLaunchConfig_st cudaLaunchConfig_t - cdef extern from 'cuda_runtime_api.h': ctypedef void (*cudaAsyncCallback)(cudaAsyncNotificationInfo_t* info, void* userData, cudaAsyncCallbackHandle_t handle) nogil diff --git a/cuda_bindings_12/cuda/bindings/driver.pxd b/cuda_bindings_12/cuda/bindings/driver.pxd index 34e40b48056b..0c241b679014 100644 --- a/cuda_bindings_12/cuda/bindings/driver.pxd +++ b/cuda_bindings_12/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=4d4cb508b0b226880a8e9e24027fb1293f1b021a5fcb86e08449a96f37d9cf3c +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=4079b4242be5092549310515156f68764291afe36dbf37ed7d167ee4fe9c28b8 cimport cuda.bindings.cydriver as cydriver include "_lib/utils.pxd" @@ -3077,7 +3077,7 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st: handle : anon_union5 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -3230,7 +3230,7 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st: handle : anon_union6 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int @@ -3826,7 +3826,7 @@ cdef class CUarrayMapInfo_st: offset : unsigned long long - Offset within mip tail Offset within the memory + Offset within the memory deviceBitMask : unsigned int @@ -8132,7 +8132,7 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1(CUDA_EXTERNAL_MEMORY_HANDLE_DESC_ handle : anon_union5 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -8162,7 +8162,7 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC(CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1) handle : anon_union5 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -8298,7 +8298,7 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1(CUDA_EXTERNAL_SEMAPHORE_HANDLE handle : anon_union6 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int @@ -8324,7 +8324,7 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC(CUDA_EXTERNAL_SEMAPHORE_HANDLE_DE handle : anon_union6 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int @@ -8665,7 +8665,7 @@ cdef class CUarrayMapInfo_v1(CUarrayMapInfo_st): offset : unsigned long long - Offset within mip tail Offset within the memory + Offset within the memory deviceBitMask : unsigned int @@ -8720,7 +8720,7 @@ cdef class CUarrayMapInfo(CUarrayMapInfo_v1): offset : unsigned long long - Offset within mip tail Offset within the memory + Offset within the memory deviceBitMask : unsigned int diff --git a/cuda_bindings_12/cuda/bindings/driver.pyx b/cuda_bindings_12/cuda/bindings/driver.pyx index b2208732f35c..21eab3312f02 100644 --- a/cuda_bindings_12/cuda/bindings/driver.pyx +++ b/cuda_bindings_12/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=e99438cba367ec2bee3420a771067ba7d33770c5c4cb189b770f59d56e8ace8c +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=fe9c4110e9554534d458e075b5f06db2cce063086d7803738d8c6cf8d95b2312 from typing import Any, Optional import cython import ctypes @@ -17028,7 +17028,7 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st: handle : anon_union5 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -17450,7 +17450,7 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st: handle : anon_union6 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int @@ -19140,7 +19140,7 @@ cdef class CUarrayMapInfo_st: offset : unsigned long long - Offset within mip tail Offset within the memory + Offset within the memory deviceBitMask : unsigned int @@ -32190,21 +32190,22 @@ def cuMemGetHandleForAddressRange(dptr, size_t size, handleType not None : CUmem size. When requesting - CUmemRangeHandleType::CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD, users are - expected to query for dma_buf support for the platform by using - :py:obj:`~.CU_DEVICE_ATTRIBUTE_DMA_BUF_SUPPORTED` device attribute - before calling this API. The `handle` will be interpreted as a pointer - to an integer to store the dma_buf file descriptor. Users must ensure - the entire address range is backed and mapped when the address range is - allocated by :py:obj:`~.cuMemAddressReserve`. All the physical - allocations backing the address range must be resident on the same - device and have identical allocation properties. Users are also + :py:obj:`~.CUmemRangeHandleType.CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD`, + users are expected to query for dma_buf support for the platform by + using :py:obj:`~.CU_DEVICE_ATTRIBUTE_DMA_BUF_SUPPORTED` device + attribute before calling this API. The `handle` will be interpreted as + a pointer to an integer to store the dma_buf file descriptor. Users + must ensure the entire address range is backed and mapped when the + address range is allocated by :py:obj:`~.cuMemAddressReserve`. All the + physical allocations backing the address range must be resident on the + same device and have identical allocation properties. Users are also expected to retrieve a new handle every time the underlying physical allocation(s) corresponding to a previously queried VA range are changed. - For CUmemRangeHandleType::CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD, users - may set flags to + For + :py:obj:`~.CUmemRangeHandleType.CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD`, + users may set flags to :py:obj:`~.CU_MEM_RANGE_FLAG_DMA_BUF_MAPPING_TYPE_PCIE`. Which when set on a supported platform, will give a DMA_BUF handle mapped via PCIE BAR1 or will return an error otherwise. @@ -32221,9 +32222,10 @@ def cuMemGetHandleForAddressRange(dptr, size_t size, handleType not None : CUmem output parameter) flags : unsigned long long When requesting - CUmemRangeHandleType::CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD the value - could be :py:obj:`~.CU_MEM_RANGE_FLAG_DMA_BUF_MAPPING_TYPE_PCIE`, - otherwise 0. + :py:obj:`~.CUmemRangeHandleType.CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD` + the value could be + :py:obj:`~.CU_MEM_RANGE_FLAG_DMA_BUF_MAPPING_TYPE_PCIE`, otherwise + 0. Returns ------- @@ -37558,8 +37560,9 @@ def cuImportExternalMemory(memHandleDesc : Optional[CUDA_EXTERNAL_MEMORY_HANDLE_ be NULL. If :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is returned - by ID3D12Device::CreateSharedHandle when referring to a ID3D12Heap - object. This handle holds a reference to the underlying object. If + by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring to a + ID3D12Heap object. This handle holds a reference to the underlying + object. If :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a ID3D12Heap object. @@ -37571,8 +37574,9 @@ def cuImportExternalMemory(memHandleDesc : Optional[CUDA_EXTERNAL_MEMORY_HANDLE_ not be NULL. If :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is returned - by ID3D12Device::CreateSharedHandle when referring to a ID3D12Resource - object. This handle holds a reference to the underlying object. If + by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring to a + ID3D12Resource object. This handle holds a reference to the underlying + object. If :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a ID3D12Resource object. @@ -37581,8 +37585,8 @@ def cuImportExternalMemory(memHandleDesc : Optional[CUDA_EXTERNAL_MEMORY_HANDLE_ :py:obj:`~.CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE`, then :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle` must represent a valid shared NT handle that is returned by - IDXGIResource1::CreateSharedHandle when referring to a ID3D11Resource - object. If + :py:obj:`~.IDXGIResource1.CreateSharedHandle` when referring to a + ID3D11Resource object. If :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a ID3D11Resource object. @@ -37591,8 +37595,8 @@ def cuImportExternalMemory(memHandleDesc : Optional[CUDA_EXTERNAL_MEMORY_HANDLE_ :py:obj:`~.CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE_KMT`, then :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle` must represent a valid shared KMT handle that is returned by - IDXGIResource::GetSharedHandle when referring to a ID3D11Resource - object and + :py:obj:`~.IDXGIResource.GetSharedHandle` when referring to a + ID3D11Resource object and :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name` must be NULL. @@ -37880,9 +37884,9 @@ def cuImportExternalSemaphore(semHandleDesc : Optional[CUDA_EXTERNAL_SEMAPHORE_H not be NULL. If :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is - returned by ID3D12Device::CreateSharedHandle when referring to a - ID3D12Fence object. This handle holds a reference to the underlying - object. If + returned by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring + to a ID3D12Fence object. This handle holds a reference to the + underlying object. If :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name` is not NULL, then it must name a valid synchronization object that refers to a valid ID3D12Fence object. @@ -37891,7 +37895,7 @@ def cuImportExternalSemaphore(semHandleDesc : Optional[CUDA_EXTERNAL_SEMAPHORE_H :py:obj:`~.CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE`, then :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle` represents a valid shared NT handle that is returned by - ID3D11Fence::CreateSharedHandle. If + :py:obj:`~.ID3D11Fence.CreateSharedHandle`. If :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name` is not NULL, then it must name a valid synchronization object that refers to a valid ID3D11Fence object. @@ -37904,8 +37908,8 @@ def cuImportExternalSemaphore(semHandleDesc : Optional[CUDA_EXTERNAL_SEMAPHORE_H :py:obj:`~.CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX`, then :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle` represents a valid shared NT handle that is returned by - IDXGIResource1::CreateSharedHandle when referring to a IDXGIKeyedMutex - object. If + :py:obj:`~.IDXGIResource1.CreateSharedHandle` when referring to a + IDXGIKeyedMutex object. If :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name` is not NULL, then it must name a valid synchronization object that refers to a valid IDXGIKeyedMutex object. @@ -37915,8 +37919,8 @@ def cuImportExternalSemaphore(semHandleDesc : Optional[CUDA_EXTERNAL_SEMAPHORE_H then :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle` represents a valid shared KMT handle that is returned by - IDXGIResource::GetSharedHandle when referring to a IDXGIKeyedMutex - object and + :py:obj:`~.IDXGIResource.GetSharedHandle` when referring to a + IDXGIKeyedMutex object and :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name` must be NULL. @@ -49556,14 +49560,14 @@ def cuCoredumpGetAttribute(attrib not None : CUcoredumpSettings): - :py:obj:`~.CU_COREDUMP_FILE`: String of up to 1023 characters that defines the location where any coredumps generated by this context will be written. The default value is - :py:obj:`~.core`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is the + :py:obj:`~.core.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA applications and :py:obj:`~.PID` is the process ID of the CUDA application. - :py:obj:`~.CU_COREDUMP_PIPE`: String of up to 1023 characters that defines the name of the pipe that will be monitored if user-triggered coredumps are enabled. The default value is - :py:obj:`~.corepipe`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is + :py:obj:`~.corepipe.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA application and :py:obj:`~.PID` is the process ID of the CUDA application. @@ -49669,14 +49673,14 @@ def cuCoredumpGetAttributeGlobal(attrib not None : CUcoredumpSettings): - :py:obj:`~.CU_COREDUMP_FILE`: String of up to 1023 characters that defines the location where any coredumps generated by this context will be written. The default value is - :py:obj:`~.core`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is the + :py:obj:`~.core.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA applications and :py:obj:`~.PID` is the process ID of the CUDA application. - :py:obj:`~.CU_COREDUMP_PIPE`: String of up to 1023 characters that defines the name of the pipe that will be monitored if user-triggered coredumps are enabled. The default value is - :py:obj:`~.corepipe`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is + :py:obj:`~.corepipe.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA application and :py:obj:`~.PID` is the process ID of the CUDA application. @@ -49796,7 +49800,7 @@ def cuCoredumpSetAttribute(attrib not None : CUcoredumpSettings, value): - :py:obj:`~.CU_COREDUMP_FILE`: String of up to 1023 characters that defines the location where any coredumps generated by this context will be written. The default value is - :py:obj:`~.core`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is the + :py:obj:`~.core.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA applications and :py:obj:`~.PID` is the process ID of the CUDA application. @@ -49910,7 +49914,7 @@ def cuCoredumpSetAttributeGlobal(attrib not None : CUcoredumpSettings, value): - :py:obj:`~.CU_COREDUMP_FILE`: String of up to 1023 characters that defines the location where any coredumps generated by this context will be written. The default value is - :py:obj:`~.core`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is the + :py:obj:`~.core.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA applications and :py:obj:`~.PID` is the process ID of the CUDA application. @@ -49919,7 +49923,7 @@ def cuCoredumpSetAttributeGlobal(attrib not None : CUcoredumpSettings, value): coredumps are enabled. This value may not be changed after :py:obj:`~.CU_COREDUMP_ENABLE_USER_TRIGGER` is set to :py:obj:`~.true`. The default value is - :py:obj:`~.corepipe`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is + :py:obj:`~.corepipe.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA application and :py:obj:`~.PID` is the process ID of the CUDA application. diff --git a/cuda_bindings_12/cuda/bindings/nvml.pyx b/cuda_bindings_12/cuda/bindings/nvml.pyx index 54a3dddfbd03..960fc0e4de4e 100644 --- a/cuda_bindings_12/cuda/bindings/nvml.pyx +++ b/cuda_bindings_12/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.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=82df971c247cf6ab3e4aed0e3fa58bcfc88508a419b3dcd9f099182445ca41cd +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=9ee117b62b84a62a8a0110bcfb87436ca6e1e8637a88d8a9e94c654dd7f9e94a # <<<< PREAMBLE CONTENT >>>> @@ -127,8 +127,6 @@ class NvLinkUtilizationCountUnits(_cyb_FastEnum): NVLINK_COUNTER_UNIT_PACKETS = PACKETS # backward-compat alias BYTES = NVML_NVLINK_COUNTER_UNIT_BYTES NVLINK_COUNTER_UNIT_BYTES = BYTES # backward-compat alias - RESERVED = NVML_NVLINK_COUNTER_UNIT_RESERVED - NVLINK_COUNTER_UNIT_RESERVED = RESERVED # backward-compat alias COUNT = NVML_NVLINK_COUNTER_UNIT_COUNT NVLINK_COUNTER_UNIT_COUNT = COUNT # backward-compat alias @@ -2132,7 +2130,7 @@ class GpuOperationalEventContextType(_cyb_FastEnum): NVML-defined GPU Operational Event context classifications. These values describe the NVML public interpretation of a context payload. The original source-defined context type is returned separately in - `nvmlEventSetGetContextInfo_v1_t.sourceEventContextType`. + ``nvmlEventSetGetContextInfo_v1_t.sourceEventContextType``. See `nvmlGpuOperationalEventContextType_t`. """ @@ -31525,7 +31523,7 @@ cpdef str system_get_driver_version(): For all products. The version identifier is an alphanumeric string. It will not exceed 80 characters in length (including the NULL terminator). See - nvmlConstants::NVML_SYSTEM_DRIVER_VERSION_BUFFER_SIZE. + ``nvmlConstants.NVML_SYSTEM_DRIVER_VERSION_BUFFER_SIZE``. Returns: str: Reference in which to return the version identifier. @@ -31552,7 +31550,7 @@ cpdef str system_get_nvml_version(): This query is available in the MPS locality-domain view described in ``MPS Locality Domain Device Enumeration``. The version identifier is an alphanumeric string. It will not exceed 80 characters in length (including the NULL - terminator). See nvmlConstants::NVML_SYSTEM_NVML_VERSION_BUFFER_SIZE. + terminator). See ``nvmlConstants.NVML_SYSTEM_NVML_VERSION_BUFFER_SIZE``. .. seealso:: `nvmlSystemGetNVMLVersion` """ cdef unsigned int length = 80 @@ -32071,7 +32069,7 @@ cpdef str device_get_name(intptr_t device): For all products. The name is an alphanumeric string that denotes a particular product, e.g. Tesla ™️ C2070. It will not exceed 96 characters in length (including the NULL - terminator). See nvmlConstants::NVML_DEVICE_NAME_V2_BUFFER_SIZE. + terminator). See ``nvmlConstants.NVML_DEVICE_NAME_V2_BUFFER_SIZE``. When used with MIG device handles the API returns MIG device names which can be used to identify devices based on their attributes. @@ -32158,7 +32156,7 @@ cpdef str device_get_serial(intptr_t device): The serial number is an alphanumeric string that will not exceed 30 characters (including the NULL terminator). This number matches the serial number tag that is physically attached to the board. See - nvmlConstants::NVML_DEVICE_SERIAL_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_SERIAL_BUFFER_SIZE``. Args: device (intptr_t): The identifier of the target device. @@ -32444,7 +32442,7 @@ cpdef str device_get_uuid(intptr_t device): The UUID is a globally unique identifier. It is the only available identifier for pre-Fermi-architecture products. It does NOT correspond to any identifier printed on the board. It will not exceed 96 characters in length (including the - NULL terminator). See nvmlConstants::NVML_DEVICE_UUID_V2_BUFFER_SIZE. + NULL terminator). See ``nvmlConstants.NVML_DEVICE_UUID_V2_BUFFER_SIZE``. When used with MIG device handles the API returns globally unique UUIDs which can be used to identify MIG devices across both GPU and MIG devices. UUIDs are immutable for the lifetime of a MIG device. @@ -32518,7 +32516,7 @@ cpdef str device_get_inforom_version(intptr_t device, int object): info, such as aggregate ECC counts. The version of the data structures in this memory may change from time to time. It will not exceed 16 characters in length (including the NULL terminator). See - nvmlConstants::NVML_DEVICE_INFOROM_VERSION_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_INFOROM_VERSION_BUFFER_SIZE``. See ``nvmlInforomObject_t`` for details on the available infoROM objects. Args: @@ -32546,7 +32544,7 @@ cpdef str device_get_inforom_image_version(intptr_t device): the infoROM flashed on the board in contrast to infoROM object version which is only an indicator of supported features. Version string will not exceed 16 characters in length (including the NULL terminator). See - nvmlConstants::NVML_DEVICE_INFOROM_VERSION_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_INFOROM_VERSION_BUFFER_SIZE``. Args: device (intptr_t): The identifier of the target device. @@ -34299,7 +34297,7 @@ cpdef str device_get_vbios_version(intptr_t device): For all products. The VBIOS version may change from time to time. It will not exceed 32 characters in length (including the NULL terminator). See - nvmlConstants::NVML_DEVICE_VBIOS_VERSION_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_VBIOS_VERSION_BUFFER_SIZE``. Args: device (intptr_t): The identifier of the target device. @@ -36586,7 +36584,7 @@ cpdef object device_get_creatable_vgpus(intptr_t device): cpdef str vgpu_type_get_class(unsigned int vgpu_type_id): - """Retrieve the class of a vGPU type. It will not exceed 64 characters in length (including the NUL terminator). See nvmlConstants::NVML_DEVICE_NAME_BUFFER_SIZE. + """Retrieve the class of a vGPU type. It will not exceed 64 characters in length (including the NUL terminator). See ``nvmlConstants.NVML_DEVICE_NAME_BUFFER_SIZE``. For Kepler ™️ or newer fully supported devices. @@ -36730,7 +36728,7 @@ cpdef str vgpu_type_get_license(unsigned int vgpu_type_id): "GRID-Virtual-PC,2.0;GRID-Virtual-WS,2.0;GRID-Virtual-WS-Ext,2.0". The total length of the returned string will not exceed 128 characters, including the NUL terminator. See - nvmlVgpuConstants::NVML_GRID_LICENSE_BUFFER_SIZE. + ``nvmlVgpuConstants.NVML_GRID_LICENSE_BUFFER_SIZE``. For Kepler ™️ or newer fully supported devices. Args: @@ -36878,7 +36876,7 @@ cpdef tuple vgpu_instance_get_vm_id(unsigned int vgpu_instance): The VM ID is returned as a string, not exceeding 80 characters in length (including the NUL terminator). See - nvmlConstants::NVML_DEVICE_UUID_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_UUID_BUFFER_SIZE``. The format of the VM ID varies by platform, and is indicated by the type identifier returned in ``vm_idType``. For Kepler ™️ or newer fully supported devices. @@ -36909,7 +36907,7 @@ cpdef str vgpu_instance_get_uuid(unsigned int vgpu_instance): The UUID is a globally unique identifier associated with the vGPU, and is returned as a 5-part hexadecimal string, not exceeding 80 characters in length (including the NULL terminator). See - nvmlConstants::NVML_DEVICE_UUID_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_UUID_BUFFER_SIZE``. For Kepler ™️ or newer fully supported devices. Args: @@ -36935,7 +36933,7 @@ cpdef str vgpu_instance_get_vm_driver_version(unsigned int vgpu_instance): The version is returned as an alphanumeric string in the caller-supplied buffer ``version``. The length of the version string will not exceed 80 characters in length (including the NUL terminator). See - nvmlConstants::NVML_SYSTEM_DRIVER_VERSION_BUFFER_SIZE. + ``nvmlConstants.NVML_SYSTEM_DRIVER_VERSION_BUFFER_SIZE``. :func:`vgpu_instance_get_vm_driver_version` may be called at any time for a vGPU instance. The guest VM driver version is returned as "Not Available" if no NVIDIA driver is installed in the VM, or the VM has not yet booted to the point @@ -37320,7 +37318,7 @@ cpdef str vgpu_instance_get_mdev_uuid(unsigned int vgpu_instance): The MDEV UUID is a globally unique identifier of the mdev device assigned to the VM, and is returned as a 5-part hexadecimal string, not exceeding 80 characters in length (including the NULL terminator). MDEV UUID is displayed - only on KVM platform. See nvmlConstants::NVML_DEVICE_UUID_BUFFER_SIZE. + only on KVM platform. See ``nvmlConstants.NVML_DEVICE_UUID_BUFFER_SIZE``. For Maxwell ™️ or newer fully supported devices. Args: diff --git a/cuda_bindings_12/cuda/bindings/runtime.pxd b/cuda_bindings_12/cuda/bindings/runtime.pxd index 4bfa9688b9a7..92c2faff822c 100644 --- a/cuda_bindings_12/cuda/bindings/runtime.pxd +++ b/cuda_bindings_12/cuda/bindings/runtime.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=e37caaa1e8ae8cd3cacfe6435e9bfb594046a60a2bc58562dc66534aae3786eb +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=bf16804e891bbf22b888caa1177522fff40a8717c3b3839edb3710f421469c23 cimport cuda.bindings.cyruntime as cyruntime include "_lib/utils.pxd" @@ -2240,7 +2240,7 @@ cdef class cudaExternalMemoryHandleDesc: handle : anon_union2 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -2405,7 +2405,7 @@ cdef class cudaExternalSemaphoreHandleDesc: handle : anon_union3 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int diff --git a/cuda_bindings_12/cuda/bindings/runtime.pyx b/cuda_bindings_12/cuda/bindings/runtime.pyx index 215191ef316e..94c7e7c30b44 100644 --- a/cuda_bindings_12/cuda/bindings/runtime.pyx +++ b/cuda_bindings_12/cuda/bindings/runtime.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=be66dc3db6a8e66386b35398ce32c2a7f5edc02e1aa834f0f3c1c77c20d8d8e3 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=2da2fe6aa3afea8441096e9ab9c05ed2c5ef601ba6718ca55697f431d2b85498 from typing import Any, Optional import cython import ctypes @@ -4289,12 +4289,6 @@ class cudaDeviceAttr(_FastEnum): 'CPU\n' ) - cudaDevAttrReserved92 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved92 - - cudaDevAttrReserved93 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved93 - - cudaDevAttrReserved94 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved94 - cudaDevAttrCooperativeLaunch = ( cyruntime.cudaDeviceAttr.cudaDevAttrCooperativeLaunch, @@ -4438,12 +4432,6 @@ class cudaDeviceAttr(_FastEnum): 'Device supports deferred mapping CUDA arrays and CUDA mipmapped arrays\n' ) - cudaDevAttrReserved122 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved122 - - cudaDevAttrReserved123 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved123 - - cudaDevAttrReserved124 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved124 - cudaDevAttrIpcEventSupport = ( cyruntime.cudaDeviceAttr.cudaDevAttrIpcEventSupport, @@ -4456,12 +4444,6 @@ class cudaDeviceAttr(_FastEnum): 'Number of memory synchronization domains the device supports.\n' ) - cudaDevAttrReserved127 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved127 - - cudaDevAttrReserved128 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved128 - - cudaDevAttrReserved129 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved129 - cudaDevAttrNumaConfig = ( cyruntime.cudaDeviceAttr.cudaDevAttrNumaConfig, @@ -4475,8 +4457,6 @@ class cudaDeviceAttr(_FastEnum): 'NUMA node ID of the GPU memory\n' ) - cudaDevAttrReserved132 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved132 - cudaDevAttrMpsEnabled = ( cyruntime.cudaDeviceAttr.cudaDevAttrMpsEnabled, @@ -4514,8 +4494,6 @@ class cudaDeviceAttr(_FastEnum): 'The combined 16-bit PCI subsystem ID and 16-bit PCI subsystem vendor ID.\n' ) - cudaDevAttrReserved141 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved141 - cudaDevAttrHostNumaMemoryPoolsSupported = ( cyruntime.cudaDeviceAttr.cudaDevAttrHostNumaMemoryPoolsSupported, @@ -13019,7 +12997,7 @@ cdef class cudaExternalMemoryHandleDesc: handle : anon_union2 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -13481,7 +13459,7 @@ cdef class cudaExternalSemaphoreHandleDesc: handle : anon_union3 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int @@ -22592,8 +22570,8 @@ def cudaImportExternalMemory(memHandleDesc : Optional[cudaExternalMemoryHandleDe :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` must not be NULL. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is - returned by ID3D12Device::CreateSharedHandle when referring to a - ID3D12Heap object. This handle holds a reference to the underlying + returned by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring + to a ID3D12Heap object. This handle holds a reference to the underlying object. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a ID3D12Heap object. @@ -22604,11 +22582,12 @@ def cudaImportExternalMemory(memHandleDesc : Optional[cudaExternalMemoryHandleDe :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` must not be NULL. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is - returned by ID3D12Device::CreateSharedHandle when referring to a - ID3D12Resource object. This handle holds a reference to the underlying - object. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` - is not NULL, then it must point to a NULL-terminated array of UTF-16 - characters that refers to a ID3D12Resource object. + returned by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring + to a ID3D12Resource object. This handle holds a reference to the + underlying object. If + :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` is not NULL, + then it must point to a NULL-terminated array of UTF-16 characters that + refers to a ID3D12Resource object. If :py:obj:`~.cudaExternalMemoryHandleDesc.type` is :py:obj:`~.cudaExternalMemoryHandleTypeD3D11Resource`,then exactly one @@ -22616,8 +22595,8 @@ def cudaImportExternalMemory(memHandleDesc : Optional[cudaExternalMemoryHandleDe :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` must not be NULL. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is - returned by IDXGIResource1::CreateSharedHandle when referring to a - ID3D11Resource object. If + returned by :py:obj:`~.IDXGIResource1.CreateSharedHandle` when + referring to a ID3D11Resource object. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a ID3D11Resource object. @@ -22627,8 +22606,8 @@ def cudaImportExternalMemory(memHandleDesc : Optional[cudaExternalMemoryHandleDe :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.handle` must be non-NULL and :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` must be NULL. The handle specified must be a valid shared KMT handle - that is returned by IDXGIResource::GetSharedHandle when referring to a - ID3D11Resource object. + that is returned by :py:obj:`~.IDXGIResource.GetSharedHandle` when + referring to a ID3D11Resource object. If :py:obj:`~.cudaExternalMemoryHandleDesc.type` is :py:obj:`~.cudaExternalMemoryHandleTypeNvSciBuf`, then @@ -22909,8 +22888,9 @@ def cudaImportExternalSemaphore(semHandleDesc : Optional[cudaExternalSemaphoreHa be NULL. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is returned - by ID3D12Device::CreateSharedHandle when referring to a ID3D12Fence - object. This handle holds a reference to the underlying object. If + by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring to a + ID3D12Fence object. This handle holds a reference to the underlying + object. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.name` is not NULL, then it must name a valid synchronization object that refers to a valid ID3D12Fence object. @@ -22922,7 +22902,7 @@ def cudaImportExternalSemaphore(semHandleDesc : Optional[cudaExternalSemaphoreHa be NULL. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is returned - by ID3D11Fence::CreateSharedHandle. If + by :py:obj:`~.ID3D11Fence.CreateSharedHandle`. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.name` is not NULL, then it must name a valid synchronization object that refers to a valid ID3D11Fence object. @@ -22938,8 +22918,8 @@ def cudaImportExternalSemaphore(semHandleDesc : Optional[cudaExternalSemaphoreHa be NULL. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.handle` is not NULL, then it represent a valid shared NT handle that is returned by - IDXGIResource1::CreateSharedHandle when referring to a IDXGIKeyedMutex - object. + :py:obj:`~.IDXGIResource1.CreateSharedHandle` when referring to a + IDXGIKeyedMutex object. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.type` is :py:obj:`~.cudaExternalSemaphoreHandleTypeKeyedMutexKmt`, then @@ -22947,8 +22927,8 @@ def cudaImportExternalSemaphore(semHandleDesc : Optional[cudaExternalSemaphoreHa non-NULL and :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.name` must be NULL. The handle specified must represent a valid KMT handle that is - returned by IDXGIResource::GetSharedHandle when referring to a - IDXGIKeyedMutex object. + returned by :py:obj:`~.IDXGIResource.GetSharedHandle` when referring to + a IDXGIKeyedMutex object. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.type` is :py:obj:`~.cudaExternalSemaphoreHandleTypeTimelineSemaphoreFd`, then diff --git a/cuda_bindings_12/docs/source/module/driver.rst b/cuda_bindings_12/docs/source/module/driver.rst index 4fefb5676807..47c0ea462d53 100644 --- a/cuda_bindings_12/docs/source/module/driver.rst +++ b/cuda_bindings_12/docs/source/module/driver.rst @@ -3,7 +3,7 @@ .. 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=32b7c35b3c6f3e2315819012eedcf4b8cf7ca20878a6e1633b1a92be2f9c3c3b +.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=9b581897af7e144850069bda86ddef90ad0dc3b7f686629c1313b7e496910641 ------ driver ------ @@ -21,76 +21,76 @@ Data types used by CUDA driver .. autoclass:: cuda.bindings.driver.CUDA_BATCH_MEM_OP_NODE_PARAMS_v1_st .. autoclass:: cuda.bindings.driver.CUDA_BATCH_MEM_OP_NODE_PARAMS_v2_st .. autoclass:: cuda.bindings.driver.CUasyncNotificationInfo_st -.. autoclass:: cuda.bindings.driver.CUdevprop_st -.. autoclass:: cuda.bindings.driver.CUaccessPolicyWindow_st -.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_v2_st -.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_v3_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMSET_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMSET_NODE_PARAMS_v2_st -.. autoclass:: cuda.bindings.driver.CUDA_HOST_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_HOST_NODE_PARAMS_v2_st -.. autoclass:: cuda.bindings.driver.CUDA_CONDITIONAL_NODE_PARAMS -.. autoclass:: cuda.bindings.driver.CUgraphEdgeData_st -.. autoclass:: cuda.bindings.driver.CUDA_GRAPH_INSTANTIATE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUlaunchMemSyncDomainMap_st -.. autoclass:: cuda.bindings.driver.CUlaunchAttributeValue_union -.. autoclass:: cuda.bindings.driver.CUlaunchAttribute_st -.. autoclass:: cuda.bindings.driver.CUlaunchConfig_st -.. autoclass:: cuda.bindings.driver.CUexecAffinitySmCount_st -.. autoclass:: cuda.bindings.driver.CUexecAffinityParam_st -.. autoclass:: cuda.bindings.driver.CUctxCigParam_st -.. autoclass:: cuda.bindings.driver.CUctxCreateParams_st -.. autoclass:: cuda.bindings.driver.CUlibraryHostUniversalFunctionAndDataTable_st +.. autoclass:: cuda.bindings.driver.CUDA_CHILD_GRAPH_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUmulticastObjectProp_st .. autoclass:: cuda.bindings.driver.CUDA_MEMCPY2D_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY3D_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY3D_PEER_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_ARRAY_DESCRIPTOR_st -.. autoclass:: cuda.bindings.driver.CUDA_ARRAY3D_DESCRIPTOR_st -.. autoclass:: cuda.bindings.driver.CUDA_ARRAY_SPARSE_PROPERTIES_st -.. autoclass:: cuda.bindings.driver.CUDA_ARRAY_MEMORY_REQUIREMENTS_st -.. autoclass:: cuda.bindings.driver.CUDA_RESOURCE_DESC_st -.. autoclass:: cuda.bindings.driver.CUDA_TEXTURE_DESC_st +.. autoclass:: cuda.bindings.driver.CUexecAffinityParam_st +.. autoclass:: cuda.bindings.driver.CUeglFrame_st +.. autoclass:: cuda.bindings.driver.CUaccessPolicyWindow_st +.. autoclass:: cuda.bindings.driver.CUDA_MEM_FREE_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUcheckpointLockArgs_st .. autoclass:: cuda.bindings.driver.CUDA_RESOURCE_VIEW_DESC_st -.. autoclass:: cuda.bindings.driver.CUtensorMap_st -.. autoclass:: cuda.bindings.driver.CUDA_POINTER_ATTRIBUTE_P2P_TOKENS_st -.. autoclass:: cuda.bindings.driver.CUDA_LAUNCH_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st -.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st -.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st -.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st -.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_st .. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v2_st -.. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_WAIT_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2_st +.. autoclass:: cuda.bindings.driver.CUmemcpyAttributes_st +.. autoclass:: cuda.bindings.driver.CUcheckpointCheckpointArgs_st +.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st +.. autoclass:: cuda.bindings.driver.CUcheckpointUnlockArgs_st .. autoclass:: cuda.bindings.driver.CUarrayMapInfo_st -.. autoclass:: cuda.bindings.driver.CUmemLocation_st +.. autoclass:: cuda.bindings.driver.CUmemcpy3DOperand_st .. autoclass:: cuda.bindings.driver.CUmemAllocationProp_st -.. autoclass:: cuda.bindings.driver.CUmulticastObjectProp_st -.. autoclass:: cuda.bindings.driver.CUmemAccessDesc_st +.. autoclass:: cuda.bindings.driver.CUlibraryHostUniversalFunctionAndDataTable_st +.. autoclass:: cuda.bindings.driver.CUDA_EVENT_WAIT_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_ARRAY_SPARSE_PROPERTIES_st +.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_v3_st +.. autoclass:: cuda.bindings.driver.CUgraphNodeParams_st +.. autoclass:: cuda.bindings.driver.CUctxCreateParams_st +.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_ARRAY3D_DESCRIPTOR_st +.. autoclass:: cuda.bindings.driver.CUexecAffinitySmCount_st +.. autoclass:: cuda.bindings.driver.CUoffset3D_st +.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st +.. autoclass:: cuda.bindings.driver.CUlaunchAttribute_st .. autoclass:: cuda.bindings.driver.CUgraphExecUpdateResultInfo_st +.. autoclass:: cuda.bindings.driver.CUmemLocation_st .. autoclass:: cuda.bindings.driver.CUmemPoolProps_st +.. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2_st +.. autoclass:: cuda.bindings.driver.CUDA_POINTER_ATTRIBUTE_P2P_TOKENS_st +.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY_NODE_PARAMS_st .. autoclass:: cuda.bindings.driver.CUmemPoolPtrExportData_st -.. autoclass:: cuda.bindings.driver.CUmemcpyAttributes_st -.. autoclass:: cuda.bindings.driver.CUoffset3D_st +.. autoclass:: cuda.bindings.driver.CUDA_EVENT_RECORD_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_MEM_ALLOC_NODE_PARAMS_v2_st +.. autoclass:: cuda.bindings.driver.CUcheckpointRestoreArgs_st .. autoclass:: cuda.bindings.driver.CUextent3D_st -.. autoclass:: cuda.bindings.driver.CUmemcpy3DOperand_st +.. autoclass:: cuda.bindings.driver.CUmemAccessDesc_st .. autoclass:: cuda.bindings.driver.CUDA_MEMCPY3D_BATCH_OP_st .. autoclass:: cuda.bindings.driver.CUDA_MEM_ALLOC_NODE_PARAMS_v1_st -.. autoclass:: cuda.bindings.driver.CUDA_MEM_ALLOC_NODE_PARAMS_v2_st -.. autoclass:: cuda.bindings.driver.CUDA_MEM_FREE_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_CHILD_GRAPH_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_EVENT_RECORD_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_EVENT_WAIT_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUgraphNodeParams_st -.. autoclass:: cuda.bindings.driver.CUcheckpointLockArgs_st -.. autoclass:: cuda.bindings.driver.CUcheckpointCheckpointArgs_st -.. autoclass:: cuda.bindings.driver.CUcheckpointRestoreArgs_st -.. autoclass:: cuda.bindings.driver.CUcheckpointUnlockArgs_st -.. autoclass:: cuda.bindings.driver.CUeglFrame_st +.. autoclass:: cuda.bindings.driver.CUctxCigParam_st +.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st +.. autoclass:: cuda.bindings.driver.CUDA_TEXTURE_DESC_st +.. autoclass:: cuda.bindings.driver.CUdevprop_st +.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st +.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_ARRAY_DESCRIPTOR_st +.. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_WAIT_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUlaunchConfig_st +.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY3D_PEER_st +.. autoclass:: cuda.bindings.driver.CUDA_HOST_NODE_PARAMS_v2_st +.. autoclass:: cuda.bindings.driver.CUlaunchMemSyncDomainMap_st +.. autoclass:: cuda.bindings.driver.CUDA_RESOURCE_DESC_st +.. autoclass:: cuda.bindings.driver.CUDA_LAUNCH_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUtensorMap_st +.. autoclass:: cuda.bindings.driver.CUDA_ARRAY_MEMORY_REQUIREMENTS_st +.. autoclass:: cuda.bindings.driver.CUDA_MEMSET_NODE_PARAMS_v2_st +.. autoclass:: cuda.bindings.driver.CUgraphEdgeData_st +.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY3D_st +.. autoclass:: cuda.bindings.driver.CUlaunchAttributeValue_union +.. autoclass:: cuda.bindings.driver.CUDA_GRAPH_INSTANTIATE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_CONDITIONAL_NODE_PARAMS +.. autoclass:: cuda.bindings.driver.CUDA_HOST_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_MEMSET_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_v2_st .. autoclass:: cuda.bindings.driver.CUipcMem_flags .. autoattribute:: cuda.bindings.driver.CUipcMem_flags.CU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS @@ -7205,8 +7205,8 @@ Even if the green contexts have disjoint SM partitions, it is not guaranteed tha .. autoclass:: cuda.bindings.driver.CUdevSmResource_st .. autoclass:: cuda.bindings.driver.CUdevResource_st -.. autoclass:: cuda.bindings.driver.CUdevSmResource .. autoclass:: cuda.bindings.driver.CUdevResource +.. autoclass:: cuda.bindings.driver.CUdevSmResource .. autoclass:: cuda.bindings.driver.CUgreenCtxCreate_flags .. autoattribute:: cuda.bindings.driver.CUgreenCtxCreate_flags.CU_GREEN_CTX_DEFAULT_STREAM diff --git a/cuda_bindings_12/docs/source/module/runtime.rst b/cuda_bindings_12/docs/source/module/runtime.rst index 271116021e00..7bda8ed4382b 100644 --- a/cuda_bindings_12/docs/source/module/runtime.rst +++ b/cuda_bindings_12/docs/source/module/runtime.rst @@ -3,7 +3,7 @@ .. 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 +.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=affffcac1b4f63be04d52abd3e2d68e4894201885b07fd382b7f98ba48e2eb92 ------- runtime ------- @@ -15,67 +15,67 @@ Data types used by CUDA Runtime .. autoclass:: cuda.bindings.runtime.cudaChannelFormatDesc .. autoclass:: cuda.bindings.runtime.cudaArraySparseProperties +.. autoclass:: cuda.bindings.runtime.cudaTextureDesc +.. autoclass:: cuda.bindings.runtime.cudaGraphInstantiateParams_st +.. autoclass:: cuda.bindings.runtime.cudaMemcpyAttributes +.. autoclass:: cuda.bindings.runtime.cudaGraphExecUpdateResultInfo_st +.. autoclass:: cuda.bindings.runtime.cudaGraphEdgeData_st +.. autoclass:: cuda.bindings.runtime.cudaLaunchAttribute_st +.. autoclass:: cuda.bindings.runtime.cudaEglFrame_st +.. autoclass:: cuda.bindings.runtime.cudaEglPlaneDesc_st .. autoclass:: cuda.bindings.runtime.cudaArrayMemoryRequirements -.. autoclass:: cuda.bindings.runtime.cudaPitchedPtr -.. autoclass:: cuda.bindings.runtime.cudaExtent -.. autoclass:: cuda.bindings.runtime.cudaPos -.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DParms -.. autoclass:: cuda.bindings.runtime.cudaMemcpyNodeParams -.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DPeerParms -.. autoclass:: cuda.bindings.runtime.cudaMemsetParams -.. autoclass:: cuda.bindings.runtime.cudaMemsetParamsV2 -.. autoclass:: cuda.bindings.runtime.cudaAccessPolicyWindow -.. autoclass:: cuda.bindings.runtime.cudaHostNodeParams -.. autoclass:: cuda.bindings.runtime.cudaHostNodeParamsV2 -.. autoclass:: cuda.bindings.runtime.cudaResourceDesc -.. autoclass:: cuda.bindings.runtime.cudaResourceViewDesc -.. autoclass:: cuda.bindings.runtime.cudaPointerAttributes +.. autoclass:: cuda.bindings.runtime.cudaLaunchMemSyncDomainMap_st +.. autoclass:: cuda.bindings.runtime.cudaAsyncNotificationInfo +.. autoclass:: cuda.bindings.runtime.cudaConditionalNodeParams +.. autoclass:: cuda.bindings.runtime.cudaLaunchAttributeValue +.. autoclass:: cuda.bindings.runtime.cudaMemPoolPtrExportData .. autoclass:: cuda.bindings.runtime.cudaFuncAttributes -.. autoclass:: cuda.bindings.runtime.cudaMemLocation -.. autoclass:: cuda.bindings.runtime.cudaMemAccessDesc .. autoclass:: cuda.bindings.runtime.cudaMemPoolProps -.. autoclass:: cuda.bindings.runtime.cudaMemPoolPtrExportData -.. autoclass:: cuda.bindings.runtime.cudaMemAllocNodeParams +.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreHandleDesc .. autoclass:: cuda.bindings.runtime.cudaMemAllocNodeParamsV2 -.. autoclass:: cuda.bindings.runtime.cudaMemFreeNodeParams -.. autoclass:: cuda.bindings.runtime.cudaMemcpyAttributes -.. autoclass:: cuda.bindings.runtime.cudaOffset3D -.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DOperand .. autoclass:: cuda.bindings.runtime.cudaMemcpy3DBatchOp -.. autoclass:: cuda.bindings.runtime.CUuuid_st -.. autoclass:: cuda.bindings.runtime.cudaDeviceProp +.. autoclass:: cuda.bindings.runtime.cudaMemAccessDesc .. autoclass:: cuda.bindings.runtime.cudaIpcEventHandle_st +.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DOperand +.. autoclass:: cuda.bindings.runtime.cudaMemLocation +.. autoclass:: cuda.bindings.runtime.cudaGraphNodeParams +.. autoclass:: cuda.bindings.runtime.cudaMemAllocNodeParams +.. autoclass:: cuda.bindings.runtime.cudalibraryHostUniversalFunctionAndDataTable +.. autoclass:: cuda.bindings.runtime.cudaChildGraphNodeParams +.. autoclass:: cuda.bindings.runtime.cudaEventWaitNodeParams +.. autoclass:: cuda.bindings.runtime.CUuuid_st .. autoclass:: cuda.bindings.runtime.cudaIpcMemHandle_st +.. autoclass:: cuda.bindings.runtime.cudaEventRecordNodeParams +.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreSignalNodeParamsV2 +.. autoclass:: cuda.bindings.runtime.cudaOffset3D +.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreSignalNodeParams +.. autoclass:: cuda.bindings.runtime.cudaGraphKernelNodeUpdate +.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreWaitNodeParamsV2 .. autoclass:: cuda.bindings.runtime.cudaMemFabricHandle_st -.. autoclass:: cuda.bindings.runtime.cudaExternalMemoryHandleDesc -.. autoclass:: cuda.bindings.runtime.cudaExternalMemoryBufferDesc +.. autoclass:: cuda.bindings.runtime.cudaDeviceProp +.. autoclass:: cuda.bindings.runtime.cudaPointerAttributes +.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreWaitNodeParams .. autoclass:: cuda.bindings.runtime.cudaExternalMemoryMipmappedArrayDesc -.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreHandleDesc -.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreSignalParams .. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreWaitParams -.. autoclass:: cuda.bindings.runtime.cudalibraryHostUniversalFunctionAndDataTable .. autoclass:: cuda.bindings.runtime.cudaKernelNodeParams +.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreSignalParams +.. autoclass:: cuda.bindings.runtime.cudaExternalMemoryBufferDesc +.. autoclass:: cuda.bindings.runtime.cudaExternalMemoryHandleDesc .. autoclass:: cuda.bindings.runtime.cudaKernelNodeParamsV2 -.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreSignalNodeParams -.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreSignalNodeParamsV2 -.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreWaitNodeParams -.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreWaitNodeParamsV2 -.. autoclass:: cuda.bindings.runtime.cudaConditionalNodeParams -.. autoclass:: cuda.bindings.runtime.cudaChildGraphNodeParams -.. autoclass:: cuda.bindings.runtime.cudaEventRecordNodeParams -.. autoclass:: cuda.bindings.runtime.cudaEventWaitNodeParams -.. autoclass:: cuda.bindings.runtime.cudaGraphNodeParams -.. autoclass:: cuda.bindings.runtime.cudaGraphEdgeData_st -.. autoclass:: cuda.bindings.runtime.cudaGraphInstantiateParams_st -.. autoclass:: cuda.bindings.runtime.cudaGraphExecUpdateResultInfo_st -.. autoclass:: cuda.bindings.runtime.cudaGraphKernelNodeUpdate -.. autoclass:: cuda.bindings.runtime.cudaLaunchMemSyncDomainMap_st -.. autoclass:: cuda.bindings.runtime.cudaLaunchAttributeValue -.. autoclass:: cuda.bindings.runtime.cudaLaunchAttribute_st -.. autoclass:: cuda.bindings.runtime.cudaAsyncNotificationInfo -.. autoclass:: cuda.bindings.runtime.cudaTextureDesc -.. autoclass:: cuda.bindings.runtime.cudaEglPlaneDesc_st -.. autoclass:: cuda.bindings.runtime.cudaEglFrame_st +.. autoclass:: cuda.bindings.runtime.cudaMemFreeNodeParams +.. autoclass:: cuda.bindings.runtime.cudaResourceViewDesc +.. autoclass:: cuda.bindings.runtime.cudaResourceDesc +.. autoclass:: cuda.bindings.runtime.cudaHostNodeParamsV2 +.. autoclass:: cuda.bindings.runtime.cudaHostNodeParams +.. autoclass:: cuda.bindings.runtime.cudaAccessPolicyWindow +.. autoclass:: cuda.bindings.runtime.cudaMemsetParamsV2 +.. autoclass:: cuda.bindings.runtime.cudaMemsetParams +.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DPeerParms +.. autoclass:: cuda.bindings.runtime.cudaMemcpyNodeParams +.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DParms +.. autoclass:: cuda.bindings.runtime.cudaPos +.. autoclass:: cuda.bindings.runtime.cudaExtent +.. autoclass:: cuda.bindings.runtime.cudaPitchedPtr .. autoclass:: cuda.bindings.runtime.cudaError_t .. autoattribute:: cuda.bindings.runtime.cudaError_t.cudaSuccess @@ -2431,15 +2431,6 @@ Data types used by CUDA Runtime Device can access host registered memory at the same virtual address as the CPU - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved92 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved93 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved94 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrCooperativeLaunch @@ -2572,15 +2563,6 @@ Data types used by CUDA Runtime Device supports deferred mapping CUDA arrays and CUDA mipmapped arrays - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved122 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved123 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved124 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrIpcEventSupport @@ -2593,15 +2575,6 @@ Data types used by CUDA Runtime Number of memory synchronization domains the device supports. - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved127 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved128 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved129 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrNumaConfig @@ -2614,9 +2587,6 @@ Data types used by CUDA Runtime NUMA node ID of the GPU memory - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved132 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrMpsEnabled @@ -2653,9 +2623,6 @@ Data types used by CUDA Runtime The combined 16-bit PCI subsystem ID and 16-bit PCI subsystem vendor ID. - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved141 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrHostNumaMemoryPoolsSupported diff --git a/cuda_bindings_13/cuda/bindings/_v2/driver.pyx b/cuda_bindings_13/cuda/bindings/_v2/driver.pyx index a375a1879c1d..bba68f6dbf63 100644 --- a/cuda_bindings_13/cuda/bindings/_v2/driver.pyx +++ b/cuda_bindings_13/cuda/bindings/_v2/driver.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.0 to 13.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=458291ffe3c940aeb35a9f0715a0fc125913a680017fa109e99dba45829412db +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=2af9521dd585f1e50ac14dc391ca228747f6a3fa1271cb0504ab3a02e2fe0898 # <<<< PREAMBLE CONTENT >>>> @@ -291,12 +291,12 @@ class StreamBatchMemOpType(_cyb_FastEnum): WAIT_VALUE_64 = (cydriver.CUstreamBatchMemOpType_enum.CU_STREAM_MEM_OP_WAIT_VALUE_64, 'Represents a `cuStreamWaitValue64` operation') WRITE_VALUE_64 = (cydriver.CUstreamBatchMemOpType_enum.CU_STREAM_MEM_OP_WRITE_VALUE_64, 'Represents a `cuStreamWriteValue64` operation') BARRIER = (cydriver.CUstreamBatchMemOpType_enum.CU_STREAM_MEM_OP_BARRIER, 'Insert a memory barrier of the specified type') - ATOMIC_REDUCTION = (cydriver.CUstreamBatchMemOpType_enum.CU_STREAM_MEM_OP_ATOMIC_REDUCTION, 'Perform a atomic reduction. See `CUstreamBatchMemOpParams.atomicReduction`') + ATOMIC_REDUCTION = (cydriver.CUstreamBatchMemOpType_enum.CU_STREAM_MEM_OP_ATOMIC_REDUCTION, 'Perform a atomic reduction. See ``CUstreamBatchMemOpParams.atomicReduction``') FLUSH_REMOTE_WRITES = (cydriver.CUstreamBatchMemOpType_enum.CU_STREAM_MEM_OP_FLUSH_REMOTE_WRITES, 'This has the same effect as `CU_STREAM_WAIT_VALUE_FLUSH`, but as a standalone operation.') class StreamMemoryBarrierFlags(_cyb_FastEnum): """ - Flags for `CUstreamBatchMemOpParams.memoryBarrier` + Flags for ``CUstreamBatchMemOpParams.memoryBarrier`` See `CUstreamMemoryBarrier_flags`. """ @@ -542,7 +542,7 @@ class DeviceAttribute(_cyb_FastEnum): MAX_BLOCKS_PER_MULTIPROCESSOR = (cydriver.CUdevice_attribute_enum.CU_DEVICE_ATTRIBUTE_MAX_BLOCKS_PER_MULTIPROCESSOR, 'Maximum number of blocks per multiprocessor') GENERIC_COMPRESSION_SUPPORTED = (cydriver.CUdevice_attribute_enum.CU_DEVICE_ATTRIBUTE_GENERIC_COMPRESSION_SUPPORTED, 'Device supports compression of memory') MAX_PERSISTING_L2_CACHE_SIZE = (cydriver.CUdevice_attribute_enum.CU_DEVICE_ATTRIBUTE_MAX_PERSISTING_L2_CACHE_SIZE, 'Maximum L2 persisting lines capacity setting in bytes.') - MAX_ACCESS_POLICY_WINDOW_SIZE = (cydriver.CUdevice_attribute_enum.CU_DEVICE_ATTRIBUTE_MAX_ACCESS_POLICY_WINDOW_SIZE, 'Maximum value of `CUaccessPolicyWindow.num_bytes`.') + MAX_ACCESS_POLICY_WINDOW_SIZE = (cydriver.CUdevice_attribute_enum.CU_DEVICE_ATTRIBUTE_MAX_ACCESS_POLICY_WINDOW_SIZE, 'Maximum value of ``CUaccessPolicyWindow.num_bytes``.') GPU_DIRECT_RDMA_WITH_CUDA_VMM_SUPPORTED = (cydriver.CUdevice_attribute_enum.CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_WITH_CUDA_VMM_SUPPORTED, 'Device supports specifying the GPUDirect RDMA flag with `cuMemCreate`') RESERVED_SHARED_MEMORY_PER_BLOCK = (cydriver.CUdevice_attribute_enum.CU_DEVICE_ATTRIBUTE_RESERVED_SHARED_MEMORY_PER_BLOCK, 'Shared memory reserved by CUDA driver per block in bytes') SPARSE_CUDA_ARRAY_SUPPORTED = (cydriver.CUdevice_attribute_enum.CU_DEVICE_ATTRIBUTE_SPARSE_CUDA_ARRAY_SUPPORTED, 'Device supports sparse CUDA arrays and sparse CUDA mipmapped arrays') @@ -959,7 +959,6 @@ class GraphNodeType(_cyb_FastEnum): BATCH_MEM_OP = (cydriver.CUgraphNodeType_enum.CU_GRAPH_NODE_TYPE_BATCH_MEM_OP, 'Batch MemOp Node See `cuStreamBatchMemOp` and `CUstreamBatchMemOpType` for what these nodes can do.') CONDITIONAL = (cydriver.CUgraphNodeType_enum.CU_GRAPH_NODE_TYPE_CONDITIONAL, 'Conditional Node May be used to implement a conditional execution path or loop inside of a graph. The graph(s) contained within the body of the conditional node can be selectively executed or iterated upon based on the value of a conditional variable. Handles must be created in advance of creating the node using `cuGraphConditionalHandleCreate`. The following restrictions apply to graphs which contain conditional nodes: The graph cannot be used in a child node. Only one instantiation of the graph may exist at any point in time. The graph cannot be cloned. To set the control value, supply a default value when creating the handle and/or call `cudaGraphSetConditional` from device code.') MEMCPY_BATCH = (cydriver.CUgraphNodeType_enum.CU_GRAPH_NODE_TYPE_MEMCPY_BATCH, 'Batch Memcpy Node') - RESERVED_16 = (cydriver.CUgraphNodeType_enum.CU_GRAPH_NODE_TYPE_RESERVED_16, 'Reserved') EXTERNAL_ENGINE = (cydriver.CUgraphNodeType_enum.CU_GRAPH_NODE_TYPE_EXTERNAL_ENGINE, 'Reserved for External Engine node') FABRIC_CPY_BATCH = (cydriver.CUgraphNodeType_enum.CU_GRAPH_NODE_TYPE_FABRIC_CPY_BATCH, 'Fabric copy batch node') @@ -1038,22 +1037,22 @@ class LaunchAttributeID(_cyb_FastEnum): See `CUlaunchAttributeID`. """ IGNORE = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_IGNORE, 'Ignored entry, for convenient composition') - ACCESS_POLICY_WINDOW = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_ACCESS_POLICY_WINDOW, 'Valid for streams, graph nodes, launches. See `CUlaunchAttributeValue.accessPolicyWindow`.') - COOPERATIVE = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_COOPERATIVE, 'Valid for graph nodes, launches. See `CUlaunchAttributeValue.cooperative`.') - SYNCHRONIZATION_POLICY = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_SYNCHRONIZATION_POLICY, 'Valid for streams. See `CUlaunchAttributeValue.syncPolicy`.') - CLUSTER_DIMENSION = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_CLUSTER_DIMENSION, 'Valid for graph nodes, launches. See `CUlaunchAttributeValue.clusterDim`.') - CLUSTER_SCHEDULING_POLICY_PREFERENCE = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE, 'Valid for graph nodes, launches. See `CUlaunchAttributeValue.clusterSchedulingPolicyPreference`.') - PROGRAMMATIC_STREAM_SERIALIZATION = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION, "Valid for launches. Setting `CUlaunchAttributeValue.programmaticStreamSerializationAllowed` to non-0 signals that the kernel will use programmatic means to resolve its stream dependency, so that the CUDA runtime should opportunistically allow the grid's execution to overlap with the previous kernel in the stream, if that kernel requests the overlap. The dependent launches can choose to wait on the dependency using the programmatic sync (cudaGridDependencySynchronize() or equivalent PTX instructions).") - PROGRAMMATIC_EVENT = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT, "Valid for launches. Set `CUlaunchAttributeValue.programmaticEvent` to record the event. Event recorded through this launch attribute is guaranteed to only trigger after all block in the associated kernel trigger the event. A block can trigger the event through PTX launchdep.release or CUDA builtin function cudaTriggerProgrammaticLaunchCompletion(). A trigger can also be inserted at the beginning of each block's execution if triggerAtBlockStart is set to non-0. The dependent launches can choose to wait on the dependency using the programmatic sync (cudaGridDependencySynchronize() or equivalent PTX instructions). Note that dependents (including the CPU thread calling `cuEventSynchronize()`) are not guaranteed to observe the release precisely when it is released. For example, `cuEventSynchronize()` may only observe the event trigger long after the associated kernel has completed. This recording type is primarily meant for establishing programmatic dependency between device tasks. Note also this type of dependency allows, but does not guarantee, concurrent execution of tasks. The event supplied must not be an interprocess or interop event. The event must disable timing (i.e. must be created with the `CU_EVENT_DISABLE_TIMING` flag set).") - PRIORITY = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PRIORITY, 'Valid for streams, graph nodes, launches. See `CUlaunchAttributeValue.priority`.') - MEM_SYNC_DOMAIN_MAP = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP, 'Valid for streams, graph nodes, launches. See `CUlaunchAttributeValue.memSyncDomainMap`.') - MEM_SYNC_DOMAIN = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_MEM_SYNC_DOMAIN, 'Valid for streams, graph nodes, launches. See `CUlaunchAttributeValue.memSyncDomain`.') - PREFERRED_CLUSTER_DIMENSION = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSION, 'Valid for graph nodes, launches. Set `CUlaunchAttributeValue.preferredClusterDim` to allow the kernel launch to specify a preferred substitute cluster dimension. Blocks may be grouped according to either the dimensions specified with this attribute (grouped into a "preferred substitute cluster"), or the one specified with `CU_LAUNCH_ATTRIBUTE_CLUSTER_DIMENSION` attribute (grouped into a "regular cluster"). The cluster dimensions of a "preferred substitute cluster" shall be an integer multiple greater than zero of the regular cluster dimensions. The device will attempt - on a best-effort basis - to group thread blocks into preferred clusters over grouping them into regular clusters. When it deems necessary (primarily when the device temporarily runs out of physical resources to launch the larger preferred clusters), the device may switch to launch the regular clusters instead to attempt to utilize as much of the physical device resources as possible. Each type of cluster will have its enumeration / coordinate setup as if the grid consists solely of its type of cluster. For example, if the preferred substitute cluster dimensions double the regular cluster dimensions, there might be simultaneously a regular cluster indexed at (1,0,0), and a preferred cluster indexed at (1,0,0). In this example, the preferred substitute cluster (1,0,0) replaces regular clusters (2,0,0) and (3,0,0) and groups their blocks. This attribute will only take effect when a regular cluster dimension has been specified. The preferred substitute cluster dimension must be an integer multiple greater than zero of the regular cluster dimension and must divide the grid. It must also be no more than `maxBlocksPerCluster`, if it is set in the kernel\'s `__launch_bounds__`. Otherwise it must be less than the maximum value the driver can support. Otherwise, setting this attribute to a value physically unable to fit on any particular device is permitted.') - LAUNCH_COMPLETION_EVENT = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT, 'Valid for launches. Set `CUlaunchAttributeValue.launchCompletionEvent` to record the event. Nominally, the event is triggered once all blocks of the kernel have begun execution. Currently this is a best effort. If a kernel B has a launch completion dependency on a kernel A, B may wait until A is complete. Alternatively, blocks of B may begin before all blocks of A have begun, for example if B can claim execution resources unavailable to A (e.g. they run on different GPUs) or if B is a higher priority than A. Exercise caution if such an ordering inversion could lead to deadlock. A launch completion event is nominally similar to a programmatic event with `triggerAtBlockStart` set except that it is not visible to `cudaGridDependencySynchronize()` and can be used with compute capability less than 9.0. The event supplied must not be an interprocess or interop event. The event must disable timing (i.e. must be created with the `CU_EVENT_DISABLE_TIMING` flag set).') - DEVICE_UPDATABLE_KERNEL_NODE = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE, "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. `CUlaunchAttributeValue.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 `CUlaunchAttributeValue.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 `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 `cuGraphDestroyNode`. 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 `cuGraphKernelNodeCopyAttributes`. 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 `cuGraphExecUpdate`. If a graph contains device-updatable nodes and updates those nodes from the device from within the graph, the graph must be uploaded with `cuGraphUpload` before it is launched. For such a graph, if host-side executable graph updates are made to the device-updatable nodes, the graph must be uploaded before it is launched again.") - PREFERRED_SHARED_MEMORY_CARVEOUT = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT, 'Valid for launches. On devices where the L1 cache and shared memory use the same hardware resources, setting `CUlaunchAttributeValue.sharedMemCarveout` to a percentage between 0-100 signals the CUDA driver to set the shared memory carveout preference, in percent of the total shared memory for that kernel launch. This attribute takes precedence over `CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT`. This is only a hint, and the CUDA driver can choose a different configuration if required for the launch.') - NVLINK_UTIL_CENTRIC_SCHEDULING = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_NVLINK_UTIL_CENTRIC_SCHEDULING, "Valid for streams, graph nodes, launches. This attribute is a hint to the CUDA runtime that the launch should attempt to make the kernel maximize its NVLINK utilization. When possible to honor this hint, CUDA will assume each block in the grid launch will carry out an even amount of NVLINK traffic, and make a best-effort attempt to adjust the kernel launch based on that assumption. This attribute is a hint only. CUDA makes no functional or performance guarantee. Its applicability can be affected by many different factors, including driver version (i.e. CUDA doesn't guarantee the performance characteristics will be maintained between driver versions or a driver update could alter or regress previously observed perf characteristics.) It also doesn't guarantee a successful result, i.e. applying the attribute may not improve the performance of either the targeted kernel or the encapsulating application. Valid values for `CUlaunchAttributeValue.nvlinkUtilCentricScheduling` are 0 (disabled) and 1 (enabled).") - PORTABLE_CLUSTER_SIZE_MODE = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PORTABLE_CLUSTER_SIZE_MODE, 'Valid for graph nodes, launches. This controls whether the kernel launch is allowed to use a non-portable cluster size. Valid values for `CUlaunchAttributeValue.portableClusterSizeMode` are described in `CUlaunchAttributePortableClusterMode`. Any other value will return `CUDA_ERROR_INVALID_VALUE`') + ACCESS_POLICY_WINDOW = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_ACCESS_POLICY_WINDOW, 'Valid for streams, graph nodes, launches. See ``CUlaunchAttributeValue.accessPolicyWindow``.') + COOPERATIVE = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_COOPERATIVE, 'Valid for graph nodes, launches. See ``CUlaunchAttributeValue.cooperative``.') + SYNCHRONIZATION_POLICY = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_SYNCHRONIZATION_POLICY, 'Valid for streams. See ``CUlaunchAttributeValue.syncPolicy``.') + CLUSTER_DIMENSION = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_CLUSTER_DIMENSION, 'Valid for graph nodes, launches. See ``CUlaunchAttributeValue.clusterDim``.') + CLUSTER_SCHEDULING_POLICY_PREFERENCE = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE, 'Valid for graph nodes, launches. See ``CUlaunchAttributeValue.clusterSchedulingPolicyPreference``.') + PROGRAMMATIC_STREAM_SERIALIZATION = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION, "Valid for launches. Setting ``CUlaunchAttributeValue.programmaticStreamSerializationAllowed`` to non-0 signals that the kernel will use programmatic means to resolve its stream dependency, so that the CUDA runtime should opportunistically allow the grid's execution to overlap with the previous kernel in the stream, if that kernel requests the overlap. The dependent launches can choose to wait on the dependency using the programmatic sync (cudaGridDependencySynchronize() or equivalent PTX instructions).") + PROGRAMMATIC_EVENT = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT, "Valid for launches. Set ``CUlaunchAttributeValue.programmaticEvent`` to record the event. Event recorded through this launch attribute is guaranteed to only trigger after all block in the associated kernel trigger the event. A block can trigger the event through PTX launchdep.release or CUDA builtin function cudaTriggerProgrammaticLaunchCompletion(). A trigger can also be inserted at the beginning of each block's execution if triggerAtBlockStart is set to non-0. The dependent launches can choose to wait on the dependency using the programmatic sync (cudaGridDependencySynchronize() or equivalent PTX instructions). Note that dependents (including the CPU thread calling `cuEventSynchronize()`) are not guaranteed to observe the release precisely when it is released. For example, `cuEventSynchronize()` may only observe the event trigger long after the associated kernel has completed. This recording type is primarily meant for establishing programmatic dependency between device tasks. Note also this type of dependency allows, but does not guarantee, concurrent execution of tasks. The event supplied must not be an interprocess or interop event. The event must disable timing (i.e. must be created with the `CU_EVENT_DISABLE_TIMING` flag set).") + PRIORITY = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PRIORITY, 'Valid for streams, graph nodes, launches. See ``CUlaunchAttributeValue.priority``.') + MEM_SYNC_DOMAIN_MAP = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP, 'Valid for streams, graph nodes, launches. See ``CUlaunchAttributeValue.memSyncDomainMap``.') + MEM_SYNC_DOMAIN = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_MEM_SYNC_DOMAIN, 'Valid for streams, graph nodes, launches. See ``CUlaunchAttributeValue.memSyncDomain``.') + PREFERRED_CLUSTER_DIMENSION = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSION, 'Valid for graph nodes, launches. Set ``CUlaunchAttributeValue.preferredClusterDim`` to allow the kernel launch to specify a preferred substitute cluster dimension. Blocks may be grouped according to either the dimensions specified with this attribute (grouped into a "preferred substitute cluster"), or the one specified with `CU_LAUNCH_ATTRIBUTE_CLUSTER_DIMENSION` attribute (grouped into a "regular cluster"). The cluster dimensions of a "preferred substitute cluster" shall be an integer multiple greater than zero of the regular cluster dimensions. The device will attempt - on a best-effort basis - to group thread blocks into preferred clusters over grouping them into regular clusters. When it deems necessary (primarily when the device temporarily runs out of physical resources to launch the larger preferred clusters), the device may switch to launch the regular clusters instead to attempt to utilize as much of the physical device resources as possible. Each type of cluster will have its enumeration / coordinate setup as if the grid consists solely of its type of cluster. For example, if the preferred substitute cluster dimensions double the regular cluster dimensions, there might be simultaneously a regular cluster indexed at (1,0,0), and a preferred cluster indexed at (1,0,0). In this example, the preferred substitute cluster (1,0,0) replaces regular clusters (2,0,0) and (3,0,0) and groups their blocks. This attribute will only take effect when a regular cluster dimension has been specified. The preferred substitute cluster dimension must be an integer multiple greater than zero of the regular cluster dimension and must divide the grid. It must also be no more than `maxBlocksPerCluster`, if it is set in the kernel\'s `__launch_bounds__`. Otherwise it must be less than the maximum value the driver can support. Otherwise, setting this attribute to a value physically unable to fit on any particular device is permitted.') + LAUNCH_COMPLETION_EVENT = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT, 'Valid for launches. Set ``CUlaunchAttributeValue.launchCompletionEvent`` to record the event. Nominally, the event is triggered once all blocks of the kernel have begun execution. Currently this is a best effort. If a kernel B has a launch completion dependency on a kernel A, B may wait until A is complete. Alternatively, blocks of B may begin before all blocks of A have begun, for example if B can claim execution resources unavailable to A (e.g. they run on different GPUs) or if B is a higher priority than A. Exercise caution if such an ordering inversion could lead to deadlock. A launch completion event is nominally similar to a programmatic event with `triggerAtBlockStart` set except that it is not visible to `cudaGridDependencySynchronize()` and can be used with compute capability less than 9.0. The event supplied must not be an interprocess or interop event. The event must disable timing (i.e. must be created with the `CU_EVENT_DISABLE_TIMING` flag set).') + DEVICE_UPDATABLE_KERNEL_NODE = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE, "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. ``CUlaunchAttributeValue.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 ``CUlaunchAttributeValue.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 `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 `cuGraphDestroyNode`. 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 `cuGraphKernelNodeCopyAttributes`. 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 `cuGraphExecUpdate`. If a graph contains device-updatable nodes and updates those nodes from the device from within the graph, the graph must be uploaded with `cuGraphUpload` before it is launched. For such a graph, if host-side executable graph updates are made to the device-updatable nodes, the graph must be uploaded before it is launched again.") + PREFERRED_SHARED_MEMORY_CARVEOUT = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT, 'Valid for launches. On devices where the L1 cache and shared memory use the same hardware resources, setting ``CUlaunchAttributeValue.sharedMemCarveout`` to a percentage between 0-100 signals the CUDA driver to set the shared memory carveout preference, in percent of the total shared memory for that kernel launch. This attribute takes precedence over `CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT`. This is only a hint, and the CUDA driver can choose a different configuration if required for the launch.') + NVLINK_UTIL_CENTRIC_SCHEDULING = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_NVLINK_UTIL_CENTRIC_SCHEDULING, "Valid for streams, graph nodes, launches. This attribute is a hint to the CUDA runtime that the launch should attempt to make the kernel maximize its NVLINK utilization. When possible to honor this hint, CUDA will assume each block in the grid launch will carry out an even amount of NVLINK traffic, and make a best-effort attempt to adjust the kernel launch based on that assumption. This attribute is a hint only. CUDA makes no functional or performance guarantee. Its applicability can be affected by many different factors, including driver version (i.e. CUDA doesn't guarantee the performance characteristics will be maintained between driver versions or a driver update could alter or regress previously observed perf characteristics.) It also doesn't guarantee a successful result, i.e. applying the attribute may not improve the performance of either the targeted kernel or the encapsulating application. Valid values for ``CUlaunchAttributeValue.nvlinkUtilCentricScheduling`` are 0 (disabled) and 1 (enabled).") + PORTABLE_CLUSTER_SIZE_MODE = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_PORTABLE_CLUSTER_SIZE_MODE, 'Valid for graph nodes, launches. This controls whether the kernel launch is allowed to use a non-portable cluster size. Valid values for ``CUlaunchAttributeValue.portableClusterSizeMode`` are described in `CUlaunchAttributePortableClusterMode`. Any other value will return `CUDA_ERROR_INVALID_VALUE`') SHARED_MEMORY_MODE = (cydriver.CUlaunchAttributeID_enum.CU_LAUNCH_ATTRIBUTE_SHARED_MEMORY_MODE, "Valid for graph nodes, launches. This controls a kernel's use of non-portable or oversized shared memory configurations.") class StreamCaptureStatus(_cyb_FastEnum): @@ -2039,7 +2038,7 @@ class AtomicOperationCapability(_cyb_FastEnum): class StreamAtomicReductionOpType(_cyb_FastEnum): """ Atomic reduction operation types for - `CUstreamBatchMemOpParams`::atomicReduction::reductionOp + ``CUstreamBatchMemOpParams.atomicReduction.reductionOp`` See `CUstreamAtomicReductionOpType`. """ @@ -2050,7 +2049,7 @@ class StreamAtomicReductionOpType(_cyb_FastEnum): class StreamAtomicReductionDataType(_cyb_FastEnum): """ Atomic reduction data types for - `CUstreamBatchMemOpParams`::atomicReduction::dataType + ``CUstreamBatchMemOpParams.atomicReduction.dataType`` See `CUstreamAtomicReductionDataType`. """ @@ -2066,7 +2065,7 @@ class DevSmResourceGroupFlags(_cyb_FastEnum): DEFAULT = cydriver.CUdevSmResourceGroup_flags.CU_DEV_SM_RESOURCE_GROUP_DEFAULT BACKFILL = cydriver.CUdevSmResourceGroup_flags.CU_DEV_SM_RESOURCE_GROUP_BACKFILL LOCALITY_DOMAIN_ID = (cydriver.CUdevSmResourceGroup_flags.CU_DEV_SM_RESOURCE_GROUP_LOCALITY_DOMAIN_ID, 'The SMs must be located on a specific locality domain, specified by localityDomainId') - LOCALITY_DOMAIN_SUPPLEMENTAL_SMS = (cydriver.CUdevSmResourceGroup_flags.CU_DEV_SM_RESOURCE_GROUP_LOCALITY_DOMAIN_SUPPLEMENTAL_SMS, 'Modifier to `CU_DEV_SM_RESOURCE_GROUP_LOCALITY_DOMAIN_ID` which allows selection of SMs in the locality domain exceeding the `CUdevice_attribute`::CU_DEVICE_ATTRIBUTE_LOCALITY_DOMAIN_MULTIPROCESSOR_COUNT') + LOCALITY_DOMAIN_SUPPLEMENTAL_SMS = (cydriver.CUdevSmResourceGroup_flags.CU_DEV_SM_RESOURCE_GROUP_LOCALITY_DOMAIN_SUPPLEMENTAL_SMS, 'Modifier to `CU_DEV_SM_RESOURCE_GROUP_LOCALITY_DOMAIN_ID` which allows selection of SMs in the locality domain exceeding the ``CUdevice_attribute.CU_DEVICE_ATTRIBUTE_LOCALITY_DOMAIN_MULTIPROCESSOR_COUNT``') class DevSmResourceSplitByCountFlags(_cyb_FastEnum): """ @@ -32957,22 +32956,21 @@ cpdef uint64_t mem_create(size_t size, prop, unsigned long long flags) except? 0 ``cuMemGetAllocationGranularity`` with the ``CU_MEM_ALLOC_GRANULARITY_MINIMUM`` flag. To create a CPU allocation that doesn't target any specific NUMA nodes, applications must set ``CUmemAllocationProp.CUmemLocation.type`` to - ``CU_MEM_LOCATION_TYPE_HOST``. ``CUmemAllocationProp``::CUmemLocation::id is + ``CU_MEM_LOCATION_TYPE_HOST``. ``CUmemAllocationProp.CUmemLocation.id`` is ignored for HOST allocations. HOST allocations are not IPC capable and ``CUmemAllocationProp.requestedHandleTypes`` must be 0, any other value will result in ``CUDA_ERROR_INVALID_VALUE``. To create a CPU allocation targeting a specific host NUMA node, applications must set ``CUmemAllocationProp.CUmemLocation.type`` to - ``CU_MEM_LOCATION_TYPE_HOST_NUMA`` and - ``CUmemAllocationProp``::CUmemLocation::id must specify the NUMA ID of the CPU. - On systems where NUMA is not available - ``CUmemAllocationProp``::CUmemLocation::id must be set to 0. Specifying + ``CU_MEM_LOCATION_TYPE_HOST_NUMA`` and ``CUmemAllocationProp.CUmemLocation.id`` + must specify the NUMA ID of the CPU. On systems where NUMA is not available + ``CUmemAllocationProp.CUmemLocation.id`` must be set to 0. Specifying ``CU_MEM_LOCATION_TYPE_HOST_NUMA_CURRENT`` as the ``CUmemLocation.type`` will result in ``CUDA_ERROR_INVALID_VALUE``. Specifying ``CU_MEM_LOCATION_TYPE_DEVICE_LOCALITY_DOMAIN`` as the ``CUmemLocation.type`` will localize the allocation to the specified locality domain. - ``CUmemAllocationProp``::CUmemLocation::localized.deviceId must specify the - device ID. ``CUmemAllocationProp``::CUmemLocation::localized.localityDomainId + ``CUmemAllocationProp.CUmemLocation.localized.deviceId`` must specify the + device ID. ``CUmemAllocationProp.CUmemLocation.localized.localityDomainId`` must specify the locality domain ID. The locality domain ID must be a valid locality domain ID for the specified device. See also ``cuDeviceGetAttribute`` with the attribute ``CU_DEVICE_ATTRIBUTE_LOCALITY_DOMAIN_COUNT``. @@ -33102,7 +33100,7 @@ cpdef mem_map_array_async(map_info_list, unsigned int count, intptr_t h_stream): \*\*View CUDA Toolkit Documentation for a C++ code example*\*. where ``CUarrayMapInfo.resourceType`` specifies the type of resource to be operated on. If ``CUarrayMapInfo.resourceType`` is set to - ``CUresourcetype``::CU_RESOURCE_TYPE_ARRAY then + ``CUresourcetype.CU_RESOURCE_TYPE_ARRAY`` then ``CUarrayMapInfo.resource.array`` must be set to a valid sparse CUDA array handle. The CUDA array must be either a 2D, 2D layered or 3D CUDA array and must have been allocated using ``cuArrayCreate`` or ``cuArray3DCreate`` with @@ -33110,7 +33108,7 @@ cpdef mem_map_array_async(map_info_list, unsigned int count, intptr_t h_stream): arrays obtained using ``cuMipmappedArrayGetLevel``, ``CUDA_ERROR_INVALID_VALUE`` will be returned. If ``CUarrayMapInfo.resourceType`` is set to - ``CUresourcetype``::CU_RESOURCE_TYPE_MIPMAPPED_ARRAY then + ``CUresourcetype.CU_RESOURCE_TYPE_MIPMAPPED_ARRAY`` then ``CUarrayMapInfo.resource.mipmap`` must be set to a valid sparse CUDA mipmapped array handle. The CUDA mipmapped array must be either a 2D, 2D layered or 3D CUDA mipmapped array and must have been allocated using @@ -33120,14 +33118,14 @@ cpdef mem_map_array_async(map_info_list, unsigned int count, intptr_t h_stream): resource. ``CUarraySparseSubresourceType_enum`` is defined as:. \*\*View CUDA Toolkit Documentation for a C++ code example*\*. where - ``CUarraySparseSubresourceType``::CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_SPARSE_LEVEL + ``CUarraySparseSubresourceType.CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_SPARSE_LEVEL`` indicates a sparse-miplevel which spans at least one tile in every dimension. The remaining miplevels which are too small to span at least one tile in any dimension constitute the mip tail region as indicated by - ``CUarraySparseSubresourceType``::CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_MIPTAIL + ``CUarraySparseSubresourceType.CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_MIPTAIL`` subresource type. If ``CUarrayMapInfo.subresourceType`` is set to - ``CUarraySparseSubresourceType``::CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_SPARSE_LEVEL + ``CUarraySparseSubresourceType.CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_SPARSE_LEVEL`` then ``CUarrayMapInfo.subresource.sparseLevel`` struct must contain valid array subregion offsets and extents. The ``CUarrayMapInfo.subresource.sparseLevel.offsetX``, @@ -33149,7 +33147,7 @@ cpdef mem_map_array_async(map_info_list, unsigned int count, intptr_t h_stream): obtained by calling ``cuArrayGetSparseProperties`` and ``cuMipmappedArrayGetSparseProperties``. If ``CUarrayMapInfo.subresourceType`` is set to - ``CUarraySparseSubresourceType``::CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_MIPTAIL then + ``CUarraySparseSubresourceType.CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_MIPTAIL`` then ``CUarrayMapInfo.subresource.miptail`` struct must contain valid mip tail offset in ``CUarrayMapInfo.subresource.miptail.offset`` and size in ``CUarrayMapInfo.subresource.miptail.size``. Both, mip tail offset and mip tail @@ -33167,20 +33165,20 @@ cpdef mem_map_array_async(map_info_list, unsigned int count, intptr_t h_stream): ``CUmemOperationType`` is defined as:. \*\*View CUDA Toolkit Documentation for a C++ code example*\*. If ``CUarrayMapInfo.memOperationType`` is set to - ``CUmemOperationType``::CU_MEM_OPERATION_TYPE_MAP then the subresource will be + ``CUmemOperationType.CU_MEM_OPERATION_TYPE_MAP`` then the subresource will be mapped onto the tile pool memory specified by ``CUarrayMapInfo.memHandle`` at offset ``CUarrayMapInfo.offset``. The tile pool allocation has to be created by specifying the ``CU_MEM_CREATE_USAGE_TILE_POOL`` flag when calling ``cuMemCreate``. Also, ``CUarrayMapInfo.memHandleType`` must be set to - ``CUmemHandleType``::CU_MEM_HANDLE_TYPE_GENERIC. + ``CUmemHandleType.CU_MEM_HANDLE_TYPE_GENERIC``. If ``CUarrayMapInfo.memOperationType`` is set to - ``CUmemOperationType``::CU_MEM_OPERATION_TYPE_UNMAP then an unmapping operation + ``CUmemOperationType.CU_MEM_OPERATION_TYPE_UNMAP`` then an unmapping operation is performed. ``CUarrayMapInfo.memHandle`` must be NULL. ``CUarrayMapInfo.deviceBitMask`` specifies the list of devices that must map or unmap physical memory. Currently, this mask must have exactly one bit set, and the corresponding device must match the device associated with the stream. If ``CUarrayMapInfo.memOperationType`` is set to - ``CUmemOperationType``::CU_MEM_OPERATION_TYPE_MAP, the device must also match + ``CUmemOperationType.CU_MEM_OPERATION_TYPE_MAP``, the device must also match the device associated with the tile pool memory allocation as specified by ``CUarrayMapInfo.memHandle``. ``CUarrayMapInfo.flags`` and ``CUarrayMapInfo.reserved``\[] are unused and must @@ -33233,9 +33231,9 @@ cpdef mem_set_access(uint64_t ptr, size_t size, desc, size_t count): locations. The range must be a fully mapped address range containing all allocations created by ``cuMemMap`` / ``cuMemCreate``. Users cannot specify ``CU_MEM_LOCATION_TYPE_HOST_NUMA`` accessibility for allocations created on - with other location types. Note: When ``CUmemAccessDesc``::CUmemLocation::type - is ``CU_MEM_LOCATION_TYPE_HOST_NUMA``, ``CUmemAccessDesc``::CUmemLocation::id - is ignored. When setting the access flags for a virtual address range mapping a + with other location types. Note: When ``CUmemAccessDesc.CUmemLocation.type`` is + ``CU_MEM_LOCATION_TYPE_HOST_NUMA``, ``CUmemAccessDesc.CUmemLocation.id`` is + ignored. When setting the access flags for a virtual address range mapping a multicast object, ``ptr`` and ``size`` must be aligned to the value returned by ``cuMulticastGetGranularity`` with the flag ``CU_MULTICAST_MINIMUM_GRANULARITY``. For best performance however, it is @@ -33562,24 +33560,24 @@ cpdef intptr_t mem_pool_create(pool_props) except? 0: ``pool_props`` determines the properties of the pool such as the backing device and IPC capabilities. To create a memory pool for HOST memory not targeting a specific NUMA node, - applications must set set ``CUmemPoolProps``::CUmemLocation::type to - ``CU_MEM_LOCATION_TYPE_HOST``. ``CUmemPoolProps``::CUmemLocation::id is ignored + applications must set set ``CUmemPoolProps.CUmemLocation.type`` to + ``CU_MEM_LOCATION_TYPE_HOST``. ``CUmemPoolProps.CUmemLocation.id`` is ignored for such pools. Pools created with the type ``CU_MEM_LOCATION_TYPE_HOST`` are not IPC capable and ``CUmemPoolProps.handleTypes`` must be 0, any other values will result in ``CUDA_ERROR_INVALID_VALUE``. To create a memory pool targeting a specific host NUMA node, applications must set - ``CUmemPoolProps``::CUmemLocation::type to ``CU_MEM_LOCATION_TYPE_HOST_NUMA`` - and ``CUmemPoolProps``::CUmemLocation::id must specify the NUMA ID of the host - memory node. Specifying ``CU_MEM_LOCATION_TYPE_HOST_NUMA_CURRENT`` as the - ``CUmemPoolProps``::CUmemLocation::type will result in + ``CUmemPoolProps.CUmemLocation.type`` to ``CU_MEM_LOCATION_TYPE_HOST_NUMA`` and + ``CUmemPoolProps.CUmemLocation.id`` must specify the NUMA ID of the host memory + node. Specifying ``CU_MEM_LOCATION_TYPE_HOST_NUMA_CURRENT`` as the + ``CUmemPoolProps.CUmemLocation.type`` will result in ``CUDA_ERROR_INVALID_VALUE``. To create a memory pool targeting a specific device locality domain, applications must set - ``CUmemPoolProps``::CUmemLocation::type to + ``CUmemPoolProps.CUmemLocation.type`` to ``CU_MEM_LOCATION_TYPE_DEVICE_LOCALITY_DOMAIN``, - ``CUmemPoolProps``::CUmemLocation::localized.deviceId must specify the device - ID, and ``CUmemPoolProps``::CUmemLocation::localized.localityDomainId must - specify the locality domain ID. The locality domain ID must be a valid locality - domain ID for the specified device. See also ``cuDeviceGetAttribute`` with the + ``CUmemPoolProps.CUmemLocation.localized.deviceId`` must specify the device ID, + and ``CUmemPoolProps.CUmemLocation.localized.localityDomainId`` must specify + the locality domain ID. The locality domain ID must be a valid locality domain + ID for the specified device. See also ``cuDeviceGetAttribute`` with the attribute ``CU_DEVICE_ATTRIBUTE_LOCALITY_DOMAIN_COUNT``. By default, the pool's memory will be accessible from the device it is allocated on. In the case of pools created with @@ -33604,10 +33602,10 @@ cpdef intptr_t mem_pool_create(pool_props) except? 0: following command: ``mknod /dev/nvidia-caps-imex-channels/channel0 c 0``. To create a managed memory pool, applications must set - ``CUmemPoolProps``::CUmemAllocationType to CU_MEM_ALLOCATION_TYPE_MANAGED. - ``CUmemPoolProps``::CUmemAllocationHandleType must also be set to + ``CUmemPoolProps.CUmemAllocationType`` to CU_MEM_ALLOCATION_TYPE_MANAGED. + ``CUmemPoolProps.CUmemAllocationHandleType`` must also be set to CU_MEM_HANDLE_TYPE_NONE since IPC is not supported. For managed memory pools, - ``CUmemPoolProps``::CUmemLocation will be treated as the preferred location for + ``CUmemPoolProps.CUmemLocation`` will be treated as the preferred location for all allocations created from the pool. An application can also set CU_MEM_LOCATION_TYPE_NONE to indicate no preferred location. ``CUmemPoolProps.maxSize`` must be set to zero for managed memory pools. @@ -35364,7 +35362,7 @@ cpdef intptr_t import_external_memory(mem_handle_desc) except? 0: ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name`` must not be NULL. If ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle`` is not NULL, then it must represent a valid shared NT handle that is returned by - ID3D12Device::CreateSharedHandle when referring to a ID3D12Heap object. This + ``ID3D12Device.CreateSharedHandle`` when referring to a ID3D12Heap object. This handle holds a reference to the underlying object. If ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name`` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a @@ -35375,7 +35373,7 @@ cpdef intptr_t import_external_memory(mem_handle_desc) except? 0: ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name`` must not be NULL. If ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle`` is not NULL, then it must represent a valid shared NT handle that is returned by - ID3D12Device::CreateSharedHandle when referring to a ID3D12Resource object. + ``ID3D12Device.CreateSharedHandle`` when referring to a ID3D12Resource object. This handle holds a reference to the underlying object. If ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name`` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a @@ -35383,7 +35381,7 @@ cpdef intptr_t import_external_memory(mem_handle_desc) except? 0: If ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.type`` is ``CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE``, then ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle`` must represent a valid - shared NT handle that is returned by IDXGIResource1::CreateSharedHandle when + shared NT handle that is returned by ``IDXGIResource1.CreateSharedHandle`` when referring to a ID3D11Resource object. If ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name`` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a @@ -35391,7 +35389,7 @@ cpdef intptr_t import_external_memory(mem_handle_desc) except? 0: If ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.type`` is ``CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE_KMT``, then ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle`` must represent a valid - shared KMT handle that is returned by IDXGIResource::GetSharedHandle when + shared KMT handle that is returned by ``IDXGIResource.GetSharedHandle`` when referring to a ID3D11Resource object and ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name`` must be NULL. If ``CUDA_EXTERNAL_MEMORY_HANDLE_DESC.type`` is @@ -35501,7 +35499,7 @@ cpdef intptr_t external_memory_get_mapped_mipmapped_array(intptr_t ext_mem, mipm ``cuMipmappedArrayCreate``. Note that if the mipmapped array is bound as a color target in the graphics API, then the flag ``CUDA_ARRAY3D_COLOR_ATTACHMENT`` must be specified in - ``CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC``::arrayDesc::Flags. + ``CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC.arrayDesc.Flags``. ``CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC.numLevels`` specifies the total number of levels in the mipmap chain. If ``ext_mem`` was imported from a handle of type @@ -35589,15 +35587,15 @@ cpdef intptr_t import_external_semaphore(sem_handle_desc) except? 0: ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name`` must not be NULL. If ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle`` is not NULL, then it must represent a valid shared NT handle that is returned by - ID3D12Device::CreateSharedHandle when referring to a ID3D12Fence object. This - handle holds a reference to the underlying object. If + ``ID3D12Device.CreateSharedHandle`` when referring to a ID3D12Fence object. + This handle holds a reference to the underlying object. If ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name`` is not NULL, then it must name a valid synchronization object that refers to a valid ID3D12Fence object. If ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.type`` is ``CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE``, then ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle`` represents a valid - shared NT handle that is returned by ID3D11Fence::CreateSharedHandle. If + shared NT handle that is returned by ``ID3D11Fence.CreateSharedHandle``. If ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name`` is not NULL, then it must name a valid synchronization object that refers to a valid ID3D11Fence object. @@ -35607,7 +35605,7 @@ cpdef intptr_t import_external_semaphore(sem_handle_desc) except? 0: NvSciSyncObj. ``CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX``, then ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle`` represents a valid - shared NT handle that is returned by IDXGIResource1::CreateSharedHandle when + shared NT handle that is returned by ``IDXGIResource1.CreateSharedHandle`` when referring to a IDXGIKeyedMutex object. If ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name`` is not NULL, then it must name a valid synchronization object that refers to a valid IDXGIKeyedMutex @@ -35615,7 +35613,7 @@ cpdef intptr_t import_external_semaphore(sem_handle_desc) except? 0: If ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.type`` is ``CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX_KMT``, then ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle`` represents a valid - shared KMT handle that is returned by IDXGIResource::GetSharedHandle when + shared KMT handle that is returned by ``IDXGIResource.GetSharedHandle`` when referring to a IDXGIKeyedMutex object and ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name`` must be NULL. If ``CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.type`` is @@ -35723,7 +35721,7 @@ cpdef signal_external_semaphores_async(ext_sem_array, params_array, unsigned int ``CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX``, ``CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX_KMT`` then the keyed mutex will be released with the key specified in - ``CUDA_EXTERNAL_SEMAPHORE_PARAMS``::params::keyedmutex::key. + ``CUDA_EXTERNAL_SEMAPHORE_PARAMS.params.keyedmutex.key``. Args: ext_sem_array (object): Set of external semaphores to be signaled. It can be: @@ -43275,10 +43273,10 @@ cpdef memcpy_3d_batch_async_v2(size_t num_ops, op_list, unsigned long long flags the copy should begin. The ``CUmemcpy3DOperand.op.ptr.rowLength`` field specifies the length of each row in elements and must either be zero or be greater than or equal to the width of the copy specified in - ``CUDA_MEMCPY3D_BATCH_OP``::extent::width. The + ``CUDA_MEMCPY3D_BATCH_OP.extent.width``. The ``CUmemcpy3DOperand.op.ptr.layerHeight`` field specifies the height of each layer and must either be zero or be greater than or equal to the height of the - copy specified in ``CUDA_MEMCPY3D_BATCH_OP``::extent::height. When either of + copy specified in ``CUDA_MEMCPY3D_BATCH_OP.extent.height``. When either of these values is zero, that aspect of the operand is considered to be tightly packed according to the copy extent. For managed memory pointers on devices where ``CU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS`` is true or @@ -43995,8 +43993,8 @@ cpdef tuple dev_sm_resource_split(unsigned int nb_groups, input, unsigned int fl partition should be localized to the specified ``localityDomainId``. - ``CU_DEV_SM_RESOURCE_GROUP_LOCALITY_DOMAIN_SUPPLEMENTAL_SMS:`` Modifier to ``CU_DEV_SM_RESOURCE_GROUP_LOCALITY_DOMAIN_ID`` which allows selection - of SMs in the locality domain exceeding the ``CUdevice_attribute``::CU_DE - VICE_ATTRIBUTE_LOCALITY_DOMAIN_MULTIPROCESSOR_COUNT. + of SMs in the locality domain exceeding the ``CUdevice_attribute.CU_DEVIC + E_ATTRIBUTE_LOCALITY_DOMAIN_MULTIPROCESSOR_COUNT``. - ``localityDomainId:`` Specifies the locality domain that the partitioned SMs must be located on. Only valid when ``CU_DEV_SM_RESOURCE_GROUP_LOCALITY_DOMAIN_ID`` is set in flags. The @@ -44110,7 +44108,7 @@ cpdef memcpy_with_attributes_async(uint64_t dst, uint64_t src, size_t size, attr bytes to copy. ``attr`` specifies the attributes for the copy and ``h_stream`` specifies the stream to enqueue the operation in. For more information regarding the attributes, please refer to - ``CUmemcpyAttributes`` and it's usage desciption in::cuMemcpyBatchAsync. + ``CUmemcpyAttributes`` and it's usage description in ``cuMemcpyBatchAsync``. Args: dst (uint64_t): Destination device pointer. @@ -44133,7 +44131,8 @@ cpdef memcpy_3d_with_attributes_async(op, unsigned long long flags, intptr_t h_s Performs the copy operation specified in ``op``. ``flags`` specifies the flags for the copy and ``h_stream`` specifies the stream to enqueue the operation in. For more information regarding the operation, please refer to - ``CUDA_MEMCPY3D_BATCH_OP`` and it's usage desciption in::cuMemcpy3DBatchAsync. + ``CUDA_MEMCPY3D_BATCH_OP`` and it's usage description in + ``cuMemcpy3DBatchAsync``. Args: op (intptr_t): Operation to perform. diff --git a/cuda_bindings_13/cuda/bindings/cufile.pxd b/cuda_bindings_13/cuda/bindings/cufile.pxd index 72276195bab4..84be6655168c 100644 --- a/cuda_bindings_13/cuda/bindings/cufile.pxd +++ b/cuda_bindings_13/cuda/bindings/cufile.pxd @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.1 to 13.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b6bb1391c9ef913b529c0c3c664a9f335c2025ea9034e6e075e3543fff79038f +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=68806ae09c0689496070f681fad1b81c68d93dcecde7cc944658e5d0785e7806 @@ -26,8 +26,8 @@ ctypedef CUfileHandle_t Handle ctypedef CUfileBatchHandle_t BatchHandle ctypedef CUfileError_t Error ctypedef cufileRDMAInfo_t RDMAInfo -ctypedef CUfileFSOps_t FSOps ctypedef CUfileDrvProps_t DrvProps +ctypedef CUfileFSOps_t FSOps ############################################################################### diff --git a/cuda_bindings_13/cuda/bindings/cufile.pyx b/cuda_bindings_13/cuda/bindings/cufile.pyx index 7012d925b78b..5d05fb6a3406 100644 --- a/cuda_bindings_13/cuda/bindings/cufile.pyx +++ b/cuda_bindings_13/cuda/bindings/cufile.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.1 to 13.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=c3b2b4bee74608c9147b08755b19a90a61411b964f48c4067832acf1eeaa1096 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=d33ef737bf2d5ef2c79553ea842dbbaa16d6dc024d99ed76962c5596907b983e # <<<< PREAMBLE CONTENT >>>> @@ -1509,191 +1509,6 @@ cdef class IOVec: return obj -cdef _get_descr_dtype_offsets(): - cdef CUfileDescr_t *pod = _cyb_calloc(1, sizeof(CUfileDescr_t)) - if pod == NULL: - raise MemoryError("Error allocating CUfileDescr_t") - try: - return _numpy.dtype({ - 'names': ['type', 'handle', 'fs_ops'], - 'formats': [_numpy.int32, _py_anon_pod1_dtype, _numpy.intp], - 'offsets': [ - (&(pod.type)) - (pod), - (&(pod.handle)) - (pod), - (&(pod.fs_ops)) - (pod), - ], - 'itemsize': sizeof(CUfileDescr_t), - }) - finally: - _cyb_free(pod) - -descr_dtype = _get_descr_dtype_offsets() -cdef object descr_dtype_record = _numpy.dtype((_numpy.record, descr_dtype)) - -cdef class Descr: - """Empty-initialize an array of `CUfileDescr_t`. - The resulting object is of length `size` and of dtype `descr_dtype`. - If default-constructed, the instance represents a single struct. - - Args: - size (int): number of structs, default=1. - - .. seealso:: `CUfileDescr_t` - """ - cdef: - readonly object _data - object _owner - - def __init__(self, size=1): - self._data = _numpy.zeros(size, dtype=descr_dtype_record) - assert self._data.itemsize == sizeof(CUfileDescr_t), \ - f"itemsize {self._data.itemsize} mismatches struct size { sizeof(CUfileDescr_t) }" - - def __repr__(self): - if self._data.size > 1: - return f"<{__name__}.Descr_Array_{self._data.size} object at {hex(id(self))}>" - else: - return f"<{__name__}.Descr object at {hex(id(self))}>" - - @property - def ptr(self): - """Get the pointer address to the data as Python :class:`int`.""" - return _cyb_array_ptr(self._data) - - cdef intptr_t _get_ptr(self): - return _cyb_array_ptr(self._data) - - def __int__(self): - if self._data.size > 1 and not self._data.flags["C_CONTIGUOUS"]: - raise TypeError("int() argument must be a bytes-like object of size 1, or a " - "C-contiguous array. To get the pointer address of a " - "non-contiguous array, use .ptr") - return _cyb_array_ptr(self._data) - - def __len__(self): - return self._data.size - - def __eq__(self, other): - cdef object self_data = self._data - if (not isinstance(other, Descr)) or self_data.size != other._data.size or self_data.dtype != other._data.dtype: - return False - return bool((self_data == other._data).all()) - - def __getbuffer__(self, Py_buffer *buffer, int flags): - _cyb_cpython.PyObject_GetBuffer(self._data, buffer, flags) - - def __releasebuffer__(self, Py_buffer *buffer): - _cyb_cpython.PyBuffer_Release(buffer) - - @property - def type(self): - """Union[~_numpy.int32, int]: """ - if self._data.size == 1: - return int(self._data["type"][0]) - return self._data["type"] - - @type.setter - def type(self, val): - if not self._data.flags.writeable: - raise ValueError("This Descr instance is read-only") - self._data["type"] = val - - @property - def handle(self): - """_py_anon_pod1_dtype: """ - return self._data["handle"].view(_numpy.recarray) - - @handle.setter - def handle(self, val): - if not self._data.flags.writeable: - raise ValueError("This Descr instance is read-only") - self._data["handle"] = val - - @property - def fs_ops(self): - """Union[~_numpy.intp, int]: """ - if self._data.size == 1: - return int(self._data["fs_ops"][0]) - return self._data["fs_ops"] - - @fs_ops.setter - def fs_ops(self, val): - if not self._data.flags.writeable: - raise ValueError("This Descr instance is read-only") - self._data["fs_ops"] = val - - def __getitem__(self, key): - cdef ssize_t key_ - cdef ssize_t size - cdef Descr obj - 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 - obj = Descr.__new__(Descr) - obj._data = self._data[key_:key_+1] - obj._owner = self._owner - return obj - out = self._data[key] - if isinstance(out, _numpy.ndarray): - if out.dtype == descr_dtype: - obj = Descr.from_data(out) - obj._owner = self._owner - return obj - if out.dtype.names is not None: - return out.view(_numpy.recarray) - return out - - def __setitem__(self, key, val): - self._data[key] = val - - @staticmethod - def from_buffer(buffer): - """Create an Descr instance with the memory from the given buffer.""" - return Descr.from_data(_numpy.frombuffer(buffer, dtype=descr_dtype)) - - @staticmethod - def from_data(data): - """Create an Descr instance wrapping the given NumPy array. - - Args: - data (_numpy.ndarray): a 1D array of dtype `descr_dtype` holding the data. - """ - cdef Descr obj = Descr.__new__(Descr) - 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 != descr_dtype: - raise ValueError("data array must be of dtype descr_dtype") - obj._data = data.view(dtype=descr_dtype_record, type=_numpy.ndarray) - return obj - - @staticmethod - 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)") - cdef Descr obj = Descr.__new__(Descr) - 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(CUfileDescr_t) * size, flag) - obj._data = _numpy.ndarray(size, buffer=buf, dtype=descr_dtype_record) - obj._owner = owner - return obj - - cdef _get__py_anon_pod2_dtype_offsets(): cdef cuda_bindings_cufile__anon_pod2 *pod = _cyb_calloc(1, sizeof(cuda_bindings_cufile__anon_pod2)) if pod == NULL: @@ -2746,6 +2561,191 @@ cdef class StatsLevel1: return obj +cdef _get_descr_dtype_offsets(): + cdef CUfileDescr_t *pod = _cyb_calloc(1, sizeof(CUfileDescr_t)) + if pod == NULL: + raise MemoryError("Error allocating CUfileDescr_t") + try: + return _numpy.dtype({ + 'names': ['type', 'handle', 'fs_ops'], + 'formats': [_numpy.int32, _py_anon_pod1_dtype, _numpy.intp], + 'offsets': [ + (&(pod.type)) - (pod), + (&(pod.handle)) - (pod), + (&(pod.fs_ops)) - (pod), + ], + 'itemsize': sizeof(CUfileDescr_t), + }) + finally: + _cyb_free(pod) + +descr_dtype = _get_descr_dtype_offsets() +cdef object descr_dtype_record = _numpy.dtype((_numpy.record, descr_dtype)) + +cdef class Descr: + """Empty-initialize an array of `CUfileDescr_t`. + The resulting object is of length `size` and of dtype `descr_dtype`. + If default-constructed, the instance represents a single struct. + + Args: + size (int): number of structs, default=1. + + .. seealso:: `CUfileDescr_t` + """ + cdef: + readonly object _data + object _owner + + def __init__(self, size=1): + self._data = _numpy.zeros(size, dtype=descr_dtype_record) + assert self._data.itemsize == sizeof(CUfileDescr_t), \ + f"itemsize {self._data.itemsize} mismatches struct size { sizeof(CUfileDescr_t) }" + + def __repr__(self): + if self._data.size > 1: + return f"<{__name__}.Descr_Array_{self._data.size} object at {hex(id(self))}>" + else: + return f"<{__name__}.Descr object at {hex(id(self))}>" + + @property + def ptr(self): + """Get the pointer address to the data as Python :class:`int`.""" + return _cyb_array_ptr(self._data) + + cdef intptr_t _get_ptr(self): + return _cyb_array_ptr(self._data) + + def __int__(self): + if self._data.size > 1 and not self._data.flags["C_CONTIGUOUS"]: + raise TypeError("int() argument must be a bytes-like object of size 1, or a " + "C-contiguous array. To get the pointer address of a " + "non-contiguous array, use .ptr") + return _cyb_array_ptr(self._data) + + def __len__(self): + return self._data.size + + def __eq__(self, other): + cdef object self_data = self._data + if (not isinstance(other, Descr)) or self_data.size != other._data.size or self_data.dtype != other._data.dtype: + return False + return bool((self_data == other._data).all()) + + def __getbuffer__(self, Py_buffer *buffer, int flags): + _cyb_cpython.PyObject_GetBuffer(self._data, buffer, flags) + + def __releasebuffer__(self, Py_buffer *buffer): + _cyb_cpython.PyBuffer_Release(buffer) + + @property + def type(self): + """Union[~_numpy.int32, int]: """ + if self._data.size == 1: + return int(self._data["type"][0]) + return self._data["type"] + + @type.setter + def type(self, val): + if not self._data.flags.writeable: + raise ValueError("This Descr instance is read-only") + self._data["type"] = val + + @property + def handle(self): + """_py_anon_pod1_dtype: """ + return self._data["handle"].view(_numpy.recarray) + + @handle.setter + def handle(self, val): + if not self._data.flags.writeable: + raise ValueError("This Descr instance is read-only") + self._data["handle"] = val + + @property + def fs_ops(self): + """Union[~_numpy.intp, int]: """ + if self._data.size == 1: + return int(self._data["fs_ops"][0]) + return self._data["fs_ops"] + + @fs_ops.setter + def fs_ops(self, val): + if not self._data.flags.writeable: + raise ValueError("This Descr instance is read-only") + self._data["fs_ops"] = val + + def __getitem__(self, key): + cdef ssize_t key_ + cdef ssize_t size + cdef Descr obj + 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 + obj = Descr.__new__(Descr) + obj._data = self._data[key_:key_+1] + obj._owner = self._owner + return obj + out = self._data[key] + if isinstance(out, _numpy.ndarray): + if out.dtype == descr_dtype: + obj = Descr.from_data(out) + obj._owner = self._owner + return obj + if out.dtype.names is not None: + return out.view(_numpy.recarray) + return out + + def __setitem__(self, key, val): + self._data[key] = val + + @staticmethod + def from_buffer(buffer): + """Create an Descr instance with the memory from the given buffer.""" + return Descr.from_data(_numpy.frombuffer(buffer, dtype=descr_dtype)) + + @staticmethod + def from_data(data): + """Create an Descr instance wrapping the given NumPy array. + + Args: + data (_numpy.ndarray): a 1D array of dtype `descr_dtype` holding the data. + """ + cdef Descr obj = Descr.__new__(Descr) + 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 != descr_dtype: + raise ValueError("data array must be of dtype descr_dtype") + obj._data = data.view(dtype=descr_dtype_record, type=_numpy.ndarray) + return obj + + @staticmethod + 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)") + cdef Descr obj = Descr.__new__(Descr) + 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(CUfileDescr_t) * size, flag) + obj._data = _numpy.ndarray(size, buffer=buf, dtype=descr_dtype_record) + obj._owner = owner + return obj + + cdef _get_io_params_dtype_offsets(): cdef CUfileIOParams_t *pod = _cyb_calloc(1, sizeof(CUfileIOParams_t)) if pod == NULL: diff --git a/cuda_bindings_13/cuda/bindings/cycufile.pxd b/cuda_bindings_13/cuda/bindings/cycufile.pxd index 1e9881c09f41..d348a01e1213 100644 --- a/cuda_bindings_13/cuda/bindings/cycufile.pxd +++ b/cuda_bindings_13/cuda/bindings/cycufile.pxd @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.1 to 13.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=6b186213893641102a6504ed18ea5ba823527fc5ef549efe4cb0127f7c2af339 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=47f01a641b766a62e7d01b7b4093fc4a4ec910d0dfeadd8df762a74309a4ea1e # <<<< PREAMBLE CONTENT >>>> @@ -242,14 +242,6 @@ cdef extern from 'cufile.h': int desc_len char* desc_str -cdef extern from 'cufile.h': - ctypedef struct CUfileFSOps_t 'CUfileFSOps_t': - char* (*fs_type)(const void*) - int (*getRDMADeviceList)(const void*, sockaddr_t**) - int (*getRDMADevicePriority)(const void*, char*, size_t, loff_t, const sockaddr_t*) - ssize_t (*read)(const void*, char*, size_t, loff_t, const cufileRDMAInfo_t*) - ssize_t (*write)(const void*, const char*, size_t, loff_t, const cufileRDMAInfo_t*) - cdef extern from 'cufile.h': ctypedef union cuda_bindings_cufile__anon_pod1 "std::remove_all_extentshandle)>::type": int fd @@ -322,10 +314,12 @@ cdef extern from 'cufile.h': unsigned int max_batch_io_timeout_msecs cdef extern from 'cufile.h': - ctypedef struct CUfileDescr_t 'CUfileDescr_t': - CUfileFileHandleType type - cuda_bindings_cufile__anon_pod1 handle - CUfileFSOps_t* fs_ops + ctypedef struct CUfileFSOps_t 'CUfileFSOps_t': + char* (*fs_type)(const void*) + int (*getRDMADeviceList)(const void*, sockaddr_t**) + int (*getRDMADevicePriority)(const void*, char*, size_t, loff_t, const sockaddr_t*) + ssize_t (*read)(const void*, char*, size_t, loff_t, const cufileRDMAInfo_t*) + ssize_t (*write)(const void*, const char*, size_t, loff_t, const cufileRDMAInfo_t*) cdef extern from 'cufile.h': ctypedef union cuda_bindings_cufile__anon_pod2 "std::remove_all_extentsu)>::type": @@ -389,6 +383,12 @@ cdef extern from 'cufile.h': uint64_t readv_lat_sum_us uint64_t writev_lat_sum_us +cdef extern from 'cufile.h': + ctypedef struct CUfileDescr_t 'CUfileDescr_t': + CUfileFileHandleType type + cuda_bindings_cufile__anon_pod1 handle + CUfileFSOps_t* fs_ops + cdef extern from 'cufile.h': ctypedef struct CUfileIOParams_t 'CUfileIOParams_t': CUfileBatchMode_t mode diff --git a/cuda_bindings_13/cuda/bindings/cydriver.pxd b/cuda_bindings_13/cuda/bindings/cydriver.pxd index 355763c12307..755eef9715dd 100644 --- a/cuda_bindings_13/cuda/bindings/cydriver.pxd +++ b/cuda_bindings_13/cuda/bindings/cydriver.pxd @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.0 to 13.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=8a46dfdd68219b4a7117e7934ac83710287f47e9481442445ae9fbb888df019e +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=e2dd61eb0d1396da070ce7005ceeec0edfa64b8f6f71c6f0a932c69a8b26169d # <<<< PREAMBLE CONTENT >>>> @@ -723,7 +723,6 @@ cdef extern from 'cuda.h': CU_GRAPH_NODE_TYPE_BATCH_MEM_OP CU_GRAPH_NODE_TYPE_CONDITIONAL CU_GRAPH_NODE_TYPE_MEMCPY_BATCH - CU_GRAPH_NODE_TYPE_RESERVED_16 CU_GRAPH_NODE_TYPE_EXTERNAL_ENGINE CU_GRAPH_NODE_TYPE_FABRIC_CPY_BATCH ctypedef CUgraphNodeType_enum CUgraphNodeType diff --git a/cuda_bindings_13/cuda/bindings/cynvml.pxd b/cuda_bindings_13/cuda/bindings/cynvml.pxd index 6b7077f0fa84..44af9e1e18ab 100644 --- a/cuda_bindings_13/cuda/bindings/cynvml.pxd +++ b/cuda_bindings_13/cuda/bindings/cynvml.pxd @@ -11,7 +11,7 @@ ############################################################################### # enums -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=2c738c3fcedf7ae3325451885afecee74d7aa012ce8cf57d351957d5f22e02fc +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=18f24866cadb434b5312ebe3aa384030731e3b319ab6535781ee95f25ab32ff4 ctypedef enum nvmlBridgeChipType_t "nvmlBridgeChipType_t": NVML_BRIDGE_CHIP_PLX "NVML_BRIDGE_CHIP_PLX" = 0 NVML_BRIDGE_CHIP_BRO4 "NVML_BRIDGE_CHIP_BRO4" = 1 @@ -20,7 +20,6 @@ ctypedef enum nvmlNvLinkUtilizationCountUnits_t "nvmlNvLinkUtilizationCountUnits NVML_NVLINK_COUNTER_UNIT_CYCLES "NVML_NVLINK_COUNTER_UNIT_CYCLES" = 0 NVML_NVLINK_COUNTER_UNIT_PACKETS "NVML_NVLINK_COUNTER_UNIT_PACKETS" = 1 NVML_NVLINK_COUNTER_UNIT_BYTES "NVML_NVLINK_COUNTER_UNIT_BYTES" = 2 - NVML_NVLINK_COUNTER_UNIT_RESERVED "NVML_NVLINK_COUNTER_UNIT_RESERVED" = 3 NVML_NVLINK_COUNTER_UNIT_COUNT "NVML_NVLINK_COUNTER_UNIT_COUNT" ctypedef enum nvmlNvLinkUtilizationCountPktTypes_t "nvmlNvLinkUtilizationCountPktTypes_t": diff --git a/cuda_bindings_13/cuda/bindings/cyruntime.pxd b/cuda_bindings_13/cuda/bindings/cyruntime.pxd index c67689138667..1a975f03dfc8 100644 --- a/cuda_bindings_13/cuda/bindings/cyruntime.pxd +++ b/cuda_bindings_13/cuda/bindings/cyruntime.pxd @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.0 to 13.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=954df8ef058bb13213696a889e371949b55720bf8fe69e6f8eb90b898dbebb04 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b891b334bfced10b68d02e0b633a991a50b28ed92b6f7aaa66e70d7cafa22a56 # <<<< PREAMBLE CONTENT >>>> @@ -677,11 +677,7 @@ cdef extern from 'driver_types.h': cudaDevAttrConcurrentManagedAccess cudaDevAttrComputePreemptionSupported cudaDevAttrCanUseHostPointerForRegisteredMem - cudaDevAttrReserved92 - cudaDevAttrReserved93 - cudaDevAttrReserved94 cudaDevAttrCooperativeLaunch - cudaDevAttrReserved96 cudaDevAttrMaxSharedMemoryPerBlockOptin cudaDevAttrCanFlushRemoteWrites cudaDevAttrHostRegisterSupported @@ -701,28 +697,19 @@ cdef extern from 'driver_types.h': cudaDevAttrMemoryPoolSupportedHandleTypes cudaDevAttrClusterLaunch cudaDevAttrDeferredMappingCudaArraySupported - cudaDevAttrReserved122 - cudaDevAttrReserved123 - cudaDevAttrReserved124 cudaDevAttrIpcEventSupport cudaDevAttrMemSyncDomainCount - cudaDevAttrReserved127 - cudaDevAttrReserved128 - cudaDevAttrReserved129 cudaDevAttrNumaConfig cudaDevAttrNumaId - cudaDevAttrReserved132 cudaDevAttrMpsEnabled cudaDevAttrHostNumaId cudaDevAttrD3D12CigSupported cudaDevAttrVulkanCigSupported cudaDevAttrGpuPciDeviceId cudaDevAttrGpuPciSubsystemId - cudaDevAttrReserved141 cudaDevAttrHostNumaMemoryPoolsSupported cudaDevAttrHostNumaMultinodeIpcSupported cudaDevAttrHostMemoryPoolsSupported - cudaDevAttrReserved145 cudaDevAttrOnlyPartialHostNativeAtomicSupported cudaDevAttrAtomicReductionSupported cudaDevAttrLocalityDomainCount @@ -885,7 +872,6 @@ cdef extern from 'driver_types.h': cdef enum cudaCGScope: cudaCGScopeInvalid cudaCGScopeGrid - cudaCGScopeReserved cudaCGScopeMultiGrid cdef extern from 'driver_types.h': @@ -914,7 +900,6 @@ cdef extern from 'driver_types.h': cudaGraphNodeTypeMemFree cudaGraphNodeTypeConditional cudaGraphNodeTypeMemcpyBatch - cudaGraphNodeTypeReserved16 cudaGraphNodeTypeExternalEngine cudaGraphNodeTypeCount @@ -2103,6 +2088,12 @@ cdef extern from 'driver_types.h': cudaDevResource_st* nextResource ctypedef cudaDevResource_st cudaDevResource +cdef extern from 'driver_types.h': + cdef struct cudaLaunchAttribute_st: + cudaLaunchAttributeID id + cudaLaunchAttributeValue val + ctypedef cudaLaunchAttribute_st cudaLaunchAttribute + cdef extern from 'driver_types.h': cdef struct cudaResourceDesc: cudaResourceType resType @@ -2165,6 +2156,16 @@ cdef extern from 'driver_types.h': unsigned int numExtSems cudaExecutionContext_t ctx +cdef extern from 'driver_types.h': + cdef struct cudaLaunchConfig_st: + dim3 gridDim + dim3 blockDim + size_t dynamicSmemBytes + cudaStream_t stream + cudaLaunchAttribute* attrs + unsigned int numAttrs + ctypedef cudaLaunchConfig_st cudaLaunchConfig_t + cdef extern from 'driver_types.h': cdef struct cudaMemAllocNodeParams: cudaMemPoolProps poolProps @@ -2245,32 +2246,6 @@ cdef extern from '': cudaGraphRecaptureCallback_t callbackFunc void* userData -cdef extern from 'driver_types.h': - # cudaLaunchAttribute_st is SKIPped (sizeof-based array dimension in pad field). - # Declared here (after the enum and type sections) so that cudaLaunchAttributeID and - # cudaLaunchAttributeValue are already in scope — Cython requires forward types to - # be visible at the point of use even inside cdef extern from blocks. - # Field types must match the legacy_cython_gen ABI baseline for __pyx_capi__ compat. - ctypedef struct cudaLaunchAttribute_st 'cudaLaunchAttribute_st': - cudaLaunchAttributeID id - cudaLaunchAttributeValue val - -cdef extern from 'driver_types.h': - ctypedef cudaLaunchAttribute_st cudaLaunchAttribute 'cudaLaunchAttribute' - -# cudaLaunchConfig_st references cudaLaunchAttribute* so it must follow the above. -# Declared here rather than auto-generated (which would land in type_decls, before -# cudaLaunchAttribute) to satisfy Cython's forward-declaration requirement. -cdef extern from '': - cdef struct cudaLaunchConfig_st: - dim3 gridDim - dim3 blockDim - size_t dynamicSmemBytes - cudaStream_t stream - cudaLaunchAttribute* attrs - unsigned int numAttrs - ctypedef cudaLaunchConfig_st cudaLaunchConfig_t - cdef extern from 'cuda_runtime_api.h': ctypedef void (*cudaAsyncCallback)(cudaAsyncNotificationInfo_t* info, void* userData, cudaAsyncCallbackHandle_t handle) nogil diff --git a/cuda_bindings_13/cuda/bindings/driver.pxd b/cuda_bindings_13/cuda/bindings/driver.pxd index 4831716a51a7..8827199cb24d 100644 --- a/cuda_bindings_13/cuda/bindings/driver.pxd +++ b/cuda_bindings_13/cuda/bindings/driver.pxd @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 # This code was automatically generated with version 13.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=264def9594c0d23752f232304eca179db14162c9d952745a939811278d336c50 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b3b6c204bf4086f2ac6a36f4d08293d7c5d675e41e957ae542067f13e667ebae cimport cuda.bindings.cydriver as cydriver include "_lib/utils.pxd" @@ -3285,7 +3285,7 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st: handle : anon_union6 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -3438,7 +3438,7 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st: handle : anon_union7 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int @@ -4062,7 +4062,7 @@ cdef class CUarrayMapInfo_st: offset : unsigned long long - Offset within mip tail Offset within the memory + Offset within the memory deviceBitMask : unsigned int @@ -9274,7 +9274,7 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1(CUDA_EXTERNAL_MEMORY_HANDLE_DESC_ handle : anon_union6 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -9304,7 +9304,7 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC(CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1) handle : anon_union6 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -9440,7 +9440,7 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1(CUDA_EXTERNAL_SEMAPHORE_HANDLE handle : anon_union7 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int @@ -9466,7 +9466,7 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC(CUDA_EXTERNAL_SEMAPHORE_HANDLE_DE handle : anon_union7 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int @@ -9823,7 +9823,7 @@ cdef class CUarrayMapInfo_v1(CUarrayMapInfo_st): offset : unsigned long long - Offset within mip tail Offset within the memory + Offset within the memory deviceBitMask : unsigned int @@ -9878,7 +9878,7 @@ cdef class CUarrayMapInfo(CUarrayMapInfo_v1): offset : unsigned long long - Offset within mip tail Offset within the memory + Offset within the memory deviceBitMask : unsigned int diff --git a/cuda_bindings_13/cuda/bindings/driver.pyx b/cuda_bindings_13/cuda/bindings/driver.pyx index 4483ea499616..76e8a92470f2 100644 --- a/cuda_bindings_13/cuda/bindings/driver.pyx +++ b/cuda_bindings_13/cuda/bindings/driver.pyx @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 # This code was automatically generated with version 13.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=a9861cd2390709aa722c402deb710e0b922d2ac7cf483a2208a997a00027a479 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=492f91fc00c03619bc638a3d6751fe2fce43f64f4a6c853235cb6ff2d94ebab1 from typing import Any, Optional import cython import ctypes @@ -3985,12 +3985,6 @@ class CUgraphNodeType(_FastEnum): ) - CU_GRAPH_NODE_TYPE_RESERVED_16 = ( - cydriver.CUgraphNodeType_enum.CU_GRAPH_NODE_TYPE_RESERVED_16, - 'Reserved\n' - ) - - CU_GRAPH_NODE_TYPE_EXTERNAL_ENGINE = ( cydriver.CUgraphNodeType_enum.CU_GRAPH_NODE_TYPE_EXTERNAL_ENGINE, 'Reserved for External Engine node\n' @@ -18717,7 +18711,7 @@ cdef class CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st: handle : anon_union6 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -19139,7 +19133,7 @@ cdef class CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st: handle : anon_union7 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int @@ -20945,7 +20939,7 @@ cdef class CUarrayMapInfo_st: offset : unsigned long long - Offset within mip tail Offset within the memory + Offset within the memory deviceBitMask : unsigned int @@ -34413,8 +34407,8 @@ def cuMemcpyWithAttributesAsync(dst, src, size_t size, attr : Optional[CUmemcpyA and `hStream` specifies the stream to enqueue the operation in. For more information regarding the attributes, please refer to - :py:obj:`~.CUmemcpyAttributes` and it's usage desciption - in::cuMemcpyBatchAsync + :py:obj:`~.CUmemcpyAttributes` and it's usage description in + :py:obj:`~.cuMemcpyBatchAsync` Parameters ---------- @@ -34478,8 +34472,8 @@ def cuMemcpy3DWithAttributesAsync(op : Optional[CUDA_MEMCPY3D_BATCH_OP], unsigne operation in. For more information regarding the operation, please refer to - :py:obj:`~.CUDA_MEMCPY3D_BATCH_OP` and it's usage desciption - in::cuMemcpy3DBatchAsync + :py:obj:`~.CUDA_MEMCPY3D_BATCH_OP` and it's usage description in + :py:obj:`~.cuMemcpy3DBatchAsync` Parameters ---------- @@ -35848,9 +35842,9 @@ def cuMemGetHandleForAddressRange(dptr, size_t size, handleType not None : CUmem """ Retrieve handle for an address range. Get a handle of the specified type to an address range. When requesting - CUmemRangeHandleType::CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD, address - range obtained by a prior call to either :py:obj:`~.cuMemAlloc` or - :py:obj:`~.cuMemAddressReserve` is supported if the + :py:obj:`~.CUmemRangeHandleType.CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD`, + address range obtained by a prior call to either :py:obj:`~.cuMemAlloc` + or :py:obj:`~.cuMemAddressReserve` is supported if the :py:obj:`~.CU_DEVICE_ATTRIBUTE_DMA_BUF_SUPPORTED` device attribute returns true. If the address range was obtained via :py:obj:`~.cuMemAddressReserve`, it must also be fully mapped via @@ -35876,17 +35870,19 @@ def cuMemGetHandleForAddressRange(dptr, size_t size, handleType not None : CUmem new handle every time the underlying physical allocation(s) corresponding to a previously queried VA range are changed. - For CUmemRangeHandleType::CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD, users - may set flags to + For + :py:obj:`~.CUmemRangeHandleType.CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD`, + users may set flags to :py:obj:`~.CU_MEM_RANGE_FLAG_DMA_BUF_MAPPING_TYPE_PCIE`. Which when set on a supported platform, will give a DMA_BUF handle mapped via PCIE BAR1 or will return an error otherwise. If the device attribute :py:obj:`~.CU_DEVICE_ATTRIBUTE_DMA_BUF_MMAP_SUPPORTED` is set and a - CUmemRangeHandleType::CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD is requested - for a device memory range then the returned dmabuf file descriptor may - be passed as the file descriptor argument to the mmap() system call. + :py:obj:`~.CUmemRangeHandleType.CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD` is + requested for a device memory range then the returned dmabuf file + descriptor may be passed as the file descriptor argument to the mmap() + system call. For device memory on x86 systems the mapping will be a write combined mapping. On coherent ARM platforms these mappings will be regular @@ -35904,9 +35900,10 @@ def cuMemGetHandleForAddressRange(dptr, size_t size, handleType not None : CUmem output parameter) flags : unsigned long long When requesting - CUmemRangeHandleType::CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD the value - could be :py:obj:`~.CU_MEM_RANGE_FLAG_DMA_BUF_MAPPING_TYPE_PCIE`, - otherwise 0. + :py:obj:`~.CUmemRangeHandleType.CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD` + the value could be + :py:obj:`~.CU_MEM_RANGE_FLAG_DMA_BUF_MAPPING_TYPE_PCIE`, otherwise + 0. Returns ------- @@ -36137,9 +36134,9 @@ def cuMemCreate(size_t size, prop : Optional[CUmemAllocationProp], unsigned long :py:obj:`~.CU_MEM_LOCATION_TYPE_DEVICE_LOCALITY_DOMAIN` as the :py:obj:`~.CUmemLocation.type` will localize the allocation to the specified locality domain. - :py:obj:`~.CUmemAllocationProp.CUmemLocation.localized`.deviceId must + :py:obj:`~.CUmemAllocationProp.CUmemLocation.localized.deviceId` must specify the device ID. - :py:obj:`~.CUmemAllocationProp.CUmemLocation.localized`.localityDomainId + :py:obj:`~.CUmemAllocationProp.CUmemLocation.localized.localityDomainId` must specify the locality domain ID. The locality domain ID must be a valid locality domain ID for the specified device. See also :py:obj:`~.cuDeviceGetAttribute` with the attribute @@ -37322,9 +37319,9 @@ def cuMemPoolCreate(poolProps : Optional[CUmemPoolProps]): a specific device locality domain, applications must set :py:obj:`~.CUmemPoolProps.CUmemLocation.type` to :py:obj:`~.CU_MEM_LOCATION_TYPE_DEVICE_LOCALITY_DOMAIN`, - :py:obj:`~.CUmemPoolProps.CUmemLocation.localized`.deviceId must + :py:obj:`~.CUmemPoolProps.CUmemLocation.localized.deviceId` must specify the device ID, and - :py:obj:`~.CUmemPoolProps.CUmemLocation.localized`.localityDomainId + :py:obj:`~.CUmemPoolProps.CUmemLocation.localized.localityDomainId` must specify the locality domain ID. The locality domain ID must be a valid locality domain ID for the specified device. See also :py:obj:`~.cuDeviceGetAttribute` with the attribute @@ -42914,8 +42911,9 @@ def cuImportExternalMemory(memHandleDesc : Optional[CUDA_EXTERNAL_MEMORY_HANDLE_ be NULL. If :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is returned - by ID3D12Device::CreateSharedHandle when referring to a ID3D12Heap - object. This handle holds a reference to the underlying object. If + by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring to a + ID3D12Heap object. This handle holds a reference to the underlying + object. If :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a ID3D12Heap object. @@ -42927,8 +42925,9 @@ def cuImportExternalMemory(memHandleDesc : Optional[CUDA_EXTERNAL_MEMORY_HANDLE_ not be NULL. If :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is returned - by ID3D12Device::CreateSharedHandle when referring to a ID3D12Resource - object. This handle holds a reference to the underlying object. If + by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring to a + ID3D12Resource object. This handle holds a reference to the underlying + object. If :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a ID3D12Resource object. @@ -42937,8 +42936,8 @@ def cuImportExternalMemory(memHandleDesc : Optional[CUDA_EXTERNAL_MEMORY_HANDLE_ :py:obj:`~.CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE`, then :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle` must represent a valid shared NT handle that is returned by - IDXGIResource1::CreateSharedHandle when referring to a ID3D11Resource - object. If + :py:obj:`~.IDXGIResource1.CreateSharedHandle` when referring to a + ID3D11Resource object. If :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a ID3D11Resource object. @@ -42947,8 +42946,8 @@ def cuImportExternalMemory(memHandleDesc : Optional[CUDA_EXTERNAL_MEMORY_HANDLE_ :py:obj:`~.CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE_KMT`, then :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.handle` must represent a valid shared KMT handle that is returned by - IDXGIResource::GetSharedHandle when referring to a ID3D11Resource - object and + :py:obj:`~.IDXGIResource.GetSharedHandle` when referring to a + ID3D11Resource object and :py:obj:`~.CUDA_EXTERNAL_MEMORY_HANDLE_DESC.handle.win32.name` must be NULL. @@ -43249,9 +43248,9 @@ def cuImportExternalSemaphore(semHandleDesc : Optional[CUDA_EXTERNAL_SEMAPHORE_H not be NULL. If :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is - returned by ID3D12Device::CreateSharedHandle when referring to a - ID3D12Fence object. This handle holds a reference to the underlying - object. If + returned by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring + to a ID3D12Fence object. This handle holds a reference to the + underlying object. If :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name` is not NULL, then it must name a valid synchronization object that refers to a valid ID3D12Fence object. @@ -43260,7 +43259,7 @@ def cuImportExternalSemaphore(semHandleDesc : Optional[CUDA_EXTERNAL_SEMAPHORE_H :py:obj:`~.CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE`, then :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle` represents a valid shared NT handle that is returned by - ID3D11Fence::CreateSharedHandle. If + :py:obj:`~.ID3D11Fence.CreateSharedHandle`. If :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name` is not NULL, then it must name a valid synchronization object that refers to a valid ID3D11Fence object. @@ -43273,8 +43272,8 @@ def cuImportExternalSemaphore(semHandleDesc : Optional[CUDA_EXTERNAL_SEMAPHORE_H :py:obj:`~.CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX`, then :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle` represents a valid shared NT handle that is returned by - IDXGIResource1::CreateSharedHandle when referring to a IDXGIKeyedMutex - object. If + :py:obj:`~.IDXGIResource1.CreateSharedHandle` when referring to a + IDXGIKeyedMutex object. If :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name` is not NULL, then it must name a valid synchronization object that refers to a valid IDXGIKeyedMutex object. @@ -43284,8 +43283,8 @@ def cuImportExternalSemaphore(semHandleDesc : Optional[CUDA_EXTERNAL_SEMAPHORE_H then :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.handle` represents a valid shared KMT handle that is returned by - IDXGIResource::GetSharedHandle when referring to a IDXGIKeyedMutex - object and + :py:obj:`~.IDXGIResource.GetSharedHandle` when referring to a + IDXGIKeyedMutex object and :py:obj:`~.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC.handle.win32.name` must be NULL. @@ -55370,14 +55369,14 @@ def cuCoredumpGetAttribute(attrib not None : CUcoredumpSettings): - :py:obj:`~.CU_COREDUMP_FILE`: String of up to 1023 characters that defines the location where any coredumps generated by this context will be written. The default value is - :py:obj:`~.core`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is the + :py:obj:`~.core.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA applications and :py:obj:`~.PID` is the process ID of the CUDA application. - :py:obj:`~.CU_COREDUMP_PIPE`: String of up to 1023 characters that defines the name of the pipe that will be monitored if user-triggered coredumps are enabled. The default value is - :py:obj:`~.corepipe`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is + :py:obj:`~.corepipe.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA application and :py:obj:`~.PID` is the process ID of the CUDA application. @@ -55509,14 +55508,14 @@ def cuCoredumpGetAttributeGlobal(attrib not None : CUcoredumpSettings): - :py:obj:`~.CU_COREDUMP_FILE`: String of up to 1023 characters that defines the location where any coredumps generated by this context will be written. The default value is - :py:obj:`~.core`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is the + :py:obj:`~.core.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA applications and :py:obj:`~.PID` is the process ID of the CUDA application. - :py:obj:`~.CU_COREDUMP_PIPE`: String of up to 1023 characters that defines the name of the pipe that will be monitored if user-triggered coredumps are enabled. The default value is - :py:obj:`~.corepipe`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is + :py:obj:`~.corepipe.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA application and :py:obj:`~.PID` is the process ID of the CUDA application. @@ -55662,7 +55661,7 @@ def cuCoredumpSetAttribute(attrib not None : CUcoredumpSettings, value): - :py:obj:`~.CU_COREDUMP_FILE`: String of up to 1023 characters that defines the location where any coredumps generated by this context will be written. The default value is - :py:obj:`~.core`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is the + :py:obj:`~.core.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA applications and :py:obj:`~.PID` is the process ID of the CUDA application. @@ -55806,7 +55805,7 @@ def cuCoredumpSetAttributeGlobal(attrib not None : CUcoredumpSettings, value): - :py:obj:`~.CU_COREDUMP_FILE`: String of up to 1023 characters that defines the location where any coredumps generated by this context will be written. The default value is - :py:obj:`~.core`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is the + :py:obj:`~.core.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA applications and :py:obj:`~.PID` is the process ID of the CUDA application. @@ -55815,7 +55814,7 @@ def cuCoredumpSetAttributeGlobal(attrib not None : CUcoredumpSettings, value): coredumps are enabled. This value may not be changed after :py:obj:`~.CU_COREDUMP_ENABLE_USER_TRIGGER` is set to :py:obj:`~.true`. The default value is - :py:obj:`~.corepipe`.cuda.HOSTNAME.PID where :py:obj:`~.HOSTNAME` is + :py:obj:`~.corepipe.cuda.HOSTNAME.PID` where :py:obj:`~.HOSTNAME` is the host name of the machine running the CUDA application and :py:obj:`~.PID` is the process ID of the CUDA application. diff --git a/cuda_bindings_13/cuda/bindings/nvml.pyx b/cuda_bindings_13/cuda/bindings/nvml.pyx index 54a3dddfbd03..960fc0e4de4e 100644 --- a/cuda_bindings_13/cuda/bindings/nvml.pyx +++ b/cuda_bindings_13/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.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=82df971c247cf6ab3e4aed0e3fa58bcfc88508a419b3dcd9f099182445ca41cd +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=9ee117b62b84a62a8a0110bcfb87436ca6e1e8637a88d8a9e94c654dd7f9e94a # <<<< PREAMBLE CONTENT >>>> @@ -127,8 +127,6 @@ class NvLinkUtilizationCountUnits(_cyb_FastEnum): NVLINK_COUNTER_UNIT_PACKETS = PACKETS # backward-compat alias BYTES = NVML_NVLINK_COUNTER_UNIT_BYTES NVLINK_COUNTER_UNIT_BYTES = BYTES # backward-compat alias - RESERVED = NVML_NVLINK_COUNTER_UNIT_RESERVED - NVLINK_COUNTER_UNIT_RESERVED = RESERVED # backward-compat alias COUNT = NVML_NVLINK_COUNTER_UNIT_COUNT NVLINK_COUNTER_UNIT_COUNT = COUNT # backward-compat alias @@ -2132,7 +2130,7 @@ class GpuOperationalEventContextType(_cyb_FastEnum): NVML-defined GPU Operational Event context classifications. These values describe the NVML public interpretation of a context payload. The original source-defined context type is returned separately in - `nvmlEventSetGetContextInfo_v1_t.sourceEventContextType`. + ``nvmlEventSetGetContextInfo_v1_t.sourceEventContextType``. See `nvmlGpuOperationalEventContextType_t`. """ @@ -31525,7 +31523,7 @@ cpdef str system_get_driver_version(): For all products. The version identifier is an alphanumeric string. It will not exceed 80 characters in length (including the NULL terminator). See - nvmlConstants::NVML_SYSTEM_DRIVER_VERSION_BUFFER_SIZE. + ``nvmlConstants.NVML_SYSTEM_DRIVER_VERSION_BUFFER_SIZE``. Returns: str: Reference in which to return the version identifier. @@ -31552,7 +31550,7 @@ cpdef str system_get_nvml_version(): This query is available in the MPS locality-domain view described in ``MPS Locality Domain Device Enumeration``. The version identifier is an alphanumeric string. It will not exceed 80 characters in length (including the NULL - terminator). See nvmlConstants::NVML_SYSTEM_NVML_VERSION_BUFFER_SIZE. + terminator). See ``nvmlConstants.NVML_SYSTEM_NVML_VERSION_BUFFER_SIZE``. .. seealso:: `nvmlSystemGetNVMLVersion` """ cdef unsigned int length = 80 @@ -32071,7 +32069,7 @@ cpdef str device_get_name(intptr_t device): For all products. The name is an alphanumeric string that denotes a particular product, e.g. Tesla ™️ C2070. It will not exceed 96 characters in length (including the NULL - terminator). See nvmlConstants::NVML_DEVICE_NAME_V2_BUFFER_SIZE. + terminator). See ``nvmlConstants.NVML_DEVICE_NAME_V2_BUFFER_SIZE``. When used with MIG device handles the API returns MIG device names which can be used to identify devices based on their attributes. @@ -32158,7 +32156,7 @@ cpdef str device_get_serial(intptr_t device): The serial number is an alphanumeric string that will not exceed 30 characters (including the NULL terminator). This number matches the serial number tag that is physically attached to the board. See - nvmlConstants::NVML_DEVICE_SERIAL_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_SERIAL_BUFFER_SIZE``. Args: device (intptr_t): The identifier of the target device. @@ -32444,7 +32442,7 @@ cpdef str device_get_uuid(intptr_t device): The UUID is a globally unique identifier. It is the only available identifier for pre-Fermi-architecture products. It does NOT correspond to any identifier printed on the board. It will not exceed 96 characters in length (including the - NULL terminator). See nvmlConstants::NVML_DEVICE_UUID_V2_BUFFER_SIZE. + NULL terminator). See ``nvmlConstants.NVML_DEVICE_UUID_V2_BUFFER_SIZE``. When used with MIG device handles the API returns globally unique UUIDs which can be used to identify MIG devices across both GPU and MIG devices. UUIDs are immutable for the lifetime of a MIG device. @@ -32518,7 +32516,7 @@ cpdef str device_get_inforom_version(intptr_t device, int object): info, such as aggregate ECC counts. The version of the data structures in this memory may change from time to time. It will not exceed 16 characters in length (including the NULL terminator). See - nvmlConstants::NVML_DEVICE_INFOROM_VERSION_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_INFOROM_VERSION_BUFFER_SIZE``. See ``nvmlInforomObject_t`` for details on the available infoROM objects. Args: @@ -32546,7 +32544,7 @@ cpdef str device_get_inforom_image_version(intptr_t device): the infoROM flashed on the board in contrast to infoROM object version which is only an indicator of supported features. Version string will not exceed 16 characters in length (including the NULL terminator). See - nvmlConstants::NVML_DEVICE_INFOROM_VERSION_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_INFOROM_VERSION_BUFFER_SIZE``. Args: device (intptr_t): The identifier of the target device. @@ -34299,7 +34297,7 @@ cpdef str device_get_vbios_version(intptr_t device): For all products. The VBIOS version may change from time to time. It will not exceed 32 characters in length (including the NULL terminator). See - nvmlConstants::NVML_DEVICE_VBIOS_VERSION_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_VBIOS_VERSION_BUFFER_SIZE``. Args: device (intptr_t): The identifier of the target device. @@ -36586,7 +36584,7 @@ cpdef object device_get_creatable_vgpus(intptr_t device): cpdef str vgpu_type_get_class(unsigned int vgpu_type_id): - """Retrieve the class of a vGPU type. It will not exceed 64 characters in length (including the NUL terminator). See nvmlConstants::NVML_DEVICE_NAME_BUFFER_SIZE. + """Retrieve the class of a vGPU type. It will not exceed 64 characters in length (including the NUL terminator). See ``nvmlConstants.NVML_DEVICE_NAME_BUFFER_SIZE``. For Kepler ™️ or newer fully supported devices. @@ -36730,7 +36728,7 @@ cpdef str vgpu_type_get_license(unsigned int vgpu_type_id): "GRID-Virtual-PC,2.0;GRID-Virtual-WS,2.0;GRID-Virtual-WS-Ext,2.0". The total length of the returned string will not exceed 128 characters, including the NUL terminator. See - nvmlVgpuConstants::NVML_GRID_LICENSE_BUFFER_SIZE. + ``nvmlVgpuConstants.NVML_GRID_LICENSE_BUFFER_SIZE``. For Kepler ™️ or newer fully supported devices. Args: @@ -36878,7 +36876,7 @@ cpdef tuple vgpu_instance_get_vm_id(unsigned int vgpu_instance): The VM ID is returned as a string, not exceeding 80 characters in length (including the NUL terminator). See - nvmlConstants::NVML_DEVICE_UUID_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_UUID_BUFFER_SIZE``. The format of the VM ID varies by platform, and is indicated by the type identifier returned in ``vm_idType``. For Kepler ™️ or newer fully supported devices. @@ -36909,7 +36907,7 @@ cpdef str vgpu_instance_get_uuid(unsigned int vgpu_instance): The UUID is a globally unique identifier associated with the vGPU, and is returned as a 5-part hexadecimal string, not exceeding 80 characters in length (including the NULL terminator). See - nvmlConstants::NVML_DEVICE_UUID_BUFFER_SIZE. + ``nvmlConstants.NVML_DEVICE_UUID_BUFFER_SIZE``. For Kepler ™️ or newer fully supported devices. Args: @@ -36935,7 +36933,7 @@ cpdef str vgpu_instance_get_vm_driver_version(unsigned int vgpu_instance): The version is returned as an alphanumeric string in the caller-supplied buffer ``version``. The length of the version string will not exceed 80 characters in length (including the NUL terminator). See - nvmlConstants::NVML_SYSTEM_DRIVER_VERSION_BUFFER_SIZE. + ``nvmlConstants.NVML_SYSTEM_DRIVER_VERSION_BUFFER_SIZE``. :func:`vgpu_instance_get_vm_driver_version` may be called at any time for a vGPU instance. The guest VM driver version is returned as "Not Available" if no NVIDIA driver is installed in the VM, or the VM has not yet booted to the point @@ -37320,7 +37318,7 @@ cpdef str vgpu_instance_get_mdev_uuid(unsigned int vgpu_instance): The MDEV UUID is a globally unique identifier of the mdev device assigned to the VM, and is returned as a 5-part hexadecimal string, not exceeding 80 characters in length (including the NULL terminator). MDEV UUID is displayed - only on KVM platform. See nvmlConstants::NVML_DEVICE_UUID_BUFFER_SIZE. + only on KVM platform. See ``nvmlConstants.NVML_DEVICE_UUID_BUFFER_SIZE``. For Maxwell ™️ or newer fully supported devices. Args: diff --git a/cuda_bindings_13/cuda/bindings/runtime.pxd b/cuda_bindings_13/cuda/bindings/runtime.pxd index ee7af0c318ca..d7f4425b6f6f 100644 --- a/cuda_bindings_13/cuda/bindings/runtime.pxd +++ b/cuda_bindings_13/cuda/bindings/runtime.pxd @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 # This code was automatically generated with version 13.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=f7815f74450649f1f92d38d1872bb0512933337e5fa309d462896ce1507577cd +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=6033637722f3ab3bb9c1c175ffc777396ea8fb18e7acfa7952e0b2da7aa0d375 cimport cuda.bindings.cyruntime as cyruntime include "_lib/utils.pxd" @@ -2393,7 +2393,7 @@ cdef class cudaExternalMemoryHandleDesc: handle : anon_union4 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -2558,7 +2558,7 @@ cdef class cudaExternalSemaphoreHandleDesc: handle : anon_union5 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int diff --git a/cuda_bindings_13/cuda/bindings/runtime.pyx b/cuda_bindings_13/cuda/bindings/runtime.pyx index 38302e898609..e0fe9e9622f2 100644 --- a/cuda_bindings_13/cuda/bindings/runtime.pyx +++ b/cuda_bindings_13/cuda/bindings/runtime.pyx @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 # This code was automatically generated with version 13.5.0. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b2610805a773c0962631e67e0bd215f5b5a613e533637c379ba70c29d1143947 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=2022fa996fa6357e91f9c1971d760595ae8ad738d89cc3dee03b869fc43412a3 from typing import Any, Optional import cython import ctypes @@ -4660,12 +4660,6 @@ class cudaDeviceAttr(_FastEnum): 'CPU\n' ) - cudaDevAttrReserved92 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved92 - - cudaDevAttrReserved93 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved93 - - cudaDevAttrReserved94 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved94 - cudaDevAttrCooperativeLaunch = ( cyruntime.cudaDeviceAttr.cudaDevAttrCooperativeLaunch, @@ -4673,8 +4667,6 @@ class cudaDeviceAttr(_FastEnum): ':py:obj:`~.cudaLaunchCooperativeKernel`\n' ) - cudaDevAttrReserved96 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved96 - cudaDevAttrMaxSharedMemoryPerBlockOptin = ( cyruntime.cudaDeviceAttr.cudaDevAttrMaxSharedMemoryPerBlockOptin, @@ -4799,12 +4791,6 @@ class cudaDeviceAttr(_FastEnum): 'Device supports deferred mapping CUDA arrays and CUDA mipmapped arrays\n' ) - cudaDevAttrReserved122 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved122 - - cudaDevAttrReserved123 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved123 - - cudaDevAttrReserved124 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved124 - cudaDevAttrIpcEventSupport = ( cyruntime.cudaDeviceAttr.cudaDevAttrIpcEventSupport, @@ -4817,12 +4803,6 @@ class cudaDeviceAttr(_FastEnum): 'Number of memory synchronization domains the device supports.\n' ) - cudaDevAttrReserved127 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved127 - - cudaDevAttrReserved128 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved128 - - cudaDevAttrReserved129 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved129 - cudaDevAttrNumaConfig = ( cyruntime.cudaDeviceAttr.cudaDevAttrNumaConfig, @@ -4836,8 +4816,6 @@ class cudaDeviceAttr(_FastEnum): 'NUMA node ID of the GPU memory\n' ) - cudaDevAttrReserved132 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved132 - cudaDevAttrMpsEnabled = ( cyruntime.cudaDeviceAttr.cudaDevAttrMpsEnabled, @@ -4875,8 +4853,6 @@ class cudaDeviceAttr(_FastEnum): 'The combined 16-bit PCI subsystem ID and 16-bit PCI subsystem vendor ID.\n' ) - cudaDevAttrReserved141 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved141 - cudaDevAttrHostNumaMemoryPoolsSupported = ( cyruntime.cudaDeviceAttr.cudaDevAttrHostNumaMemoryPoolsSupported, @@ -4897,8 +4873,6 @@ class cudaDeviceAttr(_FastEnum): ':py:obj:`~.cuMemPool` family of APIs\n' ) - cudaDevAttrReserved145 = cyruntime.cudaDeviceAttr.cudaDevAttrReserved145 - cudaDevAttrOnlyPartialHostNativeAtomicSupported = ( cyruntime.cudaDeviceAttr.cudaDevAttrOnlyPartialHostNativeAtomicSupported, @@ -5869,12 +5843,6 @@ class cudaCGScope(_FastEnum): 'Scope represented by a grid_group\n' ) - - cudaCGScopeReserved = ( - cyruntime.cudaCGScope.cudaCGScopeReserved, - 'Reserved\n' - ) - class cudaKernelFunctionType(_FastEnum): """ CUDA Kernel Function Handle Type @@ -6055,12 +6023,6 @@ class cudaGraphNodeType(_FastEnum): ) - cudaGraphNodeTypeReserved16 = ( - cyruntime.cudaGraphNodeType.cudaGraphNodeTypeReserved16, - 'Reserved.\n' - ) - - cudaGraphNodeTypeExternalEngine = ( cyruntime.cudaGraphNodeType.cudaGraphNodeTypeExternalEngine, 'Reserved for External Engine node\n' @@ -14261,7 +14223,7 @@ cdef class cudaExternalMemoryHandleDesc: handle : anon_union4 - + Valid NT handle. Must be NULL if 'name' is non-NULL size : unsigned long long @@ -14723,7 +14685,7 @@ cdef class cudaExternalSemaphoreHandleDesc: handle : anon_union5 - + Valid NT handle. Must be NULL if 'name' is non-NULL flags : unsigned int @@ -24371,8 +24333,8 @@ def cudaImportExternalMemory(memHandleDesc : Optional[cudaExternalMemoryHandleDe :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` must not be NULL. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is - returned by ID3D12Device::CreateSharedHandle when referring to a - ID3D12Heap object. This handle holds a reference to the underlying + returned by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring + to a ID3D12Heap object. This handle holds a reference to the underlying object. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a ID3D12Heap object. @@ -24383,11 +24345,12 @@ def cudaImportExternalMemory(memHandleDesc : Optional[cudaExternalMemoryHandleDe :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` must not be NULL. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is - returned by ID3D12Device::CreateSharedHandle when referring to a - ID3D12Resource object. This handle holds a reference to the underlying - object. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` - is not NULL, then it must point to a NULL-terminated array of UTF-16 - characters that refers to a ID3D12Resource object. + returned by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring + to a ID3D12Resource object. This handle holds a reference to the + underlying object. If + :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` is not NULL, + then it must point to a NULL-terminated array of UTF-16 characters that + refers to a ID3D12Resource object. If :py:obj:`~.cudaExternalMemoryHandleDesc.type` is :py:obj:`~.cudaExternalMemoryHandleTypeD3D11Resource`,then exactly one @@ -24395,8 +24358,8 @@ def cudaImportExternalMemory(memHandleDesc : Optional[cudaExternalMemoryHandleDe :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` must not be NULL. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is - returned by IDXGIResource1::CreateSharedHandle when referring to a - ID3D11Resource object. If + returned by :py:obj:`~.IDXGIResource1.CreateSharedHandle` when + referring to a ID3D11Resource object. If :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` is not NULL, then it must point to a NULL-terminated array of UTF-16 characters that refers to a ID3D11Resource object. @@ -24406,8 +24369,8 @@ def cudaImportExternalMemory(memHandleDesc : Optional[cudaExternalMemoryHandleDe :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.handle` must be non-NULL and :py:obj:`~.cudaExternalMemoryHandleDesc.handle.win32.name` must be NULL. The handle specified must be a valid shared KMT handle - that is returned by IDXGIResource::GetSharedHandle when referring to a - ID3D11Resource object. + that is returned by :py:obj:`~.IDXGIResource.GetSharedHandle` when + referring to a ID3D11Resource object. If :py:obj:`~.cudaExternalMemoryHandleDesc.type` is :py:obj:`~.cudaExternalMemoryHandleTypeNvSciBuf`, then @@ -24688,8 +24651,9 @@ def cudaImportExternalSemaphore(semHandleDesc : Optional[cudaExternalSemaphoreHa be NULL. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is returned - by ID3D12Device::CreateSharedHandle when referring to a ID3D12Fence - object. This handle holds a reference to the underlying object. If + by :py:obj:`~.ID3D12Device.CreateSharedHandle` when referring to a + ID3D12Fence object. This handle holds a reference to the underlying + object. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.name` is not NULL, then it must name a valid synchronization object that refers to a valid ID3D12Fence object. @@ -24701,7 +24665,7 @@ def cudaImportExternalSemaphore(semHandleDesc : Optional[cudaExternalSemaphoreHa be NULL. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.handle` is not NULL, then it must represent a valid shared NT handle that is returned - by ID3D11Fence::CreateSharedHandle. If + by :py:obj:`~.ID3D11Fence.CreateSharedHandle`. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.name` is not NULL, then it must name a valid synchronization object that refers to a valid ID3D11Fence object. @@ -24717,8 +24681,8 @@ def cudaImportExternalSemaphore(semHandleDesc : Optional[cudaExternalSemaphoreHa be NULL. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.handle` is not NULL, then it represent a valid shared NT handle that is returned by - IDXGIResource1::CreateSharedHandle when referring to a IDXGIKeyedMutex - object. + :py:obj:`~.IDXGIResource1.CreateSharedHandle` when referring to a + IDXGIKeyedMutex object. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.type` is :py:obj:`~.cudaExternalSemaphoreHandleTypeKeyedMutexKmt`, then @@ -24726,8 +24690,8 @@ def cudaImportExternalSemaphore(semHandleDesc : Optional[cudaExternalSemaphoreHa non-NULL and :py:obj:`~.cudaExternalSemaphoreHandleDesc.handle.win32.name` must be NULL. The handle specified must represent a valid KMT handle that is - returned by IDXGIResource::GetSharedHandle when referring to a - IDXGIKeyedMutex object. + returned by :py:obj:`~.IDXGIResource.GetSharedHandle` when referring to + a IDXGIKeyedMutex object. If :py:obj:`~.cudaExternalSemaphoreHandleDesc.type` is :py:obj:`~.cudaExternalSemaphoreHandleTypeTimelineSemaphoreFd`, then @@ -28175,7 +28139,7 @@ def cudaMemcpyWithAttributesAsync(dst, src, size_t size, attr : Optional[cudaMem For more information regarding the attributes, please refer to :py:obj:`~.cudaMemcpyAttributes` and it's usage desciption - in::cudaMemcpyBatchAsync + :py:obj:`~.in.cudaMemcpyBatchAsync` Parameters ---------- @@ -28230,7 +28194,7 @@ def cudaMemcpy3DWithAttributesAsync(op : Optional[cudaMemcpy3DBatchOp], unsigned For more information regarding the operation, please refer to :py:obj:`~.cudaMemcpy3DBatchOp` and it's usage desciption - in::cudaMemcpy3DBatchAsync + :py:obj:`~.in.cudaMemcpy3DBatchAsync` Parameters ---------- @@ -30504,9 +30468,9 @@ def cudaMemPoolCreate(poolProps : Optional[cudaMemPoolProps]): specific device locality domain, applications must set :py:obj:`~.cudaMemPoolProps.cudaMemLocation.type` to :py:obj:`~.cudaMemLocationTypeDeviceLocalityDomain`, - :py:obj:`~.cudaMemPoolProps.cudaMemLocation.localized`.deviceId must + :py:obj:`~.cudaMemPoolProps.cudaMemLocation.localized.deviceId` must specify the device ID, and - :py:obj:`~.cudaMemPoolProps.cudaMemLocation.localized`.localityDomainId + :py:obj:`~.cudaMemPoolProps.cudaMemLocation.localized.localityDomainId` must specify the locality domain ID. The locality domain ID must be a valid locality domain ID for the specified device. See also :py:obj:`~.cudaDeviceGetAttribute` with the attribute @@ -31069,9 +31033,9 @@ def cudaPointerGetAttributes(ptr): memory referred to by `ptr` cannot be accessed directly by the host then this is NULL. - - :py:obj:`~.localityDomainOrdinal` is the locality domain ordinal for - device allocations localized to a locality domain, or -1 when the - allocation is not localized to a locality domain. + - localityDomainOrdinal is the locality domain ordinal for device + allocations localized to a locality domain, or -1 when the allocation + is not localized to a locality domain. Parameters ---------- diff --git a/cuda_bindings_13/docs/source/module/driver.rst b/cuda_bindings_13/docs/source/module/driver.rst index 7af01eda1c09..f95d136aeb82 100644 --- a/cuda_bindings_13/docs/source/module/driver.rst +++ b/cuda_bindings_13/docs/source/module/driver.rst @@ -3,7 +3,7 @@ .. This code was automatically generated with version 13.5.0. Do not modify it directly. -.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=69ec4d4368180a8a529bad675d1fcc7e44ca944b02b15e35db56241bf2738a9d +.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=3e51161ca1957af71e561bff1125d2ff9fb9ad1f74927dedfc1e0bf2d908dd7f ------ driver ------ @@ -21,83 +21,83 @@ Data types used by CUDA driver .. autoclass:: cuda.bindings.driver.CUDA_BATCH_MEM_OP_NODE_PARAMS_v1_st .. autoclass:: cuda.bindings.driver.CUDA_BATCH_MEM_OP_NODE_PARAMS_v2_st .. autoclass:: cuda.bindings.driver.CUasyncNotificationInfo_st -.. autoclass:: cuda.bindings.driver.CUdevprop_st -.. autoclass:: cuda.bindings.driver.CUaccessPolicyWindow_st -.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_v2_st -.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_v3_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMSET_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMSET_NODE_PARAMS_v2_st -.. autoclass:: cuda.bindings.driver.CUDA_HOST_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_HOST_NODE_PARAMS_v2_st -.. autoclass:: cuda.bindings.driver.CUDA_CONDITIONAL_NODE_PARAMS -.. autoclass:: cuda.bindings.driver.CUgraphEdgeData_st -.. autoclass:: cuda.bindings.driver.CUDA_GRAPH_INSTANTIATE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUlaunchMemSyncDomainMap_st -.. autoclass:: cuda.bindings.driver.CUlaunchAttributeValue_union -.. autoclass:: cuda.bindings.driver.CUlaunchAttribute_st -.. autoclass:: cuda.bindings.driver.CUlaunchConfig_st -.. autoclass:: cuda.bindings.driver.CUexecAffinitySmCount_st -.. autoclass:: cuda.bindings.driver.CUexecAffinityParam_st -.. autoclass:: cuda.bindings.driver.CUctxCigParam_st -.. autoclass:: cuda.bindings.driver.CUctxCreateParams_st .. autoclass:: cuda.bindings.driver.CUstreamCigParam_st -.. autoclass:: cuda.bindings.driver.CUstreamCigCaptureParams_st -.. autoclass:: cuda.bindings.driver.CUlibraryHostUniversalFunctionAndDataTable_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY2D_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY3D_st +.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_v3_st +.. autoclass:: cuda.bindings.driver.CUcheckpointRestoreArgs_st +.. autoclass:: cuda.bindings.driver.CUcheckpointGpuPair_st +.. autoclass:: cuda.bindings.driver.CUDA_EVENT_RECORD_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUcheckpointLockArgs_st +.. autoclass:: cuda.bindings.driver.CUDA_FABRIC_CPY_BATCH_NODE_PARAMS_V1_st +.. autoclass:: cuda.bindings.driver.CUeglFrame_st +.. autoclass:: cuda.bindings.driver.CUDA_CHILD_GRAPH_NODE_PARAMS_st .. autoclass:: cuda.bindings.driver.CUDA_MEMCPY3D_PEER_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_ARRAY_DESCRIPTOR_st -.. autoclass:: cuda.bindings.driver.CUDA_ARRAY3D_DESCRIPTOR_st -.. autoclass:: cuda.bindings.driver.CUDA_ARRAY_SPARSE_PROPERTIES_st +.. autoclass:: cuda.bindings.driver.CUDA_MEM_ALLOC_NODE_PARAMS_v1_st +.. autoclass:: cuda.bindings.driver.CUcheckpointCustomStorageInfo_st +.. autoclass:: cuda.bindings.driver.CUcheckpointCustomStoragePerDeviceData_st +.. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2_st +.. autoclass:: cuda.bindings.driver.CUexecAffinityParam_st +.. autoclass:: cuda.bindings.driver.CUlaunchAttributeValue_union +.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY3D_BATCH_OP_st .. autoclass:: cuda.bindings.driver.CUDA_ARRAY_MEMORY_REQUIREMENTS_st .. autoclass:: cuda.bindings.driver.CUDA_RESOURCE_DESC_st -.. autoclass:: cuda.bindings.driver.CUDA_TEXTURE_DESC_st -.. autoclass:: cuda.bindings.driver.CUDA_RESOURCE_VIEW_DESC_st +.. autoclass:: cuda.bindings.driver.CUDA_MEM_FREE_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st +.. autoclass:: cuda.bindings.driver.CUgraphNodeParams_st +.. autoclass:: cuda.bindings.driver.CUDA_EVENT_WAIT_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_ARRAY_DESCRIPTOR_st .. autoclass:: cuda.bindings.driver.CUtensorMap_st -.. autoclass:: cuda.bindings.driver.CUDA_POINTER_ATTRIBUTE_P2P_TOKENS_st .. autoclass:: cuda.bindings.driver.CUDA_LAUNCH_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st -.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st +.. autoclass:: cuda.bindings.driver.CUDA_ARRAY_SPARSE_PROPERTIES_st +.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY_BATCH_NODE_PARAMS_V1_st +.. autoclass:: cuda.bindings.driver.CUDA_MEM_ALLOC_NODE_PARAMS_v2_st +.. autoclass:: cuda.bindings.driver.CUarrayMapInfo_st +.. autoclass:: cuda.bindings.driver.CUmemAllocationProp_st +.. autoclass:: cuda.bindings.driver.CUDA_ARRAY3D_DESCRIPTOR_st +.. autoclass:: cuda.bindings.driver.CUDA_POINTER_ATTRIBUTE_P2P_TOKENS_st +.. autoclass:: cuda.bindings.driver.CUDA_TEXTURE_DESC_st +.. autoclass:: cuda.bindings.driver.CUDA_MEMSET_NODE_PARAMS_v2_st .. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st -.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st -.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUcheckpointCheckpointArgs_st +.. autoclass:: cuda.bindings.driver.CUaccessPolicyWindow_st +.. autoclass:: cuda.bindings.driver.CUcheckpointUnlockArgs_st +.. autoclass:: cuda.bindings.driver.CUexecAffinitySmCount_st +.. autoclass:: cuda.bindings.driver.CUmemcpyAttributes_st +.. autoclass:: cuda.bindings.driver.CUDA_RESOURCE_VIEW_DESC_st +.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY3D_st .. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUmemLocation_st +.. autoclass:: cuda.bindings.driver.CUmulticastObjectProp_st .. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUctxCigParam_st +.. autoclass:: cuda.bindings.driver.CUlaunchConfig_st .. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v2_st .. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_WAIT_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2_st -.. autoclass:: cuda.bindings.driver.CUarrayMapInfo_st -.. autoclass:: cuda.bindings.driver.CUmemLocation_st -.. autoclass:: cuda.bindings.driver.CUmemAllocationProp_st -.. autoclass:: cuda.bindings.driver.CUmulticastObjectProp_st -.. autoclass:: cuda.bindings.driver.CUmemAccessDesc_st +.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY_NODE_PARAMS_st .. autoclass:: cuda.bindings.driver.CUgraphExecUpdateResultInfo_st -.. autoclass:: cuda.bindings.driver.CUmemPoolProps_st -.. autoclass:: cuda.bindings.driver.CUmemPoolPtrExportData_st -.. autoclass:: cuda.bindings.driver.CUmemcpyAttributes_st -.. autoclass:: cuda.bindings.driver.CUoffset3D_st +.. autoclass:: cuda.bindings.driver.CUlibraryHostUniversalFunctionAndDataTable_st +.. autoclass:: cuda.bindings.driver.CUstreamCigCaptureParams_st +.. autoclass:: cuda.bindings.driver.CUmemAccessDesc_st +.. autoclass:: cuda.bindings.driver.CUdevprop_st +.. autoclass:: cuda.bindings.driver.CUDA_HOST_NODE_PARAMS_v2_st .. autoclass:: cuda.bindings.driver.CUextent3D_st +.. autoclass:: cuda.bindings.driver.CUgraphEdgeData_st +.. autoclass:: cuda.bindings.driver.CUlaunchMemSyncDomainMap_st +.. autoclass:: cuda.bindings.driver.CUDA_CONDITIONAL_NODE_PARAMS +.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st +.. autoclass:: cuda.bindings.driver.CUctxCreateParams_st +.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY2D_st +.. autoclass:: cuda.bindings.driver.CUmemPoolProps_st +.. autoclass:: cuda.bindings.driver.CUDA_GRAPH_INSTANTIATE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st +.. autoclass:: cuda.bindings.driver.CUlaunchAttribute_st .. autoclass:: cuda.bindings.driver.CUmemcpy3DOperand_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY3D_BATCH_OP_st -.. autoclass:: cuda.bindings.driver.CUDA_MEM_ALLOC_NODE_PARAMS_v1_st -.. autoclass:: cuda.bindings.driver.CUDA_MEM_ALLOC_NODE_PARAMS_v2_st -.. autoclass:: cuda.bindings.driver.CUDA_MEM_FREE_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_CHILD_GRAPH_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_EVENT_RECORD_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_EVENT_WAIT_NODE_PARAMS_st -.. autoclass:: cuda.bindings.driver.CUDA_MEMCPY_BATCH_NODE_PARAMS_V1_st -.. autoclass:: cuda.bindings.driver.CUDA_FABRIC_CPY_BATCH_NODE_PARAMS_V1_st -.. autoclass:: cuda.bindings.driver.CUgraphNodeParams_st -.. autoclass:: cuda.bindings.driver.CUcheckpointCustomStoragePerDeviceData_st -.. autoclass:: cuda.bindings.driver.CUcheckpointCustomStorageInfo_st -.. autoclass:: cuda.bindings.driver.CUcheckpointLockArgs_st -.. autoclass:: cuda.bindings.driver.CUcheckpointCheckpointArgs_st -.. autoclass:: cuda.bindings.driver.CUcheckpointGpuPair_st -.. autoclass:: cuda.bindings.driver.CUcheckpointRestoreArgs_st -.. autoclass:: cuda.bindings.driver.CUcheckpointUnlockArgs_st -.. autoclass:: cuda.bindings.driver.CUeglFrame_st +.. autoclass:: cuda.bindings.driver.CUoffset3D_st +.. autoclass:: cuda.bindings.driver.CUmemPoolPtrExportData_st +.. autoclass:: cuda.bindings.driver.CUDA_HOST_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_MEMSET_NODE_PARAMS_st +.. autoclass:: cuda.bindings.driver.CUDA_KERNEL_NODE_PARAMS_v2_st .. autoclass:: cuda.bindings.driver.CUipcMem_flags .. autoattribute:: cuda.bindings.driver.CUipcMem_flags.CU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS @@ -3503,12 +3503,6 @@ Data types used by CUDA driver Batch Memcpy Node - .. autoattribute:: cuda.bindings.driver.CUgraphNodeType.CU_GRAPH_NODE_TYPE_RESERVED_16 - - - Reserved - - .. autoattribute:: cuda.bindings.driver.CUgraphNodeType.CU_GRAPH_NODE_TYPE_EXTERNAL_ENGINE @@ -8226,11 +8220,11 @@ Green context restrictions apply to memory copy operations only when the copy is .. autoclass:: cuda.bindings.driver.CUdevWorkqueueResource_st .. autoclass:: cuda.bindings.driver.CU_DEV_SM_RESOURCE_GROUP_PARAMS_st .. autoclass:: cuda.bindings.driver.CUdevResource_st -.. autoclass:: cuda.bindings.driver.CUdevSmResource -.. autoclass:: cuda.bindings.driver.CUdevWorkqueueConfigResource -.. autoclass:: cuda.bindings.driver.CUdevWorkqueueResource -.. autoclass:: cuda.bindings.driver.CU_DEV_SM_RESOURCE_GROUP_PARAMS .. autoclass:: cuda.bindings.driver.CUdevResource +.. autoclass:: cuda.bindings.driver.CU_DEV_SM_RESOURCE_GROUP_PARAMS +.. autoclass:: cuda.bindings.driver.CUdevWorkqueueResource +.. autoclass:: cuda.bindings.driver.CUdevWorkqueueConfigResource +.. autoclass:: cuda.bindings.driver.CUdevSmResource .. autoclass:: cuda.bindings.driver.CUgreenCtxCreate_flags .. autoattribute:: cuda.bindings.driver.CUgreenCtxCreate_flags.CU_GREEN_CTX_NONE diff --git a/cuda_bindings_13/docs/source/module/runtime.rst b/cuda_bindings_13/docs/source/module/runtime.rst index 187775c71983..3b7d9a9c9d60 100644 --- a/cuda_bindings_13/docs/source/module/runtime.rst +++ b/cuda_bindings_13/docs/source/module/runtime.rst @@ -3,7 +3,7 @@ .. This code was automatically generated with version 13.5.0. Do not modify it directly. -.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=5a96949e99bab12ac8015bc287f315eb9b632da85705f73841ff2c540cdcbd02 +.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=609b0f80fb01a107f11d12f710ca97a2001ebbc8765b1affbff9101e3b784165 ------- runtime ------- @@ -15,73 +15,73 @@ Data types used by CUDA Runtime .. autoclass:: cuda.bindings.runtime.cudaChannelFormatDesc .. autoclass:: cuda.bindings.runtime.cudaArraySparseProperties +.. autoclass:: cuda.bindings.runtime.cudaTextureDesc +.. autoclass:: cuda.bindings.runtime.cudaGraphInstantiateParams_st +.. autoclass:: cuda.bindings.runtime.cudaMemPoolPtrExportData +.. autoclass:: cuda.bindings.runtime.cudaGraphExecUpdateResultInfo_st +.. autoclass:: cuda.bindings.runtime.cudaGraphEdgeData_st +.. autoclass:: cuda.bindings.runtime.cudaLaunchAttribute_st +.. autoclass:: cuda.bindings.runtime.cudaEglFrame_st +.. autoclass:: cuda.bindings.runtime.cudaEglPlaneDesc_st .. autoclass:: cuda.bindings.runtime.cudaArrayMemoryRequirements -.. autoclass:: cuda.bindings.runtime.cudaPitchedPtr -.. autoclass:: cuda.bindings.runtime.cudaExtent -.. autoclass:: cuda.bindings.runtime.cudaPos -.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DParms -.. autoclass:: cuda.bindings.runtime.cudaMemcpyNodeParams -.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DPeerParms -.. autoclass:: cuda.bindings.runtime.cudaMemsetParams -.. autoclass:: cuda.bindings.runtime.cudaMemsetParamsV2 -.. autoclass:: cuda.bindings.runtime.cudaAccessPolicyWindow -.. autoclass:: cuda.bindings.runtime.cudaHostNodeParams -.. autoclass:: cuda.bindings.runtime.cudaHostNodeParamsV2 -.. autoclass:: cuda.bindings.runtime.cudaResourceDesc -.. autoclass:: cuda.bindings.runtime.cudaResourceViewDesc -.. autoclass:: cuda.bindings.runtime.cudaPointerAttributes +.. autoclass:: cuda.bindings.runtime.cudaLaunchMemSyncDomainMap_st +.. autoclass:: cuda.bindings.runtime.cudaAsyncNotificationInfo +.. autoclass:: cuda.bindings.runtime.cudaChildGraphNodeParams +.. autoclass:: cuda.bindings.runtime.cudaLaunchAttributeValue .. autoclass:: cuda.bindings.runtime.cudaFuncAttributes -.. autoclass:: cuda.bindings.runtime.cudaMemLocation -.. autoclass:: cuda.bindings.runtime.cudaMemAccessDesc +.. autoclass:: cuda.bindings.runtime.cudaEventRecordNodeParams +.. autoclass:: cuda.bindings.runtime.cudaDevWorkqueueResource +.. autoclass:: cuda.bindings.runtime.cudaConditionalNodeParams +.. autoclass:: cuda.bindings.runtime.cudaGraphKernelNodeUpdate +.. autoclass:: cuda.bindings.runtime.cudaGraphNodeParams .. autoclass:: cuda.bindings.runtime.cudaMemPoolProps -.. autoclass:: cuda.bindings.runtime.cudaMemPoolPtrExportData +.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreWaitNodeParamsV2 +.. autoclass:: cuda.bindings.runtime.cudaMemAccessDesc +.. autoclass:: cuda.bindings.runtime.cudaIpcEventHandle_st .. autoclass:: cuda.bindings.runtime.cudaMemAllocNodeParams -.. autoclass:: cuda.bindings.runtime.cudaMemAllocNodeParamsV2 .. autoclass:: cuda.bindings.runtime.cudaMemFreeNodeParams +.. autoclass:: cuda.bindings.runtime.cudaMemLocation +.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DBatchOp +.. autoclass:: cuda.bindings.runtime.cudaMemAllocNodeParamsV2 +.. autoclass:: cuda.bindings.runtime.cudaDevResource_st .. autoclass:: cuda.bindings.runtime.cudaMemcpyAttributes -.. autoclass:: cuda.bindings.runtime.cudaOffset3D +.. autoclass:: cuda.bindings.runtime.cudaResourceViewDesc +.. autoclass:: cuda.bindings.runtime.cudaEventWaitNodeParams .. autoclass:: cuda.bindings.runtime.cudaMemcpy3DOperand -.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DBatchOp +.. autoclass:: cuda.bindings.runtime.cudaKernelNodeParamsV2 +.. autoclass:: cuda.bindings.runtime.cudalibraryHostUniversalFunctionAndDataTable +.. autoclass:: cuda.bindings.runtime.cudaKernelNodeParams +.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreSignalNodeParamsV2 +.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreSignalNodeParams +.. autoclass:: cuda.bindings.runtime.cudaDevWorkqueueConfigResource .. autoclass:: cuda.bindings.runtime.CUuuid_st -.. autoclass:: cuda.bindings.runtime.cudaDeviceProp -.. autoclass:: cuda.bindings.runtime.cudaIpcEventHandle_st +.. autoclass:: cuda.bindings.runtime.cudaPointerAttributes .. autoclass:: cuda.bindings.runtime.cudaIpcMemHandle_st -.. autoclass:: cuda.bindings.runtime.cudaMemFabricHandle_st -.. autoclass:: cuda.bindings.runtime.cudaExternalMemoryHandleDesc -.. autoclass:: cuda.bindings.runtime.cudaExternalMemoryBufferDesc +.. autoclass:: cuda.bindings.runtime.cudaOffset3D +.. autoclass:: cuda.bindings.runtime.cudaMemcpyBatchNodeParams +.. autoclass:: cuda.bindings.runtime.cudaDevSmResourceGroupParams_st +.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreWaitNodeParams +.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreWaitParams .. autoclass:: cuda.bindings.runtime.cudaExternalMemoryMipmappedArrayDesc +.. autoclass:: cuda.bindings.runtime.cudaDevSmResource +.. autoclass:: cuda.bindings.runtime.cudaMemFabricHandle_st .. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreHandleDesc +.. autoclass:: cuda.bindings.runtime.cudaExternalMemoryBufferDesc .. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreSignalParams -.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreWaitParams -.. autoclass:: cuda.bindings.runtime.cudaDevSmResource -.. autoclass:: cuda.bindings.runtime.cudaDevWorkqueueConfigResource -.. autoclass:: cuda.bindings.runtime.cudaDevWorkqueueResource -.. autoclass:: cuda.bindings.runtime.cudaDevSmResourceGroupParams_st -.. autoclass:: cuda.bindings.runtime.cudaDevResource_st -.. autoclass:: cuda.bindings.runtime.cudalibraryHostUniversalFunctionAndDataTable -.. autoclass:: cuda.bindings.runtime.cudaKernelNodeParams -.. autoclass:: cuda.bindings.runtime.cudaKernelNodeParamsV2 -.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreSignalNodeParams -.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreSignalNodeParamsV2 -.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreWaitNodeParams -.. autoclass:: cuda.bindings.runtime.cudaExternalSemaphoreWaitNodeParamsV2 -.. autoclass:: cuda.bindings.runtime.cudaConditionalNodeParams -.. autoclass:: cuda.bindings.runtime.cudaMemcpyBatchNodeParams -.. autoclass:: cuda.bindings.runtime.cudaChildGraphNodeParams -.. autoclass:: cuda.bindings.runtime.cudaEventRecordNodeParams -.. autoclass:: cuda.bindings.runtime.cudaEventWaitNodeParams -.. autoclass:: cuda.bindings.runtime.cudaGraphNodeParams -.. autoclass:: cuda.bindings.runtime.cudaGraphEdgeData_st -.. autoclass:: cuda.bindings.runtime.cudaGraphInstantiateParams_st -.. autoclass:: cuda.bindings.runtime.cudaGraphExecUpdateResultInfo_st -.. autoclass:: cuda.bindings.runtime.cudaGraphKernelNodeUpdate -.. autoclass:: cuda.bindings.runtime.cudaLaunchMemSyncDomainMap_st -.. autoclass:: cuda.bindings.runtime.cudaLaunchAttributeValue -.. autoclass:: cuda.bindings.runtime.cudaLaunchAttribute_st -.. autoclass:: cuda.bindings.runtime.cudaAsyncNotificationInfo -.. autoclass:: cuda.bindings.runtime.cudaTextureDesc -.. autoclass:: cuda.bindings.runtime.cudaEglPlaneDesc_st -.. autoclass:: cuda.bindings.runtime.cudaEglFrame_st +.. autoclass:: cuda.bindings.runtime.cudaDeviceProp +.. autoclass:: cuda.bindings.runtime.cudaExternalMemoryHandleDesc +.. autoclass:: cuda.bindings.runtime.cudaResourceDesc +.. autoclass:: cuda.bindings.runtime.cudaHostNodeParamsV2 +.. autoclass:: cuda.bindings.runtime.cudaHostNodeParams +.. autoclass:: cuda.bindings.runtime.cudaAccessPolicyWindow +.. autoclass:: cuda.bindings.runtime.cudaMemsetParamsV2 +.. autoclass:: cuda.bindings.runtime.cudaMemsetParams +.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DPeerParms +.. autoclass:: cuda.bindings.runtime.cudaMemcpyNodeParams +.. autoclass:: cuda.bindings.runtime.cudaMemcpy3DParms +.. autoclass:: cuda.bindings.runtime.cudaPos +.. autoclass:: cuda.bindings.runtime.cudaExtent +.. autoclass:: cuda.bindings.runtime.cudaPitchedPtr .. autoclass:: cuda.bindings.runtime.cudaError_t .. autoattribute:: cuda.bindings.runtime.cudaError_t.cudaSuccess @@ -2623,24 +2623,12 @@ Data types used by CUDA Runtime Device can access host registered memory at the same virtual address as the CPU - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved92 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved93 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved94 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrCooperativeLaunch Device supports launching cooperative kernels via :py:obj:`~.cudaLaunchCooperativeKernel` - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved96 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrMaxSharedMemoryPerBlockOptin @@ -2755,15 +2743,6 @@ Data types used by CUDA Runtime Device supports deferred mapping CUDA arrays and CUDA mipmapped arrays - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved122 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved123 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved124 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrIpcEventSupport @@ -2776,15 +2755,6 @@ Data types used by CUDA Runtime Number of memory synchronization domains the device supports. - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved127 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved128 - - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved129 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrNumaConfig @@ -2797,9 +2767,6 @@ Data types used by CUDA Runtime NUMA node ID of the GPU memory - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved132 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrMpsEnabled @@ -2836,9 +2803,6 @@ Data types used by CUDA Runtime The combined 16-bit PCI subsystem ID and 16-bit PCI subsystem vendor ID. - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved141 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrHostNumaMemoryPoolsSupported @@ -2857,9 +2821,6 @@ Data types used by CUDA Runtime Device suports HOST location with the :py:obj:`~.cuMemAllocAsync` and :py:obj:`~.cuMemPool` family of APIs - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrReserved145 - - .. autoattribute:: cuda.bindings.runtime.cudaDeviceAttr.cudaDevAttrOnlyPartialHostNativeAtomicSupported @@ -3682,12 +3643,6 @@ Data types used by CUDA Runtime Scope represented by a grid_group - - .. autoattribute:: cuda.bindings.runtime.cudaCGScope.cudaCGScopeReserved - - - Reserved - .. autoclass:: cuda.bindings.runtime.cudaKernelFunctionType .. autoattribute:: cuda.bindings.runtime.cudaKernelFunctionType.cudaKernelFunctionTypeUnspecified @@ -3853,12 +3808,6 @@ Data types used by CUDA Runtime Batch Memcpy Node - .. autoattribute:: cuda.bindings.runtime.cudaGraphNodeType.cudaGraphNodeTypeReserved16 - - - Reserved. - - .. autoattribute:: cuda.bindings.runtime.cudaGraphNodeType.cudaGraphNodeTypeExternalEngine