Compile builtins and test kernels per product family

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-11-28 15:05:25 +00:00
committed by Compute-Runtime-Automation
parent fb8aa01a01
commit d7e4117dcf
35 changed files with 148 additions and 120 deletions

View File

@@ -35,4 +35,9 @@ std::optional<aub_stream::ProductFamily> HwInfoConfigHw<gfxProduct>::getAubStrea
return aub_stream::ProductFamily::Cfl;
};
template <>
uint32_t HwInfoConfigHw<gfxProduct>::getDefaultRevisionId() const {
return 9u;
}
} // namespace NEO

View File

@@ -36,14 +36,6 @@ int32_t HwHelperHw<Family>::getDefaultThreadArbitrationPolicy() const {
return ThreadArbitrationPolicy::RoundRobin;
}
template <>
uint32_t HwHelperHw<Family>::getDefaultRevisionId(const HardwareInfo &hwInfo) const {
if (std::strcmp(hwInfo.capabilityTable.platformType, "core") == 0) {
return 9u;
}
return 0u;
}
template <>
bool MemorySynchronizationCommands<Family>::isBarrierWaRequired(const HardwareInfo &hwInfo) { return true; }

View File

@@ -36,7 +36,7 @@ const RuntimeCapabilityTable BXT::capabilityTable{
0, // sharedSystemMemCapabilities
52.083, // defaultProfilingTimerResolution
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"lp", // platformType
"bxt", // platformType
"", // deviceName
PreemptionMode::MidThread, // defaultPreemptionMode
aub_stream::ENGINE_RCS, // defaultEngineType

View File

@@ -36,7 +36,7 @@ const RuntimeCapabilityTable CFL::capabilityTable{
0, // sharedSystemMemCapabilities
83.333, // defaultProfilingTimerResolution
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"core", // platformType
"cfl", // platformType
"", // deviceName
PreemptionMode::MidThread, // defaultPreemptionMode
aub_stream::ENGINE_RCS, // defaultEngineType

View File

@@ -36,7 +36,7 @@ const RuntimeCapabilityTable GLK::capabilityTable{
0, // sharedSystemMemCapabilities
52.083, // defaultProfilingTimerResolution
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"lp", // platformType
"glk", // platformType
"", // deviceName
PreemptionMode::MidThread, // defaultPreemptionMode
aub_stream::ENGINE_RCS, // defaultEngineType

View File

@@ -36,7 +36,7 @@ const RuntimeCapabilityTable KBL::capabilityTable{
0, // sharedSystemMemCapabilities
83.333, // defaultProfilingTimerResolution
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"core", // platformType
"kbl", // platformType
"", // deviceName
PreemptionMode::MidThread, // defaultPreemptionMode
aub_stream::ENGINE_RCS, // defaultEngineType

View File

@@ -36,7 +36,7 @@ const RuntimeCapabilityTable SKL::capabilityTable{
0, // sharedSystemMemCapabilities
83.333, // defaultProfilingTimerResolution
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"core", // platformType
"skl", // platformType
"", // deviceName
PreemptionMode::MidThread, // defaultPreemptionMode
aub_stream::ENGINE_RCS, // defaultEngineType

View File

@@ -32,4 +32,9 @@ std::optional<aub_stream::ProductFamily> HwInfoConfigHw<gfxProduct>::getAubStrea
return aub_stream::ProductFamily::Kbl;
};
template <>
uint32_t HwInfoConfigHw<gfxProduct>::getDefaultRevisionId() const {
return 9u;
}
} // namespace NEO

View File

@@ -18,4 +18,9 @@ std::optional<aub_stream::ProductFamily> HwInfoConfigHw<gfxProduct>::getAubStrea
return aub_stream::ProductFamily::Skl;
};
template <>
uint32_t HwInfoConfigHw<gfxProduct>::getDefaultRevisionId() const {
return 9u;
}
} // namespace NEO