1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-01-07 02:19:34 +00:00

sum_gpu_large and sum_gpu templates added.

This commit is contained in:
2022-03-02 15:40:18 +00:00
parent 9aac1e6d64
commit d4ae71b880
2 changed files with 24 additions and 0 deletions

View File

@@ -288,6 +288,14 @@ inline typename vobj::scalar_object sum_gpu(const vobj *lat, Integer osites)
return result;
}
template <class vobj>
inline typename vobj::scalar_object sum_gpu_large(const vobj *lat, Integer osites)
{
typedef typename vobj::scalar_object sobj;
sobj result;
result = sumD_gpu_large(lat,osites);
return result;
}
NAMESPACE_END(Grid);