mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-10 21:24:33 +00:00
add cpu and gpu profile
This commit is contained in:
parent
4e1be1065d
commit
407c71ae52
6 changed files with 113 additions and 16 deletions
|
@ -408,6 +408,8 @@ extern "C" {
|
|||
// Call once at the start of the program
|
||||
LLAMA_API void llama_backend_init(void);
|
||||
|
||||
ggml_backend_buffer_type_t llama_dev_buffer_type(struct llama_model * model, int device);
|
||||
|
||||
//optional:
|
||||
LLAMA_API void llama_numa_init(enum ggml_numa_strategy numa);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue