Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
device_mpi.c File Reference
#include <stdlib.h>
#include <mpi.h>
#include <comm/comm.h>
Include dependency graph for device_mpi.c:

Go to the source code of this file.

Functions

void device_mpi_init_reqs (int n, void **reqs_out)
void device_mpi_free_reqs (void **reqs)
void device_mpi_isend (void *buf_d, int offset, int nbytes, int rank, int tag, void *vreqs, int i)
void device_mpi_irecv (void *buf_d, int offset, int nbytes, int rank, int tag, void *vreqs, int i)
int device_mpi_test (void *vreqs, int i)
void device_mpi_waitall (int n, void *vreqs)
int device_mpi_waitany (int n, void *vreqs, int *i)

Function Documentation

◆ device_mpi_free_reqs()

void device_mpi_free_reqs ( void ** reqs)

Definition at line 50 of file device_mpi.c.

◆ device_mpi_init_reqs()

void device_mpi_init_reqs ( int n,
void ** reqs_out )

C wrapper for MPI calls, since passing device pointers does not work in the Fortran MPI interface.

Definition at line 45 of file device_mpi.c.

◆ device_mpi_irecv()

void device_mpi_irecv ( void * buf_d,
int offset,
int nbytes,
int rank,
int tag,
void * vreqs,
int i )

Definition at line 62 of file device_mpi.c.

◆ device_mpi_isend()

void device_mpi_isend ( void * buf_d,
int offset,
int nbytes,
int rank,
int tag,
void * vreqs,
int i )

Definition at line 55 of file device_mpi.c.

◆ device_mpi_test()

int device_mpi_test ( void * vreqs,
int i )

Definition at line 69 of file device_mpi.c.

◆ device_mpi_waitall()

void device_mpi_waitall ( int n,
void * vreqs )

Definition at line 76 of file device_mpi.c.

◆ device_mpi_waitany()

int device_mpi_waitany ( int n,
void * vreqs,
int * i )

Definition at line 81 of file device_mpi.c.