Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
941
void llama_batch_clear(struct llama_batch & batch) {
942
batch.n_tokens = 0;
943
}
944
945
void llama_batch_add(
946
struct llama_batch & batch,
Callers
8
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
update_system_prompt
Method · 0.85
ingest_images
Method · 0.85
update_slots
Method · 0.85
main
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
1
main
Function · 0.68