| 2514 | } |
| 2515 | |
| 2516 | void llama_kv_self_seq_div( |
| 2517 | llama_context * ctx, |
| 2518 | llama_seq_id seq_id, |
| 2519 | llama_pos p0, |
| 2520 | llama_pos p1, |
| 2521 | int d) { |
| 2522 | auto * kv = ctx->get_kv_self(); |
| 2523 | if (!kv) { |
| 2524 | return; |
| 2525 | } |
| 2526 | |
| 2527 | kv->seq_div(seq_id, p0, p1, d); |
| 2528 | } |
| 2529 | |
| 2530 | llama_pos llama_kv_self_seq_pos_min(llama_context * ctx, llama_seq_id seq_id) { |
| 2531 | const auto * kv = ctx->get_kv_self(); |
no test coverage detected