Performs an atomic add operation on a symmetric data object.
#include <shmem.h> void shmem_longlong_add(long long *target, long long value, int pe);
The shmem_longlong_add routine performs an atomic add operation.
It adds value to the variable pointed by target on the processing element specified by pe.
The atomic accessing of the shared variable is guaranteed only when that variable is updated solely using IBM openshmem functions.
To utilize the hardware atomic operations support of the PERCS system, the variables of these operations should be aligned with their natural byte alignments. For example, an int variable should be 4-byte aligned; a long long variable should be 8-byte aligned. If the participating variables are not aligned, the operation is done in software with sub-optimal performance
Subroutines: shmem_fadd