Skip to content

Commit

Permalink
[ggml] fix index for ne03 value in ggml_cl_mul_f32 (ggerganov#2088)
Browse files Browse the repository at this point in the history
  • Loading branch information
gotope committed Jul 3, 2023
1 parent 1cf14cc commit 14a2cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml-opencl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ static void ggml_cl_mul_f32(const ggml_tensor * src0, const ggml_tensor * src1,
const int64_t ne00 = src0->ne[0];
const int64_t ne01 = src0->ne[1];
const int64_t ne02 = src0->ne[2];
const int64_t ne03 = src0->ne[2];
const int64_t ne03 = src0->ne[3];
const int64_t ne0 = ne00 * ne01 * ne02 * ne03;
const int64_t ne10 = src1->ne[0];
const int64_t ne11 = src1->ne[1];
Expand Down

0 comments on commit 14a2cc7

Please sign in to comment.