Last change
on this file since 5481 was
5480,
checked in by yann meurdesoif, 2 weeks ago
|
For GPU porting :
- add wrapper for source to source tools
- Separate initialization phase of lscp_old (firstilp), SAVE variable in compute subroutine cannot be managed properly.
YM
|
-
Property svn:eol-style set to
native
|
File size:
350 bytes
|
Rev | Line | |
---|
[5480] | 1 | #ifdef CPP_GPUM |
---|
| 2 | MODULE s2s |
---|
| 3 | USE s2s_mod |
---|
| 4 | END MODULE s2s |
---|
| 5 | #else |
---|
| 6 | |
---|
| 7 | ! s2s wrapper |
---|
| 8 | MODULE s2s |
---|
| 9 | |
---|
| 10 | PRIVATE |
---|
| 11 | PUBLIC s2s_initialize |
---|
| 12 | |
---|
| 13 | CONTAINS |
---|
| 14 | |
---|
| 15 | SUBROUTINE s2s_initialize() |
---|
| 16 | USE stack_mod |
---|
| 17 | USE dimphy |
---|
| 18 | IMPLICIT NONE |
---|
| 19 | |
---|
| 20 | CALL stack_init_pool(1024*1024*50, klon) |
---|
| 21 | |
---|
| 22 | END SUBROUTINE s2s_initialize |
---|
| 23 | |
---|
| 24 | END MODULE s2s |
---|
| 25 | |
---|
| 26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.