Files
compute-runtime/level_zero/tools/source/sysman/ras/os_ras.h
Vilvaraj, T J Vivek 0c9c55cd17 add counter support for RAS.
- added dual handle support for RAS Correctable and Uncorrectable Errors.
- added reset counter for RAS.
- added Os Specific ULT for RAS

Change-Id: Ia10115bf6720ab211f549571e810ec0d6c0801ec
2020-06-25 08:48:11 +02:00

25 lines
474 B
C++

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <level_zero/zet_api.h>
namespace L0 {
struct OsSysman;
class OsRas {
public:
virtual ze_result_t getCounterValues(zet_ras_details_t *pDetails) = 0;
virtual bool isRasSupported(void) = 0;
virtual void setRasErrorType(zet_ras_error_type_t type) = 0;
static OsRas *create(OsSysman *pOsSysman);
virtual ~OsRas() = default;
};
} // namespace L0