llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
batchClear
llama
batch
Reset a batch's token count to zero (keeps allocated memory).
@
nogc
nothrow
void
batchClear
(
ref
llama_batch
batch
)
Meta
Source
See Implementation
llama
batch
functions
allocBatch
batchAdd
batchClear
batchGetOne
structs
OwnedBatch
Reset a batch's token count to zero (keeps allocated memory).