wasi_nn_openvino.c: fix a debug build (#4416)

after "wasi_nn_openvino.c: implement multiple models per instance" change.
(https://github.com/bytecodealliance/wasm-micro-runtime/pull/4380)
This commit is contained in:
YAMAMOTO Takashi 2025-06-30 13:57:44 +09:00 committed by GitHub
parent 18d4227ab6
commit 7a6a6a39e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -287,7 +287,7 @@ load(void *ctx, graph_builder_array *builder, graph_encoding encoding,
graph->weights_tensor, &graph->model), graph->weights_tensor, &graph->model),
ret); ret);
#ifndef NDEBUG #ifndef NDEBUG
print_model_input_output_info(ov_ctx->model); print_model_input_output_info(graph->model);
#endif #endif
CHECK_OV_STATUS(ov_core_compile_model(ov_ctx->core, graph->model, "CPU", 0, CHECK_OV_STATUS(ov_core_compile_model(ov_ctx->core, graph->model, "CPU", 0,