Files
compute-runtime/shared/test/common/mocks/mock_debugger.h
Mateusz Hoppe cb152ba821 fix: copy sip binary to allocation based on blitRequired query
- readOnly ISA allocations must be written through CPU pointer
- command buffer allocation in singleAddressSpaceSbaTracking mode cannot
be readonly - it is written by SBA tracking commands
- this change is fixing ZET_ENABLE_PROGRAM_DEBUGGING mode 2

Related-To: GSD-10359

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-06-30 19:41:19 +02:00

28 lines
709 B
C++

/*
* Copyright (C) 2021-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/debugger/debugger.h"
namespace NEO {
class CommandContainer;
class MockDebugger : public Debugger {
public:
MockDebugger() = default;
~MockDebugger() override = default;
void captureStateBaseAddress(NEO::LinearStream &cmdStream, SbaAddresses sba, bool useFirstLevelBB) override{};
size_t getSbaTrackingCommandsSize(size_t trackedAddressCount) override {
return 0;
}
bool getSingleAddressSpaceSbaTracking() const override {
return singleAddressSpaceSbaTracking;
}
bool singleAddressSpaceSbaTracking = false;
};
} // namespace NEO