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
#531 has landed, which adds the saveobj form of this option. I think that's the best approach, but we could potentially add others as well in the future, as they don't need to be mutually exclusive. I've confirmed we get the expended performance from the new version in the apps I've tested.
See #529 (comment) for why this matters. This is the last major blocker (as far as I can tell) on #471.
LLVM fast math flags are documented here. The main question is how to expose them.
Two options that come to mind are adding a function-level attribute exposed by a setter. E.g.:
This is potentially obnoxious because you need to remember to set it on any functions you care about.
A more whole-program approach would be to set this through
terralib.saveobj
, probably hijacking theoptimize
parameter:A final option would be to add a flag like:
--fast-math <options>
Which would then be truly whole-program.
The text was updated successfully, but these errors were encountered: