Correctly return numAsyncCopyEngines in Level Zero

Change-Id: I2dcd9b4ac8082239bfdc48ad7480a50347400ee6
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2020-04-09 15:36:44 -07:00
committed by sys_ocldev
parent 0ffa1f4314
commit 1126f6c677
2 changed files with 11 additions and 1 deletions

View File

@@ -330,7 +330,7 @@ ze_result_t DeviceImp::getProperties(ze_device_properties_t *pDeviceProperties)
pDeviceProperties->numAsyncComputeEngines = static_cast<uint32_t>(hwHelper.getGpgpuEngineInstances(hardwareInfo).size());
pDeviceProperties->numAsyncCopyEngines = 1;
pDeviceProperties->numAsyncCopyEngines = hardwareInfo.capabilityTable.blitterOperationsSupported ? 1 : 0;
pDeviceProperties->maxCommandQueuePriority = 0;