We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前在rules/mode/xmake.lua中NDEBUG加在cxflags中,对cuda程序而言这个flag就没有作用
在target:add("cxflags", "-DNDEBUG")之后添加target:add("cuflags", "-DNDEBUG")
No response
The text was updated successfully, but these errors were encountered:
Bot detected the issue body's language is not English, translate it automatically.
Title: release mode NDEBUG should also be added for cuflags
Currently, NDEBUG is added to cxflags in rules/mode/xmake.lua. This flag has no effect on the cuda program.
Add target:add("cuflags", "-DNDEBUG") after target:add("cxflags", "-DNDEBUG")
Sorry, something went wrong.
来个 pr 过来
Come here for a pr
Successfully merging a pull request may close this issue.
你在什么场景下需要该功能?
目前在rules/mode/xmake.lua中NDEBUG加在cxflags中,对cuda程序而言这个flag就没有作用
描述可能的解决方案
在target:add("cxflags", "-DNDEBUG")之后添加target:add("cuflags", "-DNDEBUG")
描述你认为的候选方案
No response
其他信息
No response
The text was updated successfully, but these errors were encountered: