1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

Predicate tests on fp16 being enabled

This commit is contained in:
paboyle 2017-04-13 12:08:05 +01:00
parent 1d502e4ed6
commit 2846f079e5

View File

@ -725,6 +725,7 @@ int main (int argc, char ** argv)
std::cout <<" OK ! "<<std::endl;
// Double to Half
#ifdef USE_FP16
std::cout << GridLogMessage<< "Double to half" ;
precisionChange(&H[0],&D[0],Ndp);
precisionChange(&DD[0],&H[0],Ndp);
@ -753,7 +754,7 @@ int main (int argc, char ** argv)
assert( tmp < 1.0e-3 );
}
std::cout <<" OK ! "<<std::endl;
#endif
}
Grid_finalize();
}