mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-01 13:38:05 +01:00
Fixing a compilation error for generic SIMD
This commit is contained in:
1 parent
0ffc235741
commit
15e801af3f
1 file changed
+3
-1
@@ -281,8 +281,8 @@ namespace Optimization {
|
||||
|
||||
struct PrecisionChange {
|
||||
static inline vech StoH (const vecf &a,const vecf &b) {
|
||||
#ifdef USE_FP16
|
||||
vech ret;
|
||||
#ifdef USE_FP16
|
||||
vech *ha = (vech *)&a;
|
||||
vech *hb = (vech *)&b;
|
||||
const int nf = W<float>::r;
|
||||
@@ -493,6 +493,8 @@ namespace Optimization {
|
||||
|
||||
return a;
|
||||
}
|
||||
|
||||
#undef acc // EIGEN compatibility
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user