Initial commit.

This commit is contained in:
2017-10-26 19:57:24 +02:00
commit 9ce8b5485d
1090 changed files with 47036 additions and 0 deletions
@@ -0,0 +1,51 @@
<!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): src/ppu/internal/dma/imoc_dma-iput_ppu.c 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>src/ppu/internal/dma/imoc_dma-iput_ppu.c File Reference</h1>
<p>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;stdlib.h&gt;</code><br>
<code>#include &lt;<a class="el" href="../../dc/dcb/spu_2moc_8h-source.html">moc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../d8/df3/moc__dma__ppu_8h-source.html">ppu/moc_dma_ppu.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../d0/d87/imoc__macros_8h-source.html">internal/imoc_macros.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../de/de1/imoc__dma__ppu_8h-source.html">internal/ppu/imoc_dma_ppu.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">internal/ppu/imoc_core_ppu.h</a>&gt;</code><br>
<p>
<div class="dynheader">
Include dependency graph for imoc_dma-iput_ppu.c:</div>
<div class="dynsection">
<p><center><img src="../../d7/dd4/imoc__dma-iput__ppu_8c__incl.png" border="0" usemap="#src/ppu/internal/dma/imoc_dma-iput_ppu.c_map" alt=""></center>
<map name="src/ppu/internal/dma/imoc_dma-iput_ppu.c_map">
<area shape="rect" href="../../d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="164,155,220,181"><area shape="rect" href="../../db/d62/moc__dma__ppu_8h.html" title="ppu/moc_dma_ppu.h" alt="" coords="592,229,733,256"><area shape="rect" href="../../d2/d42/imoc__macros_8h.html" title="internal/imoc_macros.h" alt="" coords="461,80,616,107"><area shape="rect" href="../../de/df9/imoc__dma__ppu_8h.html" title="internal/ppu/imoc_dma_ppu.h" alt="" coords="325,229,517,256"><area shape="rect" href="../../d6/d09/imoc__core__ppu_8h.html" title="internal/ppu/imoc_core_ppu.h" alt="" coords="836,80,1028,107"><area shape="rect" href="../../dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="133,229,251,256"><area shape="rect" href="../../d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="17,304,159,331"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="337,304,407,331"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="411,379,536,405"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="256,379,387,405"><area shape="rect" href="../../d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="661,304,803,331"><area shape="rect" href="../../d7/d3d/imoc__core_8h.html" title="../imoc_core.h" alt="" coords="877,379,981,405"><area shape="rect" href="../../db/dae/ppu_2moc_8h.html" title="../../ppu/moc.h" alt="" coords="739,155,845,181"></map>
</div>
<p>
<a href="../../dd/d07/imoc__dma-iput__ppu_8c-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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/de2/group__internal__p2p__dma.html#gc181bb2e3eb058990534c71355af3443">IMOC_iput_data</a> (void *source, uint64_t target, uint32_t size, uint32_t dest, <a class="el" href="../../d4/da3/structimoc__dma__request__struct.html">imoc_dma_request</a> *request)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal wrapper-function for a non-blocking DMA-put operation. <a href="../../d2/de2/group__internal__p2p__dma.html#gc181bb2e3eb058990534c71355af3443"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:24 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,12 @@
<area shape="rect" href="$d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="168,155,224,181">
<area shape="rect" href="$db/dae/ppu_2moc_8h.html" title="ppu/moc.h" alt="" coords="624,155,707,181">
<area shape="rect" href="$d9/db3/imoc_8h.html" title="internal/imoc.h" alt="" coords="329,229,436,256">
<area shape="rect" href="$d6/d09/imoc__core__ppu_8h.html" title="internal/ppu/imoc_core_ppu.h" alt="" coords="729,80,921,107">
<area shape="rect" href="$dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="137,229,255,256">
<area shape="rect" href="$d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="25,304,167,331">
<area shape="rect" href="$d1/d82/moc_8h.html" title="../moc.h" alt="" coords="352,304,421,331">
<area shape="rect" href="$d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="497,379,623,405">
<area shape="rect" href="$df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="343,379,473,405">
<area shape="rect" href="$db/d62/moc__dma__ppu_8h.html" title="moc_dma_ppu.h" alt="" coords="511,229,628,256">
<area shape="rect" href="$d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="500,304,641,331">
<area shape="rect" href="$d7/d3d/imoc__core_8h.html" title="imoc_core.h" alt="" coords="665,304,756,331">
@@ -0,0 +1 @@
9c68851e50668bea3450d17f574565ce
Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

@@ -0,0 +1,30 @@
<!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): src/ppu/system/moc_set_queue_size_ppu.c Source File</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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
<h1>src/ppu/system/moc_set_queue_size_ppu.c</h1><a href="../../df/dbf/moc__set__queue__size__ppu_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;<a class="code" href="../../d6/d09/imoc__core__ppu_8h.html">internal/ppu/imoc_core_ppu.h</a>&gt;</span>
<a name="l00002"></a>00002
<a name="l00003"></a><a class="code" href="../../d8/d9a/group__environment__startup.html#g3e83e7a629951e6788a682aad654baf8">00003</a> <span class="keywordtype">int</span> <a class="code" href="../../d8/d9a/group__environment__startup.html#g3e83e7a629951e6788a682aad654baf8" title="Sets the size of the message-queues.">MOC_Set_queue_size</a>(uint8_t size)
<a name="l00004"></a>00004 {
<a name="l00005"></a>00005 <a class="code" href="../../dc/df1/group__internal__spu__thread.html#g2af87be0fa5a8b93ac563c819047328a" title="init message-queue size">moc_spu_queue_size</a> = size;
<a name="l00006"></a>00006 <span class="keywordflow">return</span> 0;
<a name="l00007"></a>00007 }
<a name="l00008"></a>00008
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:49:47 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,47 @@
<!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): src/noarch/internal/communication/imoc_get_free_entry.c 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>src/noarch/internal/communication/imoc_get_free_entry.c File Reference</h1>
<p>
<code>#include &lt;<a class="el" href="../../dc/dcb/spu_2moc_8h-source.html">moc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../d4/d9b/imoc_8h-source.html">internal/imoc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">internal/ppu/imoc_core_ppu.h</a>&gt;</code><br>
<p>
<div class="dynheader">
Include dependency graph for imoc_get_free_entry.c:</div>
<div class="dynsection">
<p><center><img src="../../d3/d4e/imoc__get__free__entry_8c__incl.png" border="0" usemap="#src/noarch/internal/communication/imoc_get_free_entry.c_map" alt=""></center>
<map name="src/noarch/internal/communication/imoc_get_free_entry.c_map">
<area shape="rect" href="../../d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="176,155,232,181"><area shape="rect" href="../../d9/db3/imoc_8h.html" title="internal/imoc.h" alt="" coords="732,229,839,256"><area shape="rect" href="../../d6/d09/imoc__core__ppu_8h.html" title="internal/ppu/imoc_core_ppu.h" alt="" coords="524,80,716,107"><area shape="rect" href="../../dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="49,229,167,256"><area shape="rect" href="../../d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="69,304,211,331"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="400,304,469,331"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="139,379,264,405"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="339,379,469,405"><area shape="rect" href="../../d7/d3d/imoc__core_8h.html" title="imoc_core.h" alt="" coords="649,304,740,331"><area shape="rect" href="../../db/dae/ppu_2moc_8h.html" title="../../ppu/moc.h" alt="" coords="401,155,508,181"><area shape="rect" href="../../db/d62/moc__dma__ppu_8h.html" title="moc_dma_ppu.h" alt="" coords="343,229,460,256"><area shape="rect" href="../../d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="235,304,376,331"></map>
</div>
<p>
<a href="../../d1/d2a/imoc__get__free__entry_8c-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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d88/group__internal__p2p__main.html#g2a948cdecce651ae6cc1b0c0ddb1b750">IMOC_getFreeEntry</a> (<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a> *pqueue, uint8_t tag, <a class="el" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767">MOC_Comm</a> comm, int isSpecial, int *index)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get next free entry in message-queue (a local copy of the message-queue has to be used). <a href="../../d8/d88/group__internal__p2p__main.html#g2a948cdecce651ae6cc1b0c0ddb1b750"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:10 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,45 @@
<!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): src/spu/system/moc_wtick_spu.c 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>src/spu/system/moc_wtick_spu.c File Reference</h1>
<p>
<code>#include &lt;<a class="el" href="../../dc/dcb/spu_2moc_8h-source.html">moc.h</a>&gt;</code><br>
<p>
<div class="dynheader">
Include dependency graph for moc_wtick_spu.c:</div>
<div class="dynsection">
<p><center><img src="../../d9/d21/moc__wtick__spu_8c__incl.png" border="0" usemap="#src/spu/system/moc_wtick_spu.c_map" alt=""></center>
<map name="src/spu/system/moc_wtick_spu.c_map">
<area shape="rect" href="../../d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="184,80,240,107"><area shape="rect" href="../../dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="32,155,149,181"><area shape="rect" href="../../d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="28,229,169,256"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="193,229,263,256"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="32,304,157,331"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="232,304,363,331"></map>
</div>
<p>
<a href="../../d3/da7/moc__wtick__spu_8c-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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/da6/group__environment__timer.html#gc846a7a21aeafdc5e960e91cb7d602be">MOC_Wtick</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the resolution of Moc_Wtime in seconds. <a href="../../d8/da6/group__environment__timer.html#gc846a7a21aeafdc5e960e91cb7d602be"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:42 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
File diff suppressed because one or more lines are too long
@@ -0,0 +1,62 @@
<!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): src/ppu/internal/imoc_core_ppu.c 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>src/ppu/internal/imoc_core_ppu.c File Reference</h1>
<p>
<code>#include &lt;<a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">internal/ppu/imoc_core_ppu.h</a>&gt;</code><br>
<p>
<div class="dynheader">
Include dependency graph for imoc_core_ppu.c:</div>
<div class="dynsection">
<p><center><img src="../../d1/d3a/imoc__core__ppu_8c__incl.png" border="0" usemap="#src/ppu/internal/imoc_core_ppu.c_map" alt=""></center>
<map name="src/ppu/internal/imoc_core_ppu.c_map">
<area shape="rect" href="../../d6/d09/imoc__core__ppu_8h.html" title="internal/ppu/imoc_core_ppu.h" alt="" coords="331,80,523,107"><area shape="rect" href="../../d7/d3d/imoc__core_8h.html" title="../imoc_core.h" alt="" coords="464,229,568,256"><area shape="rect" href="../../db/dae/ppu_2moc_8h.html" title="../../ppu/moc.h" alt="" coords="179,155,285,181"><area shape="rect" href="../../db/d62/moc__dma__ppu_8h.html" title="moc_dma_ppu.h" alt="" coords="125,229,243,256"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="77,304,147,331"><area shape="rect" href="../../d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="247,304,388,331"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="moc_datatype.h" alt="" coords="201,379,316,405"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="47,379,177,405"></map>
</div>
<p>
<a href="../../d0/d82/imoc__core__ppu_8c-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>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="../../d8/d93/structmoc__node__handle__ppu__struct.html">moc_node_handle_ppu_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d69/imoc__core__ppu_8c.html#eed5a271d50368d3cf9a858c4f57c895">node_handle</a></td></tr>
</table>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="eed5a271d50368d3cf9a858c4f57c895"></a><!-- doxytag: member="imoc_core_ppu.c::node_handle" ref="eed5a271d50368d3cf9a858c4f57c895" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../d8/d93/structmoc__node__handle__ppu__struct.html">moc_node_handle_ppu_t</a> <a class="el" href="../../da/d67/imoc__core__spu_8c.html#778478bb09824da1b673b244118aa82c">node_handle</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="../../d0/d82/imoc__core__ppu_8c-source.html#l00003">3</a> of file <a class="el" href="../../d0/d82/imoc__core__ppu_8c-source.html">imoc_core_ppu.c</a>.</p>
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:26 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,7 @@
<area shape="rect" href="$d7/d3d/imoc__core_8h.html" title="../imoc_core.h" alt="" coords="464,155,568,181">
<area shape="rect" href="$db/dae/ppu_2moc_8h.html" title="../../ppu/moc.h" alt="" coords="179,80,285,107">
<area shape="rect" href="$db/d62/moc__dma__ppu_8h.html" title="moc_dma_ppu.h" alt="" coords="125,155,243,181">
<area shape="rect" href="$d1/d82/moc_8h.html" title="../moc.h" alt="" coords="77,229,147,256">
<area shape="rect" href="$d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="247,229,388,256">
<area shape="rect" href="$d5/d94/moc__datatype_8h.html" title="moc_datatype.h" alt="" coords="201,304,316,331">
<area shape="rect" href="$df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="47,304,177,331">
@@ -0,0 +1 @@
ce3f23d6b5753b3bae3dccbc247f07ca
Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

@@ -0,0 +1,45 @@
<!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): src/noarch/system/moc_get_count.c 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>src/noarch/system/moc_get_count.c File Reference</h1>
<p>
<code>#include &lt;<a class="el" href="../../dc/dcb/spu_2moc_8h-source.html">moc.h</a>&gt;</code><br>
<p>
<div class="dynheader">
Include dependency graph for moc_get_count.c:</div>
<div class="dynsection">
<p><center><img src="../../d6/d1e/moc__get__count_8c__incl.png" border="0" usemap="#src/noarch/system/moc_get_count.c_map" alt=""></center>
<map name="src/noarch/system/moc_get_count.c_map">
<area shape="rect" href="../../d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="184,80,240,107"><area shape="rect" href="../../dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="32,155,149,181"><area shape="rect" href="../../d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="28,229,169,256"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="193,229,263,256"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="32,304,157,331"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="232,304,363,331"></map>
</div>
<p>
<a href="../../d1/ddf/moc__get__count_8c-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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/df0/group__p2p__status.html#g0766bc2817b17dcdc8b7e830828fe118">MOC_Get_count</a> (<a class="el" href="../../dd/d7a/structMOC__Status__struct.html">MOC_Status</a> *status, <a class="el" href="../../dc/d6e/group__p2p__datatype.html#gb4e45f15c08578bd3fc97c0cca2a509a">MOC_Datatype</a> datatype, int *count)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the number of received elements which is encoded in MOC_Status. <a href="../../da/df0/group__p2p__status.html#g0766bc2817b17dcdc8b7e830828fe118"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:15 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,50 @@
<!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): src/ppu/internal/dma/imoc_dma-wait_ppu.c 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>src/ppu/internal/dma/imoc_dma-wait_ppu.c File Reference</h1>
<p>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;stdint.h&gt;</code><br>
<code>#include &lt;free_align.h&gt;</code><br>
<code>#include &lt;<a class="el" href="../../dc/dcb/spu_2moc_8h-source.html">moc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">internal/ppu/imoc_core_ppu.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../de/de1/imoc__dma__ppu_8h-source.html">internal/ppu/imoc_dma_ppu.h</a>&gt;</code><br>
<p>
<div class="dynheader">
Include dependency graph for imoc_dma-wait_ppu.c:</div>
<div class="dynsection">
<p><center><img src="../../d3/dbb/imoc__dma-wait__ppu_8c__incl.png" border="0" usemap="#src/ppu/internal/dma/imoc_dma-wait_ppu.c_map" alt=""></center>
<map name="src/ppu/internal/dma/imoc_dma-wait_ppu.c_map">
<area shape="rect" href="../../d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="208,155,264,181"><area shape="rect" href="../../d6/d09/imoc__core__ppu_8h.html" title="internal/ppu/imoc_core_ppu.h" alt="" coords="688,80,880,107"><area shape="rect" href="../../de/df9/imoc__dma__ppu_8h.html" title="internal/ppu/imoc_dma_ppu.h" alt="" coords="324,229,516,256"><area shape="rect" href="../../dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="81,229,199,256"><area shape="rect" href="../../d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="177,304,319,331"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="392,304,461,331"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="219,379,344,405"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="368,379,499,405"><area shape="rect" href="../../d7/d3d/imoc__core_8h.html" title="../imoc_core.h" alt="" coords="980,379,1084,405"><area shape="rect" href="../../db/dae/ppu_2moc_8h.html" title="../../ppu/moc.h" alt="" coords="673,155,780,181"><area shape="rect" href="../../db/d62/moc__dma__ppu_8h.html" title="moc_dma_ppu.h" alt="" coords="737,229,855,256"><area shape="rect" href="../../d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="624,304,765,331"></map>
</div>
<p>
<a href="../../d8/da5/imoc__dma-wait__ppu_8c-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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/de2/group__internal__p2p__dma.html#g57b89667357146b299f32bd114e0e5ad">IMOC_wait_dma</a> (<a class="el" href="../../d4/da3/structimoc__dma__request__struct.html">imoc_dma_request</a> *request)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Waits till a IMOC_iget_data or IMOC_iput_data is completed. <a href="../../d2/de2/group__internal__p2p__dma.html#g57b89667357146b299f32bd114e0e5ad"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:26 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,49 @@
<area shape="rect" href="$d9/db3/imoc_8h.html" title="include/internal/imoc.h" alt="" coords="8119,80,8271,107">
<area shape="rect" href="$d6/d09/imoc__core__ppu_8h.html" title="include/internal/ppu/imoc_core_ppu.h" alt="" coords="4260,80,4495,107">
<area shape="rect" href="$d9/d00/imoc__core__spu_8h.html" title="include/internal/spu/imoc_core_spu.h" alt="" coords="11623,80,11857,107">
<area shape="rect" href="$d2/d97/moc__iprobe_8c.html" title="src/noarch/communication/moc_iprobe.c" alt="" coords="9629,155,9885,181">
<area shape="rect" href="$d3/dc2/moc__isend_8c.html" title="src/noarch/communication/moc_isend.c" alt="" coords="3709,155,3960,181">
<area shape="rect" href="$d1/d8a/moc__probe_8c.html" title="src/noarch/communication/moc_probe.c" alt="" coords="9909,155,10163,181">
<area shape="rect" href="$db/d55/moc__send_8c.html" title="src/noarch/communication/moc_send.c" alt="" coords="3984,155,4232,181">
<area shape="rect" href="$d8/d02/moc__test_8c.html" title="src/noarch/communication/moc_test.c" alt="" coords="4256,155,4499,181">
<area shape="rect" href="$d4/dfc/moc__wait_8c.html" title="src/noarch/communication/moc_wait.c" alt="" coords="4523,155,4765,181">
<area shape="rect" href="$db/d33/imoc__get__entry_8c.html" title="src/noarch/internal/communication/imoc_get_entry.c" alt="" coords="4789,155,5112,181">
<area shape="rect" href="$df/d20/imoc__get__free__entry_8c.html" title="src/noarch/internal/communication/imoc_get_free_entry.c" alt="" coords="5136,155,5488,181">
<area shape="rect" href="$dd/d9a/imoc__get__free__mid_8c.html" title="src/noarch/internal/communication/imoc_get_free_mid.c" alt="" coords="5512,155,5856,181">
<area shape="rect" href="$db/d43/imoc__test__message_8c.html" title="src/noarch/internal/communication/imoc_test_message.c" alt="" coords="5880,155,6232,181">
<area shape="rect" href="$da/d91/imoc__wait__message_8c.html" title="src/noarch/internal/communication/imoc_wait_message.c" alt="" coords="6256,155,6608,181">
<area shape="rect" href="$d2/d7b/imoc__buffer__malloc_8c.html" title="src/noarch/internal/imoc_buffer_malloc.c" alt="" coords="6632,155,6885,181">
<area shape="rect" href="$d9/d19/moc__error__class_8c.html" title="src/noarch/system/moc_error_class.c" alt="" coords="10187,155,10427,181">
<area shape="rect" href="$d1/d72/moc__barrier__ppu_8c.html" title="src/ppu/communication/moc_barrier_ppu.c" alt="" coords="6909,155,7176,181">
<area shape="rect" href="$d9/d14/moc__bsend__ppu_8c.html" title="src/ppu/communication/moc_bsend_ppu.c" alt="" coords="7200,155,7467,181">
<area shape="rect" href="$dc/d02/moc__issend__ppu_8c.html" title="src/ppu/communication/moc_issend_ppu.c" alt="" coords="7491,155,7760,181">
<area shape="rect" href="$dc/db7/moc__recv__ppu_8c.html" title="src/ppu/communication/moc_recv_ppu.c" alt="" coords="7784,155,8037,181">
<area shape="rect" href="$d2/d00/moc__ssend__ppu_8c.html" title="src/ppu/communication/moc_ssend_ppu.c" alt="" coords="8061,155,8328,181">
<area shape="rect" href="$d3/dc6/moc__dma-iget__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;iget_ppu.c" alt="" coords="8352,155,8571,181">
<area shape="rect" href="$d8/d06/moc__dma-iput__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;iput_ppu.c" alt="" coords="8595,155,8813,181">
<area shape="rect" href="$df/dac/imoc__spe__thread__ppu_8c.html" title="src/ppu/internal/imoc_spe_thread_ppu.c" alt="" coords="8837,155,9088,181">
<area shape="rect" href="$dc/dd0/moc__add__spu__thread__ppu_8c.html" title="src/ppu/system/moc_add_spu_thread_ppu.c" alt="" coords="2931,155,3208,181">
<area shape="rect" href="$de/d4d/moc__error__string__ppu_8c.html" title="src/ppu/system/moc_error_string_ppu.c" alt="" coords="10451,155,10701,181">
<area shape="rect" href="$d3/d9e/moc__finalize__ppu_8c.html" title="src/ppu/system/moc_finalize_ppu.c" alt="" coords="3232,155,3459,181">
<area shape="rect" href="$d9/d04/moc__init__ppu_8c.html" title="src/ppu/system/moc_init_ppu.c" alt="" coords="3483,155,3685,181">
<area shape="rect" href="$dc/d59/moc__barrier__spu_8c.html" title="src/spu/communication/moc_barrier_spu.c" alt="" coords="11736,155,12003,181">
<area shape="rect" href="$d6/d8c/moc__bsend__spu_8c.html" title="src/spu/communication/moc_bsend_spu.c" alt="" coords="12027,155,12293,181">
<area shape="rect" href="$de/d76/moc__issend__spu_8c.html" title="src/spu/communication/moc_issend_spu.c" alt="" coords="12317,155,12587,181">
<area shape="rect" href="$d9/dab/moc__recv__spu_8c.html" title="src/spu/communication/moc_recv_spu.c" alt="" coords="12611,155,12864,181">
<area shape="rect" href="$d3/d71/moc__ssend__spu_8c.html" title="src/spu/communication/moc_ssend_spu.c" alt="" coords="10968,155,11235,181">
<area shape="rect" href="$da/dea/moc__dma-iget__spu_8c.html" title="src/spu/dma/moc_dma&#45;iget_spu.c" alt="" coords="10725,155,10944,181">
<area shape="rect" href="$dc/de8/moc__dma-iput__spu_8c.html" title="src/spu/dma/moc_dma&#45;iput_spu.c" alt="" coords="9112,155,9331,181">
<area shape="rect" href="$d9/d79/moc__error__string__spu_8c.html" title="src/spu/system/moc_error_string_spu.c" alt="" coords="9355,155,9605,181">
<area shape="rect" href="$d8/d2f/moc__finalize__spu_8c.html" title="src/spu/system/moc_finalize_spu.c" alt="" coords="11259,155,11485,181">
<area shape="rect" href="$d4/de2/moc__init__spu_8c.html" title="src/spu/system/moc_init_spu.c" alt="" coords="11509,155,11712,181">
<area shape="rect" href="$d6/db1/moc__bcast_8c.html" title="src/noarch/communication/moc_bcast.c" alt="" coords="1397,155,1651,181">
<area shape="rect" href="$d3/d9d/moc__comm__rank_8c.html" title="src/noarch/system/moc_comm_rank.c" alt="" coords="1675,155,1917,181">
<area shape="rect" href="$df/ddd/moc__comm__size_8c.html" title="src/noarch/system/moc_comm_size.c" alt="" coords="1941,155,2184,181">
<area shape="rect" href="$d7/d58/moc__dma-get__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;get_ppu.c" alt="" coords="2208,155,2424,181">
<area shape="rect" href="$d3/dfa/moc__dma-put__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;put_ppu.c" alt="" coords="2448,155,2664,181">
<area shape="rect" href="$d0/d04/moc__dma-test__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;test_ppu.c" alt="" coords="2688,155,2907,181">
<area shape="rect" href="$d6/de5/moc__dma-wait__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;wait_ppu.c" alt="" coords="5,155,224,181">
<area shape="rect" href="$d2/d2a/moc__translate__ea__ls__ppu_8c.html" title="src/ppu/dma/moc_translate_ea_ls_ppu.c" alt="" coords="248,155,504,181">
<area shape="rect" href="$d4/d2d/imoc__dma-get__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma&#45;get_ppu.c" alt="" coords="528,155,792,181">
<area shape="rect" href="$d1/da6/imoc__dma-iget__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma&#45;iget_ppu.c" alt="" coords="816,155,1083,181">
<area shape="rect" href="$df/d10/imoc__dma-iput__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma&#45;iput_ppu.c" alt="" coords="1107,155,1373,181">
@@ -0,0 +1 @@
20ebedf003a82fe315d4db2b405cfcba
Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

@@ -0,0 +1,66 @@
<!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): src/ppu/internal/imoc_spe_thread_ppu.c 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>src/ppu/internal/imoc_spe_thread_ppu.c File Reference</h1>
<p>
<code>#include &lt;malloc_align.h&gt;</code><br>
<code>#include &lt;free_align.h&gt;</code><br>
<code>#include &lt;stdlib.h&gt;</code><br>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;<a class="el" href="../../dc/dcb/spu_2moc_8h-source.html">moc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../d9/df9/ppu_2moc_8h-source.html">ppu/moc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../d4/d9b/imoc_8h-source.html">internal/imoc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">internal/ppu/imoc_core_ppu.h</a>&gt;</code><br>
<p>
<div class="dynheader">
Include dependency graph for imoc_spe_thread_ppu.c:</div>
<div class="dynsection">
<p><center><img src="../../df/d18/imoc__spe__thread__ppu_8c__incl.png" border="0" usemap="#src/ppu/internal/imoc_spe_thread_ppu.c_map" alt=""></center>
<map name="src/ppu/internal/imoc_spe_thread_ppu.c_map">
<area shape="rect" href="../../d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="168,155,224,181"><area shape="rect" href="../../db/dae/ppu_2moc_8h.html" title="ppu/moc.h" alt="" coords="624,155,707,181"><area shape="rect" href="../../d9/db3/imoc_8h.html" title="internal/imoc.h" alt="" coords="329,229,436,256"><area shape="rect" href="../../d6/d09/imoc__core__ppu_8h.html" title="internal/ppu/imoc_core_ppu.h" alt="" coords="729,80,921,107"><area shape="rect" href="../../dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="137,229,255,256"><area shape="rect" href="../../d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="25,304,167,331"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="352,304,421,331"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="497,379,623,405"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="343,379,473,405"><area shape="rect" href="../../db/d62/moc__dma__ppu_8h.html" title="moc_dma_ppu.h" alt="" coords="511,229,628,256"><area shape="rect" href="../../d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="500,304,641,331"><area shape="rect" href="../../d7/d3d/imoc__core_8h.html" title="imoc_core.h" alt="" coords="665,304,756,331"></map>
</div>
<p>
<a href="../../d9/df3/imoc__spe__thread__ppu_8c-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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/df1/group__internal__spu__thread.html#g669046500ec44affc79468b12ddaaf92">moc_spe_pthread_func</a> (void *arg)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">PThread-function for creating SPU-Threads. <a href="../../dc/df1/group__internal__spu__thread.html#g669046500ec44affc79468b12ddaaf92"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/df1/group__internal__spu__thread.html#g6cf68c0afe2da7b3a29ecaab8ed45961">moc_spu_thread_count</a> = 0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Holds the value of currently configured SPU-Threads. <a href="../../dc/df1/group__internal__spu__thread.html#g6cf68c0afe2da7b3a29ecaab8ed45961"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52">moc_ppu_thread_count</a> = 0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Holds the value of currently configured PPU-Threads. <a href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html">moc_spu_thread_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e">moc_spu_thread_list</a> [MOC_SPU_THREAD_MAX]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Holds information about the SPU-Threads. <a href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/df1/group__internal__spu__thread.html#g8ad19e80234fb6b4d73684e47e007106">moc_spu_buffer_size</a> = MOC_BUFFER_SIZE</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/df1/group__internal__spu__thread.html#g2af87be0fa5a8b93ac563c819047328a">moc_spu_queue_size</a> = MOC_QUEUE_SIZE</td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:27 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,45 @@
<!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): src/ppu/system/moc_set_queue_size_ppu.c 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>src/ppu/system/moc_set_queue_size_ppu.c File Reference</h1>
<p>
<code>#include &lt;<a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">internal/ppu/imoc_core_ppu.h</a>&gt;</code><br>
<p>
<div class="dynheader">
Include dependency graph for moc_set_queue_size_ppu.c:</div>
<div class="dynsection">
<p><center><img src="../../d4/d73/moc__set__queue__size__ppu_8c__incl.png" border="0" usemap="#src/ppu/system/moc_set_queue_size_ppu.c_map" alt=""></center>
<map name="src/ppu/system/moc_set_queue_size_ppu.c_map">
<area shape="rect" href="../../d6/d09/imoc__core__ppu_8h.html" title="internal/ppu/imoc_core_ppu.h" alt="" coords="331,80,523,107"><area shape="rect" href="../../d7/d3d/imoc__core_8h.html" title="../imoc_core.h" alt="" coords="464,229,568,256"><area shape="rect" href="../../db/dae/ppu_2moc_8h.html" title="../../ppu/moc.h" alt="" coords="179,155,285,181"><area shape="rect" href="../../db/d62/moc__dma__ppu_8h.html" title="moc_dma_ppu.h" alt="" coords="125,229,243,256"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="77,304,147,331"><area shape="rect" href="../../d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="247,304,388,331"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="moc_datatype.h" alt="" coords="201,379,316,405"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="47,379,177,405"></map>
</div>
<p>
<a href="../../df/d1a/moc__set__queue__size__ppu_8c-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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d9a/group__environment__startup.html#g3e83e7a629951e6788a682aad654baf8">MOC_Set_queue_size</a> (uint8_t size)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the size of the message-queues. <a href="../../d8/d9a/group__environment__startup.html#g3e83e7a629951e6788a682aad654baf8"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:31 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,2 @@
<area shape="rect" href="$d9/d89/structimoc__issend__request__struct.html" title="{imoc_issend_request_struct\n|+ mid\l+ isFinished\l+ source\l+ tag\l+ message_size\l|}" alt="" coords="217,205,401,349">
<area shape="rect" href="$d4/da3/structimoc__dma__request__struct.html" title="{imoc_dma_request_struct\n|+ buffer\l+ target\l+ size\l+ remainder\l+ dest\l+ tag_id\l|}" alt="" coords="23,197,193,357">
@@ -0,0 +1 @@
f58269acc35740f5f29227001693772f
Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

@@ -0,0 +1,422 @@
<!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): moc_message_envelope_struct Struct 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li class="current"><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="../../functions.html"><span>Data&nbsp;Fields</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>moc_message_envelope_struct Struct Reference<br>
<small>
[<a class="el" href="../../dd/df8/group__internal__core.html">Implementation-Core</a>]</small>
</h1><!-- doxytag: class="moc_message_envelope_struct" --><code>#include &lt;<a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for moc_message_envelope_struct:</div>
<div class="dynsection">
<p><center><img src="../../dd/d7b/structmoc__message__envelope__struct__coll__graph.png" border="0" usemap="#da/d85/moc__message__envelope__struct__coll__map" alt="Collaboration graph"></center>
<center><font size="2">[<a target="top" href="../../graph_legend.html">legend</a>]</font></center></div>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Message-envelope structure.
<p>
Is used to store meta-data about the message in the message-queues of the receiving process.
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00076">76</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#8e4a31624fc7e1d66e972d570ba0207c">id</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Message-ID. <a href="#8e4a31624fc7e1d66e972d570ba0207c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#75502fafc90d03a3b101e5c43c8c1727">tag</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Message-tag. <a href="#75502fafc90d03a3b101e5c43c8c1727"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#84160292a4e38f9f72a2937e8a0205ad">communicator</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Communicator of message. <a href="#84160292a4e38f9f72a2937e8a0205ad"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap>union {</td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;struct {</td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unsigned int&nbsp;&nbsp;&nbsp;<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#9e7c103634313d354c874a2834a39116">valid</a>: 1</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is the message valid? <a href="#61f424d915c1b75f9a6de5f58e41721d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unsigned int&nbsp;&nbsp;&nbsp;<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#e0f658191798e4c75db62b62b58519ec">signal_back</a>: 1</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Should the status be reported back to the sending process. <a href="#39ae89e54413b9e22beed58524a28d5e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unsigned int&nbsp;&nbsp;&nbsp;<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#02b00a7d895aeabbffedaaa5b6f124d2">special</a>: 1</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this message a special message? <a href="#410568ca610af3db0900e23e319228a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unsigned int&nbsp;&nbsp;&nbsp;<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#906f21b8d1ace463dbd7ed8588f97816">collaborative</a>: 1</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this message part of a collaborative communication? <a href="#5c579947d6126432c2019c5ca2d14ead"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unsigned int&nbsp;&nbsp;&nbsp;<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#864efa93a60cf1c26bc3d66e3dfe41f3">channel</a>: 2</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Which channel is used to transport the message? <a href="#4ff04be53d49c12fc3228b00b9c99b51"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unsigned int&nbsp;&nbsp;&nbsp;<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#cf9b1b3acf1c9d1a5532251d48108ab5">in_mm</a>: 1</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Are the data in Main-Memory? <a href="#e741e493a5e6950ffe34b5b65ae782d5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unsigned int&nbsp;&nbsp;&nbsp;<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#48557404e43ae6091da6d92b9964e451">keep_valid</a>: 1</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Should the message-status-entry be invalidated? <a href="#20eddf73ebabf505f508e61e97cb4a73"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap valign="top">&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#5538e79854840d3caf08b90b5409e16b">bits</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">flag-struct <a href="#18b6c376aef94b0b26a6e9aac23cad84"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;uint8_t&nbsp;&nbsp;&nbsp;<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#e51379150ad496c8844a4b9b0096120b">value</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">union-value <a href="#a8b376847ba4c467aca643765b38f896"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap valign="top">}&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#38288113f9b7adee1e444850112ff807">flags</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">flag-union <a href="#38288113f9b7adee1e444850112ff807"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#33c0974607df68bb2dcb47c8cad3a909">size</a>: 24</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Message-size in byte. <a href="#33c0974607df68bb2dcb47c8cad3a909"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#d378e074ce754a4db919128cede7dae3">datatype</a>: 8</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Data-type of message-entries. <a href="#d378e074ce754a4db919128cede7dae3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint64_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#1e4384284a652a24abc1cf65fc47d665">message_address</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Effective address of message-data. <a href="#1e4384284a652a24abc1cf65fc47d665"></a><br></td></tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="8e4a31624fc7e1d66e972d570ba0207c"></a><!-- doxytag: member="moc_message_envelope_struct::id" ref="8e4a31624fc7e1d66e972d570ba0207c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#8e4a31624fc7e1d66e972d570ba0207c">moc_message_envelope_struct::id</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Message-ID.
<p>
Also index of message-status-array
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00078">78</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
<p>Referenced by <a class="el" href="../../da/d3c/moc__iprobe_8c-source.html#l00005">MOC_Iprobe()</a>, <a class="el" href="../../d6/d74/moc__probe_8c-source.html#l00004">MOC_Probe()</a>, and <a class="el" href="../../d8/dbc/moc__recv__ppu_8c-source.html#l00011">MOC_Recv()</a>.</p>
</div>
</div><p>
<a class="anchor" name="75502fafc90d03a3b101e5c43c8c1727"></a><!-- doxytag: member="moc_message_envelope_struct::tag" ref="75502fafc90d03a3b101e5c43c8c1727" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#75502fafc90d03a3b101e5c43c8c1727">moc_message_envelope_struct::tag</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Message-tag.
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00079">79</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
<p>Referenced by <a class="el" href="../../de/dbb/imoc__get__entry_8c-source.html#l00013">IMOC_get_entry()</a>, <a class="el" href="../../da/d3c/moc__iprobe_8c-source.html#l00005">MOC_Iprobe()</a>, and <a class="el" href="../../d6/d74/moc__probe_8c-source.html#l00004">MOC_Probe()</a>.</p>
</div>
</div><p>
<a class="anchor" name="84160292a4e38f9f72a2937e8a0205ad"></a><!-- doxytag: member="moc_message_envelope_struct::communicator" ref="84160292a4e38f9f72a2937e8a0205ad" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#84160292a4e38f9f72a2937e8a0205ad">moc_message_envelope_struct::communicator</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Communicator of message.
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00080">80</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
<p>Referenced by <a class="el" href="../../de/dbb/imoc__get__entry_8c-source.html#l00013">IMOC_get_entry()</a>.</p>
</div>
</div><p>
<a class="anchor" name="9e7c103634313d354c874a2834a39116"></a><!-- doxytag: member="moc_message_envelope_struct::valid" ref="9e7c103634313d354c874a2834a39116" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#9e7c103634313d354c874a2834a39116">moc_message_envelope_struct::valid</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Is the message valid?
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00085">85</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="e0f658191798e4c75db62b62b58519ec"></a><!-- doxytag: member="moc_message_envelope_struct::signal_back" ref="e0f658191798e4c75db62b62b58519ec" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#e0f658191798e4c75db62b62b58519ec">moc_message_envelope_struct::signal_back</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Should the status be reported back to the sending process.
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00086">86</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="02b00a7d895aeabbffedaaa5b6f124d2"></a><!-- doxytag: member="moc_message_envelope_struct::special" ref="02b00a7d895aeabbffedaaa5b6f124d2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#02b00a7d895aeabbffedaaa5b6f124d2">moc_message_envelope_struct::special</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Is this message a special message?
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00088">88</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="906f21b8d1ace463dbd7ed8588f97816"></a><!-- doxytag: member="moc_message_envelope_struct::collaborative" ref="906f21b8d1ace463dbd7ed8588f97816" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#906f21b8d1ace463dbd7ed8588f97816">moc_message_envelope_struct::collaborative</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Is this message part of a collaborative communication?
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00089">89</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="864efa93a60cf1c26bc3d66e3dfe41f3"></a><!-- doxytag: member="moc_message_envelope_struct::channel" ref="864efa93a60cf1c26bc3d66e3dfe41f3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#864efa93a60cf1c26bc3d66e3dfe41f3">moc_message_envelope_struct::channel</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Which channel is used to transport the message?
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00091">91</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="cf9b1b3acf1c9d1a5532251d48108ab5"></a><!-- doxytag: member="moc_message_envelope_struct::in_mm" ref="cf9b1b3acf1c9d1a5532251d48108ab5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#cf9b1b3acf1c9d1a5532251d48108ab5">moc_message_envelope_struct::in_mm</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Are the data in Main-Memory?
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00092">92</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="48557404e43ae6091da6d92b9964e451"></a><!-- doxytag: member="moc_message_envelope_struct::keep_valid" ref="48557404e43ae6091da6d92b9964e451" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#48557404e43ae6091da6d92b9964e451">moc_message_envelope_struct::keep_valid</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Should the message-status-entry be invalidated?
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00093">93</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="5538e79854840d3caf08b90b5409e16b"></a><!-- doxytag: member="moc_message_envelope_struct::bits" ref="5538e79854840d3caf08b90b5409e16b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct { ... } <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#5538e79854840d3caf08b90b5409e16b">moc_message_envelope_struct::bits</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
flag-struct
<p>
<p>Referenced by <a class="el" href="../../de/dbb/imoc__get__entry_8c-source.html#l00013">IMOC_get_entry()</a>, <a class="el" href="../../d1/d2a/imoc__get__free__entry_8c-source.html#l00009">IMOC_getFreeEntry()</a>, and <a class="el" href="../../d8/dbc/moc__recv__ppu_8c-source.html#l00011">MOC_Recv()</a>.</p>
</div>
</div><p>
<a class="anchor" name="e51379150ad496c8844a4b9b0096120b"></a><!-- doxytag: member="moc_message_envelope_struct::value" ref="e51379150ad496c8844a4b9b0096120b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#e51379150ad496c8844a4b9b0096120b">moc_message_envelope_struct::value</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
union-value
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00095">95</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
<p>Referenced by <a class="el" href="../../dc/d5d/moc__barrier__ppu_8c-source.html#l00011">MOC_Barrier()</a>, and <a class="el" href="../../d8/dbc/moc__recv__ppu_8c-source.html#l00011">MOC_Recv()</a>.</p>
</div>
</div><p>
<a class="anchor" name="38288113f9b7adee1e444850112ff807"></a><!-- doxytag: member="moc_message_envelope_struct::flags" ref="38288113f9b7adee1e444850112ff807" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">union { ... } <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#38288113f9b7adee1e444850112ff807">moc_message_envelope_struct::flags</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
flag-union
<p>
<p>Referenced by <a class="el" href="../../de/dbb/imoc__get__entry_8c-source.html#l00013">IMOC_get_entry()</a>, <a class="el" href="../../dc/d5d/moc__barrier__ppu_8c-source.html#l00011">MOC_Barrier()</a>, and <a class="el" href="../../d8/dbc/moc__recv__ppu_8c-source.html#l00011">MOC_Recv()</a>.</p>
</div>
</div><p>
<a class="anchor" name="33c0974607df68bb2dcb47c8cad3a909"></a><!-- doxytag: member="moc_message_envelope_struct::size" ref="33c0974607df68bb2dcb47c8cad3a909" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#33c0974607df68bb2dcb47c8cad3a909">moc_message_envelope_struct::size</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Message-size in byte.
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00097">97</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
<p>Referenced by <a class="el" href="../../da/d3c/moc__iprobe_8c-source.html#l00005">MOC_Iprobe()</a>, <a class="el" href="../../d6/d74/moc__probe_8c-source.html#l00004">MOC_Probe()</a>, and <a class="el" href="../../d8/dbc/moc__recv__ppu_8c-source.html#l00011">MOC_Recv()</a>.</p>
</div>
</div><p>
<a class="anchor" name="d378e074ce754a4db919128cede7dae3"></a><!-- doxytag: member="moc_message_envelope_struct::datatype" ref="d378e074ce754a4db919128cede7dae3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#d378e074ce754a4db919128cede7dae3">moc_message_envelope_struct::datatype</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Data-type of message-entries.
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00098">98</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
<p>Referenced by <a class="el" href="../../d8/dbc/moc__recv__ppu_8c-source.html#l00011">MOC_Recv()</a>.</p>
</div>
</div><p>
<a class="anchor" name="1e4384284a652a24abc1cf65fc47d665"></a><!-- doxytag: member="moc_message_envelope_struct::message_address" ref="1e4384284a652a24abc1cf65fc47d665" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64_t <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html#1e4384284a652a24abc1cf65fc47d665">moc_message_envelope_struct::message_address</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Effective address of message-data.
<p>
<p>Definition at line <a class="el" href="../../d6/d2c/imoc__core_8h-source.html#l00099">99</a> of file <a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>.</p>
<p>Referenced by <a class="el" href="../../d8/dbc/moc__recv__ppu_8c-source.html#l00011">MOC_Recv()</a>.</p>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>include/internal/<a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:51:19 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,49 @@
<!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): src/spu/dma/moc_dma-put_spu.c 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>src/spu/dma/moc_dma-put_spu.c File Reference</h1>
<p>
<code>#include &lt;spu_mfcio.h&gt;</code><br>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;<a class="el" href="../../dc/dcb/spu_2moc_8h-source.html">moc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../d0/d87/imoc__macros_8h-source.html">internal/imoc_macros.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../d4/d95/imoc__dma__spu_8h-source.html">internal/spu/imoc_dma_spu.h</a>&gt;</code><br>
<p>
<div class="dynheader">
Include dependency graph for moc_dma-put_spu.c:</div>
<div class="dynsection">
<p><center><img src="../../dd/dad/moc__dma-put__spu_8c__incl.png" border="0" usemap="#src/spu/dma/moc_dma-put_spu.c_map" alt=""></center>
<map name="src/spu/dma/moc_dma-put_spu.c_map">
<area shape="rect" href="../../d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="208,80,264,107"><area shape="rect" href="../../d2/d42/imoc__macros_8h.html" title="internal/imoc_macros.h" alt="" coords="339,80,493,107"><area shape="rect" href="../../d4/dce/imoc__dma__spu_8h.html" title="internal/spu/imoc_dma_spu.h" alt="" coords="324,155,516,181"><area shape="rect" href="../../dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="81,155,199,181"><area shape="rect" href="../../d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="109,229,251,256"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="275,229,344,256"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="109,304,235,331"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="309,304,440,331"></map>
</div>
<p>
<a href="../../d8/dbc/moc__dma-put__spu_8c-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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d16/group__dma__access.html#g1baab78008563718380887026cf9444f">MOC_Put_data</a> (void *source, uint64_t target, int count, <a class="el" href="../../dc/d6e/group__p2p__datatype.html#gb4e45f15c08578bd3fc97c0cca2a509a">MOC_Datatype</a> datatype)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wrapper-function for a blocking DMA-put operation. <a href="../../d9/d16/group__dma__access.html#g1baab78008563718380887026cf9444f"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:36 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,46 @@
<!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): src/noarch/system/moc_comm_size.c 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>src/noarch/system/moc_comm_size.c File Reference</h1>
<p>
<code>#include &lt;<a class="el" href="../../dc/dcb/spu_2moc_8h-source.html">moc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">internal/ppu/imoc_core_ppu.h</a>&gt;</code><br>
<p>
<div class="dynheader">
Include dependency graph for moc_comm_size.c:</div>
<div class="dynsection">
<p><center><img src="../../d8/d92/moc__comm__size_8c__incl.png" border="0" usemap="#src/noarch/system/moc_comm_size.c_map" alt=""></center>
<map name="src/noarch/system/moc_comm_size.c_map">
<area shape="rect" href="../../d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="156,155,212,181"><area shape="rect" href="../../d6/d09/imoc__core__ppu_8h.html" title="internal/ppu/imoc_core_ppu.h" alt="" coords="389,80,581,107"><area shape="rect" href="../../dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="125,229,243,256"><area shape="rect" href="../../d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="17,304,159,331"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="315,304,384,331"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="439,379,564,405"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="284,379,415,405"><area shape="rect" href="../../d7/d3d/imoc__core_8h.html" title="../imoc_core.h" alt="" coords="689,379,793,405"><area shape="rect" href="../../db/dae/ppu_2moc_8h.html" title="../../ppu/moc.h" alt="" coords="489,155,596,181"><area shape="rect" href="../../db/d62/moc__dma__ppu_8h.html" title="moc_dma_ppu.h" alt="" coords="464,229,581,256"><area shape="rect" href="../../d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="491,304,632,331"></map>
</div>
<p>
<a href="../../d8/d65/moc__comm__size_8c-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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dd1/group__comm__mgt.html#g36ac8a2d969216d52418aedd77a5829e">MOC_Comm_size</a> (<a class="el" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767">MOC_Comm</a> comm, int *size)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines the size of the group associated with a communictor. <a href="../../d1/dd1/group__comm__mgt.html#g36ac8a2d969216d52418aedd77a5829e"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:15 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,253 @@
<!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): moc_node_handle_spu_struct Struct 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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li class="current"><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="../../functions.html"><span>Data&nbsp;Fields</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>moc_node_handle_spu_struct Struct Reference<br>
<small>
[<a class="el" href="../../dd/df8/group__internal__core.html">Implementation-Core</a>]</small>
</h1><!-- doxytag: class="moc_node_handle_spu_struct" --><code>#include &lt;<a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for moc_node_handle_spu_struct:</div>
<div class="dynsection">
<p><center><img src="../../de/dfe/structmoc__node__handle__spu__struct__coll__graph.png" border="0" usemap="#d8/d8e/moc__node__handle__spu__struct__coll__map" alt="Collaboration graph"></center>
<map name="d8/d8e/moc__node__handle__spu__struct__coll__map">
<area shape="rect" href="../../d0/db8/structmoc__process__struct.html" title="Process&#45;information structure." alt="" coords="236,365,377,509"><area shape="rect" href="../../df/dd4/structmoc__message__envelope__struct.html" title="Message&#45;envelope structure." alt="" coords="401,277,604,597"><area shape="rect" href="../../dd/df5/structmoc__message__status__struct.html" title="Message&#45;status structure." alt="" coords="815,317,1004,557"></map>
<center><font size="2">[<a target="top" href="../../graph_legend.html">legend</a>]</font></center></div>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Node-handle structure.
<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>SPU only</dd></dl>
Information each node knowns about himself and the world.
<p>Definition at line <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html#l00026">26</a> of file <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#5e631eff3eafb928090de9052e270096">rank</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">rank of node <a href="#5e631eff3eafb928090de9052e270096"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#5c4303a66bc776148a69356a3dc3617f">comm_size</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of overall processes <a href="#5c4303a66bc776148a69356a3dc3617f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#8cebe0d640fc24442ac840543965cf31">queue_size</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of a message-queue. <a href="#8cebe0d640fc24442ac840543965cf31"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint64_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#938ed9868965ef1f847e3b27551ba361">ls_base</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Effective address of own local-store. <a href="#938ed9868965ef1f847e3b27551ba361"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#fdb3ef2f42d835361a3105bd364ff47b">message_queue_base</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">base-address of own message-queues <a href="#fdb3ef2f42d835361a3105bd364ff47b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile <a class="el" href="../../dd/df5/structmoc__message__status__struct.html">moc_message_status_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#45896e3e78cffdc609020d713bd29c1f">status_array_base</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">base-address of own message-status-array <a href="#45896e3e78cffdc609020d713bd29c1f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint64_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#d3d49530f8d7e95e6d4f49b859356923">buffer_base</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">base-address of own buffer <a href="#d3d49530f8d7e95e6d4f49b859356923"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#55a98cfb1785be7881618f53cf1a5ba6">buffer_size</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">size of own buffer <a href="#55a98cfb1785be7881618f53cf1a5ba6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile <a class="el" href="../../d0/db8/structmoc__process__struct.html">moc_process_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#1ebce660d5a8a039ecc3d8b6abe00a04">moc_process_list</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">list of all other MOC-processes (index is rank of process) <a href="#1ebce660d5a8a039ecc3d8b6abe00a04"></a><br></td></tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="5e631eff3eafb928090de9052e270096"></a><!-- doxytag: member="moc_node_handle_spu_struct::rank" ref="5e631eff3eafb928090de9052e270096" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#5e631eff3eafb928090de9052e270096">moc_node_handle_spu_struct::rank</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
rank of node
<p>
<p>Definition at line <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html#l00028">28</a> of file <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="5c4303a66bc776148a69356a3dc3617f"></a><!-- doxytag: member="moc_node_handle_spu_struct::comm_size" ref="5c4303a66bc776148a69356a3dc3617f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#5c4303a66bc776148a69356a3dc3617f">moc_node_handle_spu_struct::comm_size</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
number of overall processes
<p>
<p>Definition at line <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html#l00029">29</a> of file <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="8cebe0d640fc24442ac840543965cf31"></a><!-- doxytag: member="moc_node_handle_spu_struct::queue_size" ref="8cebe0d640fc24442ac840543965cf31" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#8cebe0d640fc24442ac840543965cf31">moc_node_handle_spu_struct::queue_size</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Size of a message-queue.
<p>
<p>Definition at line <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html#l00030">30</a> of file <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="938ed9868965ef1f847e3b27551ba361"></a><!-- doxytag: member="moc_node_handle_spu_struct::ls_base" ref="938ed9868965ef1f847e3b27551ba361" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64_t <a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#938ed9868965ef1f847e3b27551ba361">moc_node_handle_spu_struct::ls_base</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Effective address of own local-store.
<p>
<p>Definition at line <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html#l00031">31</a> of file <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="fdb3ef2f42d835361a3105bd364ff47b"></a><!-- doxytag: member="moc_node_handle_spu_struct::message_queue_base" ref="fdb3ef2f42d835361a3105bd364ff47b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">volatile <a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a>* <a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#fdb3ef2f42d835361a3105bd364ff47b">moc_node_handle_spu_struct::message_queue_base</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
base-address of own message-queues
<p>
<p>Definition at line <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html#l00032">32</a> of file <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="45896e3e78cffdc609020d713bd29c1f"></a><!-- doxytag: member="moc_node_handle_spu_struct::status_array_base" ref="45896e3e78cffdc609020d713bd29c1f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">volatile <a class="el" href="../../dd/df5/structmoc__message__status__struct.html">moc_message_status_t</a>* <a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#45896e3e78cffdc609020d713bd29c1f">moc_node_handle_spu_struct::status_array_base</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
base-address of own message-status-array
<p>
<p>Definition at line <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html#l00033">33</a> of file <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="d3d49530f8d7e95e6d4f49b859356923"></a><!-- doxytag: member="moc_node_handle_spu_struct::buffer_base" ref="d3d49530f8d7e95e6d4f49b859356923" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64_t <a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#d3d49530f8d7e95e6d4f49b859356923">moc_node_handle_spu_struct::buffer_base</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
base-address of own buffer
<p>
<p>Definition at line <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html#l00034">34</a> of file <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="55a98cfb1785be7881618f53cf1a5ba6"></a><!-- doxytag: member="moc_node_handle_spu_struct::buffer_size" ref="55a98cfb1785be7881618f53cf1a5ba6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t <a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#55a98cfb1785be7881618f53cf1a5ba6">moc_node_handle_spu_struct::buffer_size</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
size of own buffer
<p>
<p>Definition at line <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html#l00035">35</a> of file <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="1ebce660d5a8a039ecc3d8b6abe00a04"></a><!-- doxytag: member="moc_node_handle_spu_struct::moc_process_list" ref="1ebce660d5a8a039ecc3d8b6abe00a04" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">volatile <a class="el" href="../../d0/db8/structmoc__process__struct.html">moc_process_t</a>* <a class="el" href="../../df/dde/structmoc__node__handle__spu__struct.html#1ebce660d5a8a039ecc3d8b6abe00a04">moc_node_handle_spu_struct::moc_process_list</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
list of all other MOC-processes (index is rank of process)
<p>
<p>Definition at line <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html#l00036">36</a> of file <a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a>.</p>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>include/internal/spu/<a class="el" href="../../db/dd9/imoc__core__spu_8h-source.html">imoc_core_spu.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:51:21 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
@@ -0,0 +1,288 @@
<!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): Address-Macros</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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Address-Macros<br>
<small>
[<a class="el" href="../../dd/df8/group__internal__core.html">Implementation-Core</a>]</small>
</h1>
<p>
<div class="dynheader">
Collaboration diagram for Address-Macros:</div>
<div class="dynsection">
<center><table><tr><td><img src="../../df/ddf/group__internal__am.png" border="0" alt="" usemap="#d5/d57/df_2ddf_2group____internal____am_map">
<map name="d5/d57/df_2ddf_2group____internal____am_map">
<area shape="rect" href="../../dd/df8/group__internal__core.html" title="This section deals with the data&#45;structures and the basic concepts which form the..." alt="" coords="7,5,145,32"></map></td></tr></table></center>
</div>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Predefined Macros for calculating Addresses of Message-Queue and Status-Array.
<p>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>PPU &amp; SPU</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/ddf/group__internal__am.html#gf02c3d971a2b5e72d22c9c16b1748c04">IMOC_EA_REMOTE_QUEUE</a>(proc)&nbsp;&nbsp;&nbsp;( (proc &gt; 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">&nbsp;</td><td class="mdescRight">Effective base-address of own remote queue at node 'rank'. <a href="#gf02c3d971a2b5e72d22c9c16b1748c04"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/ddf/group__internal__am.html#gf7dce8bc9c6659f94b3431225de2e595">IMOC_LOCAL_QUEUE</a>(proc)&nbsp;&nbsp;&nbsp;( (proc &lt; 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">&nbsp;</td><td class="mdescRight">Effective Base-Address of local queue responsible for node 'rank'. <a href="#gf7dce8bc9c6659f94b3431225de2e595"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</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)&nbsp;&nbsp;&nbsp;( (proc &gt; 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">&nbsp;</td><td class="mdescRight">Effective base-address of own remote queue-entry at node 'rank'. <a href="#gf9ad028ccbfa406c49a0ebd943486698"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/ddf/group__internal__am.html#gff30b49c33a20273c4353dc945a8d870">IMOC_LOCAL_QUEUE_ENTRY</a>(proc, index)&nbsp;&nbsp;&nbsp;( (proc &lt; 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">&nbsp;</td><td class="mdescRight">Effective Base-Address of local queue-entry responsible for node 'rank'. <a href="#gff30b49c33a20273c4353dc945a8d870"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</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)&nbsp;&nbsp;&nbsp;( 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">&nbsp;</td><td class="mdescRight">Effective Address of remote status-array entry at node 'rank'. <a href="#g55e4226e422d3dbf1a1ee6a871c09da7"></a><br></td></tr>
<tr><td colspan="2"><br><h2>PPU-only</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/ddf/group__internal__am.html#g48013d236aaa37226bbba460eaf3aca5">IMOC_LS_REMOTE_QUEUE</a>(proc)&nbsp;&nbsp;&nbsp;( (proc &gt; node_handle.rank) ? <a class="el" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e">moc_spu_thread_list</a>[proc-<a class="el" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52">moc_ppu_thread_count</a>].queue_base_in_ls+sizeof(<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a>)*node_handle.queue_size*node_handle.rank : <a class="el" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e">moc_spu_thread_list</a>[proc-<a class="el" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52">moc_ppu_thread_count</a>].queue_base_in_ls+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">&nbsp;</td><td class="mdescRight">LS-Address of own remote queue at node 'rank'. <a href="#g48013d236aaa37226bbba460eaf3aca5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/ddf/group__internal__am.html#gbe88027dec24d5a28cae9988d60d1606">IMOC_LS_REMOTE_QUEUE_ENTRY</a>(proc, index)&nbsp;&nbsp;&nbsp;( (proc &gt; node_handle.rank) ? <a class="el" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e">moc_spu_thread_list</a>[proc-<a class="el" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52">moc_ppu_thread_count</a>].queue_base_in_ls+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) : <a class="el" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e">moc_spu_thread_list</a>[proc-<a class="el" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52">moc_ppu_thread_count</a>].queue_base_in_ls+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">&nbsp;</td><td class="mdescRight">LS-Address of own remote queue-entry at node 'rank'. <a href="#gbe88027dec24d5a28cae9988d60d1606"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/ddf/group__internal__am.html#gded7ed7d01abe015b3fa13abeb73b303">IMOC_LS_REMOTE_STATUS_ENTRY</a>(id, rank)&nbsp;&nbsp;&nbsp;( <a class="el" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e">moc_spu_thread_list</a>[rank-<a class="el" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52">moc_ppu_thread_count</a>].status_base_in_ls+sizeof(<a class="el" href="../../dd/df5/structmoc__message__status__struct.html">moc_message_status_t</a>)*(id) )</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Effective Address of remote status-array entry at node 'rank'. <a href="#gded7ed7d01abe015b3fa13abeb73b303"></a><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="gf02c3d971a2b5e72d22c9c16b1748c04"></a><!-- doxytag: member="imoc_macros.h::IMOC_EA_REMOTE_QUEUE" ref="gf02c3d971a2b5e72d22c9c16b1748c04" args="(proc)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IMOC_EA_REMOTE_QUEUE </td>
<td>(</td>
<td class="paramtype">proc&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;( (proc &gt; 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>
</table>
</div>
<div class="memdoc">
<p>
Effective base-address of own remote queue at node 'rank'.
<p>
Address is of type uint64_t
<p>Definition at line <a class="el" href="../../d0/d87/imoc__macros_8h-source.html#l00019">19</a> of file <a class="el" href="../../d0/d87/imoc__macros_8h-source.html">imoc_macros.h</a>.</p>
<p>Referenced by <a class="el" href="../../dc/d5d/moc__barrier__ppu_8c-source.html#l00011">MOC_Barrier()</a>, <a class="el" href="../../d2/db6/moc__bsend__ppu_8c-source.html#l00010">MOC_Bsend()</a>, <a class="el" href="../../df/df8/moc__issend__ppu_8c-source.html#l00010">MOC_ISsend()</a>, and <a class="el" href="../../d4/db6/moc__ssend__ppu_8c-source.html#l00010">MOC_Ssend()</a>.</p>
</div>
</div><p>
<a class="anchor" name="gf9ad028ccbfa406c49a0ebd943486698"></a><!-- doxytag: member="imoc_macros.h::IMOC_EA_REMOTE_QUEUE_ENTRY" ref="gf9ad028ccbfa406c49a0ebd943486698" args="(proc, index)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IMOC_EA_REMOTE_QUEUE_ENTRY </td>
<td>(</td>
<td class="paramtype">proc, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">index&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;( (proc &gt; 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>
</table>
</div>
<div class="memdoc">
<p>
Effective base-address of own remote queue-entry at node 'rank'.
<p>
Address is of type uint64_t
<p>Definition at line <a class="el" href="../../d0/d87/imoc__macros_8h-source.html#l00034">34</a> of file <a class="el" href="../../d0/d87/imoc__macros_8h-source.html">imoc_macros.h</a>.</p>
<p>Referenced by <a class="el" href="../../dc/d5d/moc__barrier__ppu_8c-source.html#l00011">MOC_Barrier()</a>, <a class="el" href="../../d2/db6/moc__bsend__ppu_8c-source.html#l00010">MOC_Bsend()</a>, <a class="el" href="../../df/df8/moc__issend__ppu_8c-source.html#l00010">MOC_ISsend()</a>, and <a class="el" href="../../d4/db6/moc__ssend__ppu_8c-source.html#l00010">MOC_Ssend()</a>.</p>
</div>
</div><p>
<a class="anchor" name="g55e4226e422d3dbf1a1ee6a871c09da7"></a><!-- doxytag: member="imoc_macros.h::IMOC_EA_REMOTE_STATUS_ENTRY" ref="g55e4226e422d3dbf1a1ee6a871c09da7" args="(id, rank)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IMOC_EA_REMOTE_STATUS_ENTRY </td>
<td>(</td>
<td class="paramtype">id, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">rank&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;( 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>
</table>
</div>
<div class="memdoc">
<p>
Effective Address of remote status-array entry at node 'rank'.
<p>
Address is of type uint64_t
<p>Definition at line <a class="el" href="../../d0/d87/imoc__macros_8h-source.html#l00049">49</a> of file <a class="el" href="../../d0/d87/imoc__macros_8h-source.html">imoc_macros.h</a>.</p>
<p>Referenced by <a class="el" href="../../d8/dbc/moc__recv__ppu_8c-source.html#l00011">MOC_Recv()</a>.</p>
</div>
</div><p>
<a class="anchor" name="gf7dce8bc9c6659f94b3431225de2e595"></a><!-- doxytag: member="imoc_macros.h::IMOC_LOCAL_QUEUE" ref="gf7dce8bc9c6659f94b3431225de2e595" args="(proc)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IMOC_LOCAL_QUEUE </td>
<td>(</td>
<td class="paramtype">proc&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;( (proc &lt; 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>
</table>
</div>
<div class="memdoc">
<p>
Effective Base-Address of local queue responsible for node 'rank'.
<p>
Address is of type moc_message_envelope_t*
<p>Definition at line <a class="el" href="../../d0/d87/imoc__macros_8h-source.html#l00026">26</a> of file <a class="el" href="../../d0/d87/imoc__macros_8h-source.html">imoc_macros.h</a>.</p>
<p>Referenced by <a class="el" href="../../de/dbb/imoc__get__entry_8c-source.html#l00013">IMOC_get_entry()</a>.</p>
</div>
</div><p>
<a class="anchor" name="gff30b49c33a20273c4353dc945a8d870"></a><!-- doxytag: member="imoc_macros.h::IMOC_LOCAL_QUEUE_ENTRY" ref="gff30b49c33a20273c4353dc945a8d870" args="(proc, index)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IMOC_LOCAL_QUEUE_ENTRY </td>
<td>(</td>
<td class="paramtype">proc, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">index&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;( (proc &lt; 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>
</table>
</div>
<div class="memdoc">
<p>
Effective Base-Address of local queue-entry responsible for node 'rank'.
<p>
Address is of type moc_message_envelope_t*
<p>Definition at line <a class="el" href="../../d0/d87/imoc__macros_8h-source.html#l00041">41</a> of file <a class="el" href="../../d0/d87/imoc__macros_8h-source.html">imoc_macros.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="g48013d236aaa37226bbba460eaf3aca5"></a><!-- doxytag: member="imoc_macros_ppu.h::IMOC_LS_REMOTE_QUEUE" ref="g48013d236aaa37226bbba460eaf3aca5" args="(proc)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IMOC_LS_REMOTE_QUEUE </td>
<td>(</td>
<td class="paramtype">proc&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;( (proc &gt; node_handle.rank) ? <a class="el" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e">moc_spu_thread_list</a>[proc-<a class="el" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52">moc_ppu_thread_count</a>].queue_base_in_ls+sizeof(<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a>)*node_handle.queue_size*node_handle.rank : <a class="el" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e">moc_spu_thread_list</a>[proc-<a class="el" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52">moc_ppu_thread_count</a>].queue_base_in_ls+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>
</table>
</div>
<div class="memdoc">
<p>
LS-Address of own remote queue at node 'rank'.
<p>
Address is of type uint32_t.
<p>Definition at line <a class="el" href="../../db/db7/imoc__macros__ppu_8h-source.html#l00025">25</a> of file <a class="el" href="../../db/db7/imoc__macros__ppu_8h-source.html">imoc_macros_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dc/d5d/moc__barrier__ppu_8c-source.html#l00011">MOC_Barrier()</a>, <a class="el" href="../../d2/db6/moc__bsend__ppu_8c-source.html#l00010">MOC_Bsend()</a>, <a class="el" href="../../df/df8/moc__issend__ppu_8c-source.html#l00010">MOC_ISsend()</a>, and <a class="el" href="../../d4/db6/moc__ssend__ppu_8c-source.html#l00010">MOC_Ssend()</a>.</p>
</div>
</div><p>
<a class="anchor" name="gbe88027dec24d5a28cae9988d60d1606"></a><!-- doxytag: member="imoc_macros_ppu.h::IMOC_LS_REMOTE_QUEUE_ENTRY" ref="gbe88027dec24d5a28cae9988d60d1606" args="(proc, index)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IMOC_LS_REMOTE_QUEUE_ENTRY </td>
<td>(</td>
<td class="paramtype">proc, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">index&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;( (proc &gt; node_handle.rank) ? <a class="el" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e">moc_spu_thread_list</a>[proc-<a class="el" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52">moc_ppu_thread_count</a>].queue_base_in_ls+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) : <a class="el" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e">moc_spu_thread_list</a>[proc-<a class="el" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52">moc_ppu_thread_count</a>].queue_base_in_ls+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>
</table>
</div>
<div class="memdoc">
<p>
LS-Address of own remote queue-entry at node 'rank'.
<p>
Address is of type uint32_t.
<p>Definition at line <a class="el" href="../../db/db7/imoc__macros__ppu_8h-source.html#l00033">33</a> of file <a class="el" href="../../db/db7/imoc__macros__ppu_8h-source.html">imoc_macros_ppu.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="gded7ed7d01abe015b3fa13abeb73b303"></a><!-- doxytag: member="imoc_macros_ppu.h::IMOC_LS_REMOTE_STATUS_ENTRY" ref="gded7ed7d01abe015b3fa13abeb73b303" args="(id, rank)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IMOC_LS_REMOTE_STATUS_ENTRY </td>
<td>(</td>
<td class="paramtype">id, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">rank&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;( <a class="el" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e">moc_spu_thread_list</a>[rank-<a class="el" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52">moc_ppu_thread_count</a>].status_base_in_ls+sizeof(<a class="el" href="../../dd/df5/structmoc__message__status__struct.html">moc_message_status_t</a>)*(id) )</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Effective Address of remote status-array entry at node 'rank'.
<p>
Address is of type uint32_t
<p>Definition at line <a class="el" href="../../db/db7/imoc__macros__ppu_8h-source.html#l00042">42</a> of file <a class="el" href="../../db/db7/imoc__macros__ppu_8h-source.html">imoc_macros_ppu.h</a>.</p>
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:51:03 2009 for MPI On Cell (Documentation) by&nbsp;
<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>
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

@@ -0,0 +1,138 @@
<!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): src/ppu/communication/moc_issend_ppu.c Source File</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&nbsp;Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
<h1>src/ppu/communication/moc_issend_ppu.c</h1><a href="../../dc/d02/moc__issend__ppu_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00003"></a>00003
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;<a class="code" href="../../d0/d3a/spu_2moc_8h.html">moc.h</a>&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;<a class="code" href="../../d8/de2/moc__datatype__ppu_8h.html">ppu/moc_datatype_ppu.h</a>&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;<a class="code" href="../../d9/db3/imoc_8h.html">internal/imoc.h</a>&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;<a class="code" href="../../d8/d98/imoc__macros__ppu_8h.html">internal/ppu/imoc_macros_ppu.h</a>&gt;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;<a class="code" href="../../d6/d09/imoc__core__ppu_8h.html">internal/ppu/imoc_core_ppu.h</a>&gt;</span>
<a name="l00009"></a>00009
<a name="l00010"></a><a class="code" href="../../d7/d62/group__p2p__imm.html#gc148ff9b9bee69164139425a7df53697">00010</a> <span class="keywordtype">int</span> <a class="code" href="../../d7/d62/group__p2p__imm.html#gc148ff9b9bee69164139425a7df53697" title="Performs a non-blocking synchronous mode send operation.">MOC_ISsend</a>(<span class="keywordtype">void</span>* buf, <span class="keywordtype">int</span> count, <a class="code" href="../../dc/d6e/group__p2p__datatype.html#gb4e45f15c08578bd3fc97c0cca2a509a" title="Typedef defining MOC_Datatype.">MOC_Datatype</a> datatype, <span class="keywordtype">int</span> dest, <span class="keywordtype">int</span> tag,
<a name="l00011"></a>00011 <a class="code" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767" title="Communicator-Handle.">MOC_Comm</a> comm, <a class="code" href="../../db/d17/structmoc__request__struct.html" title="Communication-Request (Handle).">MOC_Request</a> *request)
<a name="l00012"></a>00012 {
<a name="l00013"></a>00013 <span class="keywordtype">int</span> queue_index, msg_id, bytecount, err;
<a name="l00014"></a>00014 <a class="code" href="../../df/dd4/structmoc__message__envelope__struct.html" title="Message-envelope structure.">moc_message_envelope_t</a> queue_copy[<a class="code" href="../../dd/df8/group__internal__core.html#geed5a271d50368d3cf9a858c4f57c895" title="Information each node knowns about himself and the world.">node_handle</a>.<a class="code" href="../../d8/d93/structmoc__node__handle__ppu__struct.html#ee1aa72cd99190cf97523a955cfa6141" title="Size of a message-queue.">queue_size</a>] <a class="code" href="../../d3/dd3/group__internal__p2p__bmalloc.html#gad8750c7ba3d6da9c137c2c462d2c531" title="void bmalloc_print_nodes() { if (!bmalloc_first_node) printf(&amp;quot;No nodes in list\n&amp;quot;);...">__attribute__</a>((__aligned__(16)));
<a name="l00015"></a>00015
<a name="l00016"></a>00016 uint32_t dmastatus;
<a name="l00017"></a>00017
<a name="l00018"></a>00018 <span class="keywordflow">if</span> (((datatype &amp; 0xF0) &gt;&gt; 4) == 0)
<a name="l00019"></a>00019 bytecount = count;
<a name="l00020"></a>00020 <span class="keywordflow">else</span>
<a name="l00021"></a>00021 bytecount = count * (((datatype &amp; 0xF0) &gt;&gt; 4) * 2);
<a name="l00022"></a>00022
<a name="l00023"></a>00023 request-&gt;<a class="code" href="../../db/d17/structmoc__request__struct.html#4878ce199375f8a411520c887f908a4f">request_data</a>.<a class="code" href="../../db/d17/structmoc__request__struct.html#47db330291fdf4864201fe106ec53db8">issend_request</a>.<a class="code" href="../../d9/d89/structimoc__issend__request__struct.html#db3150d28936af45c475ec5c9fb65cd8">isFinished</a> = 1;
<a name="l00024"></a>00024 request-&gt;<a class="code" href="../../db/d17/structmoc__request__struct.html#56ab14d3df6e8c232e66aec78be949f3">request_type</a> = <a class="code" href="../../d7/d41/group__internal__p2p__imm.html#g755884e41591a0d838f45b04f3a92ab9" title="MOC_Request is associated with aISsend-Communication.">MOC_REQ_TYPE_ISSEND</a>;
<a name="l00025"></a>00025 request-&gt;<a class="code" href="../../db/d17/structmoc__request__struct.html#4878ce199375f8a411520c887f908a4f">request_data</a>.<a class="code" href="../../db/d17/structmoc__request__struct.html#47db330291fdf4864201fe106ec53db8">issend_request</a>.<a class="code" href="../../d9/d89/structimoc__issend__request__struct.html#2cfe5aa07e2fc69eff15e0e65da4efea">source</a> = <a class="code" href="../../dd/df8/group__internal__core.html#geed5a271d50368d3cf9a858c4f57c895" title="Information each node knowns about himself and the world.">node_handle</a>.<a class="code" href="../../d8/d93/structmoc__node__handle__ppu__struct.html#9005ee3d6d0ee8b2f15628dcca724710" title="rank of node">rank</a>;
<a name="l00026"></a>00026 request-&gt;<a class="code" href="../../db/d17/structmoc__request__struct.html#4878ce199375f8a411520c887f908a4f">request_data</a>.<a class="code" href="../../db/d17/structmoc__request__struct.html#47db330291fdf4864201fe106ec53db8">issend_request</a>.<a class="code" href="../../d9/d89/structimoc__issend__request__struct.html#526dc209a5b20ff98169e0803812fbb1">tag</a> = tag;
<a name="l00027"></a>00027 request-&gt;<a class="code" href="../../db/d17/structmoc__request__struct.html#4878ce199375f8a411520c887f908a4f">request_data</a>.<a class="code" href="../../db/d17/structmoc__request__struct.html#47db330291fdf4864201fe106ec53db8">issend_request</a>.<a class="code" href="../../d9/d89/structimoc__issend__request__struct.html#942c10dc3d21a8830d7714a4018cd42b">message_size</a> = bytecount;
<a name="l00028"></a>00028
<a name="l00029"></a>00029 <a class="code" href="../../d3/d32/group__internal__tm.html#g615b65fb3c3ad16711686a178ac7d1c3" title="Tests if rank is MOC_PROC_NULL and returns with MOC_SUCCESS itself.">IMOC_TEST_PROC_NULL</a>(dest)
<a name="l00030"></a>00030 <a class="code" href="../../d3/d32/group__internal__tm.html#gf902b6e1cbe077abf0f8d02a488fec8a" title="Tests if rank is own rank and returns with MOC_SUCCESS itself.">IMOC_TEST_PROC_SELF</a>(dest)
<a name="l00031"></a>00031 <a class="code" href="../../d3/d32/group__internal__tm.html#g8026463e106a01cc8efb816d7dc1036a" title="Tests if invalid byte-count in a recv-operation.">IMOC_TEST_BYTECOUNT</a>(bytecount)
<a name="l00032"></a>00032 <span class="comment">// if there is no data, permit Null-Buffer-Pointer</span>
<a name="l00033"></a>00033 <span class="keywordflow">if</span> (bytecount != 0)
<a name="l00034"></a>00034 {
<a name="l00035"></a>00035 <a class="code" href="../../d3/d32/group__internal__tm.html#g52f61fd7f3253d10b740a9fc792052c6" title="Tests if invalid buffer-pointer.">IMOC_TEST_BUFFER</a>(buf)
<a name="l00036"></a>00036 }
<a name="l00037"></a>00037 <a class="code" href="../../d3/d32/group__internal__tm.html#g1dfddaa8f7d9aad32b00248c7dc782d2" title="Tests if invalid rank.">IMOC_TEST_RANK</a>(dest)
<a name="l00038"></a>00038 <a class="code" href="../../d3/d32/group__internal__tm.html#g49637a9f588e1c44584d8def5c45e811" title="Tests if invalid tag in a send-operation.">IMOC_TEST_TAG_SEND</a>(tag)
<a name="l00039"></a>00039 <a class="code" href="../../d3/d32/group__internal__tm.html#gfc07f5e570f47525b80a1f3e5a36b3b3" title="Tests if invalid communicator in a send-operation.">IMOC_TEST_COMM_SEND</a>(comm)
<a name="l00040"></a>00040
<a name="l00041"></a>00041 <span class="comment">/* Get queue from remote-node, choose fastest method depending on transfer-size */</span>
<a name="l00042"></a>00042 <span class="keywordflow">if</span> (<a class="code" href="../../dd/df8/group__internal__core.html#geed5a271d50368d3cf9a858c4f57c895" title="Information each node knowns about himself and the world.">node_handle</a>.<a class="code" href="../../d8/d93/structmoc__node__handle__ppu__struct.html#ee1aa72cd99190cf97523a955cfa6141" title="Size of a message-queue.">queue_size</a> * <span class="keyword">sizeof</span>(<a class="code" href="../../df/dd4/structmoc__message__envelope__struct.html" title="Message-envelope structure.">moc_message_envelope_t</a>)
<a name="l00043"></a>00043 &gt; <a class="code" href="../../d8/d88/group__internal__p2p__main.html#ge9f5f9bdfa51d7683fbe312d4a667afd" title="Defines a treshold, when to use memcpy and when to use DMA in a get-operation on...">MEMCPY_GET_TRESHOLD</a>)
<a name="l00044"></a>00044 {
<a name="l00045"></a>00045 err = spe_mfcio_put(
<a name="l00046"></a>00046 <a class="code" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e" title="array of SPU-Threads.">moc_spu_thread_list</a>[dest - <a class="code" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52" title="actual number of PPU-Threads.">moc_ppu_thread_count</a>].speid,
<a name="l00047"></a>00047 <a class="code" href="../../df/ddf/group__internal__am.html#g48013d236aaa37226bbba460eaf3aca5" title="LS-Address of own remote queue at node &amp;#39;rank&amp;#39;.">IMOC_LS_REMOTE_QUEUE</a>(dest), queue_copy, <a class="code" href="../../dd/df8/group__internal__core.html#geed5a271d50368d3cf9a858c4f57c895" title="Information each node knowns about himself and the world.">node_handle</a>.<a class="code" href="../../d8/d93/structmoc__node__handle__ppu__struct.html#ee1aa72cd99190cf97523a955cfa6141" title="Size of a message-queue.">queue_size</a>
<a name="l00048"></a>00048 * <span class="keyword">sizeof</span>(<a class="code" href="../../df/dd4/structmoc__message__envelope__struct.html" title="Message-envelope structure.">moc_message_envelope_t</a>), 15, 0, 0);
<a name="l00049"></a>00049 <span class="keywordflow">if</span> (err)
<a name="l00050"></a>00050 <span class="keywordflow">return</span> <a class="code" href="../../d8/da1/group__environment__error.html#g05b3a70831c823a59014c4853a76ca7e" title="Internal MOC (implementation) error.">MOC_ERR_INTERN</a>;
<a name="l00051"></a>00051 err = spe_mfcio_tag_status_read(<a class="code" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e" title="array of SPU-Threads.">moc_spu_thread_list</a>[dest
<a name="l00052"></a>00052 - <a class="code" href="../../dc/df1/group__internal__spu__thread.html#gf4270da4dbf663fde50a876067ed0d52" title="actual number of PPU-Threads.">moc_ppu_thread_count</a>].speid, 0, SPE_TAG_ALL, &amp;dmastatus);
<a name="l00053"></a>00053 <span class="keywordflow">if</span> (err)
<a name="l00054"></a>00054 <span class="keywordflow">return</span> <a class="code" href="../../d8/da1/group__environment__error.html#g05b3a70831c823a59014c4853a76ca7e" title="Internal MOC (implementation) error.">MOC_ERR_INTERN</a>;
<a name="l00055"></a>00055 }
<a name="l00056"></a>00056 <span class="keywordflow">else</span>
<a name="l00057"></a>00057 {
<a name="l00058"></a>00058 memcpy(queue_copy, (<span class="keywordtype">void</span>*) <a class="code" href="../../df/ddf/group__internal__am.html#gf02c3d971a2b5e72d22c9c16b1748c04" title="Effective base-address of own remote queue at node &amp;#39;rank&amp;#39;.">IMOC_EA_REMOTE_QUEUE</a>(dest),
<a name="l00059"></a>00059 <a class="code" href="../../dd/df8/group__internal__core.html#geed5a271d50368d3cf9a858c4f57c895" title="Information each node knowns about himself and the world.">node_handle</a>.<a class="code" href="../../d8/d93/structmoc__node__handle__ppu__struct.html#ee1aa72cd99190cf97523a955cfa6141" title="Size of a message-queue.">queue_size</a> * <span class="keyword">sizeof</span>(<a class="code" href="../../df/dd4/structmoc__message__envelope__struct.html" title="Message-envelope structure.">moc_message_envelope_t</a>));
<a name="l00060"></a>00060 }
<a name="l00061"></a>00061
<a name="l00062"></a>00062 <span class="comment">/* search free entry in message-queue */</span>
<a name="l00063"></a>00063 err = <a class="code" href="../../d8/d88/group__internal__p2p__main.html#g2a948cdecce651ae6cc1b0c0ddb1b750" title="Get next free entry in message-queue (a local copy of the message-queue has to be...">IMOC_getFreeEntry</a>(queue_copy, tag, comm, 0, &amp;queue_index);
<a name="l00064"></a>00064 <span class="keywordflow">if</span> (err)
<a name="l00065"></a>00065 <span class="keywordflow">return</span> err;
<a name="l00066"></a>00066
<a name="l00067"></a>00067 <span class="comment">/* search free message-ID */</span>
<a name="l00068"></a>00068 err = <a class="code" href="../../d8/d88/group__internal__p2p__main.html#g409bdbea503611cf04829413d15830df" title="Get free message-ID.">IMOC_getFreeMID</a>(&amp;msg_id);
<a name="l00069"></a>00069 <span class="keywordflow">if</span> (err)
<a name="l00070"></a>00070 <span class="keywordflow">return</span> err;
<a name="l00071"></a>00071
<a name="l00072"></a>00072 <span class="comment">/* small messages are directly sent instead of their address */</span>
<a name="l00073"></a>00073 <span class="keywordflow">if</span> (bytecount &lt;= 8)
<a name="l00074"></a>00074 {
<a name="l00075"></a>00075 queue_copy[queue_index].flags.bits.channel = <a class="code" href="../../dd/df8/group__internal__core.html#g1a3153033a1eaac0ddff04deac271947" title="Constant for moc_message_envelope_t.flags.channel.">IMOC_MESSAGE_CHANNEL_ENV</a>;
<a name="l00076"></a>00076 <span class="comment">// synchronous send waits till the message has been received (meaning</span>
<a name="l00077"></a>00077 <span class="comment">// recv has copied the message), so we need a signal-back.</span>
<a name="l00078"></a>00078 queue_copy[queue_index].flags.bits.signal_back = 1;
<a name="l00079"></a>00079 queue_copy[queue_index].flags.bits.in_mm = 0;
<a name="l00080"></a>00080 memcpy(&amp;queue_copy[queue_index].message_address, buf, bytecount);
<a name="l00081"></a>00081 }
<a name="l00082"></a>00082 <span class="keywordflow">else</span>
<a name="l00083"></a>00083 {
<a name="l00084"></a>00084 <a class="code" href="../../d3/d32/group__internal__tm.html#gc89a1f53869fe90c838a714621e20d88" title="Tests if address is 16-byte aligned.">IMOC_TEST_ALIGNMENT</a>(buf)
<a name="l00085"></a>00085 queue_copy[queue_index].flags.bits.channel = <a class="code" href="../../dd/df8/group__internal__core.html#gda23ff5baabe186f8c37c0424598c7bc" title="Constant for moc_message_envelope_t.flags.channel.">IMOC_MESSAGE_CHANNEL_DMA</a>;
<a name="l00086"></a>00086 queue_copy[queue_index].flags.bits.signal_back = 1;
<a name="l00087"></a>00087 queue_copy[queue_index].flags.bits.in_mm = 1;
<a name="l00088"></a>00088 queue_copy[queue_index].message_address = (uint64_t) buf;
<a name="l00089"></a>00089 }
<a name="l00090"></a>00090
<a name="l00091"></a>00091 <span class="comment">/* fill missing message-envelope-entries */</span>
<a name="l00092"></a>00092 queue_copy[queue_index].communicator = comm;
<a name="l00093"></a>00093 queue_copy[queue_index].datatype = datatype;
<a name="l00094"></a>00094 queue_copy[queue_index].id = msg_id;
<a name="l00095"></a>00095 queue_copy[queue_index].size = bytecount;
<a name="l00096"></a>00096 queue_copy[queue_index].tag = tag;
<a name="l00097"></a>00097 queue_copy[queue_index].flags.bits.collaborative = 0;
<a name="l00098"></a>00098 queue_copy[queue_index].flags.bits.special = 0;
<a name="l00099"></a>00099 queue_copy[queue_index].flags.bits.valid = 1;
<a name="l00100"></a>00100 queue_copy[queue_index].flags.bits.keep_valid = 1;
<a name="l00101"></a>00101
<a name="l00102"></a>00102 <span class="comment">/* fill message-status-entry */</span>
<a name="l00103"></a>00103 <a class="code" href="../../dd/df8/group__internal__core.html#geed5a271d50368d3cf9a858c4f57c895" title="Information each node knowns about himself and the world.">node_handle</a>.<a class="code" href="../../d8/d93/structmoc__node__handle__ppu__struct.html#abccbc7beefa7b1e2ccc84b8bd2b8805" title="base-address of own message-status-array">status_array_base</a>[msg_id].<a class="code" href="../../dd/df5/structmoc__message__status__struct.html#086c0d449d25774d43512b6f7fdab8ed" title="flag-union">flags</a>.<a class="code" href="../../dd/df5/structmoc__message__status__struct.html#c0bdc214525521d58f12c72874de0512" title="flag-struct">bits</a>.valid = 1;
<a name="l00104"></a>00104 <a class="code" href="../../dd/df8/group__internal__core.html#geed5a271d50368d3cf9a858c4f57c895" title="Information each node knowns about himself and the world.">node_handle</a>.<a class="code" href="../../d8/d93/structmoc__node__handle__ppu__struct.html#abccbc7beefa7b1e2ccc84b8bd2b8805" title="base-address of own message-status-array">status_array_base</a>[msg_id].<a class="code" href="../../dd/df5/structmoc__message__status__struct.html#086c0d449d25774d43512b6f7fdab8ed" title="flag-union">flags</a>.<a class="code" href="../../dd/df5/structmoc__message__status__struct.html#c0bdc214525521d58f12c72874de0512" title="flag-struct">bits</a>.outstanding = 1;
<a name="l00105"></a>00105
<a name="l00106"></a>00106 request-&gt;<a class="code" href="../../db/d17/structmoc__request__struct.html#4878ce199375f8a411520c887f908a4f">request_data</a>.<a class="code" href="../../db/d17/structmoc__request__struct.html#47db330291fdf4864201fe106ec53db8">issend_request</a>.<a class="code" href="../../d9/d89/structimoc__issend__request__struct.html#db3150d28936af45c475ec5c9fb65cd8">isFinished</a> = 0;
<a name="l00107"></a>00107 request-&gt;<a class="code" href="../../db/d17/structmoc__request__struct.html#4878ce199375f8a411520c887f908a4f">request_data</a>.<a class="code" href="../../db/d17/structmoc__request__struct.html#47db330291fdf4864201fe106ec53db8">issend_request</a>.<a class="code" href="../../d9/d89/structimoc__issend__request__struct.html#53cf82f3cdd5ddb731296d3c494d4958">mid</a> = msg_id;
<a name="l00108"></a>00108
<a name="l00109"></a>00109 <span class="comment">/* write message-envelope into queue, because transfer-size is always 16-byte,</span>
<a name="l00110"></a>00110 <span class="comment"> * memcpy is fastest method */</span>
<a name="l00111"></a>00111 memcpy((<span class="keywordtype">void</span>*) <a class="code" href="../../df/ddf/group__internal__am.html#gf9ad028ccbfa406c49a0ebd943486698" title="Effective base-address of own remote queue-entry at node &amp;#39;rank&amp;#39;.">IMOC_EA_REMOTE_QUEUE_ENTRY</a>(dest, queue_index),
<a name="l00112"></a>00112 &amp;queue_copy[queue_index], <span class="keyword">sizeof</span>(<a class="code" href="../../df/dd4/structmoc__message__envelope__struct.html" title="Message-envelope structure.">moc_message_envelope_t</a>));
<a name="l00113"></a>00113
<a name="l00114"></a>00114 <span class="keywordflow">return</span> <a class="code" href="../../d8/da1/group__environment__error.html#g8a73ed6676bcf0c0607d98482ca1aca4" title="No error.">MOC_SUCCESS</a>;
<a name="l00115"></a>00115 }
<a name="l00116"></a>00116
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:49:47 2009 for MPI On Cell (Documentation) by&nbsp;
<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>