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
Allow controlling whether compilers emit fused floating point instructions like fmad, since these instructions can affect numerical accuracy.
Context
We observed surprising floating point precision issues in Autodesk XLB and traced it down to fmad instructions. These can be disabled with the --fmad=false option to NVRTC.
The text was updated successfully, but these errors were encountered:
The simplest way to add this would be to include a boolean enable_fmad option in module or kernel options. This would be similar to the existing fast_math option.
However, we could consider doing something more general, like allowing users to specify arbitrary compiler options for each backend. This would likely be more work, but might result in a simpler and more flexible system.
Description
Allow controlling whether compilers emit fused floating point instructions like fmad, since these instructions can affect numerical accuracy.
Context
We observed surprising floating point precision issues in Autodesk XLB and traced it down to fmad instructions. These can be disabled with the
--fmad=false
option to NVRTC.The text was updated successfully, but these errors were encountered: