mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
Change-Id: I1419231a721fab210e166d26a264cae04d661dcd Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com> Signed-off-by: macabral <matias.a.cabral@intel.com> Signed-off-by: davidoli <david.olien@intel.com> Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com> Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com> Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com> Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
32 lines
835 B
C++
32 lines
835 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "shared/source/helpers/non_copyable_or_moveable.h"
|
|
|
|
#include "level_zero/tools/source/sysman/engine/engine.h"
|
|
#include "level_zero/tools/source/sysman/engine/os_engine.h"
|
|
#include <level_zero/zes_api.h>
|
|
namespace L0 {
|
|
class EngineImp : public Engine, NEO::NonCopyableOrMovableClass {
|
|
public:
|
|
ze_result_t engineGetProperties(zes_engine_properties_t *pProperties) override;
|
|
ze_result_t engineGetActivity(zes_engine_stats_t *pStats) override;
|
|
|
|
EngineImp() = default;
|
|
EngineImp(OsSysman *pOsSysman, zes_engine_group_t type);
|
|
~EngineImp() override;
|
|
|
|
OsEngine *pOsEngine = nullptr;
|
|
void init(zes_engine_group_t type);
|
|
|
|
private:
|
|
zes_engine_properties_t engineProperties = {};
|
|
};
|
|
} // namespace L0
|