Changeset 13296 for NEMO/trunk/src
- Timestamp:
- 2020-07-10T20:36:34+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/do_loop_substitute.h90
r13295 r13296 8 8 ! between version 4.0 and 4.2. The primary aim of these macros is to assist in future applications of tiling 9 9 ! to improve performance. This is expected to be achieved by alternative versions of these macros in selected 10 ! locations. The initial introduction of these macros simply replace sall identifiable nested 2D- and 3D-loops11 ! with single line statements (and adjusts indenting accordingly). Do loops are identifiable if they comform10 ! locations. The initial introduction of these macros simply replaced all identifiable nested 2D- and 3D-loops 11 ! with single line statements (and adjusts indenting accordingly). Do loops were identifiable if they comformed 12 12 ! to either: 13 13 ! DO jk = .... … … 21 21 ! and white-space variants thereof. 22 22 ! 23 ! Additionally, only loops with recognised jj and ji loops limits are treated; these are:23 ! Additionally, only loops with recognised jj and ji loops limits were treated; these were: 24 24 ! Lower limits of 1, 2 or fs_2 25 25 ! Upper limits of jpi, jpim1 or fs_jpim1 (for ji) or jpj, jpjm1 or fs_jpjm1 (for jj) 26 26 ! 27 ! The macro naming convention takes the form: DO_2D _BT_LRwhere:27 ! The macro naming convention takes the form: DO_2D( B, T, L, R) where: 28 28 ! B is the Bottom offset from the PE's inner domain; 29 29 ! T is the Top offset from the PE's inner domain; … … 42 42 ! with: 43 43 ! 44 ! DO_2D _01_1044 ! DO_2D( 0, 1, 1, 0 ) 45 45 ! . 46 46 ! .
Note: See TracChangeset
for help on using the changeset viewer.