Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appdevforall/CodeOnTheGo
/ llama_get_memory
Function
llama_get_memory
subprojects/llama.cpp/src/llama-context.cpp:3258–3260 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3256
//
3257
3258
llama_memory_t llama_get_memory(const struct llama_context * ctx) {
3259
return ctx->get_memory();
3260
}
3261
3262
void llama_memory_clear(llama_memory_t mem, bool data) {
3263
if (!mem) {
Callers
15
Java_android_llama_cpp_LLamaAndroid_bench_1model
Function · 0.85
Java_android_llama_cpp_LLamaAndroid_completion_1init
Function · 0.85
Java_android_llama_cpp_LLamaAndroid_kv_1cache_1clear
Function · 0.85
main
Function · 0.85
get_hidden_layers
Function · 0.85
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
perplexity_v2
Function · 0.85
perplexity
Function · 0.85
hellaswag_score
Function · 0.85
winogrande_score
Function · 0.85
Calls
1
get_memory
Method · 0.80
Tested by
2
main
Function · 0.68
draft
Method · 0.68