Commit 9af26ee
[AMD] Add memrealtime to gfx11/gfx12 (#7357)
The semantics of s_sendmsg_rtn_b64 should be identical to
s_memrealtime, so we can just reuse the function.
This was changed in gfx11. For details, see
https://www.amd.com/content/dam/amd/en/documents/radeon-tech-docs/instruction-set-architectures/rdna3-shader-instruction-set-architecture-feb-2023_0.pdf
This fixes test_core.py::test_globaltimer on gfx11, gfx12 after
triton-lang/triton#7282
---------
Co-authored-by: Paul Trojahn <[email protected]>1 parent bacc812 commit 9af26ee
File tree
2 files changed
+32
-13
lines changed- python/test/unit/language
- third_party/amd/language/hip
2 files changed
+32
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5982 | 5982 | | |
5983 | 5983 | | |
5984 | 5984 | | |
5985 | | - | |
| 5985 | + | |
| 5986 | + | |
| 5987 | + | |
| 5988 | + | |
| 5989 | + | |
5986 | 5990 | | |
5987 | 5991 | | |
5988 | 5992 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments