mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix: correct signaling of partitioned aggregated event
Related-To: NEO-14557 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d429f0d8a0
commit
636498c079
@@ -93,10 +93,10 @@ struct BcsSplit {
|
||||
uint64_t aggregatedEventIncrementVal = 1;
|
||||
|
||||
const bool useSignalEventForSubcopy = aggregatedEventsMode && cmdList->isUsingAdditionalBlitProperties() && Event::isAggregatedEvent(signalEvent) &&
|
||||
(signalEvent->getInOrderIncrementValue() % engineCount == 0);
|
||||
(signalEvent->getInOrderIncrementValue(1) % engineCount == 0);
|
||||
|
||||
if (useSignalEventForSubcopy) {
|
||||
aggregatedEventIncrementVal = signalEvent->getInOrderIncrementValue() / engineCount;
|
||||
aggregatedEventIncrementVal = signalEvent->getInOrderIncrementValue(1) / engineCount;
|
||||
} else {
|
||||
auto markerEventIndexRet = this->events.obtainForSplit(Context::fromHandle(cmdList->getCmdListContext()), maxEventCountInPool);
|
||||
if (!markerEventIndexRet.has_value()) {
|
||||
|
||||
Reference in New Issue
Block a user