Files
compute-runtime/level_zero/tools/source/sysman/engine/engine_imp.h
Bill Jordan e8bd440773 Don't allow copy or moving Sysman related objects.
Change-Id: I70dd97bffa1c4d08f05eb796c6d6a2eb66f06f4b
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-10 21:05:15 +02:00

32 lines
787 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/zet_api.h>
namespace L0 {
class EngineImp : public Engine, NEO::NonCopyableOrMovableClass {
public:
ze_result_t engineGetProperties(zet_engine_properties_t *pProperties) override;
ze_result_t engineGetActivity(zet_engine_stats_t *pStats) override;
EngineImp() = default;
EngineImp(OsSysman *pOsSysman);
~EngineImp() override;
OsEngine *pOsEngine = nullptr;
void init();
private:
zet_engine_properties_t engineProperties = {};
};
} // namespace L0