feature: initial support of zexCounterBasedEventCreate

Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2024-01-12 10:26:36 +00:00
committed by Compute-Runtime-Automation
parent d1061cd923
commit d8f8b70dd7
3 changed files with 48 additions and 2 deletions

View File

@@ -422,7 +422,9 @@ void EventImp<TagSizeT>::copyDataToEventAlloc(void *dstHostAddr, uint64_t dstGpu
template <typename TagSizeT>
ze_result_t EventImp<TagSizeT>::hostEventSetValue(TagSizeT eventVal) {
UNRECOVERABLE_IF(hostAddress == nullptr);
if (!hostAddress) {
return ZE_RESULT_ERROR_INVALID_NULL_POINTER;
}
if (isEventTimestampFlagSet()) {
return hostEventSetValueTimestamps(eventVal);