shmem_iget128

Purpose

Transfers strided data from a specified processing element (PE).

C syntax

#include <shmem.h>
 
void shmem_iget128(void *target, const void *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 routine provides a high-performance method for copying a strided array from the specified remote PE to a local strided arrary

This routine returns when the data has been copied into the local target array.

The function shmem_iget128() reads strided array where each element is any non-character type that has a storage size equal to 128 bits 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_double_g, shmem_get


OpenSHMEM API Index