MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / llama_batch_clear

Function llama_batch_clear

common/common.cpp:941–943  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

939}
940
941void llama_batch_clear(struct llama_batch & batch) {
942 batch.n_tokens = 0;
943}
944
945void llama_batch_add(
946 struct llama_batch & batch,

Callers 8

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
update_system_promptMethod · 0.85
ingest_imagesMethod · 0.85
update_slotsMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68