Commit 128e2a8
committed
Fix double-promotion in rsqrt for reduced-precision types
Keep the bfloat16/fp16 rsqrt helper in float precision so Zephyr’s
-Wdouble-promotion (treated as an error) no longer fires when
ExecuTorch is built for Cortex-M targets.
Signed-off-by: [email protected]
Change-Id: I8fbcc99d8aebac67c4164f2ad502e9b3081386b41 parent cdc2701 commit 128e2a8
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
| |||
181 | 188 | | |
182 | 189 | | |
183 | 190 | | |
184 | | - | |
| 191 | + | |
185 | 192 | | |
186 | 193 | | |
187 | 194 | | |
| |||
0 commit comments