Fix cudaMemcpy dest and source