mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 19:32:25 +08:00
performance: prealloc internal heap on mtl
Preallocate 1 internal heap allocation per csr on mtl Related-To: NEO-8152 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9a3fea9849
commit
6562828095
@@ -798,6 +798,14 @@ uint32_t ProductHelperHw<gfxProduct>::getCommandBuffersPreallocatedPerCommandQue
|
||||
return 0u;
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
uint32_t ProductHelperHw<gfxProduct>::getInternalHeapsPreallocated() const {
|
||||
if (DebugManager.flags.SetAmountOfInternalHeapsToPreallocate.get() != -1) {
|
||||
return DebugManager.flags.SetAmountOfInternalHeapsToPreallocate.get();
|
||||
}
|
||||
return 0u;
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
bool ProductHelperHw<gfxProduct>::disableL3CacheForDebug(const HardwareInfo &) const {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user