Commit 680d935
committed
Update base for Update on "[ET-VK] Fixing out_limits_scaled calculation for conv2d pw ops."
The fix changing the calculation of `out_limits_scaled` from:
```glsl
const int out_limits_scaled[2] = {out_limits.x + (TILE_SIZE_X - 1) * TILE_SIZE_X, out_limits.y + (TILE_SIZE_Y - 1) * TILE_SIZE_Y};
```
to:
```glsl
const int out_limits_scaled[2] = {(out_limits.x + (TILE_SIZE_X - 1)) / TILE_SIZE_X, (out_limits.y + (TILE_SIZE_Y - 1)) / TILE_SIZE_Y};
```
This change ensures that `out_limits_scaled` is calculated correctly, taking into account the tile size and the output limits of the convolution operation.
Differential Revision: [D75575662](https://our.internmc.facebook.com/intern/diff/D75575662/)
[ghstack-poisoned]1 parent d7a5864 commit 680d935
File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments