Open valassi opened 9 months ago
Not to worry about this, I fixed it upstream. https://github.com/NVIDIA/cccl/pull/334
With some future cuda version this will go away.
Ah wow very good and well done thanks a lot!
Anyway, I think we should add 'fail the build on warning' at some point, I keep this open as a reminder.
Also, lets make sure the CI has the nvidia version where this does not happen.
There is another warning here
ccache g++ -fPIC -std=c++17 -Wall -Wshadow -Wextra -march=native -DMGONGPU_FPTYPE_DOUBLE -DMGONGPU_FPTYPE2_DOUBLE -I. -I. -I../../src -fopenmp -O3 -ffast-math -DNDEBUG -c counters.cc -o counters.o
counters.cc: In function ‘const char* iimplC2TXT(int)’:
counters.cc:35:3: warning: control reaches end of non-void function [-Wreturn-type]
35 | }
| ^
Just add it here as a reminder
Anyway, I think we should add 'fail the build on warning' at some point, I keep this open as a reminder.
Also, lets make sure the CI has the nvidia version where this does not happen.
Both good suggestions, let's do that! Once the Makefile work is merged, adding the -Werror
can be done by just setting environment variables in the CI. 🙂
I don't know, however, in which cuda version the fix will show up ... 🙁
Debug CUDA build warnings observed in the CI for PR #753
https://github.com/madgraph5/madgraph4gpu/actions/runs/6954971982/job/18922834648?pr=753