Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/context.jl
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,9 @@ function take_error!(s::oneStream)
retire!(s)
s.idle = true
s.error === nothing || return s.error
# A collected stream can still be waited for (see `oneL0.destroyed`). It has nothing
# left to report, and its report slot was released with it, possibly to another stream.
oneL0.destroyed(s.immediate) && return nothing
# Kernels may still write the report while the stream is busy. That is only the case
# after waiting for it if another task submitted work in the meantime, in which case the
# next synchronization reports the exception.
Expand Down
Loading