mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
Related-To: NEO-4713 Change-Id: I9d10019bbe6e8514ce10bdd729a64ea233bf91b0 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
22 lines
440 B
C++
22 lines
440 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <memory>
|
|
namespace NEO {
|
|
struct HardwareInfo;
|
|
class Debugger {
|
|
public:
|
|
static std::unique_ptr<Debugger> create(HardwareInfo *hwInfo);
|
|
virtual ~Debugger() = default;
|
|
virtual bool isDebuggerActive() = 0;
|
|
bool isLegacy() const { return isLegacyMode; }
|
|
|
|
protected:
|
|
bool isLegacyMode = true;
|
|
};
|
|
} // namespace NEO
|