mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
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:
committed by
sys_ocldev
parent
f841771634
commit
1444d98575
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user