include/internal/imoc_macros.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define IMOC_TEST_COMM_SEND(comm)
 Tests if invalid communicator in a send-operation.
#define IMOC_TEST_COMM_RECV(comm)
 Tests if invalid communicator in a recv-operation.
#define IMOC_TEST_TAG_SEND(tag)
 Tests if invalid tag in a send-operation.
#define IMOC_TEST_TAG_RECV(tag)
 Tests if invalid tag in a recv-operation.
#define IMOC_TEST_RANK(rank)
 Tests if invalid rank.
#define IMOC_TEST_RANK_RECV(rank)
 Tests if invalid rank in a recv-operation.
#define IMOC_TEST_BYTECOUNT(count)
 Tests if invalid byte-count in a recv-operation.
#define IMOC_TEST_BUFFER(buf)
 Tests if invalid buffer-pointer.
#define IMOC_TEST_PROC_NULL(rank)
 Tests if rank is MOC_PROC_NULL and returns with MOC_SUCCESS itself.
#define IMOC_TEST_PROC_SELF(proc)
 Tests if rank is own rank and returns with MOC_SUCCESS itself.
#define IMOC_TEST_ALIGNMENT(address)
 Tests if address is 16-byte aligned.
PPU & SPU
#define IMOC_EA_REMOTE_QUEUE(proc)   ( (proc > node_handle.rank) ? node_handle.moc_process_list[proc].inbox_queue_base+sizeof(moc_message_envelope_t)*node_handle.queue_size*node_handle.rank : node_handle.moc_process_list[proc].inbox_queue_base+sizeof(moc_message_envelope_t)*node_handle.queue_size*(node_handle.rank-1) )
 Effective base-address of own remote queue at node 'rank'.
#define IMOC_LOCAL_QUEUE(proc)   ( (proc < node_handle.rank) ? node_handle.message_queue_base+node_handle.queue_size*(proc) : node_handle.message_queue_base+node_handle.queue_size*(proc-1) )
 Effective Base-Address of local queue responsible for node 'rank'.
#define IMOC_EA_REMOTE_QUEUE_ENTRY(proc, index)   ( (proc > node_handle.rank) ? node_handle.moc_process_list[proc].inbox_queue_base+sizeof(moc_message_envelope_t)*node_handle.queue_size*node_handle.rank+sizeof(moc_message_envelope_t)*(index) : node_handle.moc_process_list[proc].inbox_queue_base+sizeof(moc_message_envelope_t)*node_handle.queue_size*(node_handle.rank-1)+sizeof(moc_message_envelope_t)*(index) )
 Effective base-address of own remote queue-entry at node 'rank'.
#define IMOC_LOCAL_QUEUE_ENTRY(proc, index)   ( (proc < node_handle.rank) ? node_handle.message_queue_base+node_handle.queue_size*(proc)+(index) : node_handle.message_queue_base+node_handle.queue_size*(proc-1)+(index) )
 Effective Base-Address of local queue-entry responsible for node 'rank'.
#define IMOC_EA_REMOTE_STATUS_ENTRY(id, rank)   ( node_handle.moc_process_list[rank].stat_array_base+sizeof(moc_message_status_t)*(id) )
 Effective Address of remote status-array entry at node 'rank'.


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