cuda::experimental::get_stream_t

Defined in include/cuda/experimental/__stream/get_stream.cuh

struct get_stream_t

get_stream is a customization point object that queries a type T for an associated stream

Public Functions

template<class _Tp, ::cuda::std::enable_if_t<__convertible_to_stream_ref<_Tp>, int> = 0>
inline constexpr ::cuda::stream_ref operator()(const _Tp &__t) const noexcept(noexcept(static_cast<::cuda::stream_ref>(__t)))
template<class _Tp, ::cuda::std::enable_if_t<__has_member_get_stream<_Tp>, int> = 0>
inline constexpr ::cuda::stream_ref operator()(const _Tp &__t) const noexcept(noexcept(__t.get_stream()))
template<class _Env, class _Ret = decltype(cuda::std::declval<const _Env&>().query(cuda::std::declval<get_stream_t>()))>
inline constexpr ::cuda::stream_ref operator()(const _Env &__env) const noexcept