代码如下:
报错:error: return value type does not match the function type
解决:main没有返回值,但是CHECK_CUDA有返回值,删除其中的return语句。
error: return value type does not match the function type
最新推荐文章于 2023-03-24 14:34:50 发布
代码如下:
报错:error: return value type does not match the function type
解决:main没有返回值,但是CHECK_CUDA有返回值,删除其中的return语句。