• Docs >
  • Ripple API >
  • Template Function ripple::detail::load_global_padding_for_dim
Shortcuts

Template Function ripple::detail::load_global_padding_for_dim

Function Documentation

template<typename It, size_t Dims, typename Loader, typename Dim, typename ...Args>
auto ripple::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.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples