Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/trans' into trans
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Sep 17, 2023
2 parents 8d2562b + 1968632 commit fd338ee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <vector>

#include "itt.hpp"
#include "openvino/op/util/sub_graph_base.hpp"
#include "transformations/rt_info/fused_names_attribute.hpp"
#include "transformations/rt_info/primitives_priority_attribute.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/core/src/pass/serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ void ngfunction_2_ir(pugi::xml_node& node,
bool deterministic);

namespace rt_info {
const std::vector<std::string> list_of_names{
static const std::vector<std::string> list_of_names{
"PrimitivesPriority",
"alt_width",
};
Expand Down
5 changes: 0 additions & 5 deletions src/inference/src/system_conf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
# include <sys/types.h>
#endif

#ifdef __APPLE__
# include <sys/types.h>
# include <sys/sysctl.h>
#endif

#if defined(OPENVINO_ARCH_X86) || defined(OPENVINO_ARCH_X86_64)
# define XBYAK_NO_OP_NAMES
# define XBYAK_UNDEF_JNL
Expand Down
3 changes: 2 additions & 1 deletion src/inference/tests/unit/compilation_context_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ TEST(NetworkContext, HashWithPrimitivesPriority) {
op3["PrimitivesPriority"] = "testPriority";

ASSERT_NE(ModelCache::compute_hash(net1, {}), ModelCache::compute_hash(net2, {}));
ASSERT_NE(ModelCache::compute_hash(net2, {}), ModelCache::compute_hash(net3, {}));

ASSERT_EQ(ModelCache::compute_hash(net2, {}), ModelCache::compute_hash(net3, {}));
}

TEST(NetworkContext, HashWithFusedNames) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void OpSummary::updateOPsStats(const std::shared_ptr<ov::Model>& model, const Pa
return;
}
bool isFunctionalGraph = false;
for (const auto &op : model->get_ordered_ops()) {
for (const auto& op : model->get_ordered_ops()) {
if (!std::dynamic_pointer_cast<ov::op::v0::Parameter>(op) &&
!std::dynamic_pointer_cast<ov::op::v0::Constant>(op) &&
!std::dynamic_pointer_cast<ov::op::v0::Result>(op)) {
Expand Down

0 comments on commit fd338ee

Please sign in to comment.