shmem_int_p

Purpose

Transfers one data item to a remote Processing Element (PE).

C syntax

#include <shmem.h>
 
void shmem_int_p(int *addr, int value, int pe);
 

Parameters

INPUT
addr
The remotely accessible data object which will receive the data on the remote PE.
value
The value to be transferred to addr on the remote PE.
pe
Processing element number of the remote PE.

Description

This routine provides a very low latency remote read write capability for single elements of most basic types

This function starts the remote transfer and may return before the data is delivered to the remote PE. To enforce the ordering/completion of the put routines, the use of shmem_fence, shmem_quiet, shmem_barrier or shmem_barrier_all is needed.

The function shmem_short_p() transfers a int data item to 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_barrier, shmem_put, shmem_fence, shmem_iput, shmem_quiet


OpenSHMEM API Index