![]() |
StencilStream v3.0.0
SYCL-based Stencil Simulation Framework Targeting FPGAs
|
A generic, two-dimensional index. More...
#include <GenericID.hpp>
Public Member Functions | |
GenericID () | |
Create a new index with undefined contents. | |
GenericID (T column, T row) | |
Create a new index with the given column and row indices. | |
GenericID (sycl::id< 2 > sycl_id) | |
Convert the SYCL ID. | |
GenericID (sycl::range< 2 > sycl_range) | |
Convert the SYCl range. | |
bool | operator== (GenericID const &other) const |
Test if the other generic ID has equivalent coordinates to this ID. | |
Public Attributes | |
T | c |
The column index. | |
T | r |
The row index. | |
A generic, two-dimensional index.
The | index type. It can be anything as long as it can be constructed from a dimension of sycl::id and tested for equality. |
|
inline |
Create a new index with undefined contents.
|
inline |
Create a new index with the given column and row indices.
|
inline |
Convert the SYCL ID.
|
inline |
Convert the SYCl range.
|
inline |
Test if the other generic ID has equivalent coordinates to this ID.
T stencil::GenericID< T >::c |
The column index.
T stencil::GenericID< T >::r |
The row index.