|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp2pmpi.mpi.Comm
public class Comm
Point-to-Point communication class
Constructor Summary | |
---|---|
Comm(p2pmpi.mpi.dev.Device myDevice,
p2pmpi.common.RankTable rankTable,
int rank,
int rankInList,
int numRank,
p2pmpi.common.MapRankTable mapRankTable)
Internal use |
|
Comm(Group group)
Create a new communicator by group |
Method Summary | |
---|---|
Group |
Group()
Returns group of this communicator |
Request |
Irecv(java.lang.Object recvBuffer,
int offset,
int count,
Datatype datatype,
int src,
int tag)
Begins a non-blocking receive. |
Request |
Isend(java.lang.Object sendBuffer,
int offset,
int count,
Datatype datatype,
int dest,
int tag)
|
int |
Rank()
Returns my rank number in communicator. |
Status |
Recv(java.lang.Object recvBuffer,
int offset,
int count,
Datatype datatype,
int src,
int tag)
Basic (blocking) receive. |
int |
Send(java.lang.Object sendBuffer,
int offset,
int count,
Datatype datatype,
int dest,
int tag)
|
Status |
Sendrecv(java.lang.Object sendBuffer,
int sendOffset,
int sendCount,
Datatype sendType,
int dest,
int sendTag,
java.lang.Object recvBuffer,
int recvOffset,
int recvCount,
Datatype recvType,
int source,
int recvTag)
|
int |
Size()
Returns the number of processes in communicator. |
int |
SizeTotal()
Internal use. |
int |
Ssend(java.lang.Object sendBuffer,
int offset,
int count,
Datatype datatype,
int dest,
int tag)
Basic send operation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Comm(p2pmpi.mpi.dev.Device myDevice, p2pmpi.common.RankTable rankTable, int rank, int rankInList, int numRank, p2pmpi.common.MapRankTable mapRankTable)
public Comm(Group group)
group
- GroupMethod Detail |
---|
public Group Group()
public int Size()
public int SizeTotal()
public int Rank()
public int Ssend(java.lang.Object sendBuffer, int offset, int count, Datatype datatype, int dest, int tag)
sendBuffer
- send buffer arrayoffset
- initial offset in send buffercount
- number of items to senddatatype
- datatype of send buffer itemsdest
- rank of destinationtag
- message tagpublic int Send(java.lang.Object sendBuffer, int offset, int count, Datatype datatype, int dest, int tag)
public Request Isend(java.lang.Object sendBuffer, int offset, int count, Datatype datatype, int dest, int tag)
public Status Sendrecv(java.lang.Object sendBuffer, int sendOffset, int sendCount, Datatype sendType, int dest, int sendTag, java.lang.Object recvBuffer, int recvOffset, int recvCount, Datatype recvType, int source, int recvTag)
public Status Recv(java.lang.Object recvBuffer, int offset, int count, Datatype datatype, int src, int tag)
recvBuffer
- receive buffer arrayoffset
- initial offset in receive buffercount
- number of items to receivedatatype
- datatype of received itemssrc
- rank of sourcetag
- message tagpublic Request Irecv(java.lang.Object recvBuffer, int offset, int count, Datatype datatype, int src, int tag)
recvBuffer
- receive buffer arrayoffset
- initial offset in receive buffercount
- number of items to receivedatatype
- datatype of received itemssrc
- rank of sourcetag
- message tag
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |