Buffered Communication
[Point-to-Point Communication]

Collaboration diagram for Buffered Communication:

Detailed Description

Blocking sending of messages with the use of an intermediate buffer.

The blocking buffered send-operation returns if the send-buffer can be safely reused (after the data has been copied into the intermediate buffer).


Functions

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


Function Documentation

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

Performs a blocking buffered mode send operation.

Note:
This routine blocks until the send-buffer is free.
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_bsend_ppu.c.

References __attribute__(), moc_message_status_struct::bits, moc_message_status_struct::flags, IMOC_bmalloc(), 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_put_data(), 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, MEMCPY_GET_TRESHOLD, MOC_ERR_INTERN, MOC_ERR_NO_BUFFER, moc_ppu_thread_count, moc_spu_thread_list, node_handle, moc_node_handle_ppu_struct::queue_size, and moc_node_handle_ppu_struct::status_array_base.

Referenced by MOC_ISend(), and 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:52 2009 for MPI On Cell (Documentation) by  doxygen 1.5.6