Currently adjacent_difference attempts to detect in-place operation but does
not capture all possibilities. A better approach is to specialize the
algorithm to gather the first element of each interval into a temporary array
of size O(P) so blocks can safely read & write their segments without hazard.
Original issue reported on code.google.com by wnbell on 2 Sep 2010 at 5:13
Original issue reported on code.google.com by
wnbell
on 2 Sep 2010 at 5:13