Files
compute-runtime/shared/source/debugger/debugger.h
Mateusz Hoppe a77f1de8a1 Track StateBaseAddresses from cmdQ and cmdList
Related-To: NEO-4637

Change-Id: Ia4b187df5f28fadf032ff24acb7ab32b05d0d261
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-30 15:09:53 +02:00

28 lines
627 B
C++

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <memory>
namespace NEO {
struct HardwareInfo;
class CommandContainer;
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; }
virtual void captureStateBaseAddress(CommandContainer &container) = 0;
void *getDebugSurfaceReservedSurfaceState(IndirectHeap &ssh);
protected:
bool isLegacyMode = true;
};
} // namespace NEO