mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
feature(sysman): Support events for multiple devices
Related-To: LOCI-3683 Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9acba4ea2a
commit
2282f26734
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -89,9 +89,12 @@ struct SysmanDevice : _ze_device_handle_t {
|
||||
virtual ze_result_t deviceGetEccState(zes_device_ecc_properties_t *pState) = 0;
|
||||
virtual ze_result_t deviceSetEccState(const zes_device_ecc_desc_t *newState, zes_device_ecc_properties_t *pState) = 0;
|
||||
virtual bool deviceEventListen(zes_event_type_flags_t &pEvent, uint64_t timeout) = 0;
|
||||
virtual OsSysman *deviceGetOsInterface() = 0;
|
||||
virtual ~SysmanDevice() = default;
|
||||
};
|
||||
|
||||
extern struct OsSysmanDriver *GlobalOsSysmanDriver;
|
||||
|
||||
class SysmanDeviceHandleContext {
|
||||
public:
|
||||
SysmanDeviceHandleContext() = delete;
|
||||
|
||||
Reference in New Issue
Block a user