vector_base::fill_insert and vector_base::range_insert have race conditions
because they use copy on overlapping ranges.
We need to detect when the ranges overlap and copy to and from a temporary in
this case. We should eliminate thrust::detail::move and introduce
thrust::detail::potentially_overlapping_copy and
thrust::detail::overlapping_copy. Host code can probably ignore this case for
now.
Original issue reported on code.google.com by jaredhoberock on 8 Apr 2011 at 6:26
Original issue reported on code.google.com by
jaredhoberock
on 8 Apr 2011 at 6:26