Grid 0.7.0
Tensor_arith_mac.h File Reference

Go to the source code of this file.

Functions

 NAMESPACE_BEGIN (Grid)
template<class rtype, class vtype, class mtype>
accelerator_inline void mac (iScalar< rtype > *__restrict__ ret, const iScalar< vtype > *__restrict__ lhs, const iScalar< mtype > *__restrict__ rhs)
template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac (iMatrix< rrtype, N > *__restrict__ ret, const iMatrix< ltype, N > *__restrict__ lhs, const iMatrix< rtype, N > *__restrict__ rhs)
template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac (iMatrix< rrtype, N > *__restrict__ ret, const iMatrix< ltype, N > *__restrict__ lhs, const iScalar< rtype > *__restrict__ rhs)
template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac (iMatrix< rrtype, N > *__restrict__ ret, const iScalar< ltype > *__restrict__ lhs, const iMatrix< rtype, N > *__restrict__ rhs)
template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac (iVector< rrtype, N > *__restrict__ ret, const iMatrix< ltype, N > *__restrict__ lhs, const iVector< rtype, N > *__restrict__ rhs)
template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac (iVector< rrtype, N > *__restrict__ ret, const iScalar< ltype > *__restrict__ lhs, const iVector< rtype, N > *__restrict__ rhs)
template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac (iVector< rrtype, N > *__restrict__ ret, const iVector< ltype, N > *__restrict__ lhs, const iScalar< rtype > *__restrict__ rhs)
 NAMESPACE_END (Grid)

Function Documentation

◆ NAMESPACE_BEGIN()

NAMESPACE_BEGIN ( Grid )

◆ mac() [1/7]

template<class rtype, class vtype, class mtype>
accelerator_inline void mac ( iScalar< rtype > *__restrict__ ret,
const iScalar< vtype > *__restrict__ lhs,
const iScalar< mtype > *__restrict__ rhs )

Definition at line 50 of file Tensor_arith_mac.h.

References iScalar< vtype >::_internal, accelerator_inline, and mac().

Referenced by mac(), mac(), mac(), mac(), mac(), mac(), and mac().

◆ mac() [2/7]

template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac ( iMatrix< rrtype, N > *__restrict__ ret,
const iMatrix< ltype, N > *__restrict__ lhs,
const iMatrix< rtype, N > *__restrict__ rhs )

Definition at line 55 of file Tensor_arith_mac.h.

References iMatrix< vtype, N >::_internal, accelerator_inline, and mac().

◆ mac() [3/7]

template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac ( iMatrix< rrtype, N > *__restrict__ ret,
const iMatrix< ltype, N > *__restrict__ lhs,
const iScalar< rtype > *__restrict__ rhs )

◆ mac() [4/7]

template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac ( iMatrix< rrtype, N > *__restrict__ ret,
const iScalar< ltype > *__restrict__ lhs,
const iMatrix< rtype, N > *__restrict__ rhs )

◆ mac() [5/7]

template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac ( iVector< rrtype, N > *__restrict__ ret,
const iMatrix< ltype, N > *__restrict__ lhs,
const iVector< rtype, N > *__restrict__ rhs )

◆ mac() [6/7]

template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac ( iVector< rrtype, N > *__restrict__ ret,
const iScalar< ltype > *__restrict__ lhs,
const iVector< rtype, N > *__restrict__ rhs )

◆ mac() [7/7]

template<class rrtype, class ltype, class rtype, int N>
accelerator_inline void mac ( iVector< rrtype, N > *__restrict__ ret,
const iVector< ltype, N > *__restrict__ lhs,
const iScalar< rtype > *__restrict__ rhs )

◆ NAMESPACE_END()

NAMESPACE_END ( Grid )