Fix _cumsum
helper function in multi-gpu
#2636
Merged
_cumsum
helper function in multi-gpu
#2636