Skip to content

UCT/CUDA/CUDA_IPC: Set context associated with local buffer - v1.19.x #10697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v1.19.x
Choose a base branch
from

Conversation

rakhmets
Copy link
Contributor

What?

Set context associated with local buffer before performing RMA operation in cuda_ipc transport

Why?

Fix the following scenario:

  1. Allocate data using CUDA VMM API, setting access to CUDA device X.
  2. Set CUDA device Y.
  3. Unpack remote key.
  4. Perform UCP RMA operation.
  5. cuda_ipc::[get|put]_zcopy fails to perform cuMemcpyDtoDAsync.

The issue was found using #10670.

How?

Cherry-pick #10671

@rakhmets rakhmets requested a review from brminich May 23, 2025 13:38
@rakhmets rakhmets requested a review from yosefe May 27, 2025 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants