[Confromance] Remove CPU from heteroDeviceName (#14379)

This commit is contained in:
Sofya Balandina 2022-12-13 06:57:35 +00:00 committed by GitHub
parent c581bbd6dd
commit 74f2128b3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ protected:
public:
void SetUp() override {
target_device = GetParam();
heteroDeviceName = CommonTestUtils::DEVICE_HETERO + std::string(":") + GetParam() + std::string(",") + CommonTestUtils::DEVICE_CPU;
heteroDeviceName = CommonTestUtils::DEVICE_HETERO + std::string(":") + GetParam();
SKIP_IF_CURRENT_TEST_IS_DISABLED();
ov::test::behavior::APIBaseTest::SetUp();
IEClassNetworkTest::SetUp();
@ -379,7 +379,7 @@ TEST_P(IEClassHeteroExecutableNetworkGetMetricTest_TARGET_FALLBACK, GetMetricNoT
ASSERT_NO_THROW(p = exeNetwork.GetConfig("TARGET_FALLBACK"));
std::string targets = p;
auto expectedTargets = target_device + "," + CommonTestUtils::DEVICE_CPU;
auto expectedTargets = target_device;
std::cout << "Exe network fallback targets: " << targets << std::endl;
ASSERT_EQ(expectedTargets, targets);

View File

@ -72,7 +72,7 @@ protected:
public:
void SetUp() override {
target_device = GetParam();
heteroDeviceName = CommonTestUtils::DEVICE_HETERO + std::string(":") + target_device + std::string(",") + CommonTestUtils::DEVICE_CPU;;
heteroDeviceName = CommonTestUtils::DEVICE_HETERO + std::string(":") + target_device;
SKIP_IF_CURRENT_TEST_IS_DISABLED();
APIBaseTest::SetUp();
OVClassNetworkTest::SetUp();