mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
- added dual handle support for RAS Correctable and Uncorrectable Errors. - added reset counter for RAS. - added Os Specific ULT for RAS Change-Id: Ia10115bf6720ab211f549571e810ec0d6c0801ec
25 lines
474 B
C++
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
|