QUDA  v1.1.0
A library for QCD on GPUs
Classes | Macros
communicator_mpi.cpp File Reference
#include <communicator_quda.h>

Go to the source code of this file.

Classes

struct  MsgHandle_s
 

Macros

#define MPI_CHECK(mpi_call)
 

Macro Definition Documentation

◆ MPI_CHECK

#define MPI_CHECK (   mpi_call)
Value:
do { \
int status = mpi_call; \
if (status != MPI_SUCCESS) { \
char err_string[128]; \
int err_len; \
MPI_Error_string(status, err_string, &err_len); \
err_string[127] = '\0'; \
errorQuda("(MPI) %s", err_string); \
} \
} while (0)

Definition at line 3 of file communicator_mpi.cpp.