1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
.. _shmem_char_g:
shmem_char_g
============
.. include_body
:ref:`shmem_char_g`\ (3), :ref:`shmem_float_g`\ (3), :ref:`shmem_int_g`\ (3),
:ref:`shmem_long_g`\ (3), :ref:`shmem_short_g`\ (3), :ref:`shmem_longlong_g`\ (3),
:ref:`shmem_longdouble_g`\ (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.
SYNOPSIS
--------
C or C++:
.. code-block:: c++
#include <mpp/shmem.h>
char shmem_char_g(const char *addr, int pe)
short shmem_short_g(const short *addr, int pe)
int shmem_int_g(const int *addr, int pe)
long shmem_long_g(const long *addr, int pe)
long shmem_longlong_g(const long long *addr, int pe)
float shmem_float_g(const float *addr, int pe)
double shmem_double_g(const double *addr, int pe)
long shmem_longdouble_g(const long double *addr, int pe)
DESCRIPTION
-----------
These routines provide a very low latency get capability for single
elements of most basic types.
The arguments are as follows:
addr
The remotely accessible array element or scalar data object which
will receive the data on the remote PE.
pe
The number of the remote PE.
.. seealso::
*intro_shmem*\ (3) *shmem_get*\ (3)
|