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

Use thread pool for finalizer threads. #1562

Merged
merged 1 commit into from Dec 9, 2019

Conversation

romerojosh
Copy link
Collaborator

Currently, Horovod creates a new thread to wait on CUDA events and trigger callbacks every time it performs an operation with NCCL. This PR adds a thread pool to reuse threads.

Signed-off-by: Josh Romero <joshr@nvidia.com>
Copy link
Collaborator

@tgaddair tgaddair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LGTM!

@tgaddair tgaddair merged commit 6426ecc into horovod:master Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants