二维vector拷贝到CUDA数组怎么操作?
checkCudaErrors( cudaMemcpy2DToArray(d_imageArray, 0, 0, _data, pitch,imageWidth*sizeof(float),imageHeight, cudaMemcpyHostToDevice) );其中_data是vector<vector<float>> *_data,当imageWidth和imageHeight比较小的时候运行成功,比较大的时候会崩溃,难道是CUDA数组有大小限制?