Forked from
Méso-NH / Méso-NH code
2287 commits behind, 975 commits ahead of the upstream repository.
-
ESCOBAR Juan authored
Juan 28/08/2022:MNH_OPENACC_NV_CR.CPP, better management of argument of present_cr() , allow & <-> continuation lines => Correction of Solveur divergence with nvhpc !!!
ESCOBAR Juan authoredJuan 28/08/2022:MNH_OPENACC_NV_CR.CPP, better management of argument of present_cr() , allow & <-> continuation lines => Correction of Solveur divergence with nvhpc !!!
MNH_OPENACC_NV_CR.CPP 397 B
//#
//# Some Macro to bypass OpenACC incompatiblity beetwen Nvidia & Cray Compiler
//#
//# Activate $acc directive only for Nvidia Compiler
#ifdef MNH_COMPILER_NVHPC
#define acc_nv acc
#else
#define acc_nv !/!\ NOT ACTIVATE acc
#endif
//# Activate present directive only for Cray Compiler
#ifdef MNH_COMPILER_CCE
#define present_cr(TAB...) present(TAB)
#else
#define present_cr(TAB...)
#endif