mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Add debug flag to control ISA allocation padding
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8e98b586ed
commit
d2462ff8fb
@@ -167,7 +167,10 @@ uint32_t HwHelperHw<Family>::getMaxNumSamplers() const {
|
||||
|
||||
template <>
|
||||
size_t HwHelperHw<Family>::getPaddingForISAAllocation() const {
|
||||
return 3584;
|
||||
if (DebugManager.flags.ForceExtendedKernelIsaSize.get() >= 1) {
|
||||
return 0xE00 + (MemoryConstants::pageSize * DebugManager.flags.ForceExtendedKernelIsaSize.get());
|
||||
}
|
||||
return 0xE00;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
||||
Reference in New Issue
Block a user