Commit 7e3ec2c
[AMD] Add an environment variable to disable buffer atomics (#7311)
Adds an environment variable, `AMDGCN_DISABLE_BUFFER_ATOMICS`
that can be set to disable Buffer atomics on the MI300. We have seen
significant wins from BufferOps in general, but we haven't benchmarked
the impact of atomics at Meta and we have seen some issue internally.
We are working to resolve these issues/will open reproducers upstream,
but with BufferOps being the default we would be much happier if we
could allow a production workload to opt to accept BufferOps but not
atomics.
Resolved Conflicts:
python/triton/knobs.py1 parent 529d732 commit 7e3ec2c
File tree
6 files changed
+11
-5
lines changed- include/triton/Tools/Sys
- python/triton
- third_party/amd
- backend
- include/TritonAMDGPUTransforms
- lib/TritonAMDGPUTransforms
- python
6 files changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
439 | 441 | | |
440 | 442 | | |
441 | 443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
560 | | - | |
| 560 | + | |
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments