Skip to content

Commit 351af1d

Browse files
Correct tests: pass device bitfield to allocation properties [3/n]
Related-To: NEO-4722 Change-Id: Id1459e6a2ebd71e410193cfbdfa2cfa44edf3b1d Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
1 parent dd8c712 commit 351af1d

File tree

3 files changed

+63
-64
lines changed

3 files changed

+63
-64
lines changed

opencl/test/unit_test/libult/ult_command_stream_receiver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily>, publ
200200
createPerDssBackedBufferCalled++;
201201
bool result = BaseClass::createPerDssBackedBuffer(device);
202202
if (!perDssBackedBuffer) {
203-
AllocationProperties properties{device.getRootDeviceIndex(), MemoryConstants::pageSize, GraphicsAllocation::AllocationType::INTERNAL_HEAP};
203+
AllocationProperties properties{device.getRootDeviceIndex(), MemoryConstants::pageSize, GraphicsAllocation::AllocationType::INTERNAL_HEAP, device.getDeviceBitfield()};
204204
perDssBackedBuffer = executionEnvironment.memoryManager->allocateGraphicsMemoryWithProperties(properties);
205205
}
206206
return result;

0 commit comments

Comments
 (0)