vectopt_loop_substitute.h90 940 B

123456789101112131415161718
  1. !!----------------------------------------------------------------------
  2. !! *** vectopt_loop_substitute ***
  3. !!----------------------------------------------------------------------
  4. !! ** purpose : substitute the inner loop start/end indices with CPP macro
  5. !! allow unrolling of do-loop (useful with vector processors)
  6. !!----------------------------------------------------------------------
  7. !!----------------------------------------------------------------------
  8. !! NEMO/OPA 3.7 , NEMO Consortium (2014)
  9. !! $Id: vectopt_loop_substitute.h90 4990 2014-12-15 16:42:49Z timgraham $
  10. !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
  11. !!----------------------------------------------------------------------
  12. #if defined key_vectopt_loop
  13. # define fs_2 1
  14. # define fs_jpim1 jpi
  15. #else
  16. # define fs_2 2
  17. # define fs_jpim1 jpim1
  18. #endif