fixed the order of arrays in CUDA convolution