Skip to content

Use a stream pool for gpuCalloc*() #509

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

Merged
merged 3 commits into from
Jun 4, 2025
Merged

Use a stream pool for gpuCalloc*() #509

merged 3 commits into from
Jun 4, 2025

Conversation

chhwang
Copy link
Contributor

@chhwang chhwang commented Apr 23, 2025

Previous gpuCalloc*() creates a new stream for each allocation, which messes the timeline up in profiler traces. Now GpuStreamPool allows reusing the temporal streams.

@chhwang chhwang requested a review from Binyang2014 June 4, 2025 04:39
@chhwang chhwang merged commit 253a1ba into main Jun 4, 2025
14 checks passed
@chhwang chhwang deleted the chhwang/stream-pool branch June 4, 2025 17:07
chhwang added a commit that referenced this pull request Jun 5, 2025
chhwang added a commit that referenced this pull request Jun 6, 2025
Fix a destruction order issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants