Skip to content

Commit

Permalink
add whisper_print_benchmark to RcppExports
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Oct 6, 2024
1 parent 6beee2b commit e97ae4d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/RcppExports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif

// whisper_print_benchmark
void whisper_print_benchmark(SEXP model, int n_threads);
RcppExport SEXP _audio_whisper_whisper_print_benchmark(SEXP modelSEXP, SEXP n_threadsSEXP) {
BEGIN_RCPP
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< SEXP >::type model(modelSEXP);
Rcpp::traits::input_parameter< int >::type n_threads(n_threadsSEXP);
whisper_print_benchmark(model, n_threads);
return R_NilValue;
END_RCPP
}
// whisper_language_info
Rcpp::DataFrame whisper_language_info();
RcppExport SEXP _audio_whisper_whisper_language_info() {
Expand All @@ -34,6 +45,7 @@ END_RCPP
}

static const R_CallMethodDef CallEntries[] = {
{"_audio_whisper_whisper_print_benchmark", (DL_FUNC) &_audio_whisper_whisper_print_benchmark, 2},
{"_audio_whisper_whisper_language_info", (DL_FUNC) &_audio_whisper_whisper_language_info, 0},
{"_audio_whisper_whisper_load_model", (DL_FUNC) &_audio_whisper_whisper_load_model, 2},
{NULL, NULL, 0}
Expand Down

0 comments on commit e97ae4d

Please sign in to comment.