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

EC/CUDA: enable support for multiple contexts #848

Merged
merged 4 commits into from
Jan 17, 2024

Conversation

Sergei-Lebedev
Copy link
Contributor

What

Change EC/CUDA and MC/CUDA resource allocation logic to support multiple CUDA contexts. CUDA components keep tack of resources used by TLs or CLs and allocate memory, stream, events etc using appropriate CUDA context.

Why ?

Adds support for multithreaded CUDA application. Each thread represent UCC endpoint and manages dedicated GPU

@Sergei-Lebedev Sergei-Lebedev force-pushed the topic/ec_cuda_mt branch 2 times, most recently from 8c8c161 to 2b615bc Compare January 16, 2024 19:57
@Sergei-Lebedev Sergei-Lebedev merged commit 75ecf74 into openucx:master Jan 17, 2024
10 checks passed
@Sergei-Lebedev Sergei-Lebedev deleted the topic/ec_cuda_mt branch January 17, 2024 06:08
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