cl::sycl::accessor< elemT, kDims, kMode, access::target::image_array, access::placeholder::false_t > Class Template Reference
#include <image_array_accessor.h>
Public Member Functions | |
template<typename AllocatorT > | |
accessor (image<(kDims+1), AllocatorT > &imageRef, handler &commandHandler, const property_list &propList={}) | |
Constructs an image_array accessor by taking an image object of dimensionality one greater than this accessor and initialises the base class with the image. More... | |
detail::image_array_slice< elemT, kDims, kMode > | operator[] (size_t index) const |
Detailed Description
template<typename elemT, int kDims, access::mode kMode>
class cl::sycl::accessor< elemT, kDims, kMode, access::target::image_array, access::placeholder::false_t >
Definition at line 429 of file image_array_accessor.h.
Constructor & Destructor Documentation
◆ accessor()
|
inline |
Constructs an image_array accessor by taking an image object of dimensionality one greater than this accessor and initialises the base class with the image.
- Template Parameters
-
AllocatorT Specifies the allocator type.
- Parameters
-
imageRef Reference to the image object being accessed. commandHandler Reference to the handler of the command group the accessor is being constructed within. propList Additional properties
Definition at line 455 of file image_array_accessor.h.
Member Function Documentation
◆ operator[]()
|
inline |
Definition at line 459 of file image_array_accessor.h.
The documentation for this class was generated from the following file: