Skip to content

Commit 6942c85

Browse files
committed
Oh, actually set n_tasks as well :P
1 parent 477c161 commit 6942c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2305,13 +2305,13 @@ static int ggml_get_n_tasks(struct ggml_tensor * node, int n_threads) {
23052305
case GGML_OP_RWKV_WKV6:
23062306
case GGML_OP_GATED_LINEAR_ATTN:
23072307
case GGML_OP_RWKV_WKV7:
2308+
case GGML_OP_DELTA_NET:
23082309
{
23092310
n_tasks = n_threads;
23102311
} break;
23112312
case GGML_OP_WIN_PART:
23122313
case GGML_OP_WIN_UNPART:
23132314
case GGML_OP_GET_REL_POS:
2314-
case GGML_OP_DELTA_NET:
23152315
{
23162316
n_tasks = 1;
23172317
} break;

0 commit comments

Comments
 (0)