mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
feature: add heapless and global stateless scratch address patching
Related-To: NEO-10381 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
78885ae1fe
commit
73d558058c
@@ -303,7 +303,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushImmediateTask(
|
||||
flushData.stateComputeModeFullConfigurationNeeded = getStateComputeModeDirty();
|
||||
flushData.stateBaseAddressFullConfigurationNeeded = getGSBAStateDirty();
|
||||
|
||||
if (dispatchFlags.sshCpuBase != nullptr && (this->requiredScratchSlot0Size > 0 || this->requiredScratchSlot1Size > 0)) {
|
||||
if (!this->heaplessModeEnabled && dispatchFlags.sshCpuBase != nullptr && (this->requiredScratchSlot0Size > 0 || this->requiredScratchSlot1Size > 0)) {
|
||||
bool checkFeStateDirty = false;
|
||||
bool checkSbaStateDirty = false;
|
||||
scratchSpaceController->setRequiredScratchSpace(dispatchFlags.sshCpuBase,
|
||||
|
||||
Reference in New Issue
Block a user