Skip to content

Commit f6e4226

Browse files
author
zhouwg
committed
ggml-hexagon: fix a typo in ggml-hexagon.cpp
1 parent a132239 commit f6e4226

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-hexagon/ggml-hexagon.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4939,7 +4939,7 @@ static int ggmlhexagon_init_dsp(ggml_backend_hexagon_context * ctx) {
49394939
GGMLHEXAGON_LOG_INFO("only support offload GGML_OP_ADD and GGML_OP_MUL_MAT to cDSP currently");
49404940
ggmlhexagon_probe_dspinfo(ctx);
49414941
ggmlop_dsp_setclocks(ctx->ggmlop_handle, HAP_DCVS_VCORNER_TURBO_PLUS, 40, 1);
4942-
ggmlhexagon_set_rpc_latency(ctx->ggmlop_handle, RPC_POLL_QOS, 1000);
4942+
ggmlhexagon_set_rpc_latency(ctx->ggmlop_handle, RPC_POLL_QOS,1000);
49434943
ggmlhexagon_init_rpcmempool(ctx);
49444944
} else {
49454945
GGMLHEXAGON_LOG_INFO("error 0x%x: failed to open domain %d(%s)", hexagon_error, domain_id,
@@ -5982,7 +5982,7 @@ const char * ggml_backend_hexagon_get_devname(size_t dev_num) {
59825982
return "HEXAGON_BACKEND_CDSP";
59835983
}
59845984

5985-
//here is the trick: fall through for various scenarios
5985+
//here is the trick: fall back for various scenarios
59865986
switch (dev_num) {
59875987
case HEXAGON_BACKEND_QNNCPU:
59885988
return "HEXAGON_BACKEND_QNN_CPU";

0 commit comments

Comments
 (0)