Hi,
is there a way to prevent a printf(“%f”, fp32variable) inside a CUDA kernel from casting the float arguments to double?
I am using the following PTXAS option to detect unintended use of double in my code, but on pretty much any printf statement that puts a float in the argument list the warning will get triggered.
--warn-on-double-precision-use (-warn-double-usage)
Warning if double(s) are used in an instruction.