shmem_long_iget
Purpose
Transfers strided data from a specified processing element (PE).
C syntax
#include <shmem.h>
void shmem_long_iget(long *target, const long *source, ptrdiff_t tst, ptrdiff_t sst, size_t len, int pe);
Parameters
- INPUT
-
- target
- Local strided array to be updated.
- source
- Remotely accessible strided array on the remote PE that contains the data to be copied.
- tst
- The stride between consecutive elements of the target array. The stride is scaled by the element size of the target array. A value of 1 indicates contiguous data.
- sst
- The stride between consecutive elements of the source array. The stride is scaled by the element size of the source array. A value of 1 indicates contiguous data.
- len
- Number of elements in the target and source arrays.
- pe
- Processing element number of the remote PE
Description
This input routine provides a high-performance method for copying a
strided array from a remote PE to a local strided array
The routine returns when the data has been copied into the local target array.
The function shmem_long_iget() reads strided array of type long from the
remote PE.
IBM NOTES
Please refer to Atomicity and Coherency section for atomicity and coherence model in the OpenSHMEM documentation
C examples
Related information
Subroutines: shmem_long_g, shmem_get
OpenSHMEM API Index