Skip to content

[SYCL][NFC] Fix typos in the queue header comments #1095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions sycl/include/CL/sycl/queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down Expand Up @@ -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 <typename KernelName = detail::auto_name, typename KernelType>
event single_task(event DepEvent, KernelType KernelFunc) {
Expand All @@ -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 dependences
/// @param DepEvents is a vector of events that specifies the kernel
/// dependencies
/// @param KernelFunc is the Kernel functor or lambda
template <typename KernelName = detail::auto_name, typename KernelType>
event single_task(const vector_class<event> &DepEvents,
Expand Down Expand Up @@ -283,7 +284,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 <typename KernelName = detail::auto_name, typename KernelType,
int Dims>
Expand All @@ -301,7 +302,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 <typename KernelName = detail::auto_name, typename KernelType,
int Dims>
Expand Down Expand Up @@ -336,7 +337,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 <typename KernelName = detail::auto_name, typename KernelType,
int Dims>
Expand All @@ -355,7 +356,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 <typename KernelName = detail::auto_name, typename KernelType,
int Dims>
Expand Down Expand Up @@ -388,7 +389,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 <typename KernelName = detail::auto_name, typename KernelType,
int Dims>
Expand All @@ -407,7 +408,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 <typename KernelName = detail::auto_name, typename KernelType,
int Dims>
Expand Down