_gfortran_caf_sendget— Sending data between remote images
void _gfortran_caf_sendget (caf_token_t dst_token, size_t dst_offset, int dst_image_index, gfc_descriptor_t *dest, caf_vector_t *dst_vector, caf_token_t src_token, size_t src_offset, int src_image_index, gfc_descriptor_t *src, caf_vector_t *src_vector, int dst_kind, int src_kind, bool may_require_tmp)
|dst_token||intent(in) An opaque pointer identifying the
|dst_offset||By which amount of bytes the actual data is
shifted compared to the base address of the destination coarray.
|dst_image_index||The ID of the destination remote image; must
be a positive number.
|dest||intent(in) Array descriptor for the destination
remote image for the bounds and the size. The base_addr shall not be accessed.
|dst_vector||intent(int) If not NULL, it contains the vector
subscript of the destination array; the values are relative to the dimension
triplet of the dest argument.
|src_token||An opaque pointer identifying the source coarray.
|src_offset||By which amount of bytes the actual data is shifted
compared to the base address of the source coarray.
|src_image_index||The ID of the source remote image; must be a
|src||intent(in) Array descriptor of the local array to be
transferred to the remote image.
|src_vector||intent(in) Array descriptor of the local array to
be transferred to the remote image
|dst_kind||Kind of the destination argument
|src_kind||Kind of the source argument
|may_require_tmp||The variable is false it is known at compile
time that the dest and src either cannot overlap or overlap (fully
or partially) such that walking src and dest in element wise
element order (honoring the stride value) will not lead to wrong results.
Otherwise, the value is true.
memmovewhich handles (partially) overlapping memory. If may_require_tmp is true, the library might additionally create a temporary variable, unless additional checks show that this is not required (e.g. because walking backward is possible or because both arrays are contiguous and
memmovetakes care of overlap issues).
Note that the assignment of a scalar to an array is permitted. In addition, the library has to handle numeric-type conversion and for strings, padding and different character kinds.