From 172bf908a6e93f63693b01523c5e9d8ae94d5e76 Mon Sep 17 00:00:00 2001 From: "Tikhomirova, Kseniya" Date: Tue, 17 Sep 2024 07:48:08 -0700 Subject: [PATCH] [NFC][SYCL] Remove dead code from queue_impl.hpp Signed-off-by: Tikhomirova, Kseniya --- sycl/source/detail/queue_impl.hpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sycl/source/detail/queue_impl.hpp b/sycl/source/detail/queue_impl.hpp index a67fdb5e19102..e943c7afe4198 100644 --- a/sycl/source/detail/queue_impl.hpp +++ b/sycl/source/detail/queue_impl.hpp @@ -689,15 +689,9 @@ class queue_impl { std::vector &MutableVec, std::unique_lock &QueueLock); - // Helps to manage host tasks presence in scenario with barrier usage. - // Approach that tracks almost all tasks to provide barrier sync for both ur - // tasks and host tasks is applicable for out of order queues only. No-op - // for in order ones. - void tryToResetEnqueuedBarrierDep(const EventImplPtr &EnqueuedBarrierEvent); - // Called on host task completion that could block some kernels from enqueue. // Approach that tracks almost all tasks to provide barrier sync for both ur - // tasks and host tasks is applicable for out of order queues only. Not neede + // tasks and host tasks is applicable for out of order queues only. Not needed // for in order ones. void revisitUnenqueuedCommandsState(const EventImplPtr &CompletedHostTask);