syclreference.com
  1. SYCL
  2. | API Reference
  3. | Allocators
  4. | aligned_allocator
  5. | allocate

allocate

Allocate


void * allocate(cl::sycl::detail::aligned_mem::aligned_allocator::size_type sizeInBytes)
(1)
  1. Allocate
    Parameters:
    • cl::sycl::detail::aligned_mem::aligned_allocator::size_type sizeInBytes
    Returns: T* pointer with new data

syclreference.com — SYCL Reference Pages

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