Commit c8eff94
committed
[ET-VK] Applying bias after sum calculation in conv2d pw shader to improve performance.
Pull Request resolved: #11150
This diff improves the performance of the conv2d pw shader by changing the order of operations to apply bias after the sum calculation.
ghstack-source-id: 286652108
@exported-using-ghexport
Differential Revision: [D75450662](https://our.internmc.facebook.com/intern/diff/D75450662/)1 parent 9d7ead2 commit c8eff94
1 file changed
+6
-8
lines changedLines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | 82 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 83 | + | |
| 84 | + | |
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
| |||
157 | 152 | | |
158 | 153 | | |
159 | 154 | | |
| 155 | + | |
| 156 | + | |
160 | 157 | | |
161 | 158 | | |
162 | 159 | | |
163 | | - | |
| 160 | + | |
| 161 | + | |
164 | 162 | | |
165 | 163 | | |
166 | 164 | | |
0 commit comments