Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cuda_bindings/cuda/bindings/_internal/nvjitlink.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
#
# This code was automatically generated across versions from 12.0.1 to 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly.
# This code was automatically generated across versions from 12.0.1 to 13.3.0, generator version 0.3.1.dev1752+g89e531539. Do not modify it directly.

from ..cynvjitlink cimport *

Expand All @@ -25,3 +25,5 @@ cdef nvJitLinkResult _nvJitLinkGetErrorLog(nvJitLinkHandle handle, char* log) ex
cdef nvJitLinkResult _nvJitLinkGetInfoLogSize(nvJitLinkHandle handle, size_t* size) except?_NVJITLINKRESULT_INTERNAL_LOADING_ERROR nogil
cdef nvJitLinkResult _nvJitLinkGetInfoLog(nvJitLinkHandle handle, char* log) except?_NVJITLINKRESULT_INTERNAL_LOADING_ERROR nogil
cdef nvJitLinkResult _nvJitLinkVersion(unsigned int* major, unsigned int* minor) except?_NVJITLINKRESULT_INTERNAL_LOADING_ERROR nogil
cdef nvJitLinkResult _nvJitLinkGetLinkedLTOIRSize(nvJitLinkHandle handle, size_t* size) except?_NVJITLINKRESULT_INTERNAL_LOADING_ERROR nogil
cdef nvJitLinkResult _nvJitLinkGetLinkedLTOIR(nvJitLinkHandle handle, void* ltoir) except?_NVJITLINKRESULT_INTERNAL_LOADING_ERROR nogil
16 changes: 8 additions & 8 deletions cuda_bindings/cuda/bindings/cudla.pyx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# 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.
# 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.

cimport cython # NOQA
from libc.stdint cimport intptr_t, uintptr_t
Expand Down Expand Up @@ -67,7 +67,7 @@ cdef __getbuffer(object self, cpython.Py_buffer *buffer, void *ptr, int size, bi
###############################################################################

cdef _get_external_memory_handle_desc_dtype_offsets():
cdef cudlaExternalMemoryHandleDesc_t pod = cudlaExternalMemoryHandleDesc_t()
cdef cudlaExternalMemoryHandleDesc_t pod
return _numpy.dtype({
'names': ['ext_buf_object', 'size_'],
'formats': [_numpy.intp, _numpy.uint64],
Expand Down Expand Up @@ -210,7 +210,7 @@ cdef class ExternalMemoryHandleDesc:


cdef _get_external_semaphore_handle_desc_dtype_offsets():
cdef cudlaExternalSemaphoreHandleDesc_t pod = cudlaExternalSemaphoreHandleDesc_t()
cdef cudlaExternalSemaphoreHandleDesc_t pod
return _numpy.dtype({
'names': ['ext_sync_object'],
'formats': [_numpy.intp],
Expand Down Expand Up @@ -341,7 +341,7 @@ cdef class ExternalSemaphoreHandleDesc:


cdef _get_module_tensor_descriptor_dtype_offsets():
cdef cudlaModuleTensorDescriptor pod = cudlaModuleTensorDescriptor()
cdef cudlaModuleTensorDescriptor pod
return _numpy.dtype({
'names': ['name', 'size_', 'n', 'c', 'h', 'w', 'data_format', 'data_type', 'data_category', 'pixel_format', 'pixel_mapping', 'stride'],
'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)],
Expand Down Expand Up @@ -614,7 +614,7 @@ cdef class ModuleTensorDescriptor:


cdef _get_fence_dtype_offsets():
cdef CudlaFence pod = CudlaFence()
cdef CudlaFence pod
return _numpy.dtype({
'names': ['fence', 'type'],
'formats': [_numpy.intp, _numpy.int32],
Expand Down Expand Up @@ -1055,7 +1055,7 @@ cdef class ModuleAttribute:


cdef _get_wait_events_dtype_offsets():
cdef cudlaWaitEvents pod = cudlaWaitEvents()
cdef cudlaWaitEvents pod
return _numpy.dtype({
'names': ['pre_fences', 'num_events'],
'formats': [_numpy.intp, _numpy.uint32],
Expand Down Expand Up @@ -1195,7 +1195,7 @@ cdef class WaitEvents:


cdef _get_signal_events_dtype_offsets():
cdef cudlaSignalEvents pod = cudlaSignalEvents()
cdef cudlaSignalEvents pod
return _numpy.dtype({
'names': ['dev_ptrs', 'eof_fences', 'num_events'],
'formats': [_numpy.intp, _numpy.intp, _numpy.uint32],
Expand Down Expand Up @@ -1361,7 +1361,7 @@ cdef class SignalEvents:


cdef _get_task_dtype_offsets():
cdef cudlaTask pod = cudlaTask()
cdef cudlaTask pod
return _numpy.dtype({
'names': ['module_handle', 'output_tensor', 'num_output_tensors', 'num_input_tensors', 'input_tensor', 'wait_events', 'signal_events'],
'formats': [_numpy.intp, _numpy.intp, _numpy.uint32, _numpy.uint32, _numpy.intp, _numpy.intp, _numpy.intp],
Expand Down
26 changes: 13 additions & 13 deletions cuda_bindings/cuda/bindings/cufile.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
#
# This code was automatically generated across versions from 12.9.1 to 13.2.0, generator version 0.3.1.dev1568+g289771de9.d20260413. Do not modify it directly.
# This code was automatically generated across versions from 12.9.1 to 13.3.0, generator version 0.3.1.dev1752+g89e531539. Do not modify it directly.

cimport cython # NOQA
from libc cimport errno
Expand Down Expand Up @@ -205,7 +205,7 @@ cdef class _py_anon_pod1:


cdef _get__py_anon_pod3_dtype_offsets():
cdef cuda_bindings_cufile__anon_pod3 pod = cuda_bindings_cufile__anon_pod3()
cdef cuda_bindings_cufile__anon_pod3 pod
return _numpy.dtype({
'names': ['dev_ptr_base', 'file_offset', 'dev_ptr_offset', 'size_'],
'formats': [_numpy.intp, _numpy.int64, _numpy.int64, _numpy.uint64],
Expand Down Expand Up @@ -372,7 +372,7 @@ cdef class _py_anon_pod3:


cdef _get_io_events_dtype_offsets():
cdef CUfileIOEvents_t pod = CUfileIOEvents_t()
cdef CUfileIOEvents_t pod
return _numpy.dtype({
'names': ['cookie', 'status', 'ret'],
'formats': [_numpy.intp, _numpy.int32, _numpy.uint64],
Expand Down Expand Up @@ -537,7 +537,7 @@ cdef class IOEvents:


cdef _get_op_counter_dtype_offsets():
cdef CUfileOpCounter_t pod = CUfileOpCounter_t()
cdef CUfileOpCounter_t pod
return _numpy.dtype({
'names': ['ok', 'err'],
'formats': [_numpy.uint64, _numpy.uint64],
Expand Down Expand Up @@ -680,7 +680,7 @@ cdef class OpCounter:


cdef _get_per_gpu_stats_dtype_offsets():
cdef CUfilePerGpuStats_t pod = CUfilePerGpuStats_t()
cdef CUfilePerGpuStats_t pod
return _numpy.dtype({
'names': ['uuid', 'read_bytes', 'read_bw_bytes_per_sec', 'read_utilization', 'read_duration_us', 'n_total_reads', 'n_p2p_reads', 'n_nvfs_reads', 'n_posix_reads', 'n_unaligned_reads', 'n_dr_reads', 'n_sparse_regions', 'n_inline_regions', 'n_reads_err', 'writes_bytes', 'write_bw_bytes_per_sec', 'write_utilization', 'write_duration_us', 'n_total_writes', 'n_p2p_writes', 'n_nvfs_writes', 'n_posix_writes', 'n_unaligned_writes', 'n_dr_writes', 'n_writes_err', 'n_mmap', 'n_mmap_ok', 'n_mmap_err', 'n_mmap_free', 'reg_bytes'],
'formats': [(_numpy.int8, 16), _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64],
Expand Down Expand Up @@ -1167,7 +1167,7 @@ cdef class PerGpuStats:


cdef _get_descr_dtype_offsets():
cdef CUfileDescr_t pod = CUfileDescr_t()
cdef CUfileDescr_t pod
return _numpy.dtype({
'names': ['type', 'handle', 'fs_ops'],
'formats': [_numpy.int32, _py_anon_pod1_dtype, _numpy.intp],
Expand Down Expand Up @@ -1456,7 +1456,7 @@ cdef class _py_anon_pod2:


cdef _get_stats_level1_dtype_offsets():
cdef CUfileStatsLevel1_t pod = CUfileStatsLevel1_t()
cdef CUfileStatsLevel1_t pod
return _numpy.dtype({
'names': ['read_ops', 'write_ops', 'hdl_register_ops', 'hdl_deregister_ops', 'buf_register_ops', 'buf_deregister_ops', 'read_bytes', 'write_bytes', 'read_bw_bytes_per_sec', 'write_bw_bytes_per_sec', 'read_lat_avg_us', 'write_lat_avg_us', 'read_ops_per_sec', 'write_ops_per_sec', 'read_lat_sum_us', 'write_lat_sum_us', 'batch_submit_ops', 'batch_complete_ops', 'batch_setup_ops', 'batch_cancel_ops', 'batch_destroy_ops', 'batch_enqueued_ops', 'batch_posix_enqueued_ops', 'batch_processed_ops', 'batch_posix_processed_ops', 'batch_nvfs_submit_ops', 'batch_p2p_submit_ops', 'batch_aio_submit_ops', 'batch_iouring_submit_ops', 'batch_mixed_io_submit_ops', 'batch_total_submit_ops', 'batch_read_bytes', 'batch_write_bytes', 'batch_read_bw_bytes', 'batch_write_bw_bytes', 'batch_submit_lat_avg_us', 'batch_completion_lat_avg_us', 'batch_submit_ops_per_sec', 'batch_complete_ops_per_sec', 'batch_submit_lat_sum_us', 'batch_completion_lat_sum_us', 'last_batch_read_bytes', 'last_batch_write_bytes'],
'formats': [op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, op_counter_dtype, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64, _numpy.uint64],
Expand Down Expand Up @@ -2112,7 +2112,7 @@ cdef class StatsLevel1:


cdef _get_io_params_dtype_offsets():
cdef CUfileIOParams_t pod = CUfileIOParams_t()
cdef CUfileIOParams_t pod
return _numpy.dtype({
'names': ['mode', 'u', 'fh', 'opcode', 'cookie'],
'formats': [_numpy.int32, _py_anon_pod2_dtype, _numpy.intp, _numpy.int32, _numpy.intp],
Expand Down Expand Up @@ -2299,7 +2299,7 @@ cdef class IOParams:


cdef _get_stats_level2_dtype_offsets():
cdef CUfileStatsLevel2_t pod = CUfileStatsLevel2_t()
cdef CUfileStatsLevel2_t pod
return _numpy.dtype({
'names': ['basic', 'read_size_kb_hist', 'write_size_kb_hist'],
'formats': [stats_level1_dtype, (_numpy.uint64, 32), (_numpy.uint64, 32)],
Expand Down Expand Up @@ -2467,7 +2467,7 @@ cdef class StatsLevel2:


cdef _get_stats_level3_dtype_offsets():
cdef CUfileStatsLevel3_t pod = CUfileStatsLevel3_t()
cdef CUfileStatsLevel3_t pod
return _numpy.dtype({
'names': ['detailed', 'num_gpus', 'per_gpu_stats'],
'formats': [stats_level2_dtype, _numpy.uint32, (per_gpu_stats_dtype, 16)],
Expand Down Expand Up @@ -3198,7 +3198,7 @@ cpdef get_stats_l1(intptr_t stats):
"""Get Level 1 cuFile statistics.

Args:
stats (intptr_t): Pointer to CUfileStatsLevel1_t structure to be filled.
stats (intptr_t): Pointer to ``CUfileStatsLevel1_t`` structure to be filled.

.. seealso:: `cuFileGetStatsL1`
"""
Expand All @@ -3211,7 +3211,7 @@ cpdef get_stats_l2(intptr_t stats):
"""Get Level 2 cuFile statistics.

Args:
stats (intptr_t): Pointer to CUfileStatsLevel2_t structure to be filled.
stats (intptr_t): Pointer to ``CUfileStatsLevel2_t`` structure to be filled.

.. seealso:: `cuFileGetStatsL2`
"""
Expand All @@ -3224,7 +3224,7 @@ cpdef get_stats_l3(intptr_t stats):
"""Get Level 3 cuFile statistics.

Args:
stats (intptr_t): Pointer to CUfileStatsLevel3_t structure to be filled.
stats (intptr_t): Pointer to ``CUfileStatsLevel3_t`` structure to be filled.

.. seealso:: `cuFileGetStatsL3`
"""
Expand Down
Loading
Loading