diff options
| author | cheneym2 <acheney@nvidia.com> | 2024-12-03 15:24:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-03 20:24:18 +0000 |
| commit | 600cce28606ba36b31756bf0422d892d0e242b63 (patch) | |
| tree | efcdddb69ec01f9983c328804325f4d496e8e23e /docs | |
| parent | 5d8cf475b352ab517c565ccee59461640da63a2a (diff) | |
Core lib Metal math function fixes (#5738)
In order to emit fast target implementations of some Metal-based
functions (fmin(), fmax(), fmin3(), fmax3(), fmedian3()) on all
targets, remove some specification regarding the handling of NaNs,
and also remove the enforcement of the specification.
These functions are now documented to be basically undefined now
in the presence of NaN input, to make the common "is a number"
case fast.
Also, clarify that powr() is undefined when given a non-positive
base input value, allowing us to remove an additional abs()
operation that was unnecessarily coercing results to be predictable
on non-Metal targets.
Closes #5580
Closes #5581
Closes #5587
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
