performance: allow non cb events address extraction

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
Michal Mrozek
2024-06-27 15:27:00 +00:00
committed by Compute-Runtime-Automation
parent 40612e93d3
commit ef37b140de
3 changed files with 26 additions and 4 deletions

View File

@@ -121,6 +121,7 @@ struct Event : _ze_event_handle_t {
MOCKABLE_VIRTUAL NEO::GraphicsAllocation *getPoolAllocation(Device *device) const;
void setEventPool(EventPool *eventPool) { this->eventPool = eventPool; }
EventPool *peekEventPool() { return this->eventPool; }
MOCKABLE_VIRTUAL uint64_t getGpuAddress(Device *device) const;
virtual uint32_t getPacketsInUse() const = 0;