[This is preliminary documentation and is subject to change.]
Broadcast a value from the root process to every process within the communication.
See Broadcast<(Of <(T>)>)(T%, Int32).
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 0.8.0.0 (0.8.0.0)
Syntax
| C# |
|---|
public static int MPI_Bcast( IntPtr buffer, int count, int datatype, int root, int comm ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function MPI_Bcast ( _ buffer As IntPtr, _ count As Integer, _ datatype As Integer, _ root As Integer, _ comm As Integer _ ) As Integer |
| Visual C++ |
|---|
public: static int MPI_Bcast( IntPtr buffer, int count, int datatype, int root, int comm ) |
Parameters
- buffer
- Type: System..::.IntPtr
Pointer to the data that will be broadcast. At the root, this buffer will be read; in all other processes, the buffer will be written.
- count
- Type: System..::.Int32
The number of elements that buffer points to.
- datatype
- Type: System..::.Int32
The type of data stored in the buffer.
- root
- Type: System..::.Int32
The rank of the root processor, from which the data will be broadcast.
- comm
- Type: System..::.Int32
The communicator over which the data will be transmitted.