mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
fix: create and use new allocation type for syncBuffer
Related-To: NEO-11533 Related-To: HSD-18039788811 Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d11d61d229
commit
38e1614f4a
@@ -32,7 +32,7 @@ void SyncBufferHandler::makeResident(CommandStreamReceiver &csr) {
|
||||
|
||||
void SyncBufferHandler::allocateNewBuffer() {
|
||||
AllocationProperties allocationProperties{device.getRootDeviceIndex(), true, bufferSize,
|
||||
AllocationType::linearStream,
|
||||
AllocationType::syncBuffer,
|
||||
(device.getNumGenericSubDevices() > 1u), /* multiOsContextCapable */
|
||||
false, device.getDeviceBitfield()};
|
||||
graphicsAllocation = memoryManager.allocateGraphicsMemoryWithProperties(allocationProperties);
|
||||
|
||||
Reference in New Issue
Block a user