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

v5.0.x accelerator/cuda: Add delayed initialization logic #11297

Merged
merged 2 commits into from
Jan 12, 2023

Conversation

wckzhang
Copy link
Contributor

This is a backport of #11253 PR

The current implementation requires the application to
do cudaInit before calling MPI_Init. Added delayed
initilization logic to wait as long as possible
before creating resources requiring a cuContext.

Signed-off-by: William Zhang <wilzhang@amazon.com>
(cherry picked from commit b751060)
Signed-off-by: William Zhang <wilzhang@amazon.com>
(cherry picked from commit 48ae44b)
@janjust janjust merged commit 5b511c3 into open-mpi:v5.0.x Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants