buffer<T, dimensions, AllocatorT>
buffer is the public interface for the buffer object implementation. The template allows the creation of specific types and number of dimensions.
Types
Type | Definition | Notes |
---|---|---|
AllocatorT |
Helper for the user, alias for the type of the allocator |
|
const T & |
Helper for the user, alias for const reference to type T |
|
T & |
Helper for the user, alias for reference to type T |
|
T |
Helper for the user, alias for type T |
Member Functions
(constructor) | |
(destructor) | |
MISSING |
|
Returns the allocator provided to the buffer |
|
Returns a copy of the property of type propertyT that this SYCL buffer was constructed with. Throws an error if buffer was not constructed with the property. |
|
Returns the range of the buffer. |
|
Returns whether this SYCL buffer was constructed with the property specified by propertyT |
|
Creates and returns a reinterpreted SYCL buffer with the type specified by ReinterpretT, dimensions specified by ReinterpretDim and range specified by reinterpretRange |