VS program crashes in debug but not release mode?

寵の児 提交于 2019-12-02 08:06:58
doctorlove

There are a few similar questions e.g. here

To quote a comment : "Thrust is known to not compile and run correctly when built for debugging"

And from the docs: "nvcc does not support device debugging Thrust code. Thrust functions compiled with (e.g., nvcc -G, nvcc --device-debug 0, etc.) will likely crash."

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!