whisper : minor OpenVINO refactoring (#1037)

Hopefully I didn't break something - haven't tested
This commit is contained in:
Georgi Gerganov
2023-07-04 20:28:27 +03:00
parent 6f0114f4a6
commit 4774d2feb0
5 changed files with 48 additions and 45 deletions

View File

@@ -120,8 +120,7 @@ extern "C" {
// cache_dir: Optional cache directory that can speed up init time, especially for
// GPU, by caching compiled 'blobs' there.
// Set to nullptr if not used.
// Returns 1 on success. If OpenVINO is not enabled in build, this
// simply returns 0.
// Returns 0 on success. If OpenVINO is not enabled in build, this simply returns 1.
WHISPER_API int whisper_ctx_init_openvino_encoder(
struct whisper_context * ctx,
const char * model_path,