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);