Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[NPU] Fix the compiler build after merging the "weights separation" changes (#31369)

Razvan Apetroaie7ce769c5c0b1
diff --git a/src/plugins/intel_npu/src/al/include/intel_npu/icompiler.hpp b/src/plugins/intel_npu/src/al/include/intel_npu/icompiler.hpp
index bfb8a141be6..9d2107aa7f9 100644
--- a/src/plugins/intel_npu/src/al/include/intel_npu/icompiler.hpp
+++ b/src/plugins/intel_npu/src/al/include/intel_npu/icompiler.hpp
@@ -62,8 +62,11 @@ public:
* @return A "NetworkDescription" object for each init schedule, followed by another one corresponding to the main
* part.
*/
- virtual std::vector<std::shared_ptr<NetworkDescription>> compileWsOneShot(const std::shared_ptr<ov::Model>& model,
- const Config& config) const = 0;
+ virtual std::vector<std::shared_ptr<NetworkDescription>> compileWsOneShot(
+ const std::shared_ptr<ov::Model>& /*model*/,
+ const Config& /*config*/) const {
+ OPENVINO_NOT_IMPLEMENTED;
+ }
/**
* @brief Sequential compilation of Init(s) and Main
@@ -79,9 +82,11 @@ public:
* Compiler should somehow understand wich Init(or Main) to return
* Plugin does not know total numbers of Init schedules
*/
- virtual NetworkDescription compileWsIterative(const std::shared_ptr<ov::Model>& model,
- const Config& config,
- size_t callNumber) const = 0;
+ virtual NetworkDescription compileWsIterative(const std::shared_ptr<ov::Model>& /*model*/,
+ const Config& /*config*/,
+ size_t /*callNumber*/) const {
+ OPENVINO_NOT_IMPLEMENTED;
+ }
/**
* @brief Returns information about supported layers of the network passed