shmem_char_g3(3) These routines provide a low latency mechanism to read basic types (char, short, int, float, double, long, long long, long double) from symmetric data objects on remote PEs.

Other Alias

shmem_float_g3, shmem_int_g3, shmem_long_g3, shmem_short_g3, shmem_longlong_g3, shmem_longdouble_g3


C or C++:

#include <mpp/shmem.h>
char shmem_char_g(char *addr, int pe);
short shmem_short_g(short *addr, int pe);
int shmem_int_g(int *addr, int pe);
long shmem_long_g(long *addr, int pe);
long shmem_longlong_g(long long *addr, int pe);
float shmem_float_g(float *addr, int pe);
double shmem_double_g(double *addr, int pe);
long shmem_longdouble_g(long double *addr, int pe);


These routines provide a very low latency get capability for single elements of most basic types.

The arguments are as follows:

The remotely accessible array element or scalar data object which will receive the data on the remote PE.
The number of the remote PE.