Repository navigation
Commit 4ad33b9
committed
[ET-VK] Avoid the near-square local work group for the tiled linear on Adreno
Adreno drivers miscompute linear_tiled for 8x8x1 and 4x16x1 local work
groups: entire work groups intermittently write garbage while every other
block is bit-exact. The shader has no shared memory and no barriers and its
invocations are independent, so the result cannot legitimately depend on the
group shape.
Use a 2:1 x:y shape (16x4x1 at the default 64 threads) on Adreno and keep the
square shape elsewhere.
Fixes #223271 parent c27baa8 commit 4ad33b9
1 file changed
Lines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
68 | 96 | | |
69 | 97 | | |
70 | 98 | | |
| |||
124 | 152 | | |
125 | 153 | | |
126 | 154 | | |
127 | | - | |
| 155 | + | |
128 | 156 | | |
129 | 157 | | |
130 | 158 | | |
| |||
0 commit comments