/[MITgcm]/MITgcm/eesupp/src/memsync.F
ViewVC logotype

Annotation of /MITgcm/eesupp/src/memsync.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Sep 29 18:53:45 1998 UTC (25 years, 7 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint15, checkpoint17, checkpoint18, checkpoint16
CHanges to exchange routines for general tile <-> tile connectivity, DMA and shared
memory communication hooks, variable width overlaps and TAMC reverse mode flag.

1 cnh 1.1 C $Header: $
2    
3     SUBROUTINE MEMSYNC
4    
5     C /==========================================================\
6     C | SUBROUTINE MEMSYNC |
7     C | o Place holder for memory sync routine |
8     C |==========================================================|
9     C | This routine is called wherever the code requires |
10     C | that writes performed by one thread or process must |
11     C | be guaranteed visible to other processes and or threads. |
12     C | On SPARC this routine would implement a |
13     C | asm("membar #LoadStore|#StoreStore"); |
14     C | On ALPHA |
15     C | asm("mb"); |
16     C | Note: I have yet to show this is necessary although |
17     C | the Memory Channel writes must need something like|
18     C | this. |
19     C \==========================================================/
20    
21     END

  ViewVC Help
Powered by ViewVC 1.1.22