buffer_accessor.h File Reference
#include "SYCL/accessor.h"
#include "SYCL/accessor/accessor_ops.h"
#include "SYCL/accessor/ranged_accessor_iterator.h"
#include "SYCL/atomic.h"
#include "SYCL/compat_2020.h"
Go to the source code of this file.
Namespaces | |
cl | |
deduce_type_t takes an arbitrary type and attempts to map it to a cl::sycl::cl_type . | |
cl::sycl | |
Typedefs | |
using | cl::sycl::base_t = detail::accessor_buffer_interface< elemT, kDims, kMode, kTarget, access::placeholder::true_t > |
Functions | |
template<typename elemT , int kDims, access::mode kMode, access::target kTarget, access::placeholder IsPlaceholder> | |
COMPUTECPP_SET_IGNORE_DEPRECATED_API class COMPUTECPP_ACCESSOR_WINDOWS_ALIGNMENT | cl::sycl::COMPUTECPP_VALID_KERNEL_ARG_IF (kTarget !=access::target::host_buffer &&kTarget !=access::target::host_task, "Cannot pass host accessor to SYCL kernel") accessor |
Non-specialized accessor template that covers only global and constant buffers. More... | |
template<typename elemT , int kDims, access::mode kMode, access::target kTarget> | |
COMPUTECPP_SET_IGNORE_DEPRECATED_API class COMPUTECPP_ACCESSOR_WINDOWS_ALIGNMENT | cl::sycl::COMPUTECPP_VALID_KERNEL_ARG_IF (kTarget !=access::target::host_buffer &&kTarget !=access::target::host_task, "Cannot pass host accessor to SYCL kernel") accessor< elemT |
A public facing accessor that can be constructed outside of a command group. More... | |
cl::sycl::accessor (storage_mem &store, detail::access_range accessRange, const property_list &propList={}) | |
Constructs a ranged placeholder accessor. More... | |
accessor< elemT, 1, kMode, kTarget, access::placeholder::true_t > | cl::sycl::get_accessor_with_added_offset (int addedOffset) const |
returns an accessor similar to *this, with the offset changed to this->get_offset()[0] + addedOffset. More... | |
cl::sycl::accessor (const property_list &propList={}) | |
Constructs a default placeholder accessor without associated storage. More... | |
template<typename AllocatorT = default_allocator> | |
cl::sycl::accessor (buffer< elemT, detail::acc_interface_dims< kDims >::value, AllocatorT > &bufferRef, const property_list &propList={}) | |
Constructs a placeholder accessor. More... | |
template<typename AllocatorT > | |
cl::sycl::COMPUTECPP_DEPRECATED_BY_SYCL_VER (201703, "Use overload where the range comes before the offset.") accessor(buffer< elemT | |
Constructs a ranged placeholder accessor. More... | |
template<typename AllocatorT > | |
cl::sycl::accessor (buffer< elemT, kDims, AllocatorT > &bufferRef, range< kDims > accessRange, const property_list &propList={}) | |
Constructs a ranged placeholder accessor. More... | |
template<typename AllocatorT > | |
cl::sycl::accessor (buffer< elemT, kDims, AllocatorT > &bufferRef, range< kDims > accessRange, id< kDims > accessOffset, const property_list &propList={}) | |
Constructs a ranged placeholder accessor. More... | |
cl::sycl::accessor (buffer< elemT, kDims > &bufferRef, range< kDims > accessRange, const property_list &propList={}) | |
Constructs a ranged placeholder accessor. More... | |
cl::sycl::accessor (buffer< elemT, kDims > &bufferRef, range< kDims > accessRange, id< kDims > accessOffset, const property_list &propList={}) | |
Constructs a ranged placeholder accessor. More... | |
template<typename AllocatorT > | |
cl::sycl::accessor (buffer< elemT, kDims, AllocatorT > &bufferRef, handler &commandHandler, range< kDims > accessRange, const property_list &propList={}) | |
Constructs a ranged placeholder accessor. More... | |
template<typename AllocatorT > | |
cl::sycl::accessor (buffer< elemT, kDims, AllocatorT > &bufferRef, handler &commandHandler, range< kDims > accessRange, id< kDims > accessOffset, const property_list &propList={}) | |
Constructs a ranged placeholder accessor. More... | |
cl::sycl::accessor (buffer< elemT, kDims > &bufferRef, handler &commandHandler, range< kDims > accessRange, const property_list &propList={}) | |
Constructs a ranged placeholder accessor. More... | |
cl::sycl::accessor (buffer< elemT, kDims > &bufferRef, handler &commandHandler, range< kDims > accessRange, id< kDims > accessOffset, const property_list &propList={}) | |
Constructs a ranged placeholder accessor. More... | |
template<typename AllocatorT > | |
cl::sycl::accessor (buffer< elemT, kDims, AllocatorT > &bufferRef, handler &commandHandler, const property_list &propList={}) | |
Constructs a placeholder buffer accessor. More... | |
cl::sycl::accessor (buffer< elemT, kDims > &bufferRef, handler &commandHandler, const property_list &propList={}) | |
Constructs a placeholder buffer accessor. More... | |
template<typename AllocatorT , COMPUTECPP_ENABLE_IF(elemT,(kDims==0)) > | |
cl::sycl::accessor (buffer< elemT, 1, AllocatorT > &bufferRef, handler &commandHandler, const property_list &propList={}) | |
Constructs a placeholder 0-dimensional buffer accessor. More... | |
accessor< elemT, kDims, kMode, kTarget, access::placeholder::false_t > | cl::sycl::get_access (handler &commandHandler) const |
Obtains a normal accessor from the placeholder accessor. More... | |
template<COMPUTECPP_ENABLE_IF(elemT,(kDims==1)) > | |
accessor< elemT, 1, kMode, kTarget, access::placeholder::true_t > | cl::sycl::operator+ (int rhs) const |
Creates and returns a new accessor with its offset changed by rhs. More... | |
template<COMPUTECPP_ENABLE_IF(elemT,(kDims==1)) > | |
accessor< elemT, 1, kMode, kTarget, access::placeholder::true_t > | cl::sycl::operator- (int rhs) const |
Creates and returns a new accessor with its offset changed by rhs. More... | |
template<COMPUTECPP_ENABLE_IF(elemT,(kDims==1)) > | |
accessor< elemT, 1, kMode, kTarget, access::placeholder::true_t > & | cl::sycl::operator+= (int rhs) |
Changes this->offset by rhs as this->get_offset()[0] + rhs. More... | |
template<COMPUTECPP_ENABLE_IF(elemT,(kDims==1)) > | |
accessor< elemT, 1, kMode, kTarget, access::placeholder::true_t > & | cl::sycl::operator-= (int rhs) |
Changes this->offset by rhs as this->get_offset()[0] - rhs. More... | |
Variables | |
COMPUTECPP_ACCESSOR_LINUX_ALIGNMENT | cl::sycl::COMPUTECPP_CONVERT_ATTR |
COMPUTECPP_SET_IGNORE_DEPRECATED_API class COMPUTECPP_ACCESSOR_WINDOWS_ALIGNMENT | cl::sycl::kDims |
COMPUTECPP_SET_IGNORE_DEPRECATED_API class COMPUTECPP_ACCESSOR_WINDOWS_ALIGNMENT | cl::sycl::kMode |
COMPUTECPP_SET_IGNORE_DEPRECATED_API class COMPUTECPP_ACCESSOR_WINDOWS_ALIGNMENT | cl::sycl::kTarget |
AllocatorT & | cl::sycl::bufferRef |
AllocatorT id< kDims > | cl::sycl::accessOffset |
AllocatorT id< kDims > range< kDims > | cl::sycl::accessRange |
COMPUTECPP_ACCESSOR_LINUX_ALIGNMENT | cl::sycl::COMPUTECPP_CONVERT_ATTR_PLACEHOLDER |