mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
feature: make CB event initially signaled
Related-To: NEO-11378 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f10439aea2
commit
21114ddc03
@@ -220,7 +220,7 @@ void EventImp<TagSizeT>::assignKernelEventCompletionData(void *address) {
|
||||
template <typename TagSizeT>
|
||||
ze_result_t EventImp<TagSizeT>::queryCounterBasedEventStatus() {
|
||||
if (!this->inOrderExecInfo.get()) {
|
||||
return ZE_RESULT_NOT_READY;
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
auto waitValue = getInOrderExecSignalValueWithSubmissionCounter();
|
||||
@@ -520,7 +520,7 @@ ze_result_t EventImp<TagSizeT>::waitForUserFence(uint64_t timeout) {
|
||||
}
|
||||
|
||||
if (!inOrderExecInfo) {
|
||||
return ZE_RESULT_NOT_READY;
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
uint64_t waitAddress = castToUint64(ptrOffset(inOrderExecInfo->getBaseHostAddress(), this->inOrderAllocationOffset));
|
||||
|
||||
Reference in New Issue
Block a user