diff --git a/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/cuda_eltwise.cpp b/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/cuda_eltwise.cpp index 171585a45b..af96daad5b 100644 --- a/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/cuda_eltwise.cpp +++ b/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/cuda_eltwise.cpp @@ -25,6 +25,7 @@ #include #include "common_test_utils/node_builders/eltwise.hpp" +#include "ov_models/utils/data_utils.hpp" namespace LayerTestsDefinitions { diff --git a/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/lstm_sequence.cpp b/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/lstm_sequence.cpp index 951b7ab9e6..2675e762e3 100644 --- a/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/lstm_sequence.cpp +++ b/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/lstm_sequence.cpp @@ -12,6 +12,7 @@ #include "cuda/device_pointers.hpp" #include "cuda_operation_registry.hpp" #include "cuda_thread_context.hpp" +#include "openvino/op/constant.hpp" #include "unsymmetrical_comparer.hpp" namespace LayerTestsDefinitions { @@ -180,11 +181,11 @@ class CUDALSTMSequenceOptimizedTest : public testing::WithParamInterfaceset_friendly_name("seq_lengths"); params.push_back(param); } else if (m_mode == SequenceTestsMode::PURE_SEQ_RAND_SEQ_LEN_CONST) { - seq_lengths_node = ov::test::utils::make_constant( + seq_lengths_node = ov::test::utils::deprecated::make_constant( ov::element::i64, input_shapes[3], {}, true, static_cast(seq_lengths), 0.f); } else { std::vector lengths(input_shapes[3][0], seq_lengths); - seq_lengths_node = ov::test::utils::make_constant(ov::element::i64, input_shapes[3], lengths, false); + seq_lengths_node = ov::op::v0::Constant::create(ov::element::i64, input_shapes[3], lengths); } std::shared_ptr W, R, B; if (WRBType == InputLayerType::PARAMETER) { @@ -198,9 +199,9 @@ class CUDALSTMSequenceOptimizedTest : public testing::WithParamInterface(x_node, diff --git a/modules/nvidia_plugin/tests/unit/cuda_multi_graph_test.cpp b/modules/nvidia_plugin/tests/unit/cuda_multi_graph_test.cpp index 20369e5397..db3fadb628 100644 --- a/modules/nvidia_plugin/tests/unit/cuda_multi_graph_test.cpp +++ b/modules/nvidia_plugin/tests/unit/cuda_multi_graph_test.cpp @@ -7,6 +7,10 @@ #include "common_test_utils/node_builders/eltwise.hpp" #include "cuda_graph_topology_runner.hpp" #include "cuda_simple_execution_delegator.hpp" +#include "openvino/op/concat.hpp" +#include "openvino/op/constant.hpp" +#include "openvino/op/parameter.hpp" +#include "openvino/op/result.hpp" #include "ops/parameter.hpp" #include "ops/result.hpp" #include "ov_models/utils/data_utils.hpp"