comunication_func.h 436 Bytes
Newer Older
1
2
3
#ifndef COMUNICATION_FUNC_H
#define COMUNICATION_FUNC_H

4
5
6
7
#include <stdlib.h>
#include <stdio.h>
#include <mpi.h>

8

9
void point_to_point(int myId, int numP, int root, MPI_Comm comm, char *array, int qty);
10
11
12
void point_to_point_inter(int myId, int numP, MPI_Comm comm, char *array, char *r_array, int qty);
void point_to_point_asynch_inter(int myId, int numP, MPI_Comm comm, char *array, char *r_array, int qty, MPI_Request *reqs);

13

14
#endif