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.
im2col
KW!=KH
1 parent 6c9ee3b commit 38d3af1Copy full SHA for 38d3af1
ggml/src/ggml-opencl/kernels/im2col_f16.cl
@@ -31,7 +31,7 @@ kernel void kernel_im2col_f16(
31
src1 = (global float*)((global char*)src1 + offset1);
32
dst = (global half*)((global char*)dst + offsetd);
33
34
- long ksize = OW * (KH > 1 ? KW : 1);
+ long ksize = OW * KH;
35
long kx = i / ksize;
36
long kd = kx * ksize;
37
long ky = (i - kd) / OW;
ggml/src/ggml-opencl/kernels/im2col_f32.cl
@@ -31,7 +31,7 @@ kernel void kernel_im2col_f32(
dst = (global float*)((global char*)dst + offsetd);
0 commit comments