Skip to content

Fixed usage of unwrap in comment to templated one #971

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
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
5 changes: 3 additions & 2 deletions libsyclinterface/include/dpctl_sycl_queue_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ DPCTLQueue_GetDevice(__dpctl_keep const DPCTLSyclQueueRef QRef);
* A wrapper over ``sycl::queue.submit()``. The function takes an
* interoperability kernel, the kernel arguments, and a ``sycl::queue`` as
* input. The kernel is submitted as
* ``parallel_for(range<NRange>, *unwrap(KRef))``.
* ``parallel_for(range<NRange>, *unwrap<kernel>(KRef))``.
*
* \todo ``sycl::buffer`` arguments are not supported yet.
* \todo Add support for id<Dims> WorkItemOffset
Expand Down Expand Up @@ -222,7 +222,8 @@ DPCTLQueue_SubmitRange(__dpctl_keep const DPCTLSyclKernelRef KRef,
*
* A wrapper over ``sycl::queue.submit()``. The function takes an
* interoperability kernel, the kernel arguments, and a Sycl queue as input.
* The kernel is submitted as ``parallel_for(nd_range<NRange>, *unwrap(KRef))``.
* The kernel is submitted as
* ``parallel_for(nd_range<NRange>, *unwrap<kernel>(KRef))``.
*
* \todo sycl::buffer arguments are not supported yet.
* \todo Add support for id<Dims> WorkItemOffset
Expand Down