source:
NEMO/trunk/src/OCE/vectopt_loop_substitute.h90
@
11525
Last change on this file since 11525 was 10068, checked in by nicolasmartin, 6 years ago | |
---|---|
|
|
File size: 864 bytes |
Rev | Line | |
---|---|---|
[3] | 1 | !!---------------------------------------------------------------------- |
2 | !! *** vectopt_loop_substitute *** | |
3 | !!---------------------------------------------------------------------- | |
[4990] | 4 | !! ** purpose : substitute the inner loop start/end indices with CPP macro |
5 | !! allow unrolling of do-loop (useful with vector processors) | |
[3] | 6 | !!---------------------------------------------------------------------- |
[247] | 7 | !!---------------------------------------------------------------------- |
[9598] | 8 | !! NEMO/OCE 4.0 , NEMO Consortium (2018) |
[1152] | 9 | !! $Id$ |
[10068] | 10 | !! Software governed by the CeCILL license (see ./LICENSE) |
[247] | 11 | !!---------------------------------------------------------------------- |
[3] | 12 | #if defined key_vectopt_loop |
[4990] | 13 | # define fs_2 1 |
14 | # define fs_jpim1 jpi | |
[3] | 15 | #else |
[4990] | 16 | # define fs_2 2 |
17 | # define fs_jpim1 jpim1 | |
[3] | 18 | #endif |
Note: See TracBrowser
for help on using the repository browser.