Debugger support in L0 fixes

Related-To: NEO-4404

Change-Id: I733b3018606b243989d9ba382da9d06bedbae799
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2020-03-16 13:34:33 +01:00
committed by sys_ocldev
parent f841771634
commit 1444d98575
13 changed files with 92 additions and 14 deletions

View File

@@ -7,6 +7,7 @@
#include "shared/source/source_level_debugger/source_level_debugger.h"
#include "shared/test/unit_test/helpers/debug_manager_state_restore.h"
#include "shared/test/unit_test/mocks/mock_os_library.h"
#include "opencl/source/platform/platform.h"
#include "opencl/test/unit_test/fixtures/device_fixture.h"
@@ -18,16 +19,6 @@
using PreambleTest = ::testing::Test;
using namespace NEO;
class MockOsLibrary : public OsLibrary {
public:
void *getProcAddress(const std::string &procName) override {
return nullptr;
}
bool isLoaded() override {
return false;
}
};
class MockDeviceWithDebuggerActive : public MockDevice {
public:
MockDeviceWithDebuggerActive(ExecutionEnvironment *executionEnvironment, uint32_t deviceIndex) : MockDevice(executionEnvironment, deviceIndex) {}