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

Compile tests fix

This commit is contained in:
Peter Boyle
2019-06-16 13:59:29 +01:00
parent d976e5c514
commit 703dc20377
3 changed files with 5 additions and 1 deletions

View File

@ -194,7 +194,9 @@ accelerator_inline void sub (Integer * __restrict__ y,const Integer * __restrict
accelerator_inline void add (Integer * __restrict__ y,const Integer * __restrict__ l,const Integer *__restrict__ r){ *y = (*l) + (*r); }
accelerator_inline void vstream(Integer &l, const RealD &r){ l=r;}
template<> accelerator_inline void zeroit(Integer &arg) { arg=0; };
accelerator_inline Integer mod (Integer a,Integer y) { return a%y;}
accelerator_inline Integer div (Integer a,Integer y) { return a/y;}
//accelerator_inline Integer abs (Integer &a) { return a%y;}
//////////////////////////////////////////////////////////