refactor: use designated initialization for capabilityTable

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2025-09-20 16:28:03 +00:00
committed by Compute-Runtime-Automation
parent 1c131961ab
commit bf0e71f81b
13 changed files with 468 additions and 481 deletions

View File

@@ -30,46 +30,45 @@ const PLATFORM ADLN::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable ADLN::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_RCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max64BitAppAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::ThreadGroup, // defaultPreemptionMode
aub_stream::ENGINE_RCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
1, // extraQuantityThreadsPerEU
64, // maxProgrammableSlmSize
sizeof(ADLN::GRF), // grfSize
36u, // timestampValidBits
32u, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
false, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
false, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
false, // supportCacheFlushAfterWalker
true, // supportsImages
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
true, // isIntegratedDevice
true, // supportsMediaBlock
true, // fusedEuEnabled
false, // l0DebuggerSupported;
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max64BitAppAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::ThreadGroup,
.defaultEngineType = aub_stream::ENGINE_RCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 1,
.maxProgrammableSlmSize = 64,
.grfSize = sizeof(ADLN::GRF),
.timestampValidBits = 36u,
.kernelTimestampValidBits = 32u,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = false,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = false,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = false,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = false,
.supportsIndependentForwardProgress = false,
.isIntegratedDevice = true,
.supportsMediaBlock = true,
.fusedEuEnabled = true,
.l0DebuggerSupported = false,
.supportsFloatAtomics = true,
.cxlType = 0};
WorkaroundTable ADLN::workaroundTable = {};
FeatureTable ADLN::featureTable = {};

View File

@@ -30,46 +30,45 @@ const PLATFORM ADLP::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable ADLP::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_RCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max64BitAppAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::ThreadGroup, // defaultPreemptionMode
aub_stream::ENGINE_RCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
1, // extraQuantityThreadsPerEU
64, // maxProgrammableSlmSize
sizeof(ADLP::GRF), // grfSize
36u, // timestampValidBits
32u, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
false, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
false, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
false, // supportCacheFlushAfterWalker
true, // supportsImages
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
true, // isIntegratedDevice
true, // supportsMediaBlock
true, // fusedEuEnabled
false, // l0DebuggerSupported;
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max64BitAppAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::ThreadGroup,
.defaultEngineType = aub_stream::ENGINE_RCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 1,
.maxProgrammableSlmSize = 64,
.grfSize = sizeof(ADLP::GRF),
.timestampValidBits = 36u,
.kernelTimestampValidBits = 32u,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = false,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = false,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = false,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = false,
.supportsIndependentForwardProgress = false,
.isIntegratedDevice = true,
.supportsMediaBlock = true,
.fusedEuEnabled = true,
.l0DebuggerSupported = false,
.supportsFloatAtomics = true,
.cxlType = 0};
WorkaroundTable ADLP::workaroundTable = {};
FeatureTable ADLP::featureTable = {};

View File

@@ -30,46 +30,45 @@ const PLATFORM ADLS::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable ADLS::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_RCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max64BitAppAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::ThreadGroup, // defaultPreemptionMode
aub_stream::ENGINE_RCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
1, // extraQuantityThreadsPerEU
64, // maxProgrammableSlmSize
sizeof(ADLS::GRF), // grfSize
36u, // timestampValidBits
32u, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
false, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
false, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
false, // supportCacheFlushAfterWalker
true, // supportsImages
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
true, // isIntegratedDevice
true, // supportsMediaBlock
true, // fusedEuEnabled
false, // l0DebuggerSupported;
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max64BitAppAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::ThreadGroup,
.defaultEngineType = aub_stream::ENGINE_RCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 1,
.maxProgrammableSlmSize = 64,
.grfSize = sizeof(ADLS::GRF),
.timestampValidBits = 36u,
.kernelTimestampValidBits = 32u,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = false,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = false,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = false,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = false,
.supportsIndependentForwardProgress = false,
.isIntegratedDevice = true,
.supportsMediaBlock = true,
.fusedEuEnabled = true,
.l0DebuggerSupported = false,
.supportsFloatAtomics = true,
.cxlType = 0};
WorkaroundTable ADLS::workaroundTable = {};
FeatureTable ADLS::featureTable = {};

View File

@@ -30,46 +30,45 @@ const PLATFORM DG1::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable DG1::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_RCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max64BitAppAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::ThreadGroup, // defaultPreemptionMode
aub_stream::ENGINE_RCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
1, // extraQuantityThreadsPerEU
64, // maxProgrammableSlmSize
sizeof(DG1::GRF), // grfSize
36u, // timestampValidBits
32u, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
false, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
false, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
true, // supportCacheFlushAfterWalker
true, // supportsImages,
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
false, // isIntegratedDevice
true, // supportsMediaBlock
true, // fusedEuEnabled
true, // l0DebuggerSupported;
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max64BitAppAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::ThreadGroup,
.defaultEngineType = aub_stream::ENGINE_RCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 1,
.maxProgrammableSlmSize = 64,
.grfSize = sizeof(DG1::GRF),
.timestampValidBits = 36u,
.kernelTimestampValidBits = 32u,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = false,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = false,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = true,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = false,
.supportsIndependentForwardProgress = false,
.isIntegratedDevice = false,
.supportsMediaBlock = true,
.fusedEuEnabled = true,
.l0DebuggerSupported = true,
.supportsFloatAtomics = true,
.cxlType = 0};
WorkaroundTable DG1::workaroundTable = {};
FeatureTable DG1::featureTable = {};

View File

@@ -30,46 +30,45 @@ const PLATFORM RKL::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable RKL::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_RCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max48BitAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::ThreadGroup, // defaultPreemptionMode
aub_stream::ENGINE_RCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
1, // extraQuantityThreadsPerEU
64, // maxProgrammableSlmSize
sizeof(RKL::GRF), // grfSize
36u, // timestampValidBits
32u, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
false, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
false, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
false, // supportCacheFlushAfterWalker
true, // supportsImages
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
true, // isIntegratedDevice
true, // supportsMediaBlock
true, // fusedEuEnabled
false, // l0DebuggerSupported;
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max48BitAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::ThreadGroup,
.defaultEngineType = aub_stream::ENGINE_RCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 1,
.maxProgrammableSlmSize = 64,
.grfSize = sizeof(RKL::GRF),
.timestampValidBits = 36u,
.kernelTimestampValidBits = 32u,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = false,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = false,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = false,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = false,
.supportsIndependentForwardProgress = false,
.isIntegratedDevice = true,
.supportsMediaBlock = true,
.fusedEuEnabled = true,
.l0DebuggerSupported = false,
.supportsFloatAtomics = true,
.cxlType = 0};
WorkaroundTable RKL::workaroundTable = {};
FeatureTable RKL::featureTable = {};

View File

@@ -30,46 +30,45 @@ const PLATFORM TGLLP::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable TGLLP::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_RCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = true, .useNonDefault = false, .useRootDevice = false}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max64BitAppAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::ThreadGroup, // defaultPreemptionMode
aub_stream::ENGINE_RCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
1, // extraQuantityThreadsPerEU
64, // maxProgrammableSlmSize
sizeof(TGLLP::GRF), // grfSize
36u, // timestampValidBits
32u, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
false, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
false, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
false, // supportCacheFlushAfterWalker
true, // supportsImages
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
true, // isIntegratedDevice
true, // supportsMediaBlock
true, // fusedEuEnabled
false, // l0DebuggerSupported;
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max64BitAppAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::ThreadGroup,
.defaultEngineType = aub_stream::ENGINE_RCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 1,
.maxProgrammableSlmSize = 64,
.grfSize = sizeof(TGLLP::GRF),
.timestampValidBits = 36u,
.kernelTimestampValidBits = 32u,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = false,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = false,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = false,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = false,
.supportsIndependentForwardProgress = false,
.isIntegratedDevice = true,
.supportsMediaBlock = true,
.fusedEuEnabled = true,
.l0DebuggerSupported = false,
.supportsFloatAtomics = true,
.cxlType = 0};
WorkaroundTable TGLLP::workaroundTable = {};
FeatureTable TGLLP::featureTable = {};

View File

@@ -32,47 +32,46 @@ const PLATFORM BMG::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable BMG::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = false, .useNonDefault = false, .useRootDevice = true}},
{aub_stream::ENGINE_CCS1, {.engineSupported = true, .submitOnInit = false, .useNonDefault = true, .useRootDevice = true}},
{aub_stream::ENGINE_BCS, {.engineSupported = true, .submitOnInit = false, .useNonDefault = true, .useRootDevice = true}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max48BitAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::MidThread, // defaultPreemptionMode
aub_stream::ENGINE_CCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
0, // extraQuantityThreadsPerEU
128, // maxProgrammableSlmSize
sizeof(BMG::GRF), // grfSize
64, // timestampValidBits
64, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
true, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
true, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
false, // supportCacheFlushAfterWalker
true, // supportsImages
true, // supportsOcl21Features
true, // supportsOnDemandPageFaults
true, // supportsIndependentForwardProgress
false, // isIntegratedDevice
false, // supportsMediaBlock
false, // fusedEuEnabled
true, // l0DebuggerSupported;
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max48BitAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::MidThread,
.defaultEngineType = aub_stream::ENGINE_CCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 0,
.maxProgrammableSlmSize = 128,
.grfSize = sizeof(BMG::GRF),
.timestampValidBits = 64,
.kernelTimestampValidBits = 64,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = true,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = true,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = false,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = true,
.supportsIndependentForwardProgress = true,
.isIntegratedDevice = false,
.supportsMediaBlock = false,
.fusedEuEnabled = false,
.l0DebuggerSupported = true,
.supportsFloatAtomics = true,
.cxlType = 0};
void BMG::setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo, const ReleaseHelper &releaseHelper) {
setupDefaultFeatureTableAndWorkaroundTable(hwInfo, releaseHelper);

View File

@@ -32,45 +32,44 @@ const PLATFORM LNL::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable LNL::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = false, .useNonDefault = false, .useRootDevice = true}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max48BitAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::MidThread, // defaultPreemptionMode
aub_stream::ENGINE_CCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
0, // extraQuantityThreadsPerEU
128, // maxProgrammableSlmSize
sizeof(LNL::GRF), // grfSize
64, // timestampValidBits
64, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
true, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
true, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
false, // supportCacheFlushAfterWalker
true, // supportsImages
true, // supportsOcl21Features
true, // supportsOnDemandPageFaults
true, // supportsIndependentForwardProgress
true, // isIntegratedDevice
false, // supportsMediaBlock
false, // fusedEuEnabled
true, // l0DebuggerSupported;
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max48BitAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::MidThread,
.defaultEngineType = aub_stream::ENGINE_CCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 0,
.maxProgrammableSlmSize = 128,
.grfSize = sizeof(LNL::GRF),
.timestampValidBits = 64,
.kernelTimestampValidBits = 64,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = true,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = true,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = false,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = true,
.supportsIndependentForwardProgress = true,
.isIntegratedDevice = true,
.supportsMediaBlock = false,
.fusedEuEnabled = false,
.l0DebuggerSupported = true,
.supportsFloatAtomics = true,
.cxlType = 0};
void LNL::setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo, const ReleaseHelper &releaseHelper) {
setupDefaultFeatureTableAndWorkaroundTable(hwInfo, releaseHelper);

View File

@@ -32,46 +32,45 @@ const PLATFORM PTL::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable PTL::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = false, .useNonDefault = false, .useRootDevice = true}},
{aub_stream::ENGINE_BCS, {.engineSupported = true, .submitOnInit = false, .useNonDefault = true, .useRootDevice = true}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max48BitAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::MidThread, // defaultPreemptionMode
aub_stream::ENGINE_CCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
0, // extraQuantityThreadsPerEU
128, // maxProgrammableSlmSize
sizeof(PTL::GRF), // grfSize
64, // timestampValidBits
64, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
true, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
true, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
false, // supportCacheFlushAfterWalker
true, // supportsImages
true, // supportsOcl21Features
true, // supportsOnDemandPageFaults
true, // supportsIndependentForwardProgress
true, // isIntegratedDevice
false, // supportsMediaBlock
false, // fusedEuEnabled
true, // l0DebuggerSupported;
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max48BitAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::MidThread,
.defaultEngineType = aub_stream::ENGINE_CCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 0,
.maxProgrammableSlmSize = 128,
.grfSize = sizeof(PTL::GRF),
.timestampValidBits = 64,
.kernelTimestampValidBits = 64,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = true,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = true,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = false,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = true,
.supportsIndependentForwardProgress = true,
.isIntegratedDevice = true,
.supportsMediaBlock = false,
.fusedEuEnabled = false,
.l0DebuggerSupported = true,
.supportsFloatAtomics = true,
.cxlType = 0};
void PTL::setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo, const ReleaseHelper &releaseHelper) {
setupDefaultFeatureTableAndWorkaroundTable(hwInfo, releaseHelper);

View File

@@ -32,7 +32,7 @@ const PLATFORM PVC::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable PVC::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = false, .useNonDefault = false, .useRootDevice = true}},
{aub_stream::ENGINE_CCS1, {.engineSupported = true, .submitOnInit = false, .useNonDefault = true, .useRootDevice = true}},
{aub_stream::ENGINE_CCS2, {.engineSupported = true, .submitOnInit = false, .useNonDefault = true, .useRootDevice = true}},
@@ -47,42 +47,41 @@ const RuntimeCapabilityTable PVC::capabilityTable{
{aub_stream::ENGINE_BCS7, {.engineSupported = true, .submitOnInit = false, .useNonDefault = true, .useRootDevice = true}},
{aub_stream::ENGINE_BCS8, {.engineSupported = true, .submitOnInit = false, .useNonDefault = true, .useRootDevice = true}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
maxNBitValue(57), // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::ThreadGroup, // defaultPreemptionMode
aub_stream::ENGINE_CCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
0, // extraQuantityThreadsPerEU
128, // maxProgrammableSlmSize
sizeof(PVC::GRF), // grfSize
36u, // timestampValidBits
32u, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
true, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
true, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
false, // supportCacheFlushAfterWalker
false, // supportsImages
true, // supportsOcl21Features
true, // supportsOnDemandPageFaults
true, // supportsIndependentForwardProgress
false, // isIntegratedDevice
false, // supportsMediaBlock
false, // fusedEuEnabled
true, // l0DebuggerSupported;
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = maxNBitValue(57),
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::ThreadGroup,
.defaultEngineType = aub_stream::ENGINE_CCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 0,
.maxProgrammableSlmSize = 128,
.grfSize = sizeof(PVC::GRF),
.timestampValidBits = 36u,
.kernelTimestampValidBits = 32u,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = true,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = true,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = false,
.supportsImages = false,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = true,
.supportsIndependentForwardProgress = true,
.isIntegratedDevice = false,
.supportsMediaBlock = false,
.fusedEuEnabled = false,
.l0DebuggerSupported = true,
.supportsFloatAtomics = true,
.cxlType = 0};
void PVC::setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo, const ReleaseHelper &releaseHelper) {
setupDefaultFeatureTableAndWorkaroundTable(hwInfo, releaseHelper);

View File

@@ -29,45 +29,44 @@ const PLATFORM ARL::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable ARL::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = false, .useNonDefault = false, .useRootDevice = true}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max48BitAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::ThreadGroup, // defaultPreemptionMode
aub_stream::ENGINE_CCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
0, // extraQuantityThreadsPerEU
64, // maxProgrammableSlmSize
sizeof(ARL::GRF), // grfSize
36u, // timestampValidBits
32u, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
true, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
true, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
true, // supportCacheFlushAfterWalker
true, // supportsImages
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
true, // isIntegratedDevice
true, // supportsMediaBlock
true, // fusedEuEnabled
true, // l0DebuggerSupported
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max48BitAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::ThreadGroup,
.defaultEngineType = aub_stream::ENGINE_CCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 0,
.maxProgrammableSlmSize = 64,
.grfSize = sizeof(ARL::GRF),
.timestampValidBits = 36u,
.kernelTimestampValidBits = 32u,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = true,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = true,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = true,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = false,
.supportsIndependentForwardProgress = false,
.isIntegratedDevice = true,
.supportsMediaBlock = true,
.fusedEuEnabled = true,
.l0DebuggerSupported = true,
.supportsFloatAtomics = true,
.cxlType = 0};
WorkaroundTable ARL::workaroundTable = {};
FeatureTable ARL::featureTable = {};

View File

@@ -30,7 +30,7 @@ const PLATFORM DG2::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable DG2::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_RCS, {.engineSupported = false, .submitOnInit = false, .useNonDefault = false, .useRootDevice = false}},
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = false, .useNonDefault = false, .useRootDevice = true}},
{aub_stream::ENGINE_CCS1, {.engineSupported = true, .submitOnInit = false, .useNonDefault = true, .useRootDevice = true}},
@@ -38,42 +38,41 @@ const RuntimeCapabilityTable DG2::capabilityTable{
{aub_stream::ENGINE_CCS3, {.engineSupported = true, .submitOnInit = false, .useNonDefault = true, .useRootDevice = true}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max48BitAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::ThreadGroup, // defaultPreemptionMode
aub_stream::ENGINE_CCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
0, // extraQuantityThreadsPerEU
64, // maxProgrammableSlmSize
sizeof(DG2::GRF), // grfSize
36u, // timestampValidBits
32u, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
false, // ftrSupportsFP64
true, // ftrSupportsFP64Emulation
true, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
true, // supportCacheFlushAfterWalker
true, // supportsImages
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
false, // isIntegratedDevice
true, // supportsMediaBlock
true, // fusedEuEnabled
true, // l0DebuggerSupported
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max48BitAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::ThreadGroup,
.defaultEngineType = aub_stream::ENGINE_CCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 0,
.maxProgrammableSlmSize = 64,
.grfSize = sizeof(DG2::GRF),
.timestampValidBits = 36u,
.kernelTimestampValidBits = 32u,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = false,
.ftrSupportsFP64Emulation = true,
.ftrSupports64BitMath = true,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = true,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = false,
.supportsIndependentForwardProgress = false,
.isIntegratedDevice = false,
.supportsMediaBlock = true,
.fusedEuEnabled = true,
.l0DebuggerSupported = true,
.supportsFloatAtomics = true,
.cxlType = 0};
WorkaroundTable DG2::workaroundTable = {};
FeatureTable DG2::featureTable = {};

View File

@@ -30,46 +30,45 @@ const PLATFORM MTL::platform = {
GTTYPE_UNDEFINED};
const RuntimeCapabilityTable MTL::capabilityTable{
makeDirectSubmissionPropertiesPerEngine({
.directSubmissionEngines = makeDirectSubmissionPropertiesPerEngine({
{aub_stream::ENGINE_CCS, {.engineSupported = true, .submitOnInit = false, .useNonDefault = false, .useRootDevice = true}},
}),
{0, 0, 0, 0, false, false, false, false}, // kmdNotifyProperties
MemoryConstants::max48BitAddress, // gpuAddressSpace
0, // sharedSystemMemCapabilities
MemoryConstants::pageSize, // requiredPreemptionSurfaceSize
"", // deviceName
nullptr, // preferredPlatformName
PreemptionMode::ThreadGroup, // defaultPreemptionMode
aub_stream::ENGINE_CCS, // defaultEngineType
0, // maxRenderFrequency
30, // clVersionSupport
0, // extraQuantityThreadsPerEU
64, // maxProgrammableSlmSize
sizeof(MTL::GRF), // grfSize
36u, // timestampValidBits
32u, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
true, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
true, // ftrSupports64BitMath
false, // ftrSupportsCoherency
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // instrumentationEnabled
true, // supportCacheFlushAfterWalker
true, // supportsImages
true, // supportsOcl21Features
false, // supportsOnDemandPageFaults
false, // supportsIndependentForwardProgress
true, // isIntegratedDevice
true, // supportsMediaBlock
true, // fusedEuEnabled
true, // l0DebuggerSupported
true, // supportsFloatAtomics
0 // cxlType
};
.kmdNotifyProperties = {0, 0, 0, 0, false, false, false, false},
.gpuAddressSpace = MemoryConstants::max48BitAddress,
.sharedSystemMemCapabilities = 0,
.requiredPreemptionSurfaceSize = MemoryConstants::pageSize,
.deviceName = "",
.preferredPlatformName = nullptr,
.defaultPreemptionMode = PreemptionMode::ThreadGroup,
.defaultEngineType = aub_stream::ENGINE_CCS,
.maxRenderFrequency = 0,
.clVersionSupport = 30,
.extraQuantityThreadsPerEU = 0,
.maxProgrammableSlmSize = 64,
.grfSize = sizeof(MTL::GRF),
.timestampValidBits = 36u,
.kernelTimestampValidBits = 32u,
.blitterOperationsSupported = false,
.ftrSupportsInteger64BitAtomics = true,
.ftrSupportsFP64 = true,
.ftrSupportsFP64Emulation = false,
.ftrSupports64BitMath = true,
.ftrSupportsCoherency = false,
.ftrRenderCompressedBuffers = false,
.ftrRenderCompressedImages = false,
.instrumentationEnabled = true,
.supportCacheFlushAfterWalker = true,
.supportsImages = true,
.supportsOcl21Features = true,
.supportsOnDemandPageFaults = false,
.supportsIndependentForwardProgress = false,
.isIntegratedDevice = true,
.supportsMediaBlock = true,
.fusedEuEnabled = true,
.l0DebuggerSupported = true,
.supportsFloatAtomics = true,
.cxlType = 0};
WorkaroundTable MTL::workaroundTable = {};
FeatureTable MTL::featureTable = {};