Allocators
Types
Type | Definition | Notes |
---|---|---|
cl::sycl::default_allocator | ||
detail::aligned_mem::aligned_allocator |
Default SYCL allocator uses the aligned allocated, but also removes the constness of the type. |
|
cl::sycl::default_allocator |
Classes
An allocator that can allocate memory aligned to a certain alignment boundary with the final allocated size a multiple of some required size. |
|
Forward calls from the runtime-side to the user-defined allocator. This allows the internal runtime methods to call the user-defined typed allocator without passing the template tag. The isMapAllocator is used internally to determine if the allocator is a map-based one, which will enable some optimizations if possible. |
|
Creates a pointer to the internal base allocator structure from an instance of an user-defined allocator class. |
|
Typed derived class for a base allocator that holds an instance to an user-defined allocator. |
Functions
Allocates aligned data. |
|
Retrieves the original user-supplied allocator from the stored detail allocator object. |
|
MISSING |
|
Deallocates aligned data. |
|
Calculates the size that needs to be allocated for the memory to be properly aligned. |
|
Retrieves the default alignment boundary |
|
Retrieves the default required size multiplier |
|
Checks whether the pointer points to aligned data |