Marc cote cumsum gpu

This fix the DebugMode problem and too much memory usage in DebugMode on a gpu with 1.2G.

It don't solve the strides problems.