cuda::experimental::get_memory_resource_t

Defined in include/cuda/experimental/__memory_resource/get_memory_resource.cuh

struct get_memory_resource_t

get_memory_resource_t is a customization point object that queries a type T for an associated memory resource

Public Functions

template<class _Tp, ::cuda::std::enable_if_t<__has_member_get_resource<_Tp>, int> = 0>
inline constexpr decltype(auto) operator()(const _Tp &__t) const noexcept
template<class _Env, ::cuda::std::enable_if_t<__has_query_get_memory_resource<_Env>, int> = 0>
inline constexpr decltype(auto) operator()(const _Env &__env) const noexcept