Skip to content

Commit

Permalink
Renamed overlooked uninitialized_copy
Browse files Browse the repository at this point in the history
PR NVIDIA#1913 renamed cub::detail::uninitialized_copy to
cub::detail::uninitialized_copy_single, but missed one instance.
  • Loading branch information
bernhardmgruber committed Jun 26, 2024
1 parent 8e04fae commit cf2c7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/cub/detail/uninitialized_copy.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace detail

#if defined(_NVHPC_CUDA)
template <typename T, typename U>
_CCCL_HOST_DEVICE void uninitialized_copy(T* ptr, U&& val)
_CCCL_HOST_DEVICE void uninitialized_copy_single(T* ptr, U&& val)
{
// NVBug 3384810
new (ptr) T(::cuda::std::forward<U>(val));
Expand Down

0 comments on commit cf2c7cd

Please sign in to comment.