You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using wgpu to do some computing tasks where individual compute passes will take more than CLEANUP_WAIT_MS. In the case of a long running compute pass, waiting on the submission index with a Maintain::Wait or Maintain::WaitForSubmissionIndex will return after the timeout is exceeded, even if the task is not complete. It will also return true indicating the queue is empty if there's nothing else in the queue.
This timeout should be configurable. If that's hard, in the meantime, if this timeout is reached, device::poll call should return false to indicate there is still an item in the queue. Regardless, this behavior should be documented.