Peano
Loading...
Searching...
No Matches
mpi.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
6#include "config.h"
8
9#include <string>
10
11#ifdef Parallel
12#include <mpi.h>
13#endif
14
15
16
17
71
72
73namespace tarch {
74 namespace mpi {
75 #ifdef Parallel
80 std::string MPIStatusToString( const MPI_Status& status );
81
82 std::string MPIReturnValueToString( int result );
83
95 void wait(MPI_Request& request, const std::string& fullQualifiedClassName, const std::string& functionName);
96 #endif
97 }
98}
99
std::string MPIStatusToString(const MPI_Status &status)
Returns a string representation of the mpi status.
Definition mpi.cpp:50
std::string MPIReturnValueToString(int result)
Definition mpi.cpp:9
void wait(MPI_Request &request, const std::string &fullQualifiedClassName, const std::string &functionName)
Wrapper around MPI_Wait.
Definition mpi.cpp:61
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition accelerator.h:19