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