From d8938ad262cfeb0031d0689d2649cc1458e52dee Mon Sep 17 00:00:00 2001 From: eshoguli Date: Mon, 23 Oct 2023 01:41:05 +0100 Subject: [PATCH] cleanup --- src/plugins/intel_cpu/src/nodes/eltwise.cpp | 8 ++++---- .../functional/single_layer_tests/classes/eltwise.cpp | 2 +- .../intel_cpu/tests/functional/specific_tests.cmake | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/plugins/intel_cpu/src/nodes/eltwise.cpp b/src/plugins/intel_cpu/src/nodes/eltwise.cpp index fe28c22f63b94a..9e9891bb68404c 100644 --- a/src/plugins/intel_cpu/src/nodes/eltwise.cpp +++ b/src/plugins/intel_cpu/src/nodes/eltwise.cpp @@ -1165,16 +1165,16 @@ const std::map& Eltwise::g {ngraph::op::v0::Log::get_type_info_static(), [](const std::shared_ptr& op, Eltwise& node) { node.algorithm = Algorithm::EltwiseLog; }}, - {op::v13::BitwiseAnd::get_type_info_static(), [](const std::shared_ptr& op, Eltwise& node) { + {op::v13::BitwiseAnd::get_type_info_static(), [](const std::shared_ptr& op, Eltwise& node) { node.algorithm = Algorithm::EltwiseBitwiseAnd; }}, - {op::v13::BitwiseNot::get_type_info_static(), [](const std::shared_ptr& op, Eltwise& node) { + {op::v13::BitwiseNot::get_type_info_static(), [](const std::shared_ptr& op, Eltwise& node) { node.algorithm = Algorithm::EltwiseBitwiseNot; }}, - {op::v13::BitwiseOr::get_type_info_static(), [](const std::shared_ptr& op, Eltwise& node) { + {op::v13::BitwiseOr::get_type_info_static(), [](const std::shared_ptr& op, Eltwise& node) { node.algorithm = Algorithm::EltwiseBitwiseOr; }}, - {op::v13::BitwiseXor::get_type_info_static(), [](const std::shared_ptr& op, Eltwise& node) { + {op::v13::BitwiseXor::get_type_info_static(), [](const std::shared_ptr& op, Eltwise& node) { node.algorithm = Algorithm::EltwiseBitwiseXor; }}, }; diff --git a/src/plugins/intel_cpu/tests/functional/single_layer_tests/classes/eltwise.cpp b/src/plugins/intel_cpu/tests/functional/single_layer_tests/classes/eltwise.cpp index 9e7337aa934a81..f7cfb151a86e14 100644 --- a/src/plugins/intel_cpu/tests/functional/single_layer_tests/classes/eltwise.cpp +++ b/src/plugins/intel_cpu/tests/functional/single_layer_tests/classes/eltwise.cpp @@ -189,7 +189,7 @@ void EltwiseLayerCPUTest::SetUp() { auto data_ptr = reinterpret_cast(data_tensor.data()); std::vector data(data_ptr, data_ptr + ngraph::shape_size(shape)); secondaryInput = ngraph::builder::makeConstant(netType, shape, data); - } else if ((netType == ElementType::i32) || (netType == ElementType::i32)) { + } else if ((netType == ElementType::i32) || (netType == ElementType::u32)) { auto data_ptr = reinterpret_cast(data_tensor.data()); std::vector data(data_ptr, data_ptr + ngraph::shape_size(shape)); secondaryInput = ngraph::builder::makeConstant(netType, shape, data); diff --git a/src/plugins/intel_cpu/tests/functional/specific_tests.cmake b/src/plugins/intel_cpu/tests/functional/specific_tests.cmake index dec7c63db7b2a6..6ec6d019bea143 100644 --- a/src/plugins/intel_cpu/tests/functional/specific_tests.cmake +++ b/src/plugins/intel_cpu/tests/functional/specific_tests.cmake @@ -38,7 +38,6 @@ if(DEFINED ENABLE_CPU_SUBSET_TESTS_PATH) ${CMAKE_CURRENT_SOURCE_DIR}/shared_tests_instances/set_device_name.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_utils/cpu_test_utils.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_utils/fusing_test_utils.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/single_layer_tests/classes/eltwise.cpp ${CPU_SUBSET_TEST_ABS_PATH}) ov_add_test_target(