Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MPI_Aint_add(3)			      MPI		       MPI_Aint_add(3)

NAME
       MPI_Aint_add -  Returns the sum of base and disp

SYNOPSIS
       MPI_Aint	MPI_Aint_add(MPI_Aint base, MPI_Aint disp)

INPUT PARAMETERS
       base   -	base address (integer)
       disp   -	displacement (integer)

RETURN VALUE
       Sum of the base and disp	argument

NOTES
       MPI_Aint_Add  produces  a  new MPI_Aint value that is equivalent	to the
       sum of the base and disp	arguments, where base represents  a  base  ad-
       dress  returned	by  a  call  to	 MPI_GET_ADDRESS and disp represents a
       signed integer displacement. The	resulting address is valid only	at the
       process	that  generated	 base, and it must correspond to a location in
       the same	object referenced by base. The addition	is performed in	a man-
       ner  that  results in the correct MPI_Aint representation of the	output
       address,

AS IF THE PROCESS THAT ORIGINALLY PRODUCED BASE	HAD CALLED
       MPI_Get_address((char *)	base + disp, &result)

SEE ALSO
       MPI_Aint_diff

				   11/9/2015		       MPI_Aint_add(3)

NAME | SYNOPSIS | INPUT PARAMETERS | RETURN VALUE | NOTES | AS IF THE PROCESS THAT ORIGINALLY PRODUCED BASE HAD CALLED | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=MPI_Aint_add&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help