Defer Sysman Temperature Module Initialization

With this change, init for sysman Temperature API would not be done
during zeInit.
Rather init and thereby Temperature API handle creation would be done
only when user explicitly requests to enumerate handles
using zesDeviceEnumTemperatureSensors.

Modification to temperature ULTs

Related-To: LOCI-3127

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
This commit is contained in:
Kulkarni, Ashwin Kumar
2022-07-05 09:17:40 +00:00
committed by Compute-Runtime-Automation
parent dbdae541c1
commit e58bc1ca86
7 changed files with 445 additions and 12 deletions

View File

@@ -103,9 +103,6 @@ ze_result_t SysmanDeviceImp::init() {
if (pFabricPortHandleContext) {
pFabricPortHandleContext->init();
}
if (pTempHandleContext) {
pTempHandleContext->init(deviceHandles);
}
if (pPci) {
pPci->init();
}