Rename isBigCore to isCore

add tests for getPlatformType function

Change-Id: Ief835dd5df8f4753fb0f39763ccbcff366d69a93
This commit is contained in:
Mateusz Jablonski
2018-04-27 09:42:32 +02:00
parent 7ddc571a11
commit fb97a5c747
9 changed files with 22 additions and 8 deletions

View File

@@ -55,7 +55,7 @@ const HardwareInfo unknownHardware = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, PreemptionMode::Disabled, {false, false}, nullptr}};
const char *getPlatformType(const HardwareInfo &hwInfo) {
if (hwInfo.capabilityTable.isBigCore) {
if (hwInfo.capabilityTable.isCore) {
return "core";
}
return "lp";

View File

@@ -72,7 +72,7 @@ struct RuntimeCapabilityTable {
EngineType defaultEngineType;
size_t requiredPreemptionSurfaceSize;
bool isBigCore;
bool isCore;
};
struct HardwareCapabilities {