DPC++ Runtime
Runtime libraries for oneAPI DPC++
|
|
Go to the documentation of this file.
53 NumBytes = ((NumBytes - 1) | (MAlignment - 1)) + 1;
55 throw std::bad_alloc();
60 throw std::bad_alloc();
67 detail::OSUtil::alignedFree(Ptr);
77 size_t MAlignment = 128;
aligned_allocator(size_t Alignment)
const T & const_reference
void setAlignment(size_t Alignment)
pointer address(reference Val) const
bool operator==(const aligned_allocator &)
void destroy(pointer Ptr)
pointer allocate(size_t Size)
We provide new interfaces for matrix muliply in this patch:
const_pointer address(const_reference Val)
void construct(pointer Ptr, const_reference Val)
void deallocate(pointer Ptr, size_t)
aligned_allocator< U > other
bool operator!=(const aligned_allocator &)
void * alignedAlloc(size_t Alignment, size_t Bytes, const context &Ctxt, const device &Dev, cl::sycl::usm::alloc Kind, const code_location &CL)
#define __SYCL_INLINE_NAMESPACE(X)