cuda::experimental::stf::sump::unwind_t#
-
struct unwind_t#
Forces the exception channel: the error leaves the sink as an exception.
On the exception channel it re-throws the in-flight exception, which coincides with
fwd. On the code channel it throwsstatus_traits<S>::to_exception(status, loc)(for CUDA statuses acuda_exception); with exceptions disabled that throw reports and aborts. It never returns, sounwind & pis rejected likeabort & p. The polling idiomif_equal(cudaErrorNotReady)(noop) | unwindyields the not-ready code and throws on anything else.