Make fill_functor's member be non-const so a copy constructor can be generated.
Cross-system copy_n should not be __host__ __device__.
Correctly lower indirect sort.