cuda::experimental::make_any_resource
#
-
template<class _Resource, class ..._Properties, class ..._Args>
auto cuda::experimental::make_any_resource( - _Args&&... __args,
Factory function for any_resource objects#
make_any_resource
constructs an any_resource object that wraps a newly constructed instance of the given resource type. The resource type must satisfy thecuda::mr::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.