cuda调用核函数出现 IntelliSense错误:应输入表达式
调用核函数decon_kernel<<<numBlocks,numThreads>>>(src1,src2,dst,size,snr);时第三个小于号下有红色波浪线,提示...
调用核函数decon_kernel<<<numBlocks, numThreads>>>(src1, src2, dst, size, snr);时第三个小于号下有红色波浪线,提示应输入表达式。求教高手
展开
1个回答
展开全部
It could be that the Intellisense database is screwed up. Here's what I've done to correct it when it happens to me:
1、Make sure your code is in a state where everything will compile.
2、Exit Visual Studio
3、Delete the .suo and .sdf files in the solution's directory. (Deleting the .suo probably isn't necessary to this cleanup process, but it doesn't hurt.)
4、Open the solution in Visual Studio.
5、Select Build --> Batch Build.
6、In the Batch Build window, click "Select All", and then "Rebuild".
1、Make sure your code is in a state where everything will compile.
2、Exit Visual Studio
3、Delete the .suo and .sdf files in the solution's directory. (Deleting the .suo probably isn't necessary to this cleanup process, but it doesn't hurt.)
4、Open the solution in Visual Studio.
5、Select Build --> Batch Build.
6、In the Batch Build window, click "Select All", and then "Rebuild".
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询