Skip to content

Commit fafa979

Browse files
Merge pull request #971 from IntelPython/corrected-use-of-non-templated-unwrap-in-comments
Fixed usage of unwrap in comment to templated one
2 parents 4e34b6d + 52999ac commit fafa979

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libsyclinterface/include/dpctl_sycl_queue_interface.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ DPCTLQueue_GetDevice(__dpctl_keep const DPCTLSyclQueueRef QRef);
178178
* A wrapper over ``sycl::queue.submit()``. The function takes an
179179
* interoperability kernel, the kernel arguments, and a ``sycl::queue`` as
180180
* input. The kernel is submitted as
181-
* ``parallel_for(range<NRange>, *unwrap(KRef))``.
181+
* ``parallel_for(range<NRange>, *unwrap<kernel>(KRef))``.
182182
*
183183
* \todo ``sycl::buffer`` arguments are not supported yet.
184184
* \todo Add support for id<Dims> WorkItemOffset
@@ -222,7 +222,8 @@ DPCTLQueue_SubmitRange(__dpctl_keep const DPCTLSyclKernelRef KRef,
222222
*
223223
* A wrapper over ``sycl::queue.submit()``. The function takes an
224224
* interoperability kernel, the kernel arguments, and a Sycl queue as input.
225-
* The kernel is submitted as ``parallel_for(nd_range<NRange>, *unwrap(KRef))``.
225+
* The kernel is submitted as
226+
* ``parallel_for(nd_range<NRange>, *unwrap<kernel>(KRef))``.
226227
*
227228
* \todo sycl::buffer arguments are not supported yet.
228229
* \todo Add support for id<Dims> WorkItemOffset

0 commit comments

Comments
 (0)