mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 14:33:04 +08:00
Keep platform types in a list
Related-To: NEO-3503 Change-Id: I7216d7a5088b0a18aebdedc386208ec398bae5ef Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
acfdb0fc9d
commit
55a1ddab39
@@ -229,16 +229,16 @@ HWTEST_F(PipeControlHelperTests, givenPostSyncWriteImmediateDataModeWhenHelperIs
|
||||
EXPECT_TRUE(memcmp(pipeControl, &expectedPipeControl, sizeof(PIPE_CONTROL)) == 0);
|
||||
}
|
||||
|
||||
TEST(HwInfoTest, givenHwInfoWhenIsCoreThenPlatformTypeIsCore) {
|
||||
TEST(HwInfoTest, givenHwInfoWhenPlatformTypeIsCoreThenPlatformTypeIsCore) {
|
||||
HardwareInfo hwInfo;
|
||||
hwInfo.capabilityTable.isCore = true;
|
||||
hwInfo.capabilityTable.platformType = "core";
|
||||
auto platformType = getPlatformType(hwInfo);
|
||||
EXPECT_STREQ("core", platformType);
|
||||
}
|
||||
|
||||
TEST(HwInfoTest, givenHwInfoWhenIsNotCoreThenPlatformTypeIsLp) {
|
||||
TEST(HwInfoTest, givenHwInfoWhenlatformTypeIsLpThenPlatformTypeIsLp) {
|
||||
HardwareInfo hwInfo;
|
||||
hwInfo.capabilityTable.isCore = false;
|
||||
hwInfo.capabilityTable.platformType = "lp";
|
||||
auto platformType = getPlatformType(hwInfo);
|
||||
EXPECT_STREQ("lp", platformType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user