54
H. Murai et al.
Fig. 41 Out gmove
A gmove construct that is in out mode copies data using a put communication
from the first-half nodes to the second-half nodes (Fig. 41).
4.3 barrier Construct
The barrier construct executes a barrier synchronization.
XcalableMP C
#pragma xmp barrier
XcalableMP Fortran
!$xmp barrier
You can specify a node set on which the barrier synchronization is to be
performed by using the on clause. In the example below, a barrier synchronization
is performed among the first two nodes of p.
XcalableMP C
#pragma xmp barrier on p[0:2]
XcalableMP Fortran
!$xmp barrier on p(1:2)
Précédent

- 62/265

Suivant