SHMEM_CHAR_P(3)
π NAME π
Okay bestie, this is the SHMEM_CHAR_P(3) page from the Open MPI manual β and it's giving βtiny but mighty remote-write energy.β β¨
shmem_char_p(3), shmem_float_p(3), shmem_int_p(3), shmem_long_p(3), shmem_short_p(3), shmem_longlong_p(3), and shmem_longdouble_p(3) β these routines provide a low latency mechanism to write basic types (char, short, int, float, double, long, long long, long double) to symmetric data objects on remote PEs. Periodt. π
β¨ 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);
π¦ DESCRIPTION π¦
These routines provide a very low latency put capability for single elements of most basic types. No cap, it's the little βjust put this one value over thereβ moment. π
The arguments are as follows:
addrβ The remotely accessible array element or scalar data object which will receive the data on the remote PE. It's the destination bestie on the other side. π«Άvalueβ The value to be transferred toaddron the remote PE. This is the actual tea being sent. βpeβ The number of the remote PE. Like, which PE are we sending this to? π
β οΈ Timing tea, important: As withshmem_put(3), these functions start the remote transfer and may return before the data is delivered to the remote PE. Useshmem_quiet(3)to force completion of all remote PUT transfers. Don't skip the quiet check if you need the delivery done-done. π
π SEE ALSO π
intro_shmem(3)shmem_put(3)
okay bye bestie π β footer vibes: source/version says gitclone, Unreleased developer copy, and the page is SHMEM_CHAR_P(3). No date printed in this footer, so that's the whole cute sign-off. mwah ππ
π¦ where this page comes from
- arch rolling: nvhpc-comm-libs 26.9-1 Β· LicenseRef-NVIDIA-HPC-SDK
- Copyright (c) 2015 University of Houston. All rights reserved
- Copyright (c) 2015 Mellanox Technologies, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms