Commit 8188f00
committed
[ET-VK] Applying bias after sum calculation in conv2d pw shader to improve performance.
This diff improves the performance of the conv2d pw shader by changing the order of operations to apply bias after the sum calculation.
Differential Revision: [D75450662](https://our.internmc.facebook.com/intern/diff/D75450662/)
[ghstack-poisoned]1 parent 6471d3a commit 8188f00
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