Pass correct descriptor when creating pagefault cmdList

Related-To: NEO-4978

Change-Id: Ib6631407908ad3a86b8dc734e5f3f34bef636743
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2020-08-13 11:54:11 +02:00
committed by sys_ocldev
parent cb5ab704b6
commit 2990de538f
2 changed files with 24 additions and 1 deletions

View File

@@ -582,8 +582,11 @@ Device *Device::create(DriverHandle *driverHandle, NEO::Device *neoDevice, uint3
}
if (supportDualStorageSharedMemory) {
ze_command_queue_desc_t cmdQueueDesc;
ze_command_queue_desc_t cmdQueueDesc = {};
cmdQueueDesc.ordinal = 0;
cmdQueueDesc.index = 0;
cmdQueueDesc.flags = 0;
cmdQueueDesc.stype = ZE_STRUCTURE_TYPE_COMMAND_QUEUE_DESC;
cmdQueueDesc.mode = ZE_COMMAND_QUEUE_MODE_SYNCHRONOUS;
device->pageFaultCommandList =
CommandList::createImmediate(