mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
- 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>
28 lines
709 B
C++
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
|