Skip to content

Commit e82804d

Browse files
committed
Update release notes
1 parent bdeddb0 commit e82804d

1 file changed

Lines changed: 29 additions & 4 deletions

File tree

‎cuda_bindings_13/docs/source/release/13.5.0-notes.rst‎

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,30 @@ Enhancements
300300
- The following functions now accept ``None`` for their buffer-like pointer argument (an integer address or an object supporting the buffer protocol), which is treated as ``NULL``.
301301

302302
- ``cudla.module_load_from_memory`` (``p_module``)
303+
- ``cudla.submit_task`` (``ptr_to_tasks``)
304+
- ``cufile.handle_register`` (``descr``)
305+
- ``cufile.batch_io_submit``, ``cufile.batch_io_get_status`` (``iocbp``)
306+
- ``cufile.get_stats_l1``, ``cufile.get_stats_l2``, ``cufile.get_stats_l3`` (``stats``)
303307
- ``nvfatbin.add_cubin``, ``nvfatbin.add_index``, ``nvfatbin.add_ltoir``, ``nvfatbin.add_ptx``, ``nvfatbin.add_reloc``, ``nvfatbin.add_tile_ir`` (``code``)
304308
- ``nvfatbin.get`` (``buffer``)
305309
- ``nvjitlink.add_data`` (``data``)
306310
- ``nvjitlink.get_error_log``, ``nvjitlink.get_info_log`` (``log``)
307311
- ``nvjitlink.get_linked_cubin`` (``cubin``)
308312
- ``nvjitlink.get_linked_ltoir`` (``ltoir``)
309313
- ``nvjitlink.get_linked_ptx`` (``ptx``)
314+
- ``nvml.device_set_clock_offsets`` (``info``)
315+
- ``nvml.device_set_nvlink_bw_mode`` (``set_bw_mode``)
316+
- ``nvml.device_modify_drain_state``, ``nvml.device_query_drain_state``, ``nvml.device_remove_gpu_v2``, ``nvml.device_discover_gpus`` (``pci_info``)
317+
- ``nvml.gpu_instance_set_vgpu_scheduler_state`` (``p_scheduler``)
318+
- ``nvml.set_vgpu_version`` (``vgpu_version``)
319+
- ``nvml.device_create_gpu_instance_with_placement``, ``nvml.gpu_instance_create_compute_instance_with_placement`` (``placement``)
320+
- ``nvml.device_set_power_mizer_mode_v1`` (``power_mizer_mode``)
321+
- ``nvml.device_set_vgpu_scheduler_state_v2``, ``nvml.gpu_instance_set_vgpu_scheduler_state_v2`` (``p_scheduler_state``)
322+
- ``nvml.device_set_memory_limits_v1`` (``limits``)
323+
- ``nvml.event_set_register_gpu_operational_events_v1`` (``config``)
310324
- ``nvvm.add_module_to_program``, ``nvvm.lazy_add_module_to_program``, ``nvvm.get_compiled_result``, ``nvvm.get_program_log`` (``buffer``)
325+
- Buffer-like pointer arguments in ``cudla``, ``nvfatbin``, ``nvjitlink`` and ``nvvm`` are no longer required to be 1D. Any contiguous buffer
326+
(a ctypes object, NumPy array of any shape, ``bytes``, ...) is accepted, and the error message for an invalid buffer says so.
311327
- For all ``cuda-bindings`` APIs, functions that accept a struct wrapper will accept the struct wrapper directly, rather than requiring getting the ``.ptr`` property.
312328
- Creating class instances in ``cuda-bindings`` should now be faster in most cases, because it requires 1 heap allocation rather than 2.
313329
- Before a source build compiles anything, it now checks that the CUDA Toolkit's ``cuda.h`` has the major.minor the source tree was generated from. A mismatch stops the build with a message that names the header found and the version needed. Previously a mismatch surfaced as a long list of C++ redefinition errors.
@@ -344,14 +360,23 @@ Bugfixes
344360
Callers must retain the callback object and user data storage for the lifetime
345361
of the graph and its executables, including pending launches; see
346362
:ref:`host-function-lifetime`.
363+
- ``cufile`` and ``nvml`` struct array wrappers (for example ``nvml.ProcessInfo`` and ``cufile.IOParams``) are now zero-initialized when
364+
created with a given size. Previously they were allocated with uninitialized memory, so unset fields held garbage values.
365+
- Assigning to a member of a read-only ``cufile`` or ``nvml`` struct array wrapper now raises ``ValueError`` ("This <Class> instance is
366+
read-only"). Previously no such check was made.
367+
- ``nvml.PwrModelMetricsPfpp1x`` and ``nvml.PwrModelMetricsDlppm1x`` array wrappers now populate their nested ``estimated_metrics`` member
368+
with one array per element, sized by ``num_vf_points`` and ``num_estimated_metrics`` respectively.
347369

348370
Prerelease feature
349371
------------------
350372

351-
A new version of the ``nvrtc`` API is available as ``cuda.bindings._v2.nvrtc``. The
352-
primary improvements are: (1) raising exceptions rather than returning error
353-
codes, (2) uses PEP8-compliant naming, and (3) more performance. This API is
354-
still experimental and subject to change.
373+
A new version of the ``nvrtc`` and ``driver`` APIs is available as
374+
``cuda.bindings._v2.nvrtc`` and ``cuda.bindings._v2.driver``. The primary
375+
improvements are: (1) raising exceptions rather than returning error codes, (2)
376+
uses PEP8-compliant naming, and (3) more performance. This API is still
377+
experimental and subject to change.
378+
379+
See `v2 migration guide <../../module/v2_migration.html>`_ for details on migrating to new API.
355380

356381
Known issues
357382
------------

0 commit comments

Comments
 (0)