bench : fix uninitialized vars

This commit is contained in:
Georgi Gerganov 2023-09-14 15:19:27 +03:00
parent af947cb72e
commit c46167f8c5
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -76,6 +76,7 @@ int whisper_bench_full(const whisper_params & params) {
}
whisper_token tokens[512];
memset(tokens, 0, sizeof(tokens));
// prompt heat
if (int ret = whisper_decode(ctx, tokens, 256, 0, params.n_threads) != 0) {