|
Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website |
An array of cap elements for each of slots cells. On GPUs element k of every cell is contiguous, so that a warp working on consecutive cells reads consecutive words; on the host each cell's array is. More...
#include <teno_setup.h>
Public Member Functions | |
| SlotArray ()=default | |
| SlotArray (const std::string &label, const size_t cap_in, const size_t slots_in, const bool interleaved_in) | |
| KOKKOS_INLINE_FUNCTION Lane< T > | lane (const size_t slot) const |
Public Attributes | |
| Kokkos::View< T *, Kokkos::LayoutRight, Space > | data |
| size_t | cap = 0 |
| size_t | slots = 0 |
| bool | interleaved = false |
An array of cap elements for each of slots cells. On GPUs element k of every cell is contiguous, so that a warp working on consecutive cells reads consecutive words; on the host each cell's array is.
|
default |
|
inline |
|
inline |
| size_t teno_setup::SlotArray< T, Space >::cap = 0 |
| Kokkos::View<T *, Kokkos::LayoutRight, Space> teno_setup::SlotArray< T, Space >::data |
| bool teno_setup::SlotArray< T, Space >::interleaved = false |
| size_t teno_setup::SlotArray< T, Space >::slots = 0 |