Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
846c75c
Restructures IPC mempool tests into a subdirectory.
Andy-Jost Sep 18, 2025
238db00
Simplify the IPC interface, adding create_ipc_channel and import_/exp…
Andy-Jost Sep 18, 2025
f2ea8c9
Simply the interface to IPCBufferTestHelper.
Andy-Jost Sep 18, 2025
827466e
Adds more tests.
Andy-Jost Sep 19, 2025
93d9217
Removes sequence forms of certain function (exception behavior was un…
Andy-Jost Sep 19, 2025
476349e
Changes channel methods export/import_ to send_buffer/receive_buffer,…
Andy-Jost Sep 19, 2025
2ed5be7
Implement serialization methods for Device, Buffer, and DeviceMemoryR…
Andy-Jost Sep 23, 2025
7f7f80f
Protects serialization where needed to avoid resource leaks. Adds a r…
Andy-Jost Sep 24, 2025
e8822b3
Add tests for leaked file descriptors and fix leaks.
Andy-Jost Sep 25, 2025
708e2b5
Eliminates IPCChannel.
Andy-Jost Sep 25, 2025
b31d849
Changes DeviceMemoryResource remote_id to uuid.
Andy-Jost Sep 25, 2025
6c53cb0
Embeds the memory resource UUID into allocation handles.
Andy-Jost Sep 25, 2025
a264afe
Merge remote-tracking branch 'origin/main' into ipc-mempool-channel
Andy-Jost Sep 26, 2025
ed0b356
Minor changes to address feedback.
Andy-Jost Sep 26, 2025
b40a213
Removes obsolte tests. Moves imports to nested contexts.
Andy-Jost Sep 26, 2025
4fb3d47
Removes pickling for Device objects. Registers the pickle method with…
Andy-Jost Sep 26, 2025
c9f8c91
Updates register function to return registered object. Avoids possibl…
Andy-Jost Sep 29, 2025
5dda196
Renames Buffer import_/export methods.
Andy-Jost Sep 29, 2025
e54cb5b
Moves AllocationHandle serialization to a registration with multiproc…
Andy-Jost Sep 30, 2025
948af33
Use DeviceMemoryResourceOptions throughout tests.
Andy-Jost Sep 30, 2025
e36f1c1
Merge branch 'main' into ipc-mempool-channel
Andy-Jost Sep 30, 2025
0a082dd
Merge branch 'main' into ipc-mempool-channel
Andy-Jost Sep 30, 2025
b91d98b
Merged tests/memory_ipc/conftest.py into tests/conftest.py because ce…
Andy-Jost Sep 30, 2025
d28b52f
Makes the psutil module an optional dependency for testing.
Andy-Jost Sep 30, 2025
30542c3
Merge branch 'main' into ipc-mempool-channel
Andy-Jost Oct 1, 2025
3802c4c
Merge branch 'main' into ipc-mempool-channel
Andy-Jost Oct 1, 2025
e0d0bf4
Bump the child timeout for IPC tests.
Andy-Jost Oct 1, 2025
fbcf3b3
Add docstrings. Change is_imported to is_mapped. Register DeviceMemor…
Andy-Jost Oct 2, 2025
e5b8542
Remove call to set_current in Device reconstruction. Add device set-u…
Andy-Jost Oct 2, 2025
64f154c
Merge branch 'main' into ipc-mempool-channel
Andy-Jost Oct 3, 2025
534b16a
fix docstring rendering
leofang Oct 3, 2025
d584ea9
Merge branch 'main' into ipc-mempool-channel
leofang Oct 3, 2025
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
2 changes: 1 addition & 1 deletion cuda_core/cuda/core/experimental/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from cuda.core.experimental._memory import (
Buffer,
DeviceMemoryResource,
IPCChannel,
DeviceMemoryResourceOptions,
LegacyPinnedMemoryResource,
MemoryResource,
)
Expand Down
3 changes: 3 additions & 0 deletions cuda_core/cuda/core/experimental/_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -1160,6 +1160,9 @@ def __int__(self):
def __repr__(self):
return f"<Device {self._id} ({self.name})>"

def __reduce__(self):
return Device, (self.device_id,)

def set_current(self, ctx: Context = None) -> Union[Context, None]:
"""Set device to be used for GPU executions.

Expand Down
Loading
Loading