syclreference.com
  1. SYCL
  2. | API Reference
  3. | Allocators
  4. | clone_data

clone_data

MISSING


template <typename T, typename AllocatorT, typename Iterator>
shared_ptr_class<void> clone_data(Iterator begin, Iterator end, AllocatorT alloc)
(1)
template <typename T, typename AllocatorT>
shared_ptr_class<void> clone_data(const T * hostPointer, size_t size, AllocatorT alloc)
(2)

  1. Parameters:
    • Iterator begin
    • Iterator end
    • AllocatorT alloc

  2. Parameters:
    • const T * hostPointer
    • size_t size
    • AllocatorT alloc

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000