| 2599 | } |
| 2600 | |
| 2601 | size_t llama_state_get_data(llama_context * ctx, uint8_t * dst, size_t size) { |
| 2602 | ctx->synchronize(); |
| 2603 | |
| 2604 | return ctx->state_get_data(dst, size); |
| 2605 | } |
| 2606 | |
| 2607 | // Sets the state reading from the specified source address |
| 2608 | size_t llama_state_set_data(llama_context * ctx, const uint8_t * src, size_t size) { |
no test coverage detected