cuda::experimental::mr::make_any_async_resource

Defined in /home/runner/work/cccl/cccl/cudax/include/cuda/experimental/__memory_resource/any_resource.cuh

template<class _Resource, class ..._Properties, class ..._Args>
auto cuda::experimental::mr::make_any_async_resource(_Args&&... __args) -> any_async_resource<_Properties...>

Factory function for any_async_resource objects

make_any_async_resource constructs an any_async_resource object that wraps a newly constructed instance of the given resource type. The resource type must satisfy the cuda::mr::async_resource concept and provide all of the properties specified in the template parameter pack.

@param __args The arguments used to construct the instance of the resource type.