CUDA: NVCC gives controlling expression is constant warning on assert

前端 未结 5 1941
小鲜肉
小鲜肉 2021-01-18 14:09

I get the warning controlling expression is constant on assert statement like this:

assert(... && \"error message\");

5条回答
提交回复
热议问题