Skip to content
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

POC: Define memory flags and use it for ppln protocols #10540

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brminich
Copy link
Contributor

@brminich brminich commented Mar 7, 2025

What?

Define memory type flags to distinguish between memory of the same type but with different capabilities or properties. For example, to differentiate between legacy pinned CUDA memory and fabric VMM memory (the latter being suitable for MNNVL).

Why?

This allows selecting device memory pipeline protocols for all relevant cases (e.g., for osu_bw H D). Currently, sending host memory to legacy pinned memory does not select a pipeline protocol because the receiver responds with a normal RTR instead of RTR mtype. As a result, the sender fails to unpack cuda_ipc key (since it is legacy pinned memory) and cannot select cuda-ipc for the transfer.

How?

This PR is PoC demonstrating the use of memory flags. It will be split into multiple PRs, starting with a separate PR for UCT API changes. Thus, no need to review it

@brminich brminich added the WIP-DNM Work in progress / Do not review label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP-DNM Work in progress / Do not review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant