Skip to content

Commit 962805b

Browse files
ngxsonCISC
andauthored
Apply suggestions from code review
Co-authored-by: Sigbjørn Skjæret <[email protected]>
1 parent 6e522ec commit 962805b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-cpu/ggml-cpu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2246,7 +2246,7 @@ static int ggml_get_n_tasks(struct ggml_tensor * node, int n_threads) {
22462246
case GGML_OP_TRANSPOSE:
22472247
case GGML_OP_GET_ROWS_BACK:
22482248
case GGML_OP_DIAG:
2249-
case GGML_OP_ARANGE:
2249+
case GGML_OP_FILL:
22502250
{
22512251
n_tasks = 1;
22522252
} break;
@@ -2284,7 +2284,7 @@ static int ggml_get_n_tasks(struct ggml_tensor * node, int n_threads) {
22842284
case GGML_OP_UPSCALE:
22852285
case GGML_OP_PAD:
22862286
case GGML_OP_PAD_REFLECT_1D:
2287-
case GGML_OP_FILL:
2287+
case GGML_OP_ARANGE:
22882288
case GGML_OP_TIMESTEP_EMBEDDING:
22892289
case GGML_OP_ARGSORT:
22902290
case GGML_OP_FLASH_ATTN_EXT:

0 commit comments

Comments
 (0)