mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

With this change we are adding support for initializing Sysman and also providing support to get Sysman driver handles and device handles. Related-To: LOCI-3950 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
28 lines
441 B
C++
28 lines
441 B
C++
/*
|
|
* Copyright (C) 2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <level_zero/zes_api.h>
|
|
|
|
#include <vector>
|
|
|
|
namespace L0 {
|
|
namespace Sysman {
|
|
|
|
struct SysmanDeviceImp;
|
|
|
|
struct OsSysman {
|
|
virtual ~OsSysman(){};
|
|
|
|
virtual ze_result_t init() = 0;
|
|
static OsSysman *create(SysmanDeviceImp *pSysmanImp);
|
|
virtual uint32_t getSubDeviceCount() = 0;
|
|
};
|
|
|
|
} // namespace Sysman
|
|
} // namespace L0
|