Compile errors when compiling samples on CentOS7 with CUDA10.0: nan.0F

This appears to be problem with glibc version.
glibc-2.17.322.el7_9 had some printf bug.

It got solved with yum install glibc-2.17-323.el7_9