ggml : add system info functions

This commit is contained in:
Georgi Gerganov
2022-10-25 20:18:26 +03:00
parent c6710efde2
commit 34bb3ab0cf
5 changed files with 93 additions and 0 deletions

View File

@@ -225,6 +225,9 @@ extern "C" {
// Get the probability of the specified token in the specified segment.
WHISPER_API float whisper_full_get_token_p(struct whisper_context * ctx, int i_segment, int i_token);
// Print system information
WHISPER_API const char * whisper_print_system_info();
#ifdef __cplusplus
}
#endif