From 448788dba50d173fe5c4278654a505a09c893f9d Mon Sep 17 00:00:00 2001 From: Alexey Bader Date: Tue, 4 Feb 2020 11:04:56 +0300 Subject: [PATCH 1/2] [SYCL][NFC] Fix typos in the queue header comments Signed-off-by: Alexey Bader --- sycl/include/CL/sycl/queue.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sycl/include/CL/sycl/queue.hpp b/sycl/include/CL/sycl/queue.hpp index f27cb9bfec4ea..6b77099c50caa 100644 --- a/sycl/include/CL/sycl/queue.hpp +++ b/sycl/include/CL/sycl/queue.hpp @@ -89,7 +89,7 @@ class queue { queue(const context &SyclContext, const device_selector &DeviceSelector, const property_list &PropList = {}); - /// Constructs a SYCL queue instance with an asunc_handler that is associated + /// Constructs a SYCL queue instance with an async_handler that is associated /// with the context provided, using the device returned by the device /// selector. /// @@ -242,7 +242,7 @@ class queue { /// single_task version with a kernel represented as a lambda. /// - /// @param DepEvent is an event that specifies the kernel dependences + /// @param DepEvent is an event that specifies the kernel dependencies /// @param KernelFunc is the Kernel functor or lambda template event single_task(event DepEvent, KernelType KernelFunc) { @@ -254,7 +254,7 @@ class queue { /// single_task version with a kernel represented as a lambda. /// - /// @param DepEvents is a vector of events that specify the kernel dependences + /// @param DepEvents is a vector of events that specify the kernel dependencies /// @param KernelFunc is the Kernel functor or lambda template event single_task(const vector_class &DepEvents, @@ -283,7 +283,7 @@ class queue { /// specifies global size only. /// /// @param NumWorkItems is a range that specifies the work space of the kernel - /// @param DepEvent is an event that specifies the kernel dependences + /// @param DepEvent is an event that specifies the kernel dependencies /// @param KernelFunc is the Kernel functor or lambda template @@ -301,7 +301,7 @@ class queue { /// /// @param NumWorkItems is a range that specifies the work space of the kernel /// @param DepEvents is a vector of events that specifies the kernel - /// dependences + /// dependencies /// @param KernelFunc is the Kernel functor or lambda template @@ -336,7 +336,7 @@ class queue { /// /// @param NumWorkItems is a range that specifies the work space of the kernel /// @param WorkItemOffset specifies the offset for each work item id - /// @param DepEvent is an event that specifies the kernel dependences + /// @param DepEvent is an event that specifies the kernel dependencies /// @param KernelFunc is the Kernel functor or lambda template @@ -355,7 +355,7 @@ class queue { /// @param NumWorkItems is a range that specifies the work space of the kernel /// @param WorkItemOffset specifies the offset for each work item id /// @param DepEvents is a vector of events that specifies the kernel - /// dependences + /// dependencies /// @param KernelFunc is the Kernel functor or lambda template @@ -388,7 +388,7 @@ class queue { /// /// @param ExecutionRange is a range that specifies the work space of the /// kernel - /// @param DepEvent is an event that specifies the kernel dependences + /// @param DepEvent is an event that specifies the kernel dependencies /// @param KernelFunc is the Kernel functor or lambda template @@ -407,7 +407,7 @@ class queue { /// @param ExecutionRange is a range that specifies the work space of the /// kernel /// @param DepEvents is a vector of events that specifies the kernel - /// dependences + /// dependencies /// @param KernelFunc is the Kernel functor or lambda template From ebe2015f72e9833256e6ef013d7e25cd79c5d4e0 Mon Sep 17 00:00:00 2001 From: Alexey Bader Date: Tue, 4 Feb 2020 12:39:26 +0300 Subject: [PATCH 2/2] Apply suggestion from Sergey Signed-off-by: Alexey Bader --- sycl/include/CL/sycl/queue.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sycl/include/CL/sycl/queue.hpp b/sycl/include/CL/sycl/queue.hpp index 6b77099c50caa..83a26b18389da 100644 --- a/sycl/include/CL/sycl/queue.hpp +++ b/sycl/include/CL/sycl/queue.hpp @@ -254,7 +254,8 @@ class queue { /// single_task version with a kernel represented as a lambda. /// - /// @param DepEvents is a vector of events that specify the kernel dependencies + /// @param DepEvents is a vector of events that specifies the kernel + /// dependencies /// @param KernelFunc is the Kernel functor or lambda template event single_task(const vector_class &DepEvents,