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

get_allocator

Returns the allocator provided to the buffer


AllocatorT get_allocator() const
(1)
  1. Returns the allocator provided to the buffer
    Returns: Allocator that was provided to the buffer

syclreference.com — SYCL Reference Pages

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