|
| 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, tag, 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, tag) |
| | 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.
|
| |
| subroutine | gs_caf::gs_nbsend_vec_caf (this, u, n, nc, tag, deps, strm) |
| | Fused nc-component put. Each peer slab is nc consecutive component blocks; the remote placement offset and slab length scale by nc, the per-peer signalling (sync/atomic/event) is unchanged.
|
| |
| subroutine | gs_caf::gs_nbrecv_vec_caf (this, tag, nc) |
| | No-op: senders push into the receiver's buffer.
|
| |
| subroutine | gs_caf::gs_nbwait_vec_caf (this, u, n, nc, op, strm) |
| | Fused nc-component wait/reduce for the coarray backend.
|
| |