SHMEM_FLOAT_P(3)
β¨ NAME β¨
shmem_char_p <#shmem-char-p>(3), shmem_float_p(3), shmem_int_p <#shmem-int-p>(3), shmem_long_p <#shmem-long-p>(3), shmem_short_p <#shmem-short-p>(3), shmem_longlong_p <#shmem-longlong-p>(3), and shmem_longdouble_p <#shmem-longdouble-p>(3) β bestie, these are the routines that give you a low latency way to write basic types to symmetric data objects over on remote PEs π
okay so the basic types in question are: char, short, int, float, double, long, long long, and long double. all of them. the whole squad. π«Ά
β¨ SYNOPSIS β¨
C or C++:
#include <mpp/shmem.h>
void shmem_char_p(char *addr, char value, int pe)
void shmem_short_p(short *addr, short value, int pe)
void shmem_int_p(int *addr, int value, int pe)
void shmem_long_p(long *addr, long value, int pe)
void shmem_longlong_p(long long *addr, long long value, int pe)
void shmem_float_p(float *addr, float value, int pe)
void shmem_double_p(double *addr, double value, int pe)
void shmem_longdouble_p(long double *addr, long double value, int pe)
like clockwork, every single one. no cap. β
π DESCRIPTION π
These routines are giving very low latency put capability for single elements of most basic types. it's one element, it's fast, it's iconic, periodt. π
The arguments are as follows:
addrβ the remotely accessible array element or scalar data object that's gonna receive the data on the remote PE. that's the glow-up destination. πvalueβ the value being transferred toaddron the remote PE. the gift. the package. the slay. π¦peβ the number of the remote PE. that's who's getting the goodies.
β οΈ okay important, no skipping this part: just likeshmem_put(3), these functions start the remote transfer and may return before the data is actually delivered to the remote PE. the vibes are asynchronous, bestie. if you need it done done, useshmem_quiet<#shmem-quiet>(3) to force completion of all remote PUT transfers. π§
See also:
intro_shmem(3) shmem_put(3)
π Copyright
2003-2026, The Open MPI Community
and that's the whole page, bestie!! this was SHMEM_FLOAT_P(3) from the Open MPI crew, dated Sep 10, 2026, Β© 2003-2026 The Open MPI Community β go put some single elements on remote PEs, you absolute icon ππ
β¨
π¦ where this page comes from
- ubuntu stonking: openmpi-doc 5.0.10-6 Β· other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms