Skip to content

Commit 0bac4da

Browse files
authored
[SYCL][NFC] Fix typos in the queue header comments (#1095)
Signed-off-by: Alexey Bader <alexey.bader@intel.com>
1 parent d8ea63a commit 0bac4da

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

sycl/include/CL/sycl/queue.hpp

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class queue {
8989
queue(const context &SyclContext, const device_selector &DeviceSelector,
9090
const property_list &PropList = {});
9191

92-
/// Constructs a SYCL queue instance with an asunc_handler that is associated
92+
/// Constructs a SYCL queue instance with an async_handler that is associated
9393
/// with the context provided, using the device returned by the device
9494
/// selector.
9595
///
@@ -242,7 +242,7 @@ class queue {
242242

243243
/// single_task version with a kernel represented as a lambda.
244244
///
245-
/// @param DepEvent is an event that specifies the kernel dependences
245+
/// @param DepEvent is an event that specifies the kernel dependencies
246246
/// @param KernelFunc is the Kernel functor or lambda
247247
template <typename KernelName = detail::auto_name, typename KernelType>
248248
event single_task(event DepEvent, KernelType KernelFunc) {
@@ -254,7 +254,8 @@ class queue {
254254

255255
/// single_task version with a kernel represented as a lambda.
256256
///
257-
/// @param DepEvents is a vector of events that specify the kernel dependences
257+
/// @param DepEvents is a vector of events that specifies the kernel
258+
/// dependencies
258259
/// @param KernelFunc is the Kernel functor or lambda
259260
template <typename KernelName = detail::auto_name, typename KernelType>
260261
event single_task(const vector_class<event> &DepEvents,
@@ -283,7 +284,7 @@ class queue {
283284
/// specifies global size only.
284285
///
285286
/// @param NumWorkItems is a range that specifies the work space of the kernel
286-
/// @param DepEvent is an event that specifies the kernel dependences
287+
/// @param DepEvent is an event that specifies the kernel dependencies
287288
/// @param KernelFunc is the Kernel functor or lambda
288289
template <typename KernelName = detail::auto_name, typename KernelType,
289290
int Dims>
@@ -301,7 +302,7 @@ class queue {
301302
///
302303
/// @param NumWorkItems is a range that specifies the work space of the kernel
303304
/// @param DepEvents is a vector of events that specifies the kernel
304-
/// dependences
305+
/// dependencies
305306
/// @param KernelFunc is the Kernel functor or lambda
306307
template <typename KernelName = detail::auto_name, typename KernelType,
307308
int Dims>
@@ -336,7 +337,7 @@ class queue {
336337
///
337338
/// @param NumWorkItems is a range that specifies the work space of the kernel
338339
/// @param WorkItemOffset specifies the offset for each work item id
339-
/// @param DepEvent is an event that specifies the kernel dependences
340+
/// @param DepEvent is an event that specifies the kernel dependencies
340341
/// @param KernelFunc is the Kernel functor or lambda
341342
template <typename KernelName = detail::auto_name, typename KernelType,
342343
int Dims>
@@ -355,7 +356,7 @@ class queue {
355356
/// @param NumWorkItems is a range that specifies the work space of the kernel
356357
/// @param WorkItemOffset specifies the offset for each work item id
357358
/// @param DepEvents is a vector of events that specifies the kernel
358-
/// dependences
359+
/// dependencies
359360
/// @param KernelFunc is the Kernel functor or lambda
360361
template <typename KernelName = detail::auto_name, typename KernelType,
361362
int Dims>
@@ -388,7 +389,7 @@ class queue {
388389
///
389390
/// @param ExecutionRange is a range that specifies the work space of the
390391
/// kernel
391-
/// @param DepEvent is an event that specifies the kernel dependences
392+
/// @param DepEvent is an event that specifies the kernel dependencies
392393
/// @param KernelFunc is the Kernel functor or lambda
393394
template <typename KernelName = detail::auto_name, typename KernelType,
394395
int Dims>
@@ -407,7 +408,7 @@ class queue {
407408
/// @param ExecutionRange is a range that specifies the work space of the
408409
/// kernel
409410
/// @param DepEvents is a vector of events that specifies the kernel
410-
/// dependences
411+
/// dependencies
411412
/// @param KernelFunc is the Kernel functor or lambda
412413
template <typename KernelName = detail::auto_name, typename KernelType,
413414
int Dims>

0 commit comments

Comments
 (0)