Skip to content
Snippets Groups Projects
MNH_OPENACC_NV_CR.CPP 397 B
Newer Older
//#
//# 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
#define present_cr(TAB...) present(TAB)