Don't use global objects during CPU plugin nodes registration (#8367)
* Load CPU plugin as extension as well * Fixed linkage issues * Added static linux build * Disabled GPU * Fix for CPU nodes registration * Disabled GPU * Disabled GPU * Disabled GPU * Disabled GPU * Disabled HETERO synthetic tests in static case * Fixed dependencies * Proper fix
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
namespace {
|
||||
using namespace HeteroTests;
|
||||
|
||||
// this tests load plugin by library name: this is not available during static linkage
|
||||
#ifndef OPENVINO_STATIC_LIBRARY
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_SingleMajorNode, HeteroSyntheticTest,
|
||||
::testing::Combine(
|
||||
::testing::Values(std::vector<PluginParameter>{{"TEMPLATE0", "templatePlugin"}, {"TEMPLATE1", "templatePlugin"}}),
|
||||
@@ -69,4 +72,6 @@ INSTANTIATE_TEST_SUITE_P(nightly_RandomMajorNodes_dynamic_batch, HeteroSynthetic
|
||||
dynamicBuilders, true))),
|
||||
HeteroSyntheticTest::getTestCaseName);
|
||||
|
||||
#endif // !OPENVINO_STATIC_LIBRARY
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user