@@ -266,7 +266,7 @@ DPCTLQueue_SubmitNDRange(__dpctl_keep const DPCTLSyclKernelRef KRef,
266266 size_t NDepEvents);
267267
268268/* !
269- * @brief Calls the ``sycl::queue. submit`` function to do a blocking wait on
269+ * @brief Calls the ``sycl::queue:: submit`` function to do a blocking wait on
270270 * all enqueued tasks in the queue.
271271 *
272272 * @param QRef Opaque pointer to a ``sycl::queue``.
@@ -276,52 +276,55 @@ DPCTL_API
276276void DPCTLQueue_Wait (__dpctl_keep const DPCTLSyclQueueRef QRef);
277277
278278/* !
279- * @brief C-API wrapper for ``sycl::queue::memcpy``, the function waits on an
280- * event till the memcpy operation completes.
279+ * @brief C-API wrapper for ``sycl::queue::memcpy``.
281280 *
282281 * @param QRef An opaque pointer to the ``sycl::queue``.
283282 * @param Dest An USM pointer to the destination memory.
284283 * @param Src An USM pointer to the source memory.
285284 * @param Count A number of bytes to copy.
285+ * @return An opaque pointer to the ``sycl::event`` returned by the
286+ * ``sycl::queue::memcpy`` function.
286287 * @ingroup QueueInterface
287288 */
288289DPCTL_API
289- void DPCTLQueue_Memcpy (__dpctl_keep const DPCTLSyclQueueRef QRef,
290- void *Dest,
291- const void *Src,
292- size_t Count);
290+ DPCTLSyclEventRef DPCTLQueue_Memcpy (__dpctl_keep const DPCTLSyclQueueRef QRef,
291+ void *Dest,
292+ const void *Src,
293+ size_t Count);
293294
294295/* !
295- * @brief C-API wrapper for ``sycl::queue::prefetch``, the function waits on an
296- * event till the prefetch operation completes.
296+ * @brief C-API wrapper for ``sycl::queue::prefetch``.
297297 *
298298 * @param QRef An opaque pointer to the ``sycl::queue``.
299299 * @param Ptr An USM pointer to memory.
300300 * @param Count A number of bytes to prefetch.
301+ * @return An opaque pointer to the ``sycl::event`` returned by the
302+ * ``sycl::queue::prefetch`` function.
301303 * @ingroup QueueInterface
302304 */
303305DPCTL_API
304- void DPCTLQueue_Prefetch (__dpctl_keep DPCTLSyclQueueRef QRef,
305- const void *Ptr,
306- size_t Count);
306+ DPCTLSyclEventRef DPCTLQueue_Prefetch (__dpctl_keep DPCTLSyclQueueRef QRef,
307+ const void *Ptr,
308+ size_t Count);
307309
308310/* !
309- * @brief C-API wrapper for sycl::queue::mem_advise, the function waits on an
310- * event till the operation completes.
311+ * @brief C-API wrapper for ``sycl::queue::mem_advise``.
311312 *
312313 * @param QRef An opaque pointer to the ``sycl::queue``.
313314 * @param Ptr An USM pointer to memory.
314315 * @param Count A number of bytes to prefetch.
315316 * @param Advice Device-defined advice for the specified allocation.
316317 * A value of 0 reverts the advice for Ptr to the
317318 * default behavior.
319+ * @return An opaque pointer to the ``sycl::event`` returned by the
320+ * ``sycl::queue::mem_advise`` function.
318321 * @ingroup QueueInterface
319322 */
320323DPCTL_API
321- void DPCTLQueue_MemAdvise (__dpctl_keep DPCTLSyclQueueRef QRef,
322- const void *Ptr,
323- size_t Count,
324- int Advice);
324+ DPCTLSyclEventRef DPCTLQueue_MemAdvise (__dpctl_keep DPCTLSyclQueueRef QRef,
325+ const void *Ptr,
326+ size_t Count,
327+ int Advice);
325328
326329/* !
327330 * @brief C-API wrapper for sycl::queue::is_in_order that indicates whether
0 commit comments