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
{{ message }}
Repository navigation
Commit 0569229
Browse filesBrowse the repository at this point in the historyBrowse files
cuda.core: close unjoined forks when GraphBuilder.join fails
join() waits on each forked builder's stream and then closes it. When a
wait raised partway through, the forks the loop had not reached stayed
open with capturing streams, and destroying them later during garbage
collection crashed the interpreter.
Close every fork the loop did not reach before the error propagates.
The capture cannot complete without the work captured on those forks,
so end_building() then raises the driver's unjoined-capture error and
the builder closes cleanly, which NVIDIA#2834 made possible.
Issue NVIDIA#2776
Co-authored-by: Claude Fable 5.1 <[email protected]>
0 commit comments