This commit is contained in:
Sage Moore 2025-05-21 21:29:41 +00:00 committed by Lucas Wilkinson
parent 9c60a6299d
commit 2a7f25fbe2

View File

@ -64,9 +64,9 @@ class UBatchContext:
self.cpu_signal_event.set()
def _wait(self):
self.stream.wait_event(self.gpu_wait_event)
self.cpu_wait_event.wait()
self.cpu_wait_event.clear()
self.stream.wait_event(self.gpu_wait_event)
self._restore_context()
_CURRENT_CONTEXT: dict = {}