Asynchronous Communication
Overlap communication and computation
- A block of assignments (Array assignments, WHERE constructs, FORALL constructs) can be treated as a packet of one-sided communication.
- Asynchronous communication + WAIT
!HPF$ ASYNCHRONOUS (ID=X) BEGIN
FORALL (J=1:N) S(I) = T(N-J+1)
!HPF$ END ASYNC
Computation independent of the above communication
!HPF$ WAIT ASYNC (ID=X)