Skip to content

Commit

Permalink
[SYCL][Fusion][NFC] Comment fusion abortion on inter-fusion dependency (
Browse files Browse the repository at this point in the history
intel#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 <victor.perez@codeplay.com>
  • Loading branch information
victor-eds committed Feb 13, 2024
1 parent 0c48d9c commit c872cad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/source/detail/scheduler/graph_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -966,8 +966,8 @@ Scheduler::GraphBuildResult Scheduler::GraphBuilder::addCG(
++Ev;
continue;
}
// Handle event dependencies on any commands part of another active
// fusion.
// Event dependencies on commands part of another active fusion are
// handled by cancelling fusion in that other queue.
if (EvDepCmd->getQueue() != Queue && isPartOfActiveFusion(EvDepCmd)) {
printFusionWarning(
"Aborting fusion because of event dependency from a "
Expand Down

0 comments on commit c872cad

Please sign in to comment.