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

Make device_resources accessed from device_resources_manager thread-safe #2030

Merged
merged 4 commits into from
Dec 5, 2023

Conversation

wphicks
Copy link
Contributor

@wphicks wphicks commented Nov 30, 2023

Update device_resources_manager to reuse only the memory manager, stream, and stream pools across threads. Create a unique resources object per device for each thread, since the resources object is not thread-safe.

Update device_resources_manager to reuse only the memory manager, stream, and stream pools across threads. Create a unique resources object per device for each thread, since the resources object is not thread-safe.
@wphicks wphicks requested a review from a team as a code owner November 30, 2023 03:32
@github-actions github-actions bot added the cpp label Nov 30, 2023
@wphicks wphicks added bug Something isn't working non-breaking Non-breaking change and removed cpp labels Nov 30, 2023
@github-actions github-actions bot added the cpp label Dec 4, 2023
@wphicks wphicks added 4 - Waiting on Author Waiting for author to respond to review 3 - Ready for Review and removed 4 - Waiting on Author Waiting for author to respond to review labels Dec 5, 2023
@wphicks
Copy link
Contributor Author

wphicks commented Dec 5, 2023

/merge

@rapids-bot rapids-bot bot merged commit 42e9f15 into rapidsai:branch-24.02 Dec 5, 2023
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge bug Something isn't working cpp non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

2 participants