llama : clarify backend_accept/backend_set_input comments [no ci]

This commit is contained in:
Daniel Bevenius
2025-12-17 09:02:16 +01:00
parent ad1b60abc4
commit 68a1c4dc51
+2 -2
View File
@@ -1215,7 +1215,7 @@ extern "C" {
// note: call once per sampler
bool (*backend_init)(struct llama_sampler * smpl, ggml_backend_buffer_type_t buft);
// call after .backend_accept()
// call after .backend_apply()
void (*backend_accept)(
struct llama_sampler * smpl,
struct ggml_context * ctx,
@@ -1229,7 +1229,7 @@ extern "C" {
struct ggml_cgraph * gf,
struct llama_sampler_data * data);
// call before .backend_apply()
// called before graph execution to set inputs for the current ubatch
void (*backend_set_input)(struct llama_sampler * smpl);
};