We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10a0f8c commit c1ff85cCopy full SHA for c1ff85c
backends/vulkan/runtime/graph/ops/glsl/linear_qcsnw_tiled.glsl
@@ -69,15 +69,14 @@ void main() {
69
sums[r][${c}] = VEC4_T(0.0);
70
}
71
72
+ const int in_row_txstride = div4(in_sizes.x);
73
+
74
for (int pos = 0, txpos = 0;
- pos < in_sizes.x;
75
+ txpos < in_row_txstride;
76
pos += 4, txpos += 1) {
77
78
T mat1[TILE_ROWS][4];
79
- $if IN_STORAGE == "buffer":
- uint in_row_txstride = div4(in_sizes.x);
80
-
81
// Preload input tensor
82
for (int i = 0; i < TILE_ROWS; i++) {
83
$if IN_STORAGE == "buffer":
0 commit comments