From c872cadd132589f7c15d4f38a28193153ee85697 Mon Sep 17 00:00:00 2001 From: Victor Perez Date: Tue, 13 Feb 2024 09:24:05 +0100 Subject: [PATCH] [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 --- sycl/source/detail/scheduler/graph_builder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/source/detail/scheduler/graph_builder.cpp b/sycl/source/detail/scheduler/graph_builder.cpp index 5a26623ce4003..e9ed3f2bb6e4b 100644 --- a/sycl/source/detail/scheduler/graph_builder.cpp +++ b/sycl/source/detail/scheduler/graph_builder.cpp @@ -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 "