wait for tasks in cuda (#2636)

This commit is contained in:
Awni Hannun
2025-09-30 16:08:46 -07:00
committed by GitHub
parent eb24267b56
commit bbf1423953
4 changed files with 26 additions and 16 deletions

View File

@@ -83,7 +83,7 @@ class CommandEncoder {
}
void add_completed_handler(std::function<void()> task);
void maybe_commit();
int get_num_ops();
void commit();
Device& device() {