forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move HETERO/BATCH tests to HETERO/BATCH test binaries (openvinotoolki…
…t#23823) ### Details: - Move remaining BATCH/HETERO test cases out of CPU/GPU tests ### Tickets: - *CVS-133977* --------- Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com> Co-authored-by: Pawel Raasz <pawel.raasz@intel.com> Co-authored-by: Chen Peter <peter.chen@intel.com>
- Loading branch information
1 parent
683e0a7
commit 2d8ac08
Showing
14 changed files
with
138 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright (C) 2018-2024 Intel Corporation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
|
||
#include "shared_test_classes/base/ov_subgraph.hpp" | ||
|
||
namespace ov { | ||
namespace test { | ||
|
||
void core_configuration(ov::test::SubgraphBaseTest* test) {} | ||
|
||
} // namespace test | ||
} // namespace ov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Copyright (C) 2018-2024 Intel Corporation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
|
||
#include "behavior/ov_plugin/hetero_synthetic.hpp" | ||
|
||
#include <vector> | ||
|
||
#include "openvino/core/visibility.hpp" | ||
|
||
#if defined(OPENVINO_ARCH_ARM) || defined(OPENVINO_ARCH_ARM64) | ||
const char* cpu_plugin_file_name = "openvino_arm_cpu_plugin"; | ||
#elif defined(OPENVINO_ARCH_X86) || defined(OPENVINO_ARCH_X86_64) | ||
const char* cpu_plugin_file_name = "openvino_intel_cpu_plugin"; | ||
#elif defined(OPENVINO_ARCH_RISCV64) | ||
const char* cpu_plugin_file_name = "openvino_riscv_cpu_plugin"; | ||
#else | ||
# error "Undefined system processor" | ||
#endif | ||
|
||
namespace { | ||
using ov::test::behavior::OVHeteroSyntheticTest; | ||
using ov::test::behavior::PluginParameter; | ||
|
||
// this tests load plugin by library name: this is not available during static linkage | ||
#ifndef OPENVINO_STATIC_LIBRARY | ||
|
||
INSTANTIATE_TEST_SUITE_P(nightly_SingleMajorNode, | ||
OVHeteroSyntheticTest, | ||
::testing::Combine(::testing::Values(std::vector<PluginParameter>{ | ||
{"CPU0", cpu_plugin_file_name}, | ||
{"CPU1", cpu_plugin_file_name}}), | ||
::testing::ValuesIn(OVHeteroSyntheticTest::_singleMajorNodeFunctions)), | ||
OVHeteroSyntheticTest::getTestCaseName); | ||
|
||
INSTANTIATE_TEST_SUITE_P(nightly_RandomMajorNodes, | ||
OVHeteroSyntheticTest, | ||
::testing::Combine(::testing::Values(std::vector<PluginParameter>{ | ||
{"CPU0", cpu_plugin_file_name}, | ||
{"CPU1", cpu_plugin_file_name}}), | ||
::testing::ValuesIn(OVHeteroSyntheticTest::_randomMajorNodeFunctions)), | ||
OVHeteroSyntheticTest::getTestCaseName); | ||
|
||
#endif // !OPENVINO_STATIC_LIBRARY | ||
|
||
} // namespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (C) 2018-2024 Intel Corporation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
#include "set_device_name.hpp" | ||
|
||
#include <stdexcept> | ||
#include <string> | ||
|
||
#include "openvino/core/except.hpp" | ||
|
||
namespace ov { | ||
namespace test { | ||
void set_device_suffix(const std::string& suffix) { | ||
OPENVINO_THROW(suffix.empty(), "The suffix can't be used for TEMPLATE device!"); | ||
} | ||
} // namespace test | ||
} // namespace ov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright (C) 2018-2024 Intel Corporation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
|
||
#include "functional_test_utils/skip_tests_config.hpp" | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
#include "openvino/core/core_visibility.hpp" | ||
|
||
std::vector<std::string> disabledTestPatterns() { | ||
std::vector<std::string> retVector{}; | ||
return retVector; | ||
} |
30 changes: 0 additions & 30 deletions
30
...el_cpu/tests/functional/shared_tests_instances/behavior/ov_plugin/auto_batching_tests.cpp
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
...intel_cpu/tests/functional/shared_tests_instances/behavior/ov_plugin/hetero_synthetic.cpp
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
...el_gpu/tests/functional/shared_tests_instances/behavior/ov_plugin/auto_batching_tests.cpp
This file was deleted.
Oops, something went wrong.