Skip to content

Commit 293edef

Browse files
committed
Fixed uint
1 parent 35f6369 commit 293edef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-vulkan/vulkan-shaders/im2col.comp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ void main() {
6868
continue;
6969
}
7070

71-
const int iiw = int(current_ix) * p.s0 + int(current_kx) * p.d0 - p.p0;
72-
const int iih = oh_s1 + int(current_ky) * p.d1 - p.p1;
71+
const uint iiw = int(current_ix) * p.s0 + int(current_kx) * p.d0 - p.p0;
72+
const uint iih = oh_s1 + int(current_ky) * p.d1 - p.p1;
7373

7474
offset_dst[idx] = dst_base + current_ix * p.CHW + current_ky * p.KW + current_kx;
7575

0 commit comments

Comments
 (0)