Skip to content

Commit

Permalink
Merge pull request #13 from xantares/address
Browse files Browse the repository at this point in the history
Add MPI_Get_address
  • Loading branch information
dokempf authored Apr 21, 2023
2 parents 48165f7 + c922dd9 commit 32b5bf5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/experimental_unimpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ extern "C"
#define MPI_MAX_INFO_KEY 2056
#define MPI_MAX_INFO_VAL 2056

#define MPI_Get_address(location, address) \
(*(address) = (MPI_Aint)((char*)(location)), MPI_SUCCESS)

typedef void MPI_Comm_errhandler_function(MPI_Comm*, int*, ...);
int MPI_Comm_create_errhandler(
MPI_Comm_errhandler_function* comm_errhandler_fn,
Expand Down

0 comments on commit 32b5bf5

Please sign in to comment.