XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
Simd< T > Struct Template Reference

#include <simd.hpp>

Collaboration diagram for Simd< T >:
Collaboration graph
[legend]

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

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

Member Function Documentation

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

Here is the caller graph for this function:

Member Data Documentation

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

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