mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
refactor: Make ras Util class non copyable or movable
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f2d5e73f72
commit
88534f1f3c
@@ -7,6 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "shared/source/helpers/non_copyable_or_moveable.h"
|
||||
|
||||
#include "level_zero/sysman/source/sysman_const.h"
|
||||
#include <level_zero/zes_api.h>
|
||||
|
||||
@@ -31,7 +33,7 @@ enum class RasInterfaceType {
|
||||
NONE,
|
||||
};
|
||||
|
||||
class RasUtil {
|
||||
class RasUtil : public NEO::NonCopyableOrMovableClass {
|
||||
public:
|
||||
RasUtil() = default;
|
||||
static std::unique_ptr<RasUtil> create(RasInterfaceType rasInterface, LinuxSysmanImp *pLinuxSysmanImp, zes_ras_error_type_t type, ze_bool_t onSubdevice, uint32_t subdeviceId);
|
||||
|
||||
Reference in New Issue
Block a user