Repository navigation
refactor(cuda.core): rename VirtualMemoryIPCBufferDescriptor to VirtualMemoryFdBufferDescriptor - #3229
Conversation
…alMemoryFdBufferDescriptor The class carries POSIX file descriptors for VirtualMemoryResource buffers. A fabric-handle descriptor will sit beside it, so its name now says which transport it is. No alias: the class first appears in the unreleased 1.3.0. No behavior change. Written by Codex (gpt-6.1-sol); reviewed by Claude. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
@coderabbitai review |
✅ Action performed
|
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Descriptor contract and implementation cuda_core/cuda/core/_memory/_ipc.pxd, cuda_core/cuda/core/_memory/_ipc.pyi, cuda_core/cuda/core/_memory/_ipc.pyx |
The descriptor declaration and its factory, pickle reconstruction, and buffer-import type check now use VirtualMemoryFdBufferDescriptor. |
Resource integration and validation cuda_core/cuda/core/_memory/_virtual_memory_resource.*, cuda_core/tests/memory_ipc/test_vmm_ipc.py, cuda_core/cuda/core/_cpp/rt/VMM_DESIGN.md, cuda_core/docs/source/* |
The virtual-memory resource API, tests, design documentation, private API listing, and release notes now use the renamed descriptor. |
Possibly related issues
- EPIC: VMM feature completeness #2980: The issue covers VMM IPC support and planned fabric support; this change renames the descriptor used for file-descriptor transfers.
- cuda.core: transfer VMM IPC allocations one at a time #3110: The issue refers to
VirtualMemoryIPCBufferDescriptorand aposix_fd-specific design; this change renames that descriptor toVirtualMemoryFdBufferDescriptor.
Possibly related PRs
- NVIDIA/cuda-python#3034: This PR updates the same release-note content, which refers to the descriptor name changed here.
Suggested labels: documentation, test
Suggested reviewers: mdboom, rwgk
Priority:
Change: Refactor
Merge Risk: 
Minimal · up to f1289
-
The rename is complete across the tracked implementation, bindings, tests, and documentation.
Comment @coderabbitai help to get the list of available commands.
|
…bric Every conflict was the rename that this branch already carried as f128963; main's version of each conflicted file equals that commit's, so the branch side was kept.
Summary
VirtualMemoryIPCBufferDescriptoris the descriptor that carries POSIX file descriptors forVirtualMemoryResourcebuffers (#3028). A fabric-handle descriptor is about to sit beside it (#2980), and the old name reads as "the" IPC descriptor although both will be. This PR renames it toVirtualMemoryFdBufferDescriptorwhile 1.3.0 is unreleased. No alias, no behavior change.Changes
cdef classand every reference:_ipc.pyx,_ipc.pxd,_virtual_memory_resource.pyx, the generated.pyistubs,api_private.rst, the 1.3.0 release-note entry,VMM_DESIGN.md, andtests/memory_ipc/test_vmm_ipc.py.Related Work
Part of #2980 (fabric handles). Follows #3028.
🤖 Generated with Claude Code