Skip to content

Commit a9f3271

Browse files
committed
Code clean-up
1 parent b73c51d commit a9f3271

File tree

8 files changed

+1
-16
lines changed

8 files changed

+1
-16
lines changed

src/plugins/intel_npu/src/common/include/intel_npu/common/igraph.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include "intel_npu/network_metadata.hpp"
1212
#include "intel_npu/utils/zero/zero_utils.hpp"
1313
#include "intel_npu/utils/zero/zero_wrappers.hpp"
14-
#include "openvino/runtime/aligned_buffer.hpp"
1514
#include "openvino/runtime/profiling_info.hpp"
15+
#include "openvino/runtime/shared_buffer.hpp"
1616

1717
namespace intel_npu {
1818

src/plugins/intel_npu/src/common/include/intel_npu/common/npu.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ class ICompilerAdapter {
6060
const Config& config) const = 0;
6161
virtual std::shared_ptr<IGraph> parse(std::shared_ptr<ov::AlignedBuffer> networkSOPtr, const Config& config) const = 0;
6262
virtual ov::SupportedOpsMap query(const std::shared_ptr<const ov::Model>& model, const Config& config) const = 0;
63-
virtual ov::intel_npu::CompilerType getCompilerType() const = 0;
6463

6564
virtual ~ICompilerAdapter() = default;
6665

src/plugins/intel_npu/src/compiler_adapter/include/driver_compiler_adapter.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ class DriverCompilerAdapter final : public ICompilerAdapter {
3030

3131
ov::SupportedOpsMap query(const std::shared_ptr<const ov::Model>& model, const Config& config) const override;
3232

33-
ov::intel_npu::CompilerType getCompilerType() const override {
34-
return ov::intel_npu::CompilerType::DRIVER;
35-
}
36-
3733
private:
3834
/**
3935
* @brief Serialize input / output information to string format.

src/plugins/intel_npu/src/compiler_adapter/include/driver_graph.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
#include "intel_npu/common/igraph.hpp"
1212
#include "intel_npu/utils/zero/zero_init.hpp"
13-
#include "openvino/runtime/shared_buffer.hpp"
1413
#include "ze_graph_ext_wrappers.hpp"
1514

1615
namespace intel_npu {

src/plugins/intel_npu/src/compiler_adapter/include/plugin_compiler_adapter.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "intel_npu/icompiler.hpp"
1111
#include "intel_npu/utils/logger/logger.hpp"
1212
#include "intel_npu/utils/zero/zero_init.hpp"
13-
#include "openvino/runtime/shared_buffer.hpp"
1413
#include "openvino/runtime/so_ptr.hpp"
1514
#include "ze_graph_ext_wrappers.hpp"
1615

@@ -26,10 +25,6 @@ class PluginCompilerAdapter final : public ICompilerAdapter {
2625

2726
ov::SupportedOpsMap query(const std::shared_ptr<const ov::Model>& model, const Config& config) const override;
2827

29-
ov::intel_npu::CompilerType getCompilerType() const override {
30-
return ov::intel_npu::CompilerType::MLIR;
31-
}
32-
3328
private:
3429
std::shared_ptr<ZeroInitStructsHolder> _zeroInitStruct;
3530

src/plugins/intel_npu/src/compiler_adapter/include/ze_graph_ext_wrappers.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
#include "intel_npu/utils/zero/zero_init.hpp"
1616
#include "intel_npu/utils/zero/zero_types.hpp"
1717

18-
#include "openvino/runtime/aligned_buffer.hpp"
19-
2018
namespace intel_npu {
2119

2220
using SerializedIR = std::pair<size_t, std::shared_ptr<uint8_t>>;

src/plugins/intel_npu/src/compiler_adapter/src/plugin_graph.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#include "intel_npu/config/common.hpp"
88
#include "intel_npu/config/runtime.hpp"
99
#include "intel_npu/utils/zero/zero_api.hpp"
10-
#include "openvino/runtime/shared_buffer.hpp"
1110

1211
namespace intel_npu {
1312

src/plugins/intel_npu/src/plugin/src/plugin.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "openvino/op/parameter.hpp"
2222
#include "openvino/runtime/intel_npu/properties.hpp"
2323
#include "openvino/runtime/properties.hpp"
24-
#include "openvino/runtime/shared_buffer.hpp"
2524
#include "plugin_compiler_adapter.hpp"
2625
#include "remote_context.hpp"
2726
#include "zero_backend.hpp"

0 commit comments

Comments
 (0)