Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
teno_setup::Lane< T > Struct Template Reference

Element k of one cell's array in a batch: interleaved across cells on GPUs. More...

#include <teno_setup.h>

Public Member Functions

template<typename I >
KOKKOS_INLINE_FUNCTION T & operator[] (const I k) const
 Element k, of any integral type like a View's indices (the loops index in int).
 
KOKKOS_INLINE_FUNCTION Lane at (const size_t k) const
 

Public Attributes

T * p
 
size_t stride
 

Detailed Description

template<typename T>
struct teno_setup::Lane< T >

Element k of one cell's array in a batch: interleaved across cells on GPUs.

Member Function Documentation

◆ at()

template<typename T >
KOKKOS_INLINE_FUNCTION Lane teno_setup::Lane< T >::at ( const size_t  k) const
inline

◆ operator[]()

template<typename T >
template<typename I >
KOKKOS_INLINE_FUNCTION T & teno_setup::Lane< T >::operator[] ( const I  k) const
inline

Element k, of any integral type like a View's indices (the loops index in int).

Member Data Documentation

◆ p

template<typename T >
T* teno_setup::Lane< T >::p

◆ stride

template<typename T >
size_t teno_setup::Lane< T >::stride

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