VisionCpp  0.0.1
Public Types | List of all members
visioncpp::internal::SyclAccessor< LeafType, Dim, AccMd, ElementType, Scalar, scope > Struct Template Reference

This struct is used to create a sycl accessor type based on access mode; dimension and memory type. More...

#include <memory.hpp>

Collaboration diagram for visioncpp::internal::SyclAccessor< LeafType, Dim, AccMd, ElementType, Scalar, scope >:

Public Types

using Accessor = cl::sycl::accessor< ElementType, Dim, AccMd, SyclScope< LeafType, scope >::scope >
 
using access_type = ElementType
 

Detailed Description

template<size_t LeafType, size_t Dim, cl::sycl::access::mode AccMd, typename ElementType, typename Scalar, size_t scope>
struct visioncpp::internal::SyclAccessor< LeafType, Dim, AccMd, ElementType, Scalar, scope >

This struct is used to create a sycl accessor type based on access mode; dimension and memory type.

template parameters:

Template Parameters
LeafTypedetermines memory type
Dim:determine buffer dimension
AccMddetermines access mode

Definition at line 216 of file memory.hpp.

Member Typedef Documentation

◆ access_type

template<size_t LeafType, size_t Dim, cl::sycl::access::mode AccMd, typename ElementType , typename Scalar , size_t scope>
using visioncpp::internal::SyclAccessor< LeafType, Dim, AccMd, ElementType, Scalar, scope >::access_type = ElementType

Definition at line 219 of file memory.hpp.

◆ Accessor

template<size_t LeafType, size_t Dim, cl::sycl::access::mode AccMd, typename ElementType , typename Scalar , size_t scope>
using visioncpp::internal::SyclAccessor< LeafType, Dim, AccMd, ElementType, Scalar, scope >::Accessor = cl::sycl::accessor<ElementType, Dim, AccMd, SyclScope<LeafType, scope>::scope>

Definition at line 217 of file memory.hpp.


The documentation for this struct was generated from the following file: