You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
llama : introduce anonymous namespace in llama.cpp
This commit introduces an anonymous namespace in llama.cpp to
encapsulate the following structs and types:
* llama_state
* llama_hparams
* llama_cparams
* llama_layer
* llama_ubatch
* llama_kv_cell
* llama_kv_cache
* llama_control_vector
* e_model
There are potentially more structs, and also functions that are currently
declared as static, which could be included in this anonymous namespace
in the future.
The motivation for this change is to avoid polluting the global
namespace with these types.
Refs: ggml-org#9557
0 commit comments