Skip to content

cuda-converter: fix nvrtc compilation on non-English locale systems

Corentin Damman requested to merge (removed):cuda_converter_fix_compilation into main

On non-English locale system, g_strdup_printf("%f", 1.0); returns "1,000000" instead of "1.000000".

This makes NVRTC compilation fail, because the kernel to compile contains things like __constant__ float SCALE_H = 1,000000;

Edited by Corentin Damman

Merge request reports