Une nouvelle version du portail de gestion des comptes externes sera mise en production lundi 09 août. Elle permettra d'allonger la validité d'un compte externe jusqu'à 3 ans. Pour plus de détails sur cette version consulter : https://doc-si.inria.fr/x/FCeS

Commit 59ddf450 authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

Add a flag in cmake to comile with double or single precision, just set...

Add a flag in cmake to comile with double or single precision, just set SCALFMM_USE_DOUBLE_PRECISION
parent 54582706
......@@ -26,6 +26,7 @@ OPTION( SCALFMM_BUILD_TESTS "Set to ON to build fonctionnalities Tests" ON )
OPTION( SCALFMM_BUILD_UTESTS "Set to ON to build UTests" ON )
OPTION( SCALFMM_BUILD_DEBUG "Set to ON to build in Debug" OFF )
OPTION( SCALFMM_USE_MEM_STATS "Set to ON to profile memory" OFF )
OPTION( SCALFMM_USE_DOUBLE_PRECISION "Set to ON to compile in double precision" OFF )
# Test if openmp is here
......
......@@ -27,4 +27,10 @@
#cmakedefine SCALFMM_USE_MEM_STATS
///////////////////////////////////////////////////////
// Double precision
///////////////////////////////////////////////////////
#cmakedefine SCALFMM_USE_DOUBLE_PRECISION
#endif // CONFIG_H
......@@ -53,7 +53,11 @@
// Types
///////////////////////////////////////////////////////
typedef float FReal;
#ifdef SCALFMM_USE_DOUBLE_PRECISION
typedef double FReal;
#else
typedef float FReal;
#endif
typedef long long FSize;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment