File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ struct llama_device_memory_data {
8282// TODO: convert to C-style data structure
8383using llama_memory_breakdown = std::map<ggml_backend_buffer_type_t , llama_memory_breakdown_data>;
8484
85- int32_t llama_model_n_expert (const struct llama_model * model);
86- int32_t llama_model_n_devices (const struct llama_model * model);
85+ LLAMA_API int32_t llama_model_n_expert (const struct llama_model * model);
86+ LLAMA_API int32_t llama_model_n_devices (const struct llama_model * model);
8787
88- ggml_backend_dev_t llama_model_get_device (const struct llama_model * model, int i);
88+ LLAMA_API ggml_backend_dev_t llama_model_get_device (const struct llama_model * model, int i);
8989
90- llama_memory_breakdown llama_get_memory_breakdown (const struct llama_context * ctx);
90+ LLAMA_API llama_memory_breakdown llama_get_memory_breakdown (const struct llama_context * ctx);
You can’t perform that action at this time.
0 commit comments