Skip to content
Snippets Groups Projects
MNH_OPENACC_NV_CR.CPP 400 B
Newer Older
  • Learn to ignore specific revisions
  • //#
    //# 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 !/!\ NOT ACTIVATE present