BioCMAMC-ST
EigenKokkosBase< EigenLayout > Struct Template Reference

#include <eigen_kokkos.hpp>

Public Types

using EigenMatrix = MatrixType<EigenLayout>
 
using HostView = KokkosScalarMatrix<HostSpace, EigenLayout>
 
using ComputeView
 

Public Member Functions

 EigenKokkosBase (std::size_t n_row, std::size_t n_col)
 
std::span< const double > get_span () const
 
std::span< double > get_span ()
 
void update_host_to_compute () const
 
void update_compute_to_host () const
 

Public Attributes

HostView host
 
ComputeView compute
 
EigenMatrix eigen_data
 

Member Typedef Documentation

◆ ComputeView

template<int EigenLayout>
using EigenKokkosBase< EigenLayout >::ComputeView
Initial value:
KokkosScalarMatrix<ComputeSpace,
EigenLayout,
Kokkos::MemoryTraits<Kokkos::RandomAccess>>

◆ EigenMatrix

template<int EigenLayout>
using EigenKokkosBase< EigenLayout >::EigenMatrix = MatrixType<EigenLayout>

◆ HostView

template<int EigenLayout>
using EigenKokkosBase< EigenLayout >::HostView = KokkosScalarMatrix<HostSpace, EigenLayout>

Constructor & Destructor Documentation

◆ EigenKokkosBase()

template<int EigenLayout>
EigenKokkosBase< EigenLayout >::EigenKokkosBase ( std::size_t n_row,
std::size_t n_col )
inline

Member Function Documentation

◆ get_span() [1/2]

template<int EigenLayout>
std::span< double > EigenKokkosBase< EigenLayout >::get_span ( )
inline

◆ get_span() [2/2]

template<int EigenLayout>
std::span< const double > EigenKokkosBase< EigenLayout >::get_span ( ) const
inlinenodiscard
Here is the caller graph for this function:

◆ update_compute_to_host()

template<int EigenLayout>
void EigenKokkosBase< EigenLayout >::update_compute_to_host ( ) const
inline
Here is the caller graph for this function:

◆ update_host_to_compute()

template<int EigenLayout>
void EigenKokkosBase< EigenLayout >::update_host_to_compute ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ compute

template<int EigenLayout>
ComputeView EigenKokkosBase< EigenLayout >::compute

◆ eigen_data

template<int EigenLayout>
EigenMatrix EigenKokkosBase< EigenLayout >::eigen_data

◆ host

template<int EigenLayout>
HostView EigenKokkosBase< EigenLayout >::host

The documentation for this struct was generated from the following file: