mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Added Fabric RAS error support
fabric error counts are read from sysfs nodes Related-To: LOCI-2613 Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
bba301015a
commit
feae44bce8
@ -105,7 +105,7 @@ class SysfsAccess : protected FsAccess {
|
||||
ze_result_t write(const std::string file, std::vector<std::string> val);
|
||||
|
||||
MOCKABLE_VIRTUAL ze_result_t scanDirEntries(const std::string path, std::vector<std::string> &list);
|
||||
ze_result_t readSymLink(const std::string path, std::string &buf) override;
|
||||
MOCKABLE_VIRTUAL ze_result_t readSymLink(const std::string path, std::string &buf) override;
|
||||
ze_result_t getRealPath(const std::string path, std::string &buf) override;
|
||||
MOCKABLE_VIRTUAL ze_result_t bindDevice(const std::string device);
|
||||
MOCKABLE_VIRTUAL ze_result_t unbindDevice(const std::string device);
|
||||
|
@ -12,4 +12,5 @@ if(UNIX)
|
||||
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}mock_fs_ras.h
|
||||
)
|
||||
endif()
|
||||
add_subdirectories()
|
||||
|
||||
|
Reference in New Issue
Block a user