performance: enable ULLS on copy engine for BMG

Related-To: NEO-12477

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2024-11-07 17:34:26 +00:00
committed by Compute-Runtime-Automation
parent dab4166837
commit d8ac8641e5
2 changed files with 51 additions and 49 deletions

View File

@@ -35,55 +35,56 @@ const PLATFORM BMG::platform = {
const RuntimeCapabilityTable BMG::capabilityTable{
EngineDirectSubmissionInitVec{
{aub_stream::ENGINE_CCS, {true, false, false, true}},
{aub_stream::ENGINE_CCS1, {true, false, true, true}}}, // directSubmissionEngines
{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
CmdServicesMemTraceVersion::DeviceValues::Bmg, // aubDeviceId
0, // extraQuantityThreadsPerEU
128, // slmSize
sizeof(BMG::GRF), // grfSize
64, // timestampValidBits
64, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
true, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
true, // ftrSupports64BitMath
true, // ftrSvm
false, // ftrSupportsCoherency
false, // ftrSupportsVmeAvcTextureSampler
false, // ftrSupportsVmeAvcPreemption
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // ftr64KBpages
true, // instrumentationEnabled
false, // supportsVme
false, // supportCacheFlushAfterWalker
true, // supportsImages
false, // supportsDeviceEnqueue
false, // supportsPipes
true, // supportsOcl21Features
true, // supportsOnDemandPageFaults
true, // supportsIndependentForwardProgress
false, // hostPtrTrackingEnabled
true, // levelZeroSupported
false, // isIntegratedDevice
false, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
false, // fusedEuEnabled
true, // l0DebuggerSupported;
true, // supportsFloatAtomics
0, // cxlType
2048 // syncNumRTStacksPerDSS
{aub_stream::ENGINE_CCS1, {true, false, true, true}},
{aub_stream::ENGINE_BCS, {true, false, true, true}}}, // directSubmissionEngines
{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
CmdServicesMemTraceVersion::DeviceValues::Bmg, // aubDeviceId
0, // extraQuantityThreadsPerEU
128, // slmSize
sizeof(BMG::GRF), // grfSize
64, // timestampValidBits
64, // kernelTimestampValidBits
false, // blitterOperationsSupported
true, // ftrSupportsInteger64BitAtomics
true, // ftrSupportsFP64
false, // ftrSupportsFP64Emulation
true, // ftrSupports64BitMath
true, // ftrSvm
false, // ftrSupportsCoherency
false, // ftrSupportsVmeAvcTextureSampler
false, // ftrSupportsVmeAvcPreemption
false, // ftrRenderCompressedBuffers
false, // ftrRenderCompressedImages
true, // ftr64KBpages
true, // instrumentationEnabled
false, // supportsVme
false, // supportCacheFlushAfterWalker
true, // supportsImages
false, // supportsDeviceEnqueue
false, // supportsPipes
true, // supportsOcl21Features
true, // supportsOnDemandPageFaults
true, // supportsIndependentForwardProgress
false, // hostPtrTrackingEnabled
true, // levelZeroSupported
false, // isIntegratedDevice
false, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
false, // fusedEuEnabled
true, // l0DebuggerSupported;
true, // supportsFloatAtomics
0, // cxlType
2048 // syncNumRTStacksPerDSS
};
void BMG::setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo) {

View File

@@ -100,6 +100,7 @@ BMGTEST_F(BmgHwInfoTest, whenCheckDirectSubmissionEnginesThenProperValuesAreSetT
EXPECT_FALSE(directSubmissionEngines.data[i].useLowPriority);
break;
case aub_stream::ENGINE_CCS1:
case aub_stream::ENGINE_BCS:
EXPECT_TRUE(directSubmissionEngines.data[i].engineSupported);
EXPECT_FALSE(directSubmissionEngines.data[i].submitOnInit);
EXPECT_TRUE(directSubmissionEngines.data[i].useNonDefault);