Skip to content

Commit c872cad

Browse files
authored
[SYCL][Fusion][NFC] Comment fusion abortion on inter-fusion dependency (#12678)
Add comment stating event dependencies on any commands part of a different active fusion leads to the abortion of that fusion. --------- Signed-off-by: Victor Perez <[email protected]>
1 parent 0c48d9c commit c872cad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/source/detail/scheduler/graph_builder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,8 +966,8 @@ Scheduler::GraphBuildResult Scheduler::GraphBuilder::addCG(
966966
++Ev;
967967
continue;
968968
}
969-
// Handle event dependencies on any commands part of another active
970-
// fusion.
969+
// Event dependencies on commands part of another active fusion are
970+
// handled by cancelling fusion in that other queue.
971971
if (EvDepCmd->getQueue() != Queue && isPartOfActiveFusion(EvDepCmd)) {
972972
printFusionWarning(
973973
"Aborting fusion because of event dependency from a "

0 commit comments

Comments
 (0)