mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Compile builtins and test kernels per product family
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
fb8aa01a01
commit
d7e4117dcf
@@ -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
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user