You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xla supports disabling fastmath (e.g. the --xla_cpu_enable_fast_math flag) and we seem to disable flushing to zeros in the code below. So controlling whether we set denormal-fp-math seems reasonable to me.
I would like a way to disable the code below,
xla/xla/service/llvm_ir/llvm_util.cc
Line 718 in a41222c
Xla supports disabling fastmath (e.g. the
--xla_cpu_enable_fast_math
flag) and we seem to disable flushing to zeros in the code below. So controlling whether we setdenormal-fp-math
seems reasonable to me.xla/xla/service/llvm_compiler.cc
Lines 41 to 51 in a41222c
Based on llvm/llvm-project#81204 (comment) and https://groups.google.com/g/llvm-dev/c/TDGKHFU4hzE/m/k-LEa3NvBQAJ I don't believe on x86_64 that setting
denormal-fp-math
actually sets the floating point register and instead might only affect constant folding.EDIT: Also when on gpu the
xla_gpu_ftz
flag can be used to control this.The text was updated successfully, but these errors were encountered: