Skip to content

Conversation

@clementval
Copy link
Contributor

Use cudaMallocAsync in the CUFAllocDevice allocator when asyncId is provided.

More work is needed to be able to call cudaFreeAsync since the allocated address and stream needs to be tracked.

@clementval clementval requested a review from wangzpgi April 9, 2025 23:00
@clementval clementval merged commit 56b7923 into llvm:main Apr 10, 2025
10 checks passed
@clementval clementval deleted the cuf_stream_alloc1 branch April 10, 2025 00:34
AllinLeeYL pushed a commit to AllinLeeYL/llvm-project that referenced this pull request Apr 10, 2025
Use `cudaMallocAsync` in the `CUFAllocDevice` allocator when asyncId is
provided.

More work is needed to be able to call `cudaFreeAsync` since the
allocated address and stream needs to be tracked.
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