hexagon: fix editor config check
This commit is contained in:
parent
2f6c19c39d
commit
5ff7954ecb
|
|
@ -3018,7 +3018,7 @@ static bool ggml_backend_hexagon_device_supports_op(ggml_backend_dev_t dev, cons
|
||||||
case GGML_OP_SCALE:
|
case GGML_OP_SCALE:
|
||||||
supp = ggml_hexagon_supported_unary(sess, op);
|
supp = ggml_hexagon_supported_unary(sess, op);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GGML_OP_SQR:
|
case GGML_OP_SQR:
|
||||||
case GGML_OP_SQRT:
|
case GGML_OP_SQRT:
|
||||||
supp = ggml_hexagon_supported_unary(sess, op);
|
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:
|
case GGML_OP_SUM_ROWS:
|
||||||
supp = ggml_hexagon_supported_sum_rows(sess, op);
|
supp = ggml_hexagon_supported_sum_rows(sess, op);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GGML_OP_SOFT_MAX:
|
case GGML_OP_SOFT_MAX:
|
||||||
supp = ggml_hexagon_supported_softmax(sess, op);
|
supp = ggml_hexagon_supported_softmax(sess, op);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@
|
||||||
#include <HAP_farf.h>
|
#include <HAP_farf.h>
|
||||||
#include <HAP_perf.h>
|
#include <HAP_perf.h>
|
||||||
|
|
||||||
#include <math.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include "hex-dma.h"
|
#include "hex-dma.h"
|
||||||
#include "hvx-utils.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);
|
worker_pool_run_func(octx->ctx->worker_pool, sum_rows_work_f32, octx, n_jobs);
|
||||||
|
|
||||||
return HTP_STATUS_OK;
|
return HTP_STATUS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue