L0Debug - Enable attaching to Root or Subdevices

- enable tile attach mode by default
- both root device and subdevice may be attached to

Related-To: NEO-7347

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2022-09-23 14:56:32 +00:00
committed by Compute-Runtime-Automation
parent 57d35c8932
commit 7ff258fc92
24 changed files with 389 additions and 111 deletions

View File

@@ -100,7 +100,7 @@ struct Device : _ze_device_handle_t {
virtual uint32_t getPlatformInfo() const = 0;
virtual MetricDeviceContext &getMetricDeviceContext() = 0;
virtual DebugSession *getDebugSession(const zet_debug_config_t &config) = 0;
virtual DebugSession *createDebugSession(const zet_debug_config_t &config, ze_result_t &result) = 0;
virtual DebugSession *createDebugSession(const zet_debug_config_t &config, ze_result_t &result, bool isRootAttach) = 0;
virtual void removeDebugSession() = 0;
virtual ze_result_t activateMetricGroupsDeferred(uint32_t count,