Repository navigation
UCT/CUDA/CUDA_IPC: Unmap memory handle at ucp_device_mem_list_release. - #11730
Merged
rakhmets merged 1 commit intoAug 14, 2026
Merged
Conversation
rakhmets
force-pushed
the
topic/cuda-ipc-md-mem-elem-pack
branch
from
August 5, 2026 09:57
ad06eaf to
2a05e5c
Compare
rakhmets
force-pushed
the
topic/cuda-ipc-md-mem-elem-pack
branch
3 times, most recently
from
August 5, 2026 11:31
7be37e3 to
5a6c215
Compare
rakhmets
force-pushed
the
topic/cuda-ipc-md-mem-elem-pack
branch
from
August 5, 2026 12:12
5a6c215 to
8574cab
Compare
rakhmets
force-pushed
the
topic/cuda-ipc-md-mem-elem-pack
branch
4 times, most recently
from
August 5, 2026 17:41
c5ff148 to
b1170d9
Compare
rakhmets
force-pushed
the
topic/cuda-ipc-md-mem-elem-pack
branch
2 times, most recently
from
August 6, 2026 08:16
3b48958 to
3c6e5c8
Compare
rakhmets
force-pushed
the
topic/cuda-ipc-md-mem-elem-pack
branch
8 times, most recently
from
August 10, 2026 08:57
4bde128 to
cd3f59b
Compare
rakhmets
force-pushed
the
topic/cuda-ipc-md-mem-elem-pack
branch
from
August 10, 2026 09:07
cd3f59b to
2360023
Compare
ofirfarjun7
reviewed
Aug 12, 2026
| ucp_device_local_mem_list_h *mem_list_h) | ||
| { | ||
| ucp_device_mem_elem_release_handles_t release_handles = | ||
| UCS_ARRAY_DYNAMIC_INITIALIZER; |
Contributor
There was a problem hiding this comment.
Next PR: We know the mem list length in advance, can we move to fixed size array?
Contributor
ofirfarjun7
approved these changes
Aug 12, 2026
This was referenced Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Added UCT API
uct_md_mem_elem_releaseto be able to release resources allocated duringuct_md_mem_elem_pack.Why?
cuda_ipcimplementation ofuct_md_mem_elem_packmaps remote address, opening interprocess handle. It's not possible to release the memory without closing all opened interprocess handles.