cl::sycl::accessor< elemT, kDims, kMode, access::target::host_task, IsPlaceholder > Class Template Reference
#include <host_task_accessor.h>
Public Member Functions | |
template<typename AllocatorT , COMPUTECPP_ENABLE_IF(elemT, is_n_dim) > | |
accessor (buffer< elemT, kDims, AllocatorT > &bufferRef, range< kDims > accessRange, const property_list &propList={}) | |
Constructs a ranged accessor. More... | |
template<typename AllocatorT , COMPUTECPP_ENABLE_IF(elemT, is_n_dim) > | |
accessor (buffer< elemT, kDims, AllocatorT > &bufferRef, range< kDims > accessRange, id< kDims > accessOffset, const property_list &propList={}) | |
Constructs a ranged accessor. More... | |
template<typename AllocatorT , COMPUTECPP_ENABLE_IF(elemT, is_n_dim) > | |
accessor (buffer< elemT, kDims, AllocatorT > &bufferRef, handler &cgh, range< kDims > accessRange, id< kDims > accessOffset, const property_list &propList={}) | |
Constructs a ranged accessor. More... | |
template<typename AllocatorT , COMPUTECPP_ENABLE_IF_VAL(kDims,(kDims==0)) > | |
accessor (buffer< elemT, 1, AllocatorT > &bufferRef, const property_list &propList={}) | |
Constructs a 0-dim accessor to a buffer, delayed access. More... | |
template<typename AllocatorT , COMPUTECPP_ENABLE_IF_VAL(kDims,(kDims==0)) > | |
accessor (buffer< elemT, 1, AllocatorT > &bufferRef, handler &cgh, const property_list &propList={}) | |
Constructs a 0-dim accessor to a buffer, immediate access. More... | |
template<typename AllocatorT , COMPUTECPP_ENABLE_IF_VAL(kDims,(kDims > 0)) > | |
accessor (buffer< elemT, kDims, AllocatorT > &bufferRef, const property_list &propList={}) | |
Constructs an accessor to a buffer, delayed access. More... | |
template<typename AllocatorT , COMPUTECPP_ENABLE_IF_VAL(kDims,(kDims > 0)) > | |
accessor (buffer< elemT, kDims, AllocatorT > &bufferRef, handler &cgh, const property_list &propList={}) | |
Constructs an accessor to a buffer, immediate access. More... | |
template<typename AllocatorT , COMPUTECPP_ENABLE_IF(elemT, is_n_dim) > | |
COMPUTECPP_DEPRECATED_BY_SYCL_VER (201703, "Use overload where the range comes before the offset.") accessor(buffer< elemT | |
Constructs a ranged accessor. More... | |
AllocatorT id< kDims > range< kDims > | detail::access_range (accessOffset, accessRange)} |
Public Attributes | |
kDims | |
AllocatorT & | bufferRef |
AllocatorT id< kDims > | accessOffset |
AllocatorT id< kDims > range< kDims > | accessRange: base_t{bufferRef |
Detailed Description
template<typename elemT, int kDims, access::mode kMode, access::placeholder IsPlaceholder>
class cl::sycl::accessor< elemT, kDims, kMode, access::target::host_task, IsPlaceholder >
Definition at line 26 of file host_task_accessor.h.
Constructor & Destructor Documentation
◆ accessor() [1/7]
|
inline |
Constructs a ranged accessor.
- Template Parameters
-
AllocatorT Type of the buffer allocator COMPUTECPP_ENABLE_IF Only enabled for host task accessors which are not 0-dimensional
- Parameters
-
bufferRef Buffer object where access is being requested accessRange Range of data to access propList Additional properties
Definition at line 184 of file host_task_accessor.h.
◆ accessor() [2/7]
|
inline |
Constructs a ranged accessor.
- Template Parameters
-
AllocatorT Type of the buffer allocator COMPUTECPP_ENABLE_IF Only enabled for host task accessors which are not 0-dimensional
- Parameters
-
bufferRef Buffer object where access is being requested accessRange Range of data to access accessOffset Point where data access starts propList Additional properties
Definition at line 198 of file host_task_accessor.h.
◆ accessor() [3/7]
|
inline |
Constructs a ranged accessor.
- Template Parameters
-
AllocatorT Type of the buffer allocator COMPUTECPP_ENABLE_IF Only enabled for host task accessors which are not 0-dimensional
- Parameters
-
bufferRef Buffer object where access is being requested accessRange Range of data to access accessOffset Point where data access starts propList Additional properties
Definition at line 215 of file host_task_accessor.h.
◆ accessor() [4/7]
|
inline |
Constructs a 0-dim accessor to a buffer, delayed access.
- Template Parameters
-
AllocatorT Type of the buffer allocator
- Parameters
-
bufferRef Buffer to access propList List of properties
- Note
- Only available when dimensions are equal 0
Definition at line 228 of file host_task_accessor.h.
◆ accessor() [5/7]
|
inline |
Constructs a 0-dim accessor to a buffer, immediate access.
- Template Parameters
-
AllocatorT Type of the buffer allocator
- Parameters
-
bufferRef Buffer to access cgh Command group handler propList List of properties
- Note
- Only available when dimensions are equal to 0
Definition at line 247 of file host_task_accessor.h.
◆ accessor() [6/7]
|
inline |
Constructs an accessor to a buffer, delayed access.
- Template Parameters
-
AllocatorT Type of the buffer allocator
- Parameters
-
bufferRef Buffer to access propList List of properties
- Note
- Only available when dimensions are > 0
Definition at line 260 of file host_task_accessor.h.
◆ accessor() [7/7]
|
inline |
Constructs an accessor to a buffer, immediate access.
- Template Parameters
-
AllocatorT Type of the buffer allocator
- Parameters
-
bufferRef Buffer to access propList List of properties
- Note
- Only available when dimensions are > 0
Definition at line 278 of file host_task_accessor.h.
Member Function Documentation
◆ COMPUTECPP_DEPRECATED_BY_SYCL_VER()
cl::sycl::accessor< elemT, kDims, kMode, access::target::host_task, IsPlaceholder >::COMPUTECPP_DEPRECATED_BY_SYCL_VER | ( | 201703 | , |
"Use overload where the range comes before the offset." | |||
) |
Constructs a ranged accessor.
- Template Parameters
-
AllocatorT Type of the buffer allocator COMPUTECPP_ENABLE_IF Only enabled for host task accessors which are not 0-dimensional
- Parameters
-
bufferRef Buffer object where access is being requested accessOffset Point where data access starts accessRange Range of data to access
- Deprecated:
- Need to reverse the order of the access offset and range, see 4.7.6.6 Buffer accessor interface in SYCL 1.2.1
◆ detail::access_range()
|
inline |
Definition at line 299 of file host_task_accessor.h.
Member Data Documentation
◆ accessOffset
AllocatorT id<kDims> cl::sycl::accessor< elemT, kDims, kMode, access::target::host_task, IsPlaceholder >::accessOffset |
Definition at line 297 of file host_task_accessor.h.
◆ accessRange
AllocatorT id<kDims> range<kDims> cl::sycl::accessor< elemT, kDims, kMode, access::target::host_task, IsPlaceholder >::accessRange |
Definition at line 297 of file host_task_accessor.h.
◆ bufferRef
AllocatorT& cl::sycl::accessor< elemT, kDims, kMode, access::target::host_task, IsPlaceholder >::bufferRef |
Definition at line 297 of file host_task_accessor.h.
◆ kDims
cl::sycl::accessor< elemT, kDims, kMode, access::target::host_task, IsPlaceholder >::kDims |
Definition at line 297 of file host_task_accessor.h.
The documentation for this class was generated from the following file: