QUDA
v1.1.0
A library for QCD on GPUs
|
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <nvToolsExt.h>
#include <nvToolsExtCudaRt.h>
#include <mpi_comm_handle.h>
Go to the source code of this file.
Macros | |
#define | _EXTERN_C_ |
Functions | |
_EXTERN_C_ void | pmpi_init (MPI_Fint *ierr) |
_EXTERN_C_ void | PMPI_INIT (MPI_Fint *ierr) |
_EXTERN_C_ void | pmpi_init_ (MPI_Fint *ierr) |
_EXTERN_C_ void | pmpi_init__ (MPI_Fint *ierr) |
_EXTERN_C_ int | PMPI_Init (int *argc, char ***argv) |
_EXTERN_C_ int | MPI_Init (int *argc, char ***argv) |
_EXTERN_C_ int | PMPI_Send (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Send (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Recv (void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status) |
_EXTERN_C_ int | MPI_Recv (void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status) |
_EXTERN_C_ int | PMPI_Allreduce (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Allreduce (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Reduce (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Reduce (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Wait (MPI_Request *request, MPI_Status *status) |
_EXTERN_C_ int | MPI_Wait (MPI_Request *request, MPI_Status *status) |
_EXTERN_C_ int | PMPI_Waitany (int count, MPI_Request array_of_requests[], int *index, MPI_Status *status) |
_EXTERN_C_ int | MPI_Waitany (int count, MPI_Request array_of_requests[], int *index, MPI_Status *status) |
_EXTERN_C_ int | PMPI_Waitall (int count, MPI_Request array_of_requests[], MPI_Status *array_of_statuses) |
_EXTERN_C_ int | MPI_Waitall (int count, MPI_Request array_of_requests[], MPI_Status *array_of_statuses) |
_EXTERN_C_ int | PMPI_Waitsome (int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]) |
_EXTERN_C_ int | MPI_Waitsome (int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]) |
_EXTERN_C_ int | PMPI_Gather (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Gather (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Gatherv (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, int root, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Gatherv (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, int root, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Scatter (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Scatter (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Scatterv (const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Scatterv (const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Allgather (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Allgather (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Allgatherv (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Allgatherv (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Alltoall (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Alltoall (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Alltoallv (const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Alltoallv (const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Alltoallw (const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm) |
_EXTERN_C_ int | MPI_Alltoallw (const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Bcast (void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm) |
_EXTERN_C_ int | MPI_Bcast (void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Sendrecv (const void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status) |
_EXTERN_C_ int | MPI_Sendrecv (const void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status) |
_EXTERN_C_ int | PMPI_Barrier (MPI_Comm comm) |
_EXTERN_C_ int | MPI_Barrier (MPI_Comm comm) |
_EXTERN_C_ int | PMPI_Start (MPI_Request *request) |
_EXTERN_C_ int | MPI_Start (MPI_Request *request) |
_EXTERN_C_ int | PMPI_Test (MPI_Request *request, int *flag, MPI_Status *status) |
_EXTERN_C_ int | MPI_Test (MPI_Request *request, int *flag, MPI_Status *status) |
_EXTERN_C_ int | PMPI_Send_init (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) |
_EXTERN_C_ int | MPI_Send_init (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) |
_EXTERN_C_ int | PMPI_Recv_init (void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request) |
_EXTERN_C_ int | MPI_Recv_init (void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request) |
#define _EXTERN_C_ |
Definition at line 9 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Allgather | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
Definition at line 340 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Allgatherv | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
const int | recvcounts[], | ||
const int | displs[], | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
Definition at line 363 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Allreduce | ( | const void * | sendbuf, |
void * | recvbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Op | op, | ||
MPI_Comm | comm | ||
) |
Definition at line 110 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Alltoall | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
Definition at line 386 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Alltoallv | ( | const void * | sendbuf, |
const int | sendcounts[], | ||
const int | sdispls[], | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
const int | recvcounts[], | ||
const int | rdispls[], | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
Definition at line 409 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Alltoallw | ( | const void * | sendbuf, |
const int | sendcounts[], | ||
const int | sdispls[], | ||
const MPI_Datatype | sendtypes[], | ||
void * | recvbuf, | ||
const int | recvcounts[], | ||
const int | rdispls[], | ||
const MPI_Datatype | recvtypes[], | ||
MPI_Comm | comm | ||
) |
Definition at line 432 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Barrier | ( | MPI_Comm | comm | ) |
Definition at line 501 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Bcast | ( | void * | buffer, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Definition at line 455 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Gather | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Definition at line 248 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Gatherv | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
const int | recvcounts[], | ||
const int | displs[], | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Definition at line 271 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Init | ( | int * | argc, |
char *** | argv | ||
) |
Definition at line 42 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Recv | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | source, | ||
int | tag, | ||
MPI_Comm | comm, | ||
MPI_Status * | status | ||
) |
Definition at line 87 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Recv_init | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | source, | ||
int | tag, | ||
MPI_Comm | comm, | ||
MPI_Request * | request | ||
) |
Definition at line 593 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Reduce | ( | const void * | sendbuf, |
void * | recvbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Op | op, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Definition at line 133 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Scatter | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Definition at line 294 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Scatterv | ( | const void * | sendbuf, |
const int | sendcounts[], | ||
const int | displs[], | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Definition at line 317 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Send | ( | const void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm | comm | ||
) |
Definition at line 64 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Send_init | ( | const void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm | comm, | ||
MPI_Request * | request | ||
) |
Definition at line 570 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Sendrecv | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
int | dest, | ||
int | sendtag, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
int | source, | ||
int | recvtag, | ||
MPI_Comm | comm, | ||
MPI_Status * | status | ||
) |
Definition at line 478 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Start | ( | MPI_Request * | request | ) |
Definition at line 524 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Test | ( | MPI_Request * | request, |
int * | flag, | ||
MPI_Status * | status | ||
) |
Definition at line 547 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Wait | ( | MPI_Request * | request, |
MPI_Status * | status | ||
) |
Definition at line 156 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Waitall | ( | int | count, |
MPI_Request | array_of_requests[], | ||
MPI_Status * | array_of_statuses | ||
) |
Definition at line 202 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Waitany | ( | int | count, |
MPI_Request | array_of_requests[], | ||
int * | index, | ||
MPI_Status * | status | ||
) |
Definition at line 179 of file nvtx_pmpi.c.
_EXTERN_C_ int MPI_Waitsome | ( | int | incount, |
MPI_Request | array_of_requests[], | ||
int * | outcount, | ||
int | array_of_indices[], | ||
MPI_Status | array_of_statuses[] | ||
) |
Definition at line 225 of file nvtx_pmpi.c.
_EXTERN_C_ int PMPI_Allgather | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Allgatherv | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
const int | recvcounts[], | ||
const int | displs[], | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Allreduce | ( | const void * | sendbuf, |
void * | recvbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Op | op, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Alltoall | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Alltoallv | ( | const void * | sendbuf, |
const int | sendcounts[], | ||
const int | sdispls[], | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
const int | recvcounts[], | ||
const int | rdispls[], | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Alltoallw | ( | const void * | sendbuf, |
const int | sendcounts[], | ||
const int | sdispls[], | ||
const MPI_Datatype | sendtypes[], | ||
void * | recvbuf, | ||
const int | recvcounts[], | ||
const int | rdispls[], | ||
const MPI_Datatype | recvtypes[], | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Barrier | ( | MPI_Comm | comm | ) |
_EXTERN_C_ int PMPI_Bcast | ( | void * | buffer, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Gather | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Gatherv | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
const int | recvcounts[], | ||
const int | displs[], | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Init | ( | int * | argc, |
char *** | argv | ||
) |
_EXTERN_C_ void pmpi_init | ( | MPI_Fint * | ierr | ) |
_EXTERN_C_ void PMPI_INIT | ( | MPI_Fint * | ierr | ) |
_EXTERN_C_ void pmpi_init_ | ( | MPI_Fint * | ierr | ) |
_EXTERN_C_ void pmpi_init__ | ( | MPI_Fint * | ierr | ) |
_EXTERN_C_ int PMPI_Recv | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | source, | ||
int | tag, | ||
MPI_Comm | comm, | ||
MPI_Status * | status | ||
) |
_EXTERN_C_ int PMPI_Recv_init | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | source, | ||
int | tag, | ||
MPI_Comm | comm, | ||
MPI_Request * | request | ||
) |
_EXTERN_C_ int PMPI_Reduce | ( | const void * | sendbuf, |
void * | recvbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Op | op, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Scatter | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Scatterv | ( | const void * | sendbuf, |
const int | sendcounts[], | ||
const int | displs[], | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Send | ( | const void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm | comm | ||
) |
_EXTERN_C_ int PMPI_Send_init | ( | const void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm | comm, | ||
MPI_Request * | request | ||
) |
_EXTERN_C_ int PMPI_Sendrecv | ( | const void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
int | dest, | ||
int | sendtag, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
int | source, | ||
int | recvtag, | ||
MPI_Comm | comm, | ||
MPI_Status * | status | ||
) |
_EXTERN_C_ int PMPI_Start | ( | MPI_Request * | request | ) |
_EXTERN_C_ int PMPI_Test | ( | MPI_Request * | request, |
int * | flag, | ||
MPI_Status * | status | ||
) |
_EXTERN_C_ int PMPI_Wait | ( | MPI_Request * | request, |
MPI_Status * | status | ||
) |
_EXTERN_C_ int PMPI_Waitall | ( | int | count, |
MPI_Request | array_of_requests[], | ||
MPI_Status * | array_of_statuses | ||
) |
_EXTERN_C_ int PMPI_Waitany | ( | int | count, |
MPI_Request | array_of_requests[], | ||
int * | index, | ||
MPI_Status * | status | ||
) |
_EXTERN_C_ int PMPI_Waitsome | ( | int | incount, |
MPI_Request | array_of_requests[], | ||
int * | outcount, | ||
int | array_of_indices[], | ||
MPI_Status | array_of_statuses[] | ||
) |