fix: Set init zero flag for preemption buffer

Related-To: HSD-16028003349
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2025-10-08 12:28:37 +00:00
committed by Compute-Runtime-Automation
parent 6d6715bebf
commit 298fcb868b
7 changed files with 38 additions and 0 deletions

View File

@@ -269,6 +269,9 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation>, NEO::NonCopyableAn
allocationType == AllocationType::ringBuffer ||
allocationType == AllocationType::semaphoreBuffer;
}
static bool isZeroInitRequired(AllocationType allocationType) {
return allocationType == AllocationType::preemption;
}
static uint32_t getNumHandlesForKmdSharedAllocation(uint32_t numBanks);