35 return n_cells / word_length + (n_cells % word_length == 0 ? 0 : 1);
Definition AccessorSubscript.hpp:24
BOOST_PP_CAT(BOOST_PP_CAT(uint, STENCIL_INDEX_WIDTH), _t) uindex_t
An unsigned integer of configurable width.
Definition Index.hpp:42
constexpr uindex_t n_cells_to_n_words(uindex_t n_cells, uindex_t word_length)
Compute the number of words necessary to store a given number of cells.
Definition Helpers.hpp:34
struct stencil::Padded __attribute__((aligned(std::bit_ceil(sizeof(T)))))
A container with padding to the next power of two.
Definition Helpers.hpp:45
T value
Definition Helpers.hpp:46