Skip to content

Commit

Permalink
Merge branch 'master' into an/lstm_f16_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
allnes authored Oct 12, 2023
2 parents 1815480 + 6519afd commit d90cd00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions samples/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,7 @@ macro(ov_add_sample)
find_package(Threads REQUIRED)

find_package(OpenVINO REQUIRED COMPONENTS Runtime)

# Conan does not generate openvino::runtime::c target
if(c_sample AND TARGET openvino::runtime::c)
if(c_sample)
set(ov_link_libraries openvino::runtime::c)
else()
set(ov_link_libraries openvino::runtime)
Expand Down
5 changes: 4 additions & 1 deletion src/common/snippets/src/pass/collapse_subgraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@ auto is_supported_op(const std::shared_ptr<const Node> &n) -> bool {

auto has_supported_in_out(const std::shared_ptr<const Node> &n) -> bool {
auto supported = [&n](descriptor::Tensor& t) -> bool {
// Todo: int32 isn't supported in general because i32 emitters are required for bit-exact i32 calculations in some cases
// TODO [122585] Need to add dynamic rank support
if (t.get_partial_shape().rank().is_dynamic())
return false;
// TODO [105804] int32 isn't supported in general because i32 emitters are required for bit-exact i32 calculations in some cases
// So i32 is supported exclusively for transposes and broadcast
return TokenizeSnippets::get_supported_element_types().count(t.get_element_type()) != 0 ||
(t.get_element_type() == ov::element::i32 &&
Expand Down

0 comments on commit d90cd00

Please sign in to comment.