mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Cleanup includes 37
Cleaned up files: level_zero/core/source/event/event.h Related-To: NEO-5548 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4d359b5eef
commit
286c672ef4
@@ -15,6 +15,7 @@
|
||||
#include "shared/source/execution_environment/root_device_environment.h"
|
||||
#include "shared/source/helpers/aligned_memory.h"
|
||||
#include "shared/source/helpers/constants.h"
|
||||
#include "shared/source/helpers/hw_helper.h"
|
||||
#include "shared/source/helpers/string.h"
|
||||
#include "shared/source/memory_manager/allocation_properties.h"
|
||||
#include "shared/source/memory_manager/memory_manager.h"
|
||||
@@ -239,6 +240,15 @@ void Event::setGpuEndTimestamp() {
|
||||
}
|
||||
}
|
||||
|
||||
void *Event::getCompletionFieldHostAddress() const {
|
||||
return ptrOffset(getHostAddress(), getCompletionFieldOffset());
|
||||
}
|
||||
|
||||
void Event::increaseKernelCount() {
|
||||
kernelCount++;
|
||||
UNRECOVERABLE_IF(kernelCount > maxKernelCount);
|
||||
}
|
||||
|
||||
void Event::resetPackets(bool resetAllPackets) {
|
||||
if (resetAllPackets) {
|
||||
resetKernelCountAndPacketUsedCount();
|
||||
|
||||
Reference in New Issue
Block a user