Closed breyerml closed 4 months ago
@breyerml I expect it is a bug in nvcc
.
You can add the following bogus line to get it to build...
(void)large_power_of_5[0]; // bogus
size_t large_length = sizeof(large_power_of_5) / sizeof(limb);
Please report the issue with Nvidia.
Or provide a detailed analysis to explain why the bug is in fast_float.
The small example on the GitHub main page:
does not compile with NVIDIA's nvcc compiler (however, it works with nvc++).
Calling
nvcc -O3 -std=c++17 -gencode arch=compute_80,code=sm_80 main.cu
results in an error:Tested with CUDA versions 11.8.0, 12.0.1, and 12.2.2 and fast_float in the current main version.
Git bisecting starting from
v3.10.0
tov6.1.1
resulted in showing that the commit:broke support for nvcc (and it's broken ever since).