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

Mapping to host #1004

Open
vinser52 opened this issue Dec 17, 2024 · 1 comment
Open

Mapping to host #1004

vinser52 opened this issue Dec 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@vinser52
Copy link
Contributor

Rationale

Today, the MPI library for Level Zero and CUDA can map the device memory to the host. It is done for performance reasons: In case of short messages mapping to host and calling host memcpy works faster than copying via L0 APIs.

Description

TBD

API Changes

Need to decided on the right API

Implementation details

In case of Level Zero the Level Zero IPC API can be used. Today MPI extracts file descriptor from the IPC handle and use mmap function to map memory to the host.
In case of CUDA the gdrcopy library is used.

Meta

@vinser52 vinser52 added the enhancement New feature or request label Dec 17, 2024
@bratpiorka
Copy link
Contributor

@vinser52 is this needed for 0.11? if so please set the right milestone :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants