91 lines
15 KiB
HTML
Executable File
91 lines
15 KiB
HTML
Executable File
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
<title>MPI On Cell (Documentation): include/internal/imoc_macros.h File Reference</title>
|
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="../../tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.5.6 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="../../main.html"><span>Main Page</span></a></li>
|
|
<li><a href="../../modules.html"><span>Modules</span></a></li>
|
|
<li><a href="../../annotated.html"><span>Data Structures</span></a></li>
|
|
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>include/internal/imoc_macros.h File Reference</h1>
|
|
<p>
|
|
|
|
<p>
|
|
<div class="dynheader">
|
|
This graph shows which files directly or indirectly include this file:</div>
|
|
<div class="dynsection">
|
|
<p><center><img src="../../d8/d84/imoc__macros_8h__dep__incl.png" border="0" usemap="#include/internal/imoc_macros.hdep_map" alt=""></center>
|
|
<map name="include/internal/imoc_macros.hdep_map">
|
|
<area shape="rect" href="../../d8/d98/imoc__macros__ppu_8h.html" title="include/internal/ppu/imoc_macros_ppu.h" alt="" coords="1427,80,1680,107"><area shape="rect" href="../../db/d33/imoc__get__entry_8c.html" title="src/noarch/internal/communication/imoc_get_entry.c" alt="" coords="1704,80,2027,107"><area shape="rect" href="../../d7/d58/moc__dma-get__ppu_8c.html" title="src/ppu/dma/moc_dma-get_ppu.c" alt="" coords="2051,80,2267,107"><area shape="rect" href="../../d8/d06/moc__dma-iput__ppu_8c.html" title="src/ppu/dma/moc_dma-iput_ppu.c" alt="" coords="2291,80,2509,107"><area shape="rect" href="../../d4/d2d/imoc__dma-get__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma-get_ppu.c" alt="" coords="2533,80,2797,107"><area shape="rect" href="../../df/d10/imoc__dma-iput__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma-iput_ppu.c" alt="" coords="2821,80,3088,107"><area shape="rect" href="../../dc/d59/moc__barrier__spu_8c.html" title="src/spu/communication/moc_barrier_spu.c" alt="" coords="3112,80,3379,107"><area shape="rect" href="../../d6/d8c/moc__bsend__spu_8c.html" title="src/spu/communication/moc_bsend_spu.c" alt="" coords="3403,80,3669,107"><area shape="rect" href="../../de/d76/moc__issend__spu_8c.html" title="src/spu/communication/moc_issend_spu.c" alt="" coords="3693,80,3963,107"><area shape="rect" href="../../d9/dab/moc__recv__spu_8c.html" title="src/spu/communication/moc_recv_spu.c" alt="" coords="3987,80,4240,107"><area shape="rect" href="../../d3/d71/moc__ssend__spu_8c.html" title="src/spu/communication/moc_ssend_spu.c" alt="" coords="4264,80,4531,107"><area shape="rect" href="../../d8/d91/moc__dma-get__spu_8c.html" title="src/spu/dma/moc_dma-get_spu.c" alt="" coords="4555,80,4771,107"><area shape="rect" href="../../da/dea/moc__dma-iget__spu_8c.html" title="src/spu/dma/moc_dma-iget_spu.c" alt="" coords="4795,80,5013,107"><area shape="rect" href="../../dc/de8/moc__dma-iput__spu_8c.html" title="src/spu/dma/moc_dma-iput_spu.c" alt="" coords="5037,80,5256,107"><area shape="rect" href="../../df/ddc/moc__dma-put__spu_8c.html" title="src/spu/dma/moc_dma-put_spu.c" alt="" coords="5280,80,5496,107"><area shape="rect" href="../../d5/d1c/imoc__dma-get__spu_8c.html" title="src/spu/internal/dma/imoc_dma-get_spu.c" alt="" coords="5520,80,5784,107"><area shape="rect" href="../../d7/daf/imoc__dma-iget__spu_8c.html" title="src/spu/internal/dma/imoc_dma-iget_spu.c" alt="" coords="5808,80,6075,107"><area shape="rect" href="../../d8/d30/imoc__dma-iput__spu_8c.html" title="src/spu/internal/dma/imoc_dma-iput_spu.c" alt="" coords="6099,80,6365,107"><area shape="rect" href="../../da/db1/imoc__dma-put__spu_8c.html" title="src/spu/internal/dma/imoc_dma-put_spu.c" alt="" coords="6389,80,6653,107"><area shape="rect" href="../../d3/dc2/moc__isend_8c.html" title="src/noarch/communication/moc_isend.c" alt="" coords="5,155,256,181"><area shape="rect" href="../../db/d55/moc__send_8c.html" title="src/noarch/communication/moc_send.c" alt="" coords="280,155,528,181"><area shape="rect" href="../../d1/d72/moc__barrier__ppu_8c.html" title="src/ppu/communication/moc_barrier_ppu.c" alt="" coords="552,155,819,181"><area shape="rect" href="../../d9/d14/moc__bsend__ppu_8c.html" title="src/ppu/communication/moc_bsend_ppu.c" alt="" coords="843,155,1109,181"><area shape="rect" href="../../dc/d02/moc__issend__ppu_8c.html" title="src/ppu/communication/moc_issend_ppu.c" alt="" coords="1133,155,1403,181"><area shape="rect" href="../../dc/db7/moc__recv__ppu_8c.html" title="src/ppu/communication/moc_recv_ppu.c" alt="" coords="1427,155,1680,181"><area shape="rect" href="../../d2/d00/moc__ssend__ppu_8c.html" title="src/ppu/communication/moc_ssend_ppu.c" alt="" coords="1704,155,1971,181"><area shape="rect" href="../../d3/dc6/moc__dma-iget__ppu_8c.html" title="src/ppu/dma/moc_dma-iget_ppu.c" alt="" coords="1995,155,2213,181"><area shape="rect" href="../../d3/dfa/moc__dma-put__ppu_8c.html" title="src/ppu/dma/moc_dma-put_ppu.c" alt="" coords="2237,155,2453,181"><area shape="rect" href="../../d1/da6/imoc__dma-iget__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma-iget_ppu.c" alt="" coords="2477,155,2744,181"><area shape="rect" href="../../d3/d8f/imoc__dma-put__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma-put_ppu.c" alt="" coords="2768,155,3032,181"></map>
|
|
</div>
|
|
|
|
<p>
|
|
<a href="../../d0/d87/imoc__macros_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d32/group__internal__tm.html#gfc07f5e570f47525b80a1f3e5a36b3b3">IMOC_TEST_COMM_SEND</a>(comm)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if invalid communicator in a send-operation. <a href="../../d3/d32/group__internal__tm.html#gfc07f5e570f47525b80a1f3e5a36b3b3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d32/group__internal__tm.html#g7e5044180aa40d4a5a41108f88559871">IMOC_TEST_COMM_RECV</a>(comm)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if invalid communicator in a recv-operation. <a href="../../d3/d32/group__internal__tm.html#g7e5044180aa40d4a5a41108f88559871"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d32/group__internal__tm.html#g49637a9f588e1c44584d8def5c45e811">IMOC_TEST_TAG_SEND</a>(tag)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if invalid tag in a send-operation. <a href="../../d3/d32/group__internal__tm.html#g49637a9f588e1c44584d8def5c45e811"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d32/group__internal__tm.html#ge0070a22959ddde28816cc5676687b1d">IMOC_TEST_TAG_RECV</a>(tag)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if invalid tag in a recv-operation. <a href="../../d3/d32/group__internal__tm.html#ge0070a22959ddde28816cc5676687b1d"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d32/group__internal__tm.html#g1dfddaa8f7d9aad32b00248c7dc782d2">IMOC_TEST_RANK</a>(rank)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if invalid rank. <a href="../../d3/d32/group__internal__tm.html#g1dfddaa8f7d9aad32b00248c7dc782d2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d32/group__internal__tm.html#g796b45379e44e6ad2d1895ac56d80d3c">IMOC_TEST_RANK_RECV</a>(rank)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if invalid rank in a recv-operation. <a href="../../d3/d32/group__internal__tm.html#g796b45379e44e6ad2d1895ac56d80d3c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d32/group__internal__tm.html#g8026463e106a01cc8efb816d7dc1036a">IMOC_TEST_BYTECOUNT</a>(count)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if invalid byte-count in a recv-operation. <a href="../../d3/d32/group__internal__tm.html#g8026463e106a01cc8efb816d7dc1036a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d32/group__internal__tm.html#g52f61fd7f3253d10b740a9fc792052c6">IMOC_TEST_BUFFER</a>(buf)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if invalid buffer-pointer. <a href="../../d3/d32/group__internal__tm.html#g52f61fd7f3253d10b740a9fc792052c6"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d32/group__internal__tm.html#g615b65fb3c3ad16711686a178ac7d1c3">IMOC_TEST_PROC_NULL</a>(rank)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if rank is MOC_PROC_NULL and returns with MOC_SUCCESS itself. <a href="../../d3/d32/group__internal__tm.html#g615b65fb3c3ad16711686a178ac7d1c3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d32/group__internal__tm.html#gf902b6e1cbe077abf0f8d02a488fec8a">IMOC_TEST_PROC_SELF</a>(proc)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if rank is own rank and returns with MOC_SUCCESS itself. <a href="../../d3/d32/group__internal__tm.html#gf902b6e1cbe077abf0f8d02a488fec8a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d32/group__internal__tm.html#gc89a1f53869fe90c838a714621e20d88">IMOC_TEST_ALIGNMENT</a>(address)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if address is 16-byte aligned. <a href="../../d3/d32/group__internal__tm.html#gc89a1f53869fe90c838a714621e20d88"></a><br></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">PPU & SPU</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/ddf/group__internal__am.html#gf02c3d971a2b5e72d22c9c16b1748c04">IMOC_EA_REMOTE_QUEUE</a>(proc) ( (proc > node_handle.rank) ? node_handle.moc_process_list[proc].inbox_queue_base+sizeof(<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a>)*node_handle.queue_size*node_handle.rank : node_handle.moc_process_list[proc].inbox_queue_base+sizeof(<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a>)*node_handle.queue_size*(node_handle.rank-1) )</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Effective base-address of own remote queue at node 'rank'. <a href="../../df/ddf/group__internal__am.html#gf02c3d971a2b5e72d22c9c16b1748c04"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/ddf/group__internal__am.html#gf7dce8bc9c6659f94b3431225de2e595">IMOC_LOCAL_QUEUE</a>(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) )</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Effective Base-Address of local queue responsible for node 'rank'. <a href="../../df/ddf/group__internal__am.html#gf7dce8bc9c6659f94b3431225de2e595"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/ddf/group__internal__am.html#gf9ad028ccbfa406c49a0ebd943486698">IMOC_EA_REMOTE_QUEUE_ENTRY</a>(proc, index) ( (proc > node_handle.rank) ? node_handle.moc_process_list[proc].inbox_queue_base+sizeof(<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a>)*node_handle.queue_size*node_handle.rank+sizeof(<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a>)*(index) : node_handle.moc_process_list[proc].inbox_queue_base+sizeof(<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a>)*node_handle.queue_size*(node_handle.rank-1)+sizeof(<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a>)*(index) )</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Effective base-address of own remote queue-entry at node 'rank'. <a href="../../df/ddf/group__internal__am.html#gf9ad028ccbfa406c49a0ebd943486698"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/ddf/group__internal__am.html#gff30b49c33a20273c4353dc945a8d870">IMOC_LOCAL_QUEUE_ENTRY</a>(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) )</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Effective Base-Address of local queue-entry responsible for node 'rank'. <a href="../../df/ddf/group__internal__am.html#gff30b49c33a20273c4353dc945a8d870"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/ddf/group__internal__am.html#g55e4226e422d3dbf1a1ee6a871c09da7">IMOC_EA_REMOTE_STATUS_ENTRY</a>(id, rank) ( node_handle.moc_process_list[rank].stat_array_base+sizeof(<a class="el" href="../../dd/df5/structmoc__message__status__struct.html">moc_message_status_t</a>)*(id) )</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Effective Address of remote status-array entry at node 'rank'. <a href="../../df/ddf/group__internal__am.html#g55e4226e422d3dbf1a1ee6a871c09da7"></a><br></td></tr>
|
|
</table>
|
|
</div>
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:49:50 2009 for MPI On Cell (Documentation) by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="../../doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
|
</body>
|
|
</html>
|