cuda::mr::get_memory_resource_t#

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<__is_synchronous_resource_env<_Tp>, int> = 0>
inline constexpr auto _CCCL_STATIC_CALL_OPERATOR(
_Tp &__t
) noexcept -> _Tp&#
template<class _Tp, ::cuda::std::enable_if_t<__has_member_get_resource<_Tp>, int> = 0>
inline constexpr decltype(auto) _CCCL_STATIC_CALL_OPERATOR(
const _Tp &__t
) noexcept#
template<class _Env, ::cuda::std::enable_if_t<__has_query_get_memory_resource<_Env>, int> = 0>
inline constexpr decltype(auto) _CCCL_STATIC_CALL_OPERATOR(
const _Env &__env
) noexcept#