Files
compute-runtime/level_zero/sysman/source/ecc/sysman_ecc.h
shubham kumar 501c8e87d7 fix: rename files under sysman to make them unique
Related-To: LOCI-4383

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2023-05-30 10:23:15 +02:00

27 lines
636 B
C++

/*
* Copyright (C) 2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <level_zero/zes_api.h>
namespace L0 {
namespace Sysman {
class Ecc {
public:
virtual ~Ecc() = default;
virtual ze_result_t deviceEccAvailable(ze_bool_t *pAvailable) = 0;
virtual ze_result_t deviceEccConfigurable(ze_bool_t *pConfigurable) = 0;
virtual ze_result_t getEccState(zes_device_ecc_properties_t *pState) = 0;
virtual ze_result_t setEccState(const zes_device_ecc_desc_t *newState, zes_device_ecc_properties_t *pState) = 0;
virtual void init() = 0;
};
} // namespace Sysman
} // namespace L0