mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Correctly return numAsyncCopyEngines in Level Zero
Change-Id: I2dcd9b4ac8082239bfdc48ad7480a50347400ee6 Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
0ffa1f4314
commit
1126f6c677
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user