syclreference.com
  1. SYCL
  2. | API Reference
  3. | Buffers
  4. | buffer
  5. | buffer

buffer<const type-parameter-0-0, dimensions, type-parameter-0-2>

MISSING


buffer<const type-parameter-0-0, dimensions, type-parameter-0-2>(const T * hostPointer, const range<dimensions> & r, AllocatorT allocator, const cl::sycl::property_list & propList)
(1)
buffer<const type-parameter-0-0, dimensions, type-parameter-0-2>(const T * hostPointer, const range<dimensions> & r, const cl::sycl::property_list & propList)
(2)
buffer<const type-parameter-0-0, dimensions, type-parameter-0-2>(const shared_ptr_class<const T> & hostPointer, const range<dimensions> & r, AllocatorT allocator, const cl::sycl::property_list & propList)
(3)
buffer<const type-parameter-0-0, dimensions, type-parameter-0-2>(const shared_ptr_class<const T> & hostPointer, const range<dimensions> & r, const cl::sycl::property_list & propList)
(4)
explicit buffer<const type-parameter-0-0, dimensions, type-parameter-0-2>(cl::sycl::dmem_shptr impl)
(5)
  1. Constructs a buffer with host pointer
    Parameters:
    • const T * hostPointer : Pointer to host data
    • const range<dimensions> & r : Range of the buffer
    • AllocatorT allocator : The allocator used to create internal storage
    • const cl::sycl::property_list & propList : List of buffer properties
  2. Constructs a buffer with host pointer
    Parameters:
    • const T * hostPointer : Pointer to host data
    • const range<dimensions> & r : Range of the buffer
    • const cl::sycl::property_list & propList : List of buffer properties
  3. Constructs a buffer with a host pointer.
    Parameters:
    • const shared_ptr_class<const T> & hostPointer : Shared pointer to host data
    • const range<dimensions> & r : Range of the buffer
    • AllocatorT allocator : The allocator used to create internal storage
    • const cl::sycl::property_list & propList : List of buffer properties
  4. Constructs a buffer with a host pointer.
    Parameters:
    • const shared_ptr_class<const T> & hostPointer : Shared pointer to host data
    • const range<dimensions> & r : Range of the buffer
    • const cl::sycl::property_list & propList : List of buffer properties

  5. Parameters:
    • cl::sycl::dmem_shptr impl

syclreference.com — SYCL Reference Pages

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