feature(sysman): Added support for Temperature APIs

Added support for the Temperature APIs in the new sysman design.
Added ULTs for the Temperature APIs in the new sysman design.

Related-To: LOCI-4293

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
This commit is contained in:
Bari, Pratik
2023-04-14 15:41:53 +00:00
committed by Compute-Runtime-Automation
parent 3ead7f6ac9
commit 4647564cc9
23 changed files with 1254 additions and 9 deletions

View File

@@ -21,6 +21,7 @@
#include "level_zero/sysman/source/ras/ras.h"
#include "level_zero/sysman/source/scheduler/scheduler.h"
#include "level_zero/sysman/source/standby/standby.h"
#include "level_zero/sysman/source/temperature/temperature.h"
#include <level_zero/ze_api.h>
#include <level_zero/zes_api.h>
@@ -90,6 +91,9 @@ struct SysmanDevice : _ze_device_handle_t {
static ze_result_t deviceSetEccState(zes_device_handle_t hDevice, const zes_device_ecc_desc_t *newState, zes_device_ecc_properties_t *pState);
virtual ze_result_t deviceSetEccState(const zes_device_ecc_desc_t *newState, zes_device_ecc_properties_t *pState) = 0;
static ze_result_t temperatureGet(zes_device_handle_t hDevice, uint32_t *pCount, zes_temp_handle_t *phTemperature);
virtual ze_result_t temperatureGet(uint32_t *pCount, zes_temp_handle_t *phTemperature) = 0;
};
} // namespace Sysman