@@ -99,7 +99,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, ParentKernelCommandQueueFixture, givenLockedEMcritca
9999
100100 size_t minSizeSSHForEM = HardwareCommandsHelper<FamilyType>::getSshSizeForExecutionModel (*parentKernel);
101101
102- auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER});
102+ auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER, device-> getDeviceBitfield () });
103103 auto blockedCommandData = std::make_unique<KernelOperation>(new LinearStream (cmdStreamAllocation),
104104 *pCmdQ->getGpgpuCommandStreamReceiver ().getInternalAllocationStorage ());
105105 blockedCommandData->setHeaps (dsh, ioh, ssh);
@@ -157,7 +157,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, ParentKernelCommandQueueFixture, givenParentKernelWh
157157 uint32_t colorCalcSizeDevQueue = DeviceQueue::colorCalcStateSize;
158158 EXPECT_EQ (colorCalcSizeDevQueue, usedDSHBeforeSubmit);
159159
160- auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER});
160+ auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER, device-> getDeviceBitfield () });
161161 auto blockedCommandData = std::make_unique<KernelOperation>(new LinearStream (cmdStreamAllocation),
162162 *pCmdQ->getGpgpuCommandStreamReceiver ().getInternalAllocationStorage ());
163163 blockedCommandData->setHeaps (dsh, ioh, ssh);
@@ -198,7 +198,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, ParentKernelCommandQueueFixture, givenParentKernelWh
198198
199199 dsh->getSpace (mockDevQueue.getDshOffset ());
200200
201- auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER});
201+ auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER, device-> getDeviceBitfield () });
202202 auto blockedCommandData = std::make_unique<KernelOperation>(new LinearStream (cmdStreamAllocation),
203203 *pCmdQ->getGpgpuCommandStreamReceiver ().getInternalAllocationStorage ());
204204 blockedCommandData->setHeaps (dsh, ioh, ssh);
@@ -236,7 +236,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, ParentKernelCommandQueueFixture, givenBlockedParentK
236236 pCmdQ->allocateHeapMemory (IndirectHeap::SURFACE_STATE, heapSize, ssh);
237237 dsh->getSpace (mockDevQueue.getDshOffset ());
238238
239- auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER});
239+ auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER, device-> getDeviceBitfield () });
240240 auto blockedCommandData = std::make_unique<KernelOperation>(new LinearStream (cmdStreamAllocation),
241241 *pCmdQ->getGpgpuCommandStreamReceiver ().getInternalAllocationStorage ());
242242 blockedCommandData->setHeaps (dsh, ioh, ssh);
@@ -277,7 +277,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, ParentKernelCommandQueueFixture, givenParentKernelWh
277277 pCmdQ->allocateHeapMemory (IndirectHeap::SURFACE_STATE, heapSize, ssh);
278278 dsh->getSpace (mockDevQueue.getDshOffset ());
279279
280- auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER});
280+ auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER, device-> getDeviceBitfield () });
281281 auto blockedCommandData = std::make_unique<KernelOperation>(new LinearStream (cmdStreamAllocation),
282282 *pCmdQ->getGpgpuCommandStreamReceiver ().getInternalAllocationStorage ());
283283 blockedCommandData->setHeaps (dsh, ioh, ssh);
@@ -330,7 +330,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, ParentKernelCommandQueueFixture, givenUsedCommandQue
330330 queueDsh.getSpace (usedSize);
331331 queueIoh.getSpace (usedSize);
332332
333- auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER});
333+ auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER, device-> getDeviceBitfield () });
334334 auto blockedCommandData = std::make_unique<KernelOperation>(new LinearStream (cmdStreamAllocation),
335335 *pCmdQ->getGpgpuCommandStreamReceiver ().getInternalAllocationStorage ());
336336 blockedCommandData->setHeaps (dsh, ioh, ssh);
@@ -378,7 +378,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, ParentKernelCommandQueueFixture, givenNotUsedSSHWhen
378378
379379 void *sshBuffer = pCmdQ->getIndirectHeap (IndirectHeap::SURFACE_STATE, 0u ).getCpuBase ();
380380
381- auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER});
381+ auto cmdStreamAllocation = device->getMemoryManager ()->allocateGraphicsMemoryWithProperties ({device->getRootDeviceIndex (), 4096 , GraphicsAllocation::AllocationType::COMMAND_BUFFER, device-> getDeviceBitfield () });
382382 auto blockedCommandData = std::make_unique<KernelOperation>(new LinearStream (cmdStreamAllocation),
383383 *pCmdQ->getGpgpuCommandStreamReceiver ().getInternalAllocationStorage ());
384384 blockedCommandData->setHeaps (dsh, ioh, ssh);
0 commit comments