hexagon: fix editor config check

This commit is contained in:
Max Krasnyansky 2026-02-06 19:36:39 -08:00
parent 2f6c19c39d
commit 5ff7954ecb
2 changed files with 5 additions and 4 deletions

View File

@ -3018,7 +3018,7 @@ static bool ggml_backend_hexagon_device_supports_op(ggml_backend_dev_t dev, cons
case GGML_OP_SCALE:
supp = ggml_hexagon_supported_unary(sess, op);
break;
case GGML_OP_SQR:
case GGML_OP_SQRT:
supp = ggml_hexagon_supported_unary(sess, op);
@ -3027,7 +3027,7 @@ static bool ggml_backend_hexagon_device_supports_op(ggml_backend_dev_t dev, cons
case GGML_OP_SUM_ROWS:
supp = ggml_hexagon_supported_sum_rows(sess, op);
break;
case GGML_OP_SOFT_MAX:
supp = ggml_hexagon_supported_softmax(sess, op);
break;

View File

@ -5,8 +5,8 @@
#include <HAP_farf.h>
#include <HAP_perf.h>
#include <math.h>
#include <string.h>
#include <math.h>
#include "hex-dma.h"
#include "hvx-utils.h"
@ -111,4 +111,5 @@ int op_sum_rows(struct htp_ops_context * octx) {
worker_pool_run_func(octx->ctx->worker_pool, sum_rows_work_f32, octx, n_jobs);
return HTP_STATUS_OK;
}
}