Skip to content
New issue

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

Enable CUDA device code warnings as errors #307

Merged
merged 2 commits into from
Aug 4, 2021

Conversation

harrism
Copy link
Member

@harrism harrism commented Aug 3, 2021

Adds -Werror=all-warnings NVCC flag to ensure all CUDA device code warnings are treated as errors. Only enabled on CUDA 11.2+ because CUDA 11.0 has PTXAS warnings that go away in newer CUDA versions.

Missed this in #299.

@harrism harrism added non-breaking Non-breaking change improvement Improvement / enhancement to an existing function labels Aug 3, 2021
@dantegd
Copy link
Member

dantegd commented Aug 4, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit e4d8a03 into rapidsai:branch-21.10 Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants