Skip to content

Commit 3d2b391

Browse files
author
plotnikov.v10
committed
ggml-zendnn: fixed naming of matmul function
1 parent 0d18aaa commit 3d2b391

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ggml/src/ggml-zendnn/ggml-zendnn.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static bool ggml_zendnn_matmul(ggml_backend_zendnn_context * ctx, int64_t m, int
8888
return true;
8989
}
9090

91-
static bool ggml_zendnn_sgemm(ggml_backend_zendnn_context * ctx, int64_t m, int64_t n, int64_t k,
91+
static bool ggml_zendnn_gemm(ggml_backend_zendnn_context * ctx, int64_t m, int64_t n, int64_t k,
9292
const void * A, int64_t lda, const void * B, int64_t ldb, void * C,
9393
int64_t ldc, int Atype, int Btype, int Ctype) {
9494

@@ -200,7 +200,7 @@ static void ggml_zendnn_compute_forward_mul_mat(
200200
for (int64_t i12 = 0; i12 < ne12; i12++) {
201201
const void* wdata = (src1->type == vec_dot_type || src0->type == GGML_TYPE_Q8_0) ? src1->data : work_data;
202202
const size_t row_size = ggml_row_size(vec_dot_type, ne10);
203-
if (!ggml_zendnn_sgemm(ctx,
203+
if (!ggml_zendnn_gemm(ctx,
204204
ne01, // m
205205
ne11, // n
206206
ne10, // k
@@ -213,7 +213,7 @@ static void ggml_zendnn_compute_forward_mul_mat(
213213
src0->type,
214214
src0->type == GGML_TYPE_Q8_0 ? GGML_TYPE_F32 : vec_dot_type,
215215
dst->type))
216-
GGML_ABORT("%s: ZenDNN sgemm failed\n", __func__);
216+
GGML_ABORT("%s: ZenDNN gemm failed\n", __func__);
217217
}
218218
}
219219
}

0 commit comments

Comments
 (0)