Skip to content

Commit

Permalink
added struct to llama_dump_timing_info_yaml's llama_context (gger…
Browse files Browse the repository at this point in the history
…ganov#2857)

fixes C compat.
  • Loading branch information
MarcusDunn authored Aug 29, 2023
1 parent 44c117f commit 95b6e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama.h
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ extern "C" {
// If this is not called, or NULL is supplied, everything is output on stderr.
LLAMA_API void llama_log_set(llama_log_callback log_callback, void * user_data);

LLAMA_API void llama_dump_timing_info_yaml(FILE * stream, const llama_context * ctx);
LLAMA_API void llama_dump_timing_info_yaml(FILE * stream, const struct llama_context * ctx);

#ifdef __cplusplus
}
Expand Down

0 comments on commit 95b6e52

Please sign in to comment.