test time of cuda, scaleX/Y: 1->0.5 0.39ms, 0.5->1 0.35ms