mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Create L0 debugger object
Related-To: NEO-4713 Change-Id: I9d10019bbe6e8514ce10bdd729a64ea233bf91b0 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
3029db07c3
commit
68847ef942
@@ -106,10 +106,8 @@ struct Device : _ze_device_handle_t {
|
||||
virtual NEO::PreemptionMode getDevicePreemptionMode() const = 0;
|
||||
virtual const NEO::DeviceInfo &getDeviceInfo() const = 0;
|
||||
virtual NEO::Device *getNEODevice() = 0;
|
||||
NEO::SourceLevelDebugger *getSourceLevelDebugger() { return getNEODevice()->getSourceLevelDebugger(); }
|
||||
|
||||
NEO::SourceLevelDebugger *getSourceLevelDebugger() {
|
||||
return getNEODevice() ? reinterpret_cast<NEO::SourceLevelDebugger *>(getNEODevice()->getDebugger()) : nullptr;
|
||||
}
|
||||
virtual NEO::GraphicsAllocation *getDebugSurface() const = 0;
|
||||
|
||||
virtual NEO::GraphicsAllocation *allocateManagedMemoryFromHostPtr(void *buffer,
|
||||
|
||||
Reference in New Issue
Block a user