mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Add setter function to event class
Related-To: NEO-5244 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a56b413392
commit
3909bd0fea
@@ -46,6 +46,7 @@ struct Event : _ze_event_handle_t {
|
||||
virtual NEO::GraphicsAllocation &getAllocation();
|
||||
|
||||
void increasePacketsInUse() { packetsInUse++; }
|
||||
void setPacketsInUse(uint32_t newPacketsInUse) { packetsInUse = newPacketsInUse; }
|
||||
void resetPackets() { packetsInUse = 0; }
|
||||
uint64_t getGpuAddress() { return gpuAddress; }
|
||||
void *getHostAddress() { return hostAddress; }
|
||||
|
||||
Reference in New Issue
Block a user