| 1552 | struct llama_context { |
| 1553 | llama_context(const llama_model & model) : model(model), t_start_us(model.t_start_us), t_load_us(model.t_load_us) {} |
| 1554 | ~llama_context() { |
| 1555 | #ifdef GGML_USE_METAL |
| 1556 | if (ctx_metal) { |
| 1557 | ggml_metal_free(ctx_metal); |
| 1558 | } |
| 1559 | #endif |
| 1560 | if (alloc) { |
| 1561 | ggml_allocr_free(alloc); |
| 1562 | } |
| 1563 | } |
| 1564 | |
| 1565 | llama_cparams cparams; |
| 1566 |
nothing calls this directly
no test coverage detected