Skip to content

Commit

Permalink
Rebase to CTK 12.6
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhurba01 committed Aug 1, 2024
1 parent 6923211 commit b9f40f6
Show file tree
Hide file tree
Showing 63 changed files with 1,852 additions and 542 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ There're differences in each of these options that are described further in [Ins
CUDA Python is supported on all platforms that CUDA is supported. Specific dependencies are as follows:

* Driver: Linux (450.80.02 or later) Windows (456.38 or later)
* CUDA Toolkit 12.0 to 12.5
* CUDA Toolkit 12.0 to 12.6

Only the NVRTC redistributable component is required from the CUDA Toolkit. [CUDA Toolkit Documentation](https://docs.nvidia.com/cuda/index.html) Installation Guides can be used for guidance. Note that the NVRTC component in the Toolkit can be obtained via PYPI, Conda or Local Installer.

Expand Down
45 changes: 45 additions & 0 deletions cuda/_lib/ccudart/utils.pyx.in
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,51 @@ cdef cudaError_t initDevice(cudaPythonDevice *device, int deviceOrdinal) except
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError

err = ccuda._cuDeviceGetAttribute(&(device[0].deviceProperties.hostRegisterSupported), ccuda.CU_DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError
err = ccuda._cuDeviceGetAttribute(&(device[0].deviceProperties.sparseCudaArraySupported), ccuda.CU_DEVICE_ATTRIBUTE_SPARSE_CUDA_ARRAY_SUPPORTED, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError
err = ccuda._cuDeviceGetAttribute(&(device[0].deviceProperties.hostRegisterReadOnlySupported), ccuda.CU_DEVICE_ATTRIBUTE_READ_ONLY_HOST_REGISTER_SUPPORTED, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError
err = ccuda._cuDeviceGetAttribute(&(device[0].deviceProperties.timelineSemaphoreInteropSupported), ccuda.CU_DEVICE_ATTRIBUTE_TIMELINE_SEMAPHORE_INTEROP_SUPPORTED, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError
err = ccuda._cuDeviceGetAttribute(&(device[0].deviceProperties.memoryPoolsSupported), ccuda.CU_DEVICE_ATTRIBUTE_MEMORY_POOLS_SUPPORTED, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError
err = ccuda._cuDeviceGetAttribute(&(device[0].deviceProperties.gpuDirectRDMASupported), ccuda.CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_SUPPORTED, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError

cdef int gpuDirectRDMAFlushWritesOptions
err = ccuda._cuDeviceGetAttribute(&gpuDirectRDMAFlushWritesOptions, ccuda.CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_FLUSH_WRITES_OPTIONS, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError
device[0].deviceProperties.gpuDirectRDMAFlushWritesOptions = gpuDirectRDMAFlushWritesOptions

err = ccuda._cuDeviceGetAttribute(&(device[0].deviceProperties.gpuDirectRDMAWritesOrdering), ccuda.CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_WRITES_ORDERING, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError

cdef int memoryPoolSupportedHandleTypes
err = ccuda._cuDeviceGetAttribute(&memoryPoolSupportedHandleTypes, ccuda.CU_DEVICE_ATTRIBUTE_MEMPOOL_SUPPORTED_HANDLE_TYPES, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError
device[0].deviceProperties.memoryPoolSupportedHandleTypes = memoryPoolSupportedHandleTypes;

err = ccuda._cuDeviceGetAttribute(&(device[0].deviceProperties.deferredMappingCudaArraySupported), ccuda.CU_DEVICE_ATTRIBUTE_DEFERRED_MAPPING_CUDA_ARRAY_SUPPORTED, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError
err = ccuda._cuDeviceGetAttribute(&(device[0].deviceProperties.ipcEventSupported), ccuda.CU_DEVICE_ATTRIBUTE_IPC_EVENT_SUPPORTED, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError
err = ccuda._cuDeviceGetAttribute(&(device[0].deviceProperties.clusterLaunch), ccuda.CU_DEVICE_ATTRIBUTE_CLUSTER_LAUNCH, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
return cudaErrorInitializationError

cdef int reservedSharedMemPerBlock
err = ccuda._cuDeviceGetAttribute(&reservedSharedMemPerBlock, ccuda.CU_DEVICE_ATTRIBUTE_RESERVED_SHARED_MEMORY_PER_BLOCK, <ccuda.CUdevice>(deviceOrdinal))
if err != ccuda.cudaError_enum.CUDA_SUCCESS:
Expand Down
8 changes: 5 additions & 3 deletions cuda/ccuda.pxd.in
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,8 @@ cdef extern from "cuda.h":
CUmemLocation location
void* win32SecurityAttributes
size_t maxSize
unsigned char reserved[56]
unsigned short usage
unsigned char reserved[54]

ctypedef CUmemPoolProps_st CUmemPoolProps_v1

Expand Down Expand Up @@ -2176,8 +2177,9 @@ cdef extern from "cuda.h":
CU_COREDUMP_SKIP_GLOBAL_MEMORY = 2
CU_COREDUMP_SKIP_SHARED_MEMORY = 4
CU_COREDUMP_SKIP_LOCAL_MEMORY = 8
CU_COREDUMP_LIGHTWEIGHT_FLAGS = 15
CU_COREDUMP_SKIP_ABORT = 16
CU_COREDUMP_SKIP_CONSTBANK_MEMORY = 32
CU_COREDUMP_LIGHTWEIGHT_FLAGS = 47

cdef struct CUdevResourceDesc_st:
pass
Expand Down Expand Up @@ -4696,7 +4698,7 @@ cdef CUresult cuGraphicsVDPAURegisterVideoSurface(CUgraphicsResource* pCudaResou
cdef CUresult cuGraphicsVDPAURegisterOutputSurface(CUgraphicsResource* pCudaResource, VdpOutputSurface vdpSurface, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil
{{endif}}

cdef enum: CUDA_VERSION = 12050
cdef enum: CUDA_VERSION = 12060

cdef enum: CU_IPC_HANDLE_SIZE = 64

Expand Down
10 changes: 7 additions & 3 deletions cuda/ccudart.pxd.in
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ cdef extern from "driver_types.h":
cudaErrorGraphExecUpdateFailure = 910
cudaErrorExternalDevice = 911
cudaErrorInvalidClusterSize = 912
cudaErrorFunctionNotLoaded = 913
cudaErrorInvalidResourceType = 914
cudaErrorInvalidResourceConfiguration = 915
cudaErrorUnknown = 999
cudaErrorApiFailureBase = 10000

Expand Down Expand Up @@ -342,7 +345,8 @@ cdef extern from "driver_types.h":
cudaMemLocation location
void* win32SecurityAttributes
size_t maxSize
unsigned char reserved[56]
unsigned short usage
unsigned char reserved[54]

cdef struct cudaMemPoolPtrExportData:
unsigned char reserved[64]
Expand Down Expand Up @@ -3301,8 +3305,8 @@ cdef enum: cudaTextureType2DLayered = 242

cdef enum: cudaTextureTypeCubemapLayered = 252

cdef enum: CUDART_VERSION = 12050
cdef enum: CUDART_VERSION = 12060

cdef enum: __CUDART_API_VERSION = 12050
cdef enum: __CUDART_API_VERSION = 12060

cdef enum: CUDA_EGL_MAX_PLANES = 3
9 changes: 9 additions & 0 deletions cuda/ccudart.pyx.in
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,15 @@ cdef const char* cudaGetErrorName(cudaError_t error) except ?NULL nogil:
{{if 'cudaErrorInvalidClusterSize' in found_values}}
if error == cudaErrorInvalidClusterSize:
return "cudaErrorInvalidClusterSize"{{endif}}
{{if 'cudaErrorFunctionNotLoaded' in found_values}}
if error == cudaErrorFunctionNotLoaded:
return "cudaErrorFunctionNotLoaded"{{endif}}
{{if 'cudaErrorInvalidResourceType' in found_values}}
if error == cudaErrorInvalidResourceType:
return "cudaErrorInvalidResourceType"{{endif}}
{{if 'cudaErrorInvalidResourceConfiguration' in found_values}}
if error == cudaErrorInvalidResourceConfiguration:
return "cudaErrorInvalidResourceConfiguration"{{endif}}
{{if 'cudaErrorUnknown' in found_values}}
if error == cudaErrorUnknown:
return "cudaErrorUnknown"{{endif}}
Expand Down
114 changes: 96 additions & 18 deletions cuda/cuda.pxd.in
Original file line number Diff line number Diff line change
Expand Up @@ -1457,10 +1457,18 @@ cdef class CUlaunchAttributeValue_union:
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION.
programmaticEvent : anon_struct2
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT.
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT
with the following fields: - `CUevent` event - Event to fire when
all blocks trigger it. - `Event` record flags, see
cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL.
- `triggerAtBlockStart` - If this is set to non-0, each block
launch will automatically trigger the event.
launchCompletionEvent : anon_struct3
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT.
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following
fields: - `CUevent` event - Event to fire when the last block
launches - `int` flags; - Event record flags, see
cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL.
priority : int
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PRIORITY. Execution
priority of the kernel.
Expand All @@ -1472,7 +1480,11 @@ cdef class CUlaunchAttributeValue_union:
See::CUlaunchMemSyncDomain
deviceUpdatableKernelNode : anon_struct4
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE.
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the
following fields: - `int` deviceUpdatable - Whether or not the
resulting kernel node should be device-updatable. -
`CUgraphDeviceNode` devNode - Returns a handle to pass to the
various device-side update functions.
sharedMemCarveout : unsigned int
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT.
Expand Down Expand Up @@ -3255,6 +3267,8 @@ cdef class CUmemPoolProps_st:
maxSize : size_t
Maximum pool size. When set to 0, defaults to a system dependent
value.
usage : unsigned short
Bitmask indicating intended usage for the pool.
reserved : bytes
reserved for future use, must be 0

Expand Down Expand Up @@ -4582,10 +4596,18 @@ cdef class CUlaunchAttributeValue(CUlaunchAttributeValue_union):
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION.
programmaticEvent : anon_struct2
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT.
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT
with the following fields: - `CUevent` event - Event to fire when
all blocks trigger it. - `Event` record flags, see
cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL.
- `triggerAtBlockStart` - If this is set to non-0, each block
launch will automatically trigger the event.
launchCompletionEvent : anon_struct3
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT.
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following
fields: - `CUevent` event - Event to fire when the last block
launches - `int` flags; - Event record flags, see
cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL.
priority : int
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PRIORITY. Execution
priority of the kernel.
Expand All @@ -4597,7 +4619,11 @@ cdef class CUlaunchAttributeValue(CUlaunchAttributeValue_union):
See::CUlaunchMemSyncDomain
deviceUpdatableKernelNode : anon_struct4
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE.
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the
following fields: - `int` deviceUpdatable - Whether or not the
resulting kernel node should be device-updatable. -
`CUgraphDeviceNode` devNode - Returns a handle to pass to the
various device-side update functions.
sharedMemCarveout : unsigned int
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT.
Expand Down Expand Up @@ -4703,10 +4729,18 @@ cdef class CUkernelNodeAttrValue_v1(CUlaunchAttributeValue):
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION.
programmaticEvent : anon_struct2
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT.
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT
with the following fields: - `CUevent` event - Event to fire when
all blocks trigger it. - `Event` record flags, see
cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL.
- `triggerAtBlockStart` - If this is set to non-0, each block
launch will automatically trigger the event.
launchCompletionEvent : anon_struct3
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT.
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following
fields: - `CUevent` event - Event to fire when the last block
launches - `int` flags; - Event record flags, see
cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL.
priority : int
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PRIORITY. Execution
priority of the kernel.
Expand All @@ -4718,7 +4752,11 @@ cdef class CUkernelNodeAttrValue_v1(CUlaunchAttributeValue):
See::CUlaunchMemSyncDomain
deviceUpdatableKernelNode : anon_struct4
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE.
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the
following fields: - `int` deviceUpdatable - Whether or not the
resulting kernel node should be device-updatable. -
`CUgraphDeviceNode` devNode - Returns a handle to pass to the
various device-side update functions.
sharedMemCarveout : unsigned int
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT.
Expand Down Expand Up @@ -4766,10 +4804,18 @@ cdef class CUkernelNodeAttrValue(CUkernelNodeAttrValue_v1):
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION.
programmaticEvent : anon_struct2
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT.
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT
with the following fields: - `CUevent` event - Event to fire when
all blocks trigger it. - `Event` record flags, see
cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL.
- `triggerAtBlockStart` - If this is set to non-0, each block
launch will automatically trigger the event.
launchCompletionEvent : anon_struct3
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT.
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following
fields: - `CUevent` event - Event to fire when the last block
launches - `int` flags; - Event record flags, see
cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL.
priority : int
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PRIORITY. Execution
priority of the kernel.
Expand All @@ -4781,7 +4827,11 @@ cdef class CUkernelNodeAttrValue(CUkernelNodeAttrValue_v1):
See::CUlaunchMemSyncDomain
deviceUpdatableKernelNode : anon_struct4
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE.
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the
following fields: - `int` deviceUpdatable - Whether or not the
resulting kernel node should be device-updatable. -
`CUgraphDeviceNode` devNode - Returns a handle to pass to the
various device-side update functions.
sharedMemCarveout : unsigned int
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT.
Expand Down Expand Up @@ -4829,10 +4879,18 @@ cdef class CUstreamAttrValue_v1(CUlaunchAttributeValue):
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION.
programmaticEvent : anon_struct2
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT.
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT
with the following fields: - `CUevent` event - Event to fire when
all blocks trigger it. - `Event` record flags, see
cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL.
- `triggerAtBlockStart` - If this is set to non-0, each block
launch will automatically trigger the event.
launchCompletionEvent : anon_struct3
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT.
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following
fields: - `CUevent` event - Event to fire when the last block
launches - `int` flags; - Event record flags, see
cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL.
priority : int
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PRIORITY. Execution
priority of the kernel.
Expand All @@ -4844,7 +4902,11 @@ cdef class CUstreamAttrValue_v1(CUlaunchAttributeValue):
See::CUlaunchMemSyncDomain
deviceUpdatableKernelNode : anon_struct4
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE.
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the
following fields: - `int` deviceUpdatable - Whether or not the
resulting kernel node should be device-updatable. -
`CUgraphDeviceNode` devNode - Returns a handle to pass to the
various device-side update functions.
sharedMemCarveout : unsigned int
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT.
Expand Down Expand Up @@ -4892,10 +4954,18 @@ cdef class CUstreamAttrValue(CUstreamAttrValue_v1):
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION.
programmaticEvent : anon_struct2
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT.
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT
with the following fields: - `CUevent` event - Event to fire when
all blocks trigger it. - `Event` record flags, see
cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL.
- `triggerAtBlockStart` - If this is set to non-0, each block
launch will automatically trigger the event.
launchCompletionEvent : anon_struct3
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT.
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following
fields: - `CUevent` event - Event to fire when the last block
launches - `int` flags; - Event record flags, see
cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL.
priority : int
Value of launch attribute CU_LAUNCH_ATTRIBUTE_PRIORITY. Execution
priority of the kernel.
Expand All @@ -4907,7 +4977,11 @@ cdef class CUstreamAttrValue(CUstreamAttrValue_v1):
See::CUlaunchMemSyncDomain
deviceUpdatableKernelNode : anon_struct4
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE.
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the
following fields: - `int` deviceUpdatable - Whether or not the
resulting kernel node should be device-updatable. -
`CUgraphDeviceNode` devNode - Returns a handle to pass to the
various device-side update functions.
sharedMemCarveout : unsigned int
Value of launch attribute
CU_LAUNCH_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT.
Expand Down Expand Up @@ -6843,6 +6917,8 @@ cdef class CUmemPoolProps_v1(CUmemPoolProps_st):
maxSize : size_t
Maximum pool size. When set to 0, defaults to a system dependent
value.
usage : unsigned short
Bitmask indicating intended usage for the pool.
reserved : bytes
reserved for future use, must be 0

Expand Down Expand Up @@ -6878,6 +6954,8 @@ cdef class CUmemPoolProps(CUmemPoolProps_v1):
maxSize : size_t
Maximum pool size. When set to 0, defaults to a system dependent
value.
usage : unsigned short
Bitmask indicating intended usage for the pool.
reserved : bytes
reserved for future use, must be 0

Expand Down
Loading

0 comments on commit b9f40f6

Please sign in to comment.