mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 11:03:02 +08:00
Change subDeviceIndex to subDevicesBitfield in allocation properties
Related-To: NEO-3691 Change-Id: I11d235107bf9b4cee75b910c114795b5df76d9c7 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
ecc54edbb3
commit
ab2134ae8f
@@ -43,7 +43,7 @@ void SyncBufferHandler::prepareForEnqueue(size_t workGroupsCount, Kernel &kernel
|
||||
void SyncBufferHandler::allocateNewBuffer() {
|
||||
AllocationProperties allocationProperties{device.getRootDeviceIndex(), true, bufferSize,
|
||||
GraphicsAllocation::AllocationType::LINEAR_STREAM,
|
||||
false, false, static_cast<uint32_t>(device.getDeviceBitfield().to_ulong())};
|
||||
false, false, device.getDeviceBitfield()};
|
||||
graphicsAllocation = memoryManager.allocateGraphicsMemoryWithProperties(allocationProperties);
|
||||
UNRECOVERABLE_IF(graphicsAllocation == nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user