BioCMAMC-ST
KokkosEigen Namespace Reference

Namespaces

namespace  Alias

Classes

class  KokkosEigen2D
 Wraps a Kokkos 2D View as an Eigen matrix map. More...

Functions

template<typename _layout>
static consteval auto get_eigen_layout ()
 Maps a Kokkos layout type to its Eigen storage order equivalent.

Variables

static constexpr int CompileMatrixSizeEigen = -1

Function Documentation

◆ get_eigen_layout()

template<typename _layout>
consteval auto KokkosEigen::get_eigen_layout ( )
staticconsteval

Maps a Kokkos layout type to its Eigen storage order equivalent.

Template Parameters
_layoutKokkos layout type (LayoutLeft or LayoutRight).
Returns
Eigen::ColMajor for LayoutLeft, Eigen::RowMajor for LayoutRight.

Variable Documentation

◆ CompileMatrixSizeEigen

int KokkosEigen::CompileMatrixSizeEigen = -1
staticconstexpr