thrust::uninitialized_allocate_unique#
-
template<typename T, typename Allocator>
std::unique_ptr<T, uninitialized_allocator_delete<T, typename detail::allocator_traits<::cuda::std::remove_cvref_t<Allocator>>::template rebind_traits<T>::allocator_type>> thrust::uninitialized_allocate_unique( - Allocator const &alloc,
Creates a
std::unique_ptrholding storage for a new object of typeTwithout constructing it, usingallocas the allocator.