Today I applied updates to a CentOS 7 box that included
glibc updates (Red Hat Customer Portal - Access to 24x7 support and knowledge). After doing so, I was unable to make the CUDA 10.2 samples on the box. Experiments with nvidia-docker images with CentOS 7 + updates with CUDA 11.2 had the same problem Centos 10.2 devel broken with most recent update (#109) · Issues · nvidia / container-images / cuda · GitLab. As I posted there,
nvcc has problems compiling code with certain forms of floating-point constants.
0.f to be replaced with
0.0 to be replaced with
0. If the floating point constant needs the extra precision (i.e.
3.408f ) there is no complaint. I discovered this by changing NVIDIA CUDA sample code, but had to stop when system headers used offending floating-point constants.