2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

Datentypen zu MPI hinzugefuegt

This commit is contained in:
Martin Thoma 2014-04-07 10:33:49 +02:00
parent 28ad9f1197
commit 9c2b597bc3
4 changed files with 10 additions and 5 deletions

View file

@ -1 +1,3 @@
MPI_Bcast(buffer, count, datatype, root, comm) int MPI_Bcast( void *buffer, int count,
MPI_Datatype datatype, int root,
MPI_Comm comm )

View file

@ -5,6 +5,6 @@ int recvbuf[DATASIZE], sendbuf[DATA_SIZE];
... ...
/* Minimum bilden */ /* Minimum bilden */
MPI_Reduce(sendbuf, recvbuf, DATA_SIZE, MPI_INT, MPI_MIN, MPI_Reduce(sendbuf, recvbuf, DATA_SIZE, MPI_INT,
0, MPI_COMM_WORLD); MPI_MIN, 0, MPI_COMM_WORLD);
... ...

View file

@ -1,2 +1,5 @@
MPI_Scatter(sendbuf, sendcount, sendtype, recvbuf, int MPI_Scatter(const void *sendbuf, int sendcount,
recvcount, recvtype, root, comm) MPI_Datatype sendtype,
void *recvbuf, int recvcount,
MPI_Datatype recvtype,
int root, MPI_Comm comm)