mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
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:
committed by
Compute-Runtime-Automation
parent
3ead7f6ac9
commit
4647564cc9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user