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:
parent
28ad9f1197
commit
9c2b597bc3
4 changed files with 10 additions and 5 deletions
Binary file not shown.
|
@ -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 )
|
|
@ -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);
|
||||||
...
|
...
|
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue