cv::cuda::upload error

hello,

in my c++ projects,it would jump out of the cv::cuda::upload,and when i used cudaMemcpy2DAsync replace the function.

the return of cudaMemcpy2DAsync is 0,the projects also jump out of cudaMemcpy2DAsync . i am very puzzled,the return value

should be cudaSuccess or other cudaerror.

thank you!