cuda::experimental::stf::sump::terminate_t#

struct terminate_t#

Like abort, but ends via std::terminate.

Public Functions

template<class _Fn>
inline nullval on_thrown(
const ::std::exception *__exception,
const ::cuda::std::source_location __loc,
_Fn &__fn
) const noexcept#
template<class _Status, class _Fn>
inline nullval on_returned(
const _Status __status,
const ::cuda::std::source_location __loc,
_Fn &__fn
) const noexcept#

The code-channel hook: report the status’s name, then terminate.