Closed GoogleCodeExporter closed 8 years ago
If THRUST_USE_MERRIL_RADIX_SORT is undefined, Merrill's implementation is used
(by default).
If THRUST_USE_MERRIL_RADIX_SORT is defined to 0, Merrill's implementation is
not used.
If THRUST_USE_MERRIL_RADIX_SORT is defined to 1, Merrill's implementation is
used.
This is the intended behavior.
Original comment by jaredhoberock
on 4 Mar 2011 at 2:08
[deleted comment]
[deleted comment]
Merrill's radix sort is ~3x faster than the previous implementation. We
retained the old code so we could revert back to it if any problems were
discovered. The latent code will be removed in Thrust v1.5.
Original comment by wnbell
on 4 Mar 2011 at 2:22
I am afraid I don't see that improvement. I am sorting a fairly short sequence
(2000 to 10000 elements) but I am sorting it often. My code runs about 1/3rd
faster if I use the legacy code. Perhaps Merrill's code does a lot of expensive
initialization which only pays off when sorting large sequences?
Original comment by diman.to...@gmail.com
on 4 Mar 2011 at 2:34
Original issue reported on code.google.com by
diman.to...@gmail.com
on 4 Mar 2011 at 12:59