Enable reduce_by_key in __device__ code.
Test reduce_by_key on the device from __device__ code.