Sort-by-key/reduce-by-key based on Thrust
Non-working sort-by-key from boost.compute