@@ -554,8 +554,9 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
554
554
event memset (void *Ptr, int Value, size_t Count,
555
555
const std::vector<event> &DepEvents);
556
556
557
- // / Copies data from one memory region to another, both pointed by
558
- // / USM pointers.
557
+ // / Copies data from one memory region to another, each is either a host
558
+ // / pointer or a pointer within USM allocation accessible on the device
559
+ // / associated with this queue.
559
560
// / No operations is done if \param Count is zero. An exception is thrown
560
561
// / if either \param Dest or \param Src is nullptr. The behavior is undefined
561
562
// / if any of the pointer parameters is invalid.
@@ -566,8 +567,9 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
566
567
// / \return an event representing copy operation.
567
568
event memcpy (void *Dest, const void *Src, size_t Count);
568
569
569
- // / Copies data from one memory region to another, both pointed by
570
- // / USM pointers.
570
+ // / Copies data from one memory region to another, each is either a host
571
+ // / pointer or a pointer within USM allocation accessible on the device
572
+ // / associated with this queue.
571
573
// / No operations is done if \param Count is zero. An exception is thrown
572
574
// / if either \param Dest or \param Src is nullptr. The behavior is undefined
573
575
// / if any of the pointer parameters is invalid.
@@ -579,8 +581,9 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
579
581
// / \return an event representing copy operation.
580
582
event memcpy (void *Dest, const void *Src, size_t Count, event DepEvent);
581
583
582
- // / Copies data from one memory region to another, both pointed by
583
- // / USM pointers.
584
+ // / Copies data from one memory region to another, each is either a host
585
+ // / pointer or a pointer within USM allocation accessible on the device
586
+ // / associated with this queue.
584
587
// / No operations is done if \param Count is zero. An exception is thrown
585
588
// / if either \param Dest or \param Src is nullptr. The behavior is undefined
586
589
// / if any of the pointer parameters is invalid.
@@ -594,8 +597,9 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
594
597
event memcpy (void *Dest, const void *Src, size_t Count,
595
598
const std::vector<event> &DepEvents);
596
599
597
- // / Copies data from one memory region to another, both pointed by
598
- // / USM pointers.
600
+ // / Copies data from one memory region to another, each is either a host
601
+ // / pointer or a pointer within USM allocation accessible on the device
602
+ // / associated with this queue.
599
603
// / No operations is done if \param Count is zero. An exception is thrown
600
604
// / if either \param Dest or \param Src is nullptr. The behavior is undefined
601
605
// / if any of the pointer parameters is invalid.
@@ -612,8 +616,9 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
612
616
return this ->memcpy (Dest, Src, Count * sizeof (T));
613
617
}
614
618
615
- // / Copies data from one memory region to another, both pointed by
616
- // / USM pointers.
619
+ // / Copies data from one memory region to another, each is either a host
620
+ // / pointer or a pointer within USM allocation accessible on the device
621
+ // / associated with this queue.
617
622
// / No operations is done if \param Count is zero. An exception is thrown
618
623
// / if either \param Dest or \param Src is nullptr. The behavior is undefined
619
624
// / if any of the pointer parameters is invalid.
@@ -632,8 +637,9 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
632
637
return this ->memcpy (Dest, Src, Count * sizeof (T), DepEvent);
633
638
}
634
639
635
- // / Copies data from one memory region to another, both pointed by
636
- // / USM pointers.
640
+ // / Copies data from one memory region to another, each is either a host
641
+ // / pointer or a pointer within USM allocation accessible on the device
642
+ // / associated with this queue.
637
643
// / No operations is done if \param Count is zero. An exception is thrown
638
644
// / if either \param Dest or \param Src is nullptr. The behavior is undefined
639
645
// / if any of the pointer parameters is invalid.
0 commit comments