Skip to content

Commit

Permalink
Code clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
MirceaDan99 committed Dec 9, 2024
1 parent 2bcb838 commit ce393a4
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#include "intel_npu/utils/zero/zero_init.hpp"
#include "intel_npu/utils/zero/zero_utils.hpp"
#include "intel_npu/utils/zero/zero_wrappers.hpp"
#include "openvino/runtime/aligned_buffer.hpp"
#include "openvino/runtime/profiling_info.hpp"
#include "openvino/runtime/shared_buffer.hpp"

namespace intel_npu {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class ICompilerAdapter {
const Config& config) const = 0;
virtual std::shared_ptr<IGraph> parse(std::shared_ptr<ov::AlignedBuffer> networkSOPtr, const Config& config) const = 0;
virtual ov::SupportedOpsMap query(const std::shared_ptr<const ov::Model>& model, const Config& config) const = 0;
virtual ov::intel_npu::CompilerType getCompilerType() const = 0;

virtual ~ICompilerAdapter() = default;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ class DriverCompilerAdapter final : public ICompilerAdapter {

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

ov::intel_npu::CompilerType getCompilerType() const override {
return ov::intel_npu::CompilerType::DRIVER;
}

private:
/**
* @brief Serialize input / output information to string format.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include "intel_npu/common/igraph.hpp"
#include "intel_npu/utils/zero/zero_init.hpp"
#include "openvino/runtime/shared_buffer.hpp"
#include "ze_graph_ext_wrappers.hpp"

namespace intel_npu {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "intel_npu/icompiler.hpp"
#include "intel_npu/utils/logger/logger.hpp"
#include "intel_npu/utils/zero/zero_init.hpp"
#include "openvino/runtime/shared_buffer.hpp"
#include "openvino/runtime/so_ptr.hpp"
#include "ze_graph_ext_wrappers.hpp"

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

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

ov::intel_npu::CompilerType getCompilerType() const override {
return ov::intel_npu::CompilerType::MLIR;
}

private:
std::shared_ptr<ZeroInitStructsHolder> _zeroInitStruct;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#include "intel_npu/utils/zero/zero_init.hpp"
#include "intel_npu/utils/zero/zero_types.hpp"

#include "openvino/runtime/aligned_buffer.hpp"

namespace intel_npu {

using SerializedIR = std::pair<size_t, std::shared_ptr<uint8_t>>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "intel_npu/config/common.hpp"
#include "intel_npu/config/runtime.hpp"
#include "intel_npu/utils/zero/zero_api.hpp"
#include "openvino/runtime/shared_buffer.hpp"

namespace intel_npu {

Expand Down
1 change: 0 additions & 1 deletion src/plugins/intel_npu/src/plugin/src/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "openvino/op/parameter.hpp"
#include "openvino/runtime/intel_npu/properties.hpp"
#include "openvino/runtime/properties.hpp"
#include "openvino/runtime/shared_buffer.hpp"
#include "plugin_compiler_adapter.hpp"
#include "remote_context.hpp"
#include "zero_backend.hpp"
Expand Down

0 comments on commit ce393a4

Please sign in to comment.