-
Notifications
You must be signed in to change notification settings - Fork 434
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
Add the multi-device client-server example #10438
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,1215 @@ | |||
/** | |||
* Copyright (c) NVIDIA CORPORATION & AFFILIATES, 2018. ALL RIGHTS RESERVED. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2025?
*/ | ||
|
||
/* | ||
* UCP client - server example utility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe this needs to be updated?
Also ucp_client_server -> ucp_client_server_multi_dev
* '-p' option and should be used on both sides. The default port to use is | ||
* 13337. | ||
*/ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code is mostly identical to ucp_client_server, is there a way to reuse common base?
Maybe one option is to extend ucp_client_server with one more option?
116ea40
to
c18ea67
Compare
What?
Add a UCP client-server example that uses multiple GPUs in the client and servers.
Why?
To show the hurdles of using UCX with a multiple-GPUs-per-process usage model.
How?
Use a separate UCP context for each GPU.