[Sysman] Updated Engine module to support zesInit

Related-To: LOCI-4138

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This commit is contained in:
Joshua Santosh Ranjan
2023-03-14 06:07:21 +00:00
committed by Compute-Runtime-Automation
parent 151aecc8bd
commit 18be91cbde
26 changed files with 1706 additions and 8 deletions

View File

@@ -51,5 +51,10 @@ ze_result_t SysmanDevice::powerGetCardDomain(zes_device_handle_t hDevice, zes_pw
return pSysmanDevice->powerGetCardDomain(phPower);
}
ze_result_t SysmanDevice::engineGet(zes_device_handle_t hDevice, uint32_t *pCount, zes_engine_handle_t *phEngine) {
auto pSysmanDevice = L0::Sysman::SysmanDevice::fromHandle(hDevice);
return pSysmanDevice->engineGet(pCount, phEngine);
}
} // namespace Sysman
} // namespace L0