1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-16 23:07:05 +01:00

Implemented mixed precision CG. Fixed filelist to exclude lib/Old directory and include Config.h.

This commit is contained in:
Christopher Kelly
2016-07-06 15:57:04 -04:00
parent df5c788ef2
commit 85ed8175cb
9 changed files with 311 additions and 14 deletions

View File

@ -82,6 +82,12 @@ template <typename T> using is_lattice = std::is_base_of<LatticeBase,T >;
template <typename T> using is_lattice_expr = std::is_base_of<LatticeExpressionBase,T >;
//Specialization of getVectorType for lattices
template<typename T>
struct getVectorType<Lattice<T> >{
typedef typename Lattice<T>::vector_object type;
};
template<class sobj>
inline sobj eval(const unsigned int ss, const sobj &arg)
{