Template Function ripple::detail::load_global_padding_for_dim¶
Defined in File load_global_padding_impl_.hpp
Function Documentation¶
-
template<typename
It
, size_tDims
, typenameLoader
, typenameDim
, typename ...Args
>
autoripple::detail
::
load_global_padding_for_dim
(It &&it, const GhostIndex<Dims> &indices, Dim &&dim, Loader &&loader, Args&&... args) noexcept -> void¶ Loads the padding data for the given dimension, using the index in dim from the indices, and the given loader to load the data.
- Note
This implementation uses a lot of registers on the gpu, which really needs to be improved.
- Parameters
it
: The iterator to load the padding for.indices
: The indices for the ghost cells.dim
: The dimension to load the cell in.loader
: The loader to use to load the cells.args
: Additional arguments for the loader.
- Template Parameters
It
: The type of the iterator.Dims
: The number of dimensions for the indices.Loader
: The type of the loader for the dims.Dim
: The dimension to load in.Args
: The type of additional arguments.