![]() |
StencilStream v3.0.0
SYCL-based Stencil Simulation Framework Targeting FPGAs
|
The requirements for a TDV system's global state. More...
#include <SinglePassStrategies.hpp>
The requirements for a TDV system's global state.
This global state is constructed and stored on the host. It is constructed by the StencilUpdate from the transition function as well as the iteration index offset and the number of iterations that are requested from the user. For example, if we have a transition function object tf
and the user has requested to compute the iterations 17 to 42, the call to the global state constructor will be GlobalState(tf, 17, 42-17)
.
The stencil updater will then submit execution kernels for one or multiple passes. For each of these passes, it will construct a KernelArgument on the host using a reference to this global state, a reference to the SYCL handler, as well as the iteration offset and number of iterations of this pass.