Support GpuCumsum on 3D array.

Modified GpuCumsum op to support 3D array.
Please don't printf() errors.