cuda.core 1.3.1 Release Notes#

Fixes and enhancements#

  • Buffer.from_ipc_descriptor() no longer unmaps a newly imported memory pool buffer when another thread releases the same descriptor at the same time. The import now waits for the pending release to finish. (#3450)

  • PinnedMemoryResource construction without options no longer invalidates a CUDA graph capture in progress on another thread. cuda.core 1.3.0 introduced a cuMemPoolSetAccess call in the constructor (#3405); the driver refuses that call, and invalidates any concurrent global-mode capture, unless it runs in relaxed capture mode. The fix applies the same relaxed-mode wrapper already used for pool attribute reads and writes and trim(). Captures started with the default begin_building() mode are unaffected; global mode is the default in several external libraries (for example torch.cuda.graph). (#3451)