|
1 | 1 | # SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
2 | 2 | # SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE |
3 | 3 |
|
4 | | -# This code was automatically generated across versions from 1.5.0 to 13.3.0, generator version 0.3.1.dev1719+g565f73f4e. Do not modify it directly. |
| 4 | +# This code was automatically generated across versions from 1.5.0 to 13.3.0, generator version 0.3.1.dev1752+g89e531539. Do not modify it directly. |
5 | 5 |
|
6 | 6 | cimport cython # NOQA |
7 | 7 | from libc.stdint cimport intptr_t, uintptr_t |
@@ -67,7 +67,7 @@ cdef __getbuffer(object self, cpython.Py_buffer *buffer, void *ptr, int size, bi |
67 | 67 | ############################################################################### |
68 | 68 |
|
69 | 69 | cdef _get_external_memory_handle_desc_dtype_offsets(): |
70 | | - cdef cudlaExternalMemoryHandleDesc_t pod = cudlaExternalMemoryHandleDesc_t() |
| 70 | + cdef cudlaExternalMemoryHandleDesc_t pod |
71 | 71 | return _numpy.dtype({ |
72 | 72 | 'names': ['ext_buf_object', 'size_'], |
73 | 73 | 'formats': [_numpy.intp, _numpy.uint64], |
@@ -210,7 +210,7 @@ cdef class ExternalMemoryHandleDesc: |
210 | 210 |
|
211 | 211 |
|
212 | 212 | cdef _get_external_semaphore_handle_desc_dtype_offsets(): |
213 | | - cdef cudlaExternalSemaphoreHandleDesc_t pod = cudlaExternalSemaphoreHandleDesc_t() |
| 213 | + cdef cudlaExternalSemaphoreHandleDesc_t pod |
214 | 214 | return _numpy.dtype({ |
215 | 215 | 'names': ['ext_sync_object'], |
216 | 216 | 'formats': [_numpy.intp], |
@@ -341,7 +341,7 @@ cdef class ExternalSemaphoreHandleDesc: |
341 | 341 |
|
342 | 342 |
|
343 | 343 | cdef _get_module_tensor_descriptor_dtype_offsets(): |
344 | | - cdef cudlaModuleTensorDescriptor pod = cudlaModuleTensorDescriptor() |
| 344 | + cdef cudlaModuleTensorDescriptor pod |
345 | 345 | return _numpy.dtype({ |
346 | 346 | 'names': ['name', 'size_', 'n', 'c', 'h', 'w', 'data_format', 'data_type', 'data_category', 'pixel_format', 'pixel_mapping', 'stride'], |
347 | 347 | 'formats': [(_numpy.int8, 81), _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint8, _numpy.uint8, _numpy.uint8, _numpy.uint8, _numpy.uint8, (_numpy.uint32, 8)], |
@@ -614,7 +614,7 @@ cdef class ModuleTensorDescriptor: |
614 | 614 |
|
615 | 615 |
|
616 | 616 | cdef _get_fence_dtype_offsets(): |
617 | | - cdef CudlaFence pod = CudlaFence() |
| 617 | + cdef CudlaFence pod |
618 | 618 | return _numpy.dtype({ |
619 | 619 | 'names': ['fence', 'type'], |
620 | 620 | 'formats': [_numpy.intp, _numpy.int32], |
@@ -1055,7 +1055,7 @@ cdef class ModuleAttribute: |
1055 | 1055 |
|
1056 | 1056 |
|
1057 | 1057 | cdef _get_wait_events_dtype_offsets(): |
1058 | | - cdef cudlaWaitEvents pod = cudlaWaitEvents() |
| 1058 | + cdef cudlaWaitEvents pod |
1059 | 1059 | return _numpy.dtype({ |
1060 | 1060 | 'names': ['pre_fences', 'num_events'], |
1061 | 1061 | 'formats': [_numpy.intp, _numpy.uint32], |
@@ -1195,7 +1195,7 @@ cdef class WaitEvents: |
1195 | 1195 |
|
1196 | 1196 |
|
1197 | 1197 | cdef _get_signal_events_dtype_offsets(): |
1198 | | - cdef cudlaSignalEvents pod = cudlaSignalEvents() |
| 1198 | + cdef cudlaSignalEvents pod |
1199 | 1199 | return _numpy.dtype({ |
1200 | 1200 | 'names': ['dev_ptrs', 'eof_fences', 'num_events'], |
1201 | 1201 | 'formats': [_numpy.intp, _numpy.intp, _numpy.uint32], |
@@ -1361,7 +1361,7 @@ cdef class SignalEvents: |
1361 | 1361 |
|
1362 | 1362 |
|
1363 | 1363 | cdef _get_task_dtype_offsets(): |
1364 | | - cdef cudlaTask pod = cudlaTask() |
| 1364 | + cdef cudlaTask pod |
1365 | 1365 | return _numpy.dtype({ |
1366 | 1366 | 'names': ['module_handle', 'output_tensor', 'num_output_tensors', 'num_input_tensors', 'input_tensor', 'wait_events', 'signal_events'], |
1367 | 1367 | 'formats': [_numpy.intp, _numpy.intp, _numpy.uint32, _numpy.uint32, _numpy.intp, _numpy.intp, _numpy.intp], |
|
0 commit comments