Go to the source code of this file.
|
| type | gs_caf::gs_caf_t |
| | Gather-scatter communication using Coarray Fortran (F2008). Each image puts directly into the (module-level) receive coarray on the destination image. The signaling mode (NEKO_GS_CAF_SIGNALING) selects how segment ordering is established: sync uses sync images over the union of send and recv peers, atomic uses per-peer atomic_define/atomic_ref on data_ready/buf_ready counters, and event uses coarray events. More...
|
| |
|
| module | gs_caf |
| | Defines Coarray Fortran gather-scatter communication.
|
| |
|
| subroutine | gs_caf::gs_caf_init (this, send_pe, recv_pe) |
| | Initialise Coarray Fortran based communication method.
|
| |
| subroutine | gs_caf::gs_caf_free (this) |
| | Deallocate Coarray Fortran based communication method. The shared module-level recv coarray is intentionally retained so it can be reused by subsequent gs_caf_t instances.
|
| |
| subroutine | gs_caf::gs_nbsend_caf (this, u, n, deps, strm) |
| | Pack u into per-peer slabs and put each slab into the remote image's recv_buf. Double buffering means each round writes to a different half of the recv coarray, so no back-pressure synchronisation is needed in sync mode – the visibility synchronisation in nbwait suffices. Atomic and event modes still use their per-pair signalling.
|
| |
| subroutine | gs_caf::gs_nbrecv_caf (this) |
| | No-op for coarrays: senders push into the receiver's buffer, so the receive side does not need to post anything.
|
| |
| subroutine | gs_caf::gs_nbwait_caf (this, u, n, op, strm) |
| | Wait for all incoming puts and reduce them into u. In sync mode a sync_images bracket pairs with the senders' nbsend; in atomic mode each sender is awaited via its data_ready counter and credited via buf_ready after unpack.
|
| |