fix a memcpy issue, CUDA WORKS!!!!!!