Files
compute-runtime/level_zero/tools/source/sysman/os_sysman_driver.h
Bellekallu Rajkiran 2282f26734 feature(sysman): Support events for multiple devices
Related-To: LOCI-3683

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-03-07 09:50:32 +01:00

20 lines
433 B
C++

/*
* Copyright (C) 2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "level_zero/zes_api.h"
namespace L0 {
struct OsSysmanDriver {
virtual ~OsSysmanDriver(){};
virtual ze_result_t eventsListen(uint64_t timeout, uint32_t count, zes_device_handle_t *phDevices, uint32_t *pNumDeviceEvents, zes_event_type_flags_t *pEvents) = 0;
static OsSysmanDriver *create();
};
} // namespace L0