Synchronous Communication
[Point-to-Point Communication]

Collaboration diagram for Synchronous Communication:

Detailed Description

Direct blocking sending of messages without any intermediate buffer.

The blocking synchronous send-operation returns only when the receiver has completely received the message.


Functions

int MOC_Ssend (void *buf, int count, MOC_Datatype datatype, int dest, int tag, MOC_Comm comm)
 Performs a blocking synchronous mode send operation.


Function Documentation

int MOC_Ssend ( void *  buf,
int  count,
MOC_Datatype  datatype,
int  dest,
int  tag,
MOC_Comm  comm 
)

Performs a blocking synchronous mode send operation.

Note:
This routine blocks until the message is received.
Parameters:
buf in Pointer to buffer where data is stored
count in Number of elements to be send (not equal to actual byte-value)
datatype in Type of elements to be send
dest in Rank of receiving process
tag in Tag of message
comm in communicator of message
Return values:
MOC_SUCCESS No error; MPI routine completed successfully.
... error-code

Definition at line 10 of file moc_ssend_ppu.c.

References __attribute__(), moc_message_status_struct::bits, moc_message_status_struct::flags, IMOC_EA_REMOTE_QUEUE, IMOC_EA_REMOTE_QUEUE_ENTRY, IMOC_getFreeEntry(), IMOC_getFreeMID(), IMOC_LS_REMOTE_QUEUE, IMOC_MESSAGE_CHANNEL_DMA, IMOC_MESSAGE_CHANNEL_ENV, IMOC_TEST_ALIGNMENT, IMOC_TEST_BUFFER, IMOC_TEST_BYTECOUNT, IMOC_TEST_COMM_SEND, IMOC_TEST_PROC_NULL, IMOC_TEST_PROC_SELF, IMOC_TEST_RANK, IMOC_TEST_TAG_SEND, IMOC_waitForMessageCompletion(), MEMCPY_GET_TRESHOLD, MOC_ERR_INTERN, moc_ppu_thread_count, moc_spu_thread_list, MOC_SUCCESS, node_handle, moc_node_handle_ppu_struct::queue_size, and moc_node_handle_ppu_struct::status_array_base.

Referenced by MOC_Send().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Thu Feb 12 13:50:50 2009 for MPI On Cell (Documentation) by  doxygen 1.5.6