XGCa
Public Member Functions | Public Attributes | List of all members
Simd< T > Struct Template Reference

#include <simd.hpp>

Public Member Functions

KOKKOS_INLINE_FUNCTION Simd ()
 
KOKKOS_INLINE_FUNCTION Simd (T initval)
 
KOKKOS_INLINE_FUNCTION T operator[] (int i) const
 
KOKKOS_INLINE_FUNCTION T & operator[] (int i)
 
template<typename Trhs >
KOKKOS_INLINE_FUNCTION void operator= (const Trhs rhs)
 
KOKKOS_INLINE_FUNCTION Simd< T > operator- () const
 
template<typename Trhs >
KOKKOS_INLINE_FUNCTION Simd< T > operator- (const Simd< Trhs > &rhs) const
 
template<typename Trhs >
KOKKOS_INLINE_FUNCTION Simd< T > operator+ (const Simd< Trhs > &rhs) const
 
template<typename Trhs >
KOKKOS_INLINE_FUNCTION Simd< T > operator* (const Simd< Trhs > &rhs) const
 
template<typename Trhs >
KOKKOS_INLINE_FUNCTION Simd< T > operator/ (const Simd< Trhs > &rhs) const
 
KOKKOS_INLINE_FUNCTION void zero ()
 

Public Attributes

x [SIMD_SIZE]
 

Constructor & Destructor Documentation

◆ Simd() [1/2]

template<typename T >
KOKKOS_INLINE_FUNCTION Simd< T >::Simd ( )
inline

◆ Simd() [2/2]

template<typename T >
KOKKOS_INLINE_FUNCTION Simd< T >::Simd ( initval)
inline

Member Function Documentation

◆ operator*()

template<typename T >
template<typename Trhs >
KOKKOS_INLINE_FUNCTION Simd<T> Simd< T >::operator* ( const Simd< Trhs > &  rhs) const
inline

◆ operator+()

template<typename T >
template<typename Trhs >
KOKKOS_INLINE_FUNCTION Simd<T> Simd< T >::operator+ ( const Simd< Trhs > &  rhs) const
inline

◆ operator-() [1/2]

template<typename T >
KOKKOS_INLINE_FUNCTION Simd<T> Simd< T >::operator- ( ) const
inline

◆ operator-() [2/2]

template<typename T >
template<typename Trhs >
KOKKOS_INLINE_FUNCTION Simd<T> Simd< T >::operator- ( const Simd< Trhs > &  rhs) const
inline

◆ operator/()

template<typename T >
template<typename Trhs >
KOKKOS_INLINE_FUNCTION Simd<T> Simd< T >::operator/ ( const Simd< Trhs > &  rhs) const
inline

◆ operator=()

template<typename T >
template<typename Trhs >
KOKKOS_INLINE_FUNCTION void Simd< T >::operator= ( const Trhs  rhs)
inline

◆ operator[]() [1/2]

template<typename T >
KOKKOS_INLINE_FUNCTION T& Simd< T >::operator[] ( int  i)
inline

◆ operator[]() [2/2]

template<typename T >
KOKKOS_INLINE_FUNCTION T Simd< T >::operator[] ( int  i) const
inline

◆ zero()

template<typename T >
KOKKOS_INLINE_FUNCTION void Simd< T >::zero ( )
inline

Member Data Documentation

◆ x

template<typename T >
T Simd< T >::x[SIMD_SIZE]

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