Thrust Reduce By Key And Groups