Commit 143f044
committed
device-libs: Implement rsqrt by enabling contract on fdiv+sqrt intrinsic
This was already how the half version is implemented.
The test already showed this was preserved, but tighten up the checks to
make sure there aren't any additional instructions
Change-Id: I0dbb6198e1f8e3a0168c73007cb06a72da6c36d91 parent 0b36efe commit 143f044
File tree
2 files changed
+14
-3
lines changed- amd/device-libs
- ocml/src
- test/compile
2 files changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
25 | 35 | | |
26 | 36 | | |
27 | 37 | | |
| |||
0 commit comments