I tried reporting through the bug reporting page, but I get an error whenever trying to submit the form. Hopefully someone from NVIDIA will notice here.
Defining a template with a float or double non-type parameter leads to the following error: floating-point template parameter is nonstandard. Using NVCC 12.0 even with the “-std=c++20” flag enabled. Floating-point template parameters are allowed as of C++20
Steps:
Compile the following file with “nvcc.exe -std=c++20”:
template <float v> struct s {};