Many warnings with -Wconversion #1478
Milestone
Comments
|
We should add this flag to Thrust and CUB's CI build system for all targets. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We're seeing a lot of warnings on Linux, host compiler GCC 9.3.0 with
-Wconversion.For a basic example, compile:
With:
nvcc main.cu -Xcompiler=-Wconversion.This will result in around 1000 lines of output warnings.
Tested with the Thrust versions in CUDA 11.0, 11.3, and the latest commit on main on this repository (
776bbc4d).The text was updated successfully, but these errors were encountered: