Kokkos Core Kernels Package
Version of the Day
|
Memory layout tag indicating left-to-right (Fortran scheme) striding of multi-indices by tiles. More...
#include <Kokkos_Layout.hpp>
Public Types | |
typedef LayoutTileLeft< ArgN0, ArgN1, IsPowerOfTwo > | array_layout |
Tag this class as a kokkos array layout. More... | |
Memory layout tag indicating left-to-right (Fortran scheme) striding of multi-indices by tiles.
This is an example of a MemoryLayout
template parameter of View. The memory layout describes how View maps from a multi-index (i0, i1, ..., ik) to a memory location.
"Tiled layout" indicates a mapping to contiguously stored ArgN0
by ArgN1
tiles for the rightmost two dimensions. Indices are LayoutLeft within each tile, and the tiles themselves are arranged using LayoutLeft. Note that the dimensions ArgN0
and ArgN1
of the tiles must be compile-time constants. This speeds up index calculations. If both tile dimensions are powers of two, Kokkos can optimize further.
Definition at line 217 of file Kokkos_Layout.hpp.
typedef LayoutTileLeft<ArgN0,ArgN1,IsPowerOfTwo> Kokkos::LayoutTileLeft< ArgN0, ArgN1, IsPowerOfTwo >::array_layout |
Tag this class as a kokkos array layout.
Definition at line 221 of file Kokkos_Layout.hpp.