StencilStream v3.0.0
SYCL-based Stencil Simulation Framework Targeting FPGAs
Loading...
Searching...
No Matches
Public Member Functions | List of all members
stencil::cpu::Grid< Cell >::GridAccessor< access_mode > Class Template Reference

An accessor for the grid. More...

#include <Grid.hpp>

Inheritance diagram for stencil::cpu::Grid< Cell >::GridAccessor< access_mode >:
Inheritance graph
[legend]
Collaboration diagram for stencil::cpu::Grid< Cell >::GridAccessor< access_mode >:
Collaboration graph
[legend]

Public Member Functions

 GridAccessor (Grid &grid)
 Create a new accessor to the given grid.
 

Detailed Description

template<typename Cell>
template<sycl::access::mode access_mode = sycl::access::mode::read_write>
class stencil::cpu::Grid< Cell >::GridAccessor< access_mode >

An accessor for the grid.

Instances of this class provide access to a grid, so that host code can read and write the contents of a grid. As such, it fullfils the GridAccessor concept.

Template Parameters
access_modeThe access mode for the accessor.

Constructor & Destructor Documentation

◆ GridAccessor()

template<typename Cell >
template<sycl::access::mode access_mode = sycl::access::mode::read_write>
stencil::cpu::Grid< Cell >::GridAccessor< access_mode >::GridAccessor ( Grid grid)
inline

Create a new accessor to the given grid.


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