| 10360 | } |
| 10361 | |
| 10362 | size_t llama_copy_state_data(struct llama_context * ctx, uint8_t * dst) { |
| 10363 | llama_data_buffer_context data_ctx(dst); |
| 10364 | llama_copy_state_data_internal(ctx, &data_ctx); |
| 10365 | |
| 10366 | return data_ctx.get_size_written(); |
| 10367 | } |
| 10368 | |
| 10369 | // Sets the state reading from the specified source address |
| 10370 | size_t llama_set_state_data(struct llama_context * ctx, uint8_t * src) { |
no test coverage detected