Skip to content

Commit 014fb57

Browse files
author
zhouwg
committed
ggml-dsp: cleanup code
1 parent f2c499d commit 014fb57

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ggml/src/ggml-hexagon/kernels/ggml-dsp.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,9 @@ void ggmlhexagon_log_internal(int level, const char *file, const char *func, int
273273
}
274274

275275
void ggmlhexagon_dump_tensor_elements(const ggml_tensor * tensor) {
276-
//return;
276+
#if !GGMLHEXAGON_DEBUG
277+
return;
278+
#endif
277279
float value = 0;
278280
char tmpbuf[GGMLHEXAGON_LOGBUF_LEN];
279281
size_t buflen = 0;

ggml/src/ggml-hexagon/kernels/mulmat.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,5 +274,4 @@ int ggmlop_dsp_mulmat(remote_handle64 h, const struct dsptensor * src0, const st
274274
} else {
275275
return ggmlop_dsp_mulmat_singlethread(h, src0, src1, dst);
276276
}
277-
return 0;
278277
}

0 commit comments

Comments
 (0)