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:
Mateusz Jablonski
2019-12-10 12:16:07 +01:00
committed by sys_ocldev
parent ecc54edbb3
commit ab2134ae8f
7 changed files with 24 additions and 16 deletions

View File

@@ -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);