From 19278fb912c5bce46b49fa121c6049cd3d78bf0f Mon Sep 17 00:00:00 2001 From: Anastasia Kuporosova Date: Thu, 9 Jan 2025 20:05:29 +0000 Subject: [PATCH] [PyOV] Add npu properties --- .../python/src/pyopenvino/core/properties/properties.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/bindings/python/src/pyopenvino/core/properties/properties.cpp b/src/bindings/python/src/pyopenvino/core/properties/properties.cpp index 6f417b52716efd..8cc4b1aabf95c9 100644 --- a/src/bindings/python/src/pyopenvino/core/properties/properties.cpp +++ b/src/bindings/python/src/pyopenvino/core/properties/properties.cpp @@ -12,6 +12,11 @@ #include "pyopenvino/graph/any.hpp" #include "pyopenvino/utils/utils.hpp" +#include "openvino/runtime/intel_cpu/properties.hpp" +#include "openvino/runtime/intel_gpu/properties.hpp" +#include "openvino/runtime/intel_npu/properties.hpp" +#include "openvino/runtime/auto/properties.hpp" + namespace py = pybind11; void regmodule_properties(py::module m) { @@ -323,7 +328,8 @@ void regmodule_properties(py::module m) { // Submodule npu py::module m_intel_npu = - m_properties.def_submodule("intel_npu", "openvino.properties.intel_npu submodule that simulates ov::intel_npu"); + m_properties.def_submodule("intel_npu", + "openvino.properties.intel_npu submodule that simulates ov::intel_npu"); wrap_property_RO(m_intel_npu, ov::intel_npu::device_alloc_mem_size, "device_alloc_mem_size"); wrap_property_RO(m_intel_npu, ov::intel_npu::device_total_mem_size, "device_total_mem_size");