Skip to content
Snippets Groups Projects
Forked from Méso-NH / Méso-NH code
2287 commits behind, 975 commits ahead of the upstream repository.
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