1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-13 12:47:05 +01:00

Wilson perf improvements with Gauge prefetching

This commit is contained in:
Peter Boyle
2015-05-06 06:37:21 +01:00
parent 35d949cc17
commit 55ccb8ccf4
14 changed files with 2819 additions and 3386 deletions

View File

@ -257,7 +257,7 @@ friend inline void vstore(const vComplexD &ret, ComplexD *a){
assert(0);
#endif
}
friend inline void vprefetch(const vComplexD &v)
friend inline void prefetch(const vComplexD &v)
{
_mm_prefetch((const char*)&v.v,_MM_HINT_T0);
}

View File

@ -206,7 +206,7 @@ namespace Grid {
assert(0);
#endif
}
friend inline void vprefetch(const vComplexF &v)
friend inline void prefetch(const vComplexF &v)
{
_mm_prefetch((const char*)&v.v,_MM_HINT_T0);
}

View File

@ -190,7 +190,7 @@ namespace Grid {
out=in;
}
friend inline void vprefetch(const vInteger &v)
friend inline void prefetch(const vInteger &v)
{
_mm_prefetch((const char*)&v.v,_MM_HINT_T0);
}

View File

@ -191,7 +191,7 @@ namespace Grid {
assert(0);
#endif
}
friend inline void vprefetch(const vRealD &v)
friend inline void prefetch(const vRealD &v)
{
_mm_prefetch((const char*)&v.v,_MM_HINT_T0);
}

View File

@ -225,7 +225,7 @@ friend inline void vstore(const vRealF &ret, float *a){
}
friend inline void vprefetch(const vRealF &v)
friend inline void prefetch(const vRealF &v)
{
_mm_prefetch((const char*)&v.v,_MM_HINT_T0);
}