Device algorithms may be invoked on types containing device pointers or
device iterators that cannot be dereferenced on the host. It is therefore
incorrect to perform certain portions of those operations on the host, as
the issue #28 demonstrated.
We should add unit tests for the fundamental algorithms to ensure that they
compute entirely on the device. These functions are scan, reduce, and
for_each, and sort.
Original issue reported on code.google.com by wnbell on 10 Sep 2009 at 7:41
Original issue reported on code.google.com by
wnbell
on 10 Sep 2009 at 7:41