mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
6d6715bebf
commit
298fcb868b
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user