Skip to content

Commit 14a2cc7

Browse files
authored
[ggml] fix index for ne03 value in ggml_cl_mul_f32 (ggml-org#2088)
1 parent 1cf14cc commit 14a2cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-opencl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@ static void ggml_cl_mul_f32(const ggml_tensor * src0, const ggml_tensor * src1,
13761376
const int64_t ne00 = src0->ne[0];
13771377
const int64_t ne01 = src0->ne[1];
13781378
const int64_t ne02 = src0->ne[2];
1379-
const int64_t ne03 = src0->ne[2];
1379+
const int64_t ne03 = src0->ne[3];
13801380
const int64_t ne0 = ne00 * ne01 * ne02 * ne03;
13811381
const int64_t ne10 = src1->ne[0];
13821382
const int64_t ne11 = src1->ne[1];

0 commit comments

Comments
 (0)