mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Rename isBigCore to isCore
add tests for getPlatformType function Change-Id: Ief835dd5df8f4753fb0f39763ccbcff366d69a93
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -72,7 +72,7 @@ struct RuntimeCapabilityTable {
|
||||
EngineType defaultEngineType;
|
||||
|
||||
size_t requiredPreemptionSurfaceSize;
|
||||
bool isBigCore;
|
||||
bool isCore;
|
||||
};
|
||||
|
||||
struct HardwareCapabilities {
|
||||
|
||||
Reference in New Issue
Block a user