Cumsum 2D in cuda is working when axis=1.