mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
performance: Allocate by KMD on BMG
Related-To: NEO-10526 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b408326de6
commit
331fffaeea
@@ -30,6 +30,17 @@ std::optional<aub_stream::ProductFamily> ProductHelperHw<gfxProduct>::getAubStre
|
||||
return aub_stream::ProductFamily::Bmg;
|
||||
};
|
||||
|
||||
template <>
|
||||
std::optional<GfxMemoryAllocationMethod> ProductHelperHw<gfxProduct>::getPreferredAllocationMethod(AllocationType allocationType) const {
|
||||
switch (allocationType) {
|
||||
case AllocationType::tagBuffer:
|
||||
case AllocationType::timestampPacketTagBuffer:
|
||||
return {};
|
||||
default:
|
||||
return GfxMemoryAllocationMethod::allocateByKmd;
|
||||
}
|
||||
}
|
||||
|
||||
template <>
|
||||
void ProductHelperHw<gfxProduct>::adjustNumberOfCcs(HardwareInfo &hwInfo) const {
|
||||
hwInfo.gtSystemInfo.CCSInfo.NumberOfCCSEnabled = 1;
|
||||
|
||||
Reference in New Issue
Block a user