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,139 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MPI On Cell (Documentation): include/spu/moc_dma_spu.h 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>include/spu/moc_dma_spu.h</h1><a href="../../dd/d9c/moc__dma__spu_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef MOC_DATA_TRANSFER_SPU_H_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define MOC_DATA_TRANSFER_SPU_H_</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;stdint.h&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include "<a class="code" href="../../d0/d1d/moc__datatype__spu_8h.html">moc_datatype_spu.h</a>"</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include "../moc.h"</span>
<a name="l00007"></a>00007 <span class="comment"></span>
<a name="l00008"></a>00008 <span class="comment">/**</span>
<a name="l00009"></a>00009 <span class="comment"> * \addtogroup dma_access</span>
<a name="l00010"></a>00010 <span class="comment"> **/</span><span class="comment"></span>
<a name="l00011"></a>00011 <span class="comment">//@{</span>
<a name="l00012"></a>00012 <span class="comment"></span><span class="comment">/**</span>
<a name="l00013"></a>00013 <span class="comment"> * @name SPU-only</span>
<a name="l00014"></a>00014 <span class="comment"> **/</span><span class="comment"></span>
<a name="l00015"></a>00015 <span class="comment">//@{</span>
<a name="l00016"></a>00016 <span class="comment"></span>
<a name="l00017"></a>00017 <span class="comment"></span>
<a name="l00018"></a>00018 <span class="comment">/**</span>
<a name="l00019"></a>00019 <span class="comment"> * Wrapper-function for a blocking DMA-get operation.</span>
<a name="l00020"></a>00020 <span class="comment"> * Data can be of any size, constraints of low-level DMA-functions</span>
<a name="l00021"></a>00021 <span class="comment"> * are dealt by this function.</span>
<a name="l00022"></a>00022 <span class="comment"> * However data-addresses have to be at least 16-byte aligned.</span>
<a name="l00023"></a>00023 <span class="comment"> *</span>
<a name="l00024"></a>00024 <span class="comment"> * @param target \b out pointer to buffer</span>
<a name="l00025"></a>00025 <span class="comment"> * @param source \b in ea-address of data</span>
<a name="l00026"></a>00026 <span class="comment"> * @param count \b in size of data in byte</span>
<a name="l00027"></a>00027 <span class="comment"> * @param datatype \b in Type of Elements</span>
<a name="l00028"></a>00028 <span class="comment"> * @retval MOC_SUCCESS No error; MPI routine completed successfully.</span>
<a name="l00029"></a>00029 <span class="comment"> * @retval ... error-code</span>
<a name="l00030"></a>00030 <span class="comment"> **/</span>
<a name="l00031"></a>00031 <span class="keywordtype">int</span> <a class="code" href="../../d9/d16/group__dma__access.html#g3716465d42f20379bbf65002ecd9e448" title="Wrapper-function for a blocking DMA-get operation.">MOC_Get_data</a>(<span class="keywordtype">void</span>* target, uint64_t source, <span class="keywordtype">int</span> count,
<a name="l00032"></a>00032 <a class="code" href="../../dc/d6e/group__p2p__datatype.html#gb4e45f15c08578bd3fc97c0cca2a509a" title="Typedef defining MOC_Datatype.">MOC_Datatype</a> datatype);
<a name="l00033"></a>00033 <span class="comment"></span>
<a name="l00034"></a>00034 <span class="comment">/**</span>
<a name="l00035"></a>00035 <span class="comment"> * Wrapper-function for a blocking DMA-put operation.</span>
<a name="l00036"></a>00036 <span class="comment"> * Data-size should be a multiple of 16 because of low-level constraints, but</span>
<a name="l00037"></a>00037 <span class="comment"> * there is no upper limit of transfer-size.</span>
<a name="l00038"></a>00038 <span class="comment"> * Data-addresses have to be at least 16-byte aligned.</span>
<a name="l00039"></a>00039 <span class="comment"> *</span>
<a name="l00040"></a>00040 <span class="comment"> * @param source \b in pointer to data</span>
<a name="l00041"></a>00041 <span class="comment"> * @param target \b in ea-address of buffer</span>
<a name="l00042"></a>00042 <span class="comment"> * @param count \b in size of data in byte</span>
<a name="l00043"></a>00043 <span class="comment"> * @param datatype \b in Type of Elements</span>
<a name="l00044"></a>00044 <span class="comment"> * @retval MOC_SUCCESS No error; MPI routine completed successfully.</span>
<a name="l00045"></a>00045 <span class="comment"> * @retval ... error-code</span>
<a name="l00046"></a>00046 <span class="comment"> **/</span>
<a name="l00047"></a>00047 <span class="keywordtype">int</span> <a class="code" href="../../d9/d16/group__dma__access.html#ge07f4b35da50be472772f9d3a426669e" title="Wrapper-function for a blocking DMA-put operation.">MOC_Put_data</a>(<span class="keywordtype">void</span>* source, uint64_t target, <span class="keywordtype">int</span> count,
<a name="l00048"></a>00048 <a class="code" href="../../dc/d6e/group__p2p__datatype.html#gb4e45f15c08578bd3fc97c0cca2a509a" title="Typedef defining MOC_Datatype.">MOC_Datatype</a> datatype);
<a name="l00049"></a>00049 <span class="comment"></span>
<a name="l00050"></a>00050 <span class="comment">/**</span>
<a name="l00051"></a>00051 <span class="comment"> * Wrapper-function for a non-blocking DMA-get operation.</span>
<a name="l00052"></a>00052 <span class="comment"> * Data can be of any size, constraints of low-level DMA-functions</span>
<a name="l00053"></a>00053 <span class="comment"> * are dealt by this function.</span>
<a name="l00054"></a>00054 <span class="comment"> * However data-addresses have to be at least 16-byte aligned.</span>
<a name="l00055"></a>00055 <span class="comment"> * Operation-completion can be derived with MOC_Test and MOC_Wait.</span>
<a name="l00056"></a>00056 <span class="comment"> *</span>
<a name="l00057"></a>00057 <span class="comment"> * @param target \b out pointer to buffer</span>
<a name="l00058"></a>00058 <span class="comment"> * @param source \b in ea-address of data</span>
<a name="l00059"></a>00059 <span class="comment"> * @param count \b in size of data in byte</span>
<a name="l00060"></a>00060 <span class="comment"> * @param datatype \b in Type of Elements</span>
<a name="l00061"></a>00061 <span class="comment"> * @param request \b out communication request (handle)</span>
<a name="l00062"></a>00062 <span class="comment"> * @retval MOC_SUCCESS No error; MPI routine completed successfully.</span>
<a name="l00063"></a>00063 <span class="comment"> * @retval ... error-code</span>
<a name="l00064"></a>00064 <span class="comment"> **/</span>
<a name="l00065"></a>00065 <span class="keywordtype">int</span> <a class="code" href="../../d9/d16/group__dma__access.html#g08f0af30f2e0e6840ec2be5ca93fd14f" title="Wrapper-function for a non-blocking DMA-get operation.">MOC_IGet_data</a>(<span class="keywordtype">void</span>* target, uint64_t source, <span class="keywordtype">int</span> count,
<a name="l00066"></a>00066 <a class="code" href="../../dc/d6e/group__p2p__datatype.html#gb4e45f15c08578bd3fc97c0cca2a509a" title="Typedef defining MOC_Datatype.">MOC_Datatype</a> datatype, <a class="code" href="../../db/d17/structmoc__request__struct.html" title="Communication-Request (Handle).">MOC_Request</a> *request);
<a name="l00067"></a>00067 <span class="comment"></span>
<a name="l00068"></a>00068 <span class="comment">/**</span>
<a name="l00069"></a>00069 <span class="comment"> * Wrapper-function for a non-blocking DMA-put operation.</span>
<a name="l00070"></a>00070 <span class="comment"> * Data-size should be a multiple of 16 because of low-level constraints, but</span>
<a name="l00071"></a>00071 <span class="comment"> * there is no upper limit of transfer-size.</span>
<a name="l00072"></a>00072 <span class="comment"> * Data-addresses have to be at least 16-byte aligned.</span>
<a name="l00073"></a>00073 <span class="comment"> * Operation-completion can be derived with MOC_Test and MOC_Wait.</span>
<a name="l00074"></a>00074 <span class="comment"> *</span>
<a name="l00075"></a>00075 <span class="comment"> * @param source \b in pointer to data</span>
<a name="l00076"></a>00076 <span class="comment"> * @param target \b in ea-address of buffer</span>
<a name="l00077"></a>00077 <span class="comment"> * @param count \b in size of data in byte</span>
<a name="l00078"></a>00078 <span class="comment"> * @param datatype \b in Type of Elements</span>
<a name="l00079"></a>00079 <span class="comment"> * @param request \b out communication request (handle)</span>
<a name="l00080"></a>00080 <span class="comment"> * @retval MOC_SUCCESS No error; MPI routine completed successfully.</span>
<a name="l00081"></a>00081 <span class="comment"> * @retval ... error-code</span>
<a name="l00082"></a>00082 <span class="comment"> **/</span>
<a name="l00083"></a>00083 <span class="keywordtype">int</span> <a class="code" href="../../d9/d16/group__dma__access.html#g1fd9a141352dd4344e20f1bde778d265" title="Wrapper-function for a non-blocking DMA-put operation.">MOC_IPut_data</a>(<span class="keywordtype">void</span>* source, uint64_t target, <span class="keywordtype">int</span> count,
<a name="l00084"></a>00084 <a class="code" href="../../dc/d6e/group__p2p__datatype.html#gb4e45f15c08578bd3fc97c0cca2a509a" title="Typedef defining MOC_Datatype.">MOC_Datatype</a> datatype, <a class="code" href="../../db/d17/structmoc__request__struct.html" title="Communication-Request (Handle).">MOC_Request</a> *request);
<a name="l00085"></a>00085 <span class="comment"></span>
<a name="l00086"></a>00086 <span class="comment">/**</span>
<a name="l00087"></a>00087 <span class="comment"> * Translates a local-store address of the calling SPU into the corresponding</span>
<a name="l00088"></a>00088 <span class="comment"> * effective-address.</span>
<a name="l00089"></a>00089 <span class="comment"> *</span>
<a name="l00090"></a>00090 <span class="comment"> * @param ls \b in local-store address</span>
<a name="l00091"></a>00091 <span class="comment"> * @param ea \b out effective-address</span>
<a name="l00092"></a>00092 <span class="comment"> **/</span>
<a name="l00093"></a>00093 <span class="keywordtype">int</span> <a class="code" href="../../d9/d16/group__dma__access.html#g1ee1f004fff19c3338f2de9d96471693" title="Translates a local-store address of the calling SPU into the corresponding effective-address...">MOC_Translate_LS_to_EA</a>(<span class="keywordtype">void</span>* ls, uint64_t* ea);
<a name="l00094"></a>00094 <span class="comment"></span>
<a name="l00095"></a>00095 <span class="comment">//@}</span>
<a name="l00096"></a>00096 <span class="comment"></span>
<a name="l00097"></a>00097 <span class="comment"></span>
<a name="l00098"></a>00098 <span class="comment">/**</span>
<a name="l00099"></a>00099 <span class="comment"> * Tests if a MOC_IGet_data or IMOC_IPut_data is completed.</span>
<a name="l00100"></a>00100 <span class="comment"> *</span>
<a name="l00101"></a>00101 <span class="comment"> * @param request \b in request-handle</span>
<a name="l00102"></a>00102 <span class="comment"> * @param flag \b out true if operation is completed</span>
<a name="l00103"></a>00103 <span class="comment"> * @return 0 when success otherwise error-code</span>
<a name="l00104"></a>00104 <span class="comment"> **/</span>
<a name="l00105"></a>00105 <span class="keywordtype">int</span> <a class="code" href="../../d9/d16/group__dma__access.html#g342d07658aae4252a2e2cd6a8cc185dd" title="Tests if a MOC_IGet_data or IMOC_IPut_data is completed.">MOC_Test_data</a>(<a class="code" href="../../db/d17/structmoc__request__struct.html" title="Communication-Request (Handle).">MOC_Request</a>* request, <span class="keywordtype">int</span> *flag);
<a name="l00106"></a>00106 <span class="comment"></span>
<a name="l00107"></a>00107 <span class="comment">/**</span>
<a name="l00108"></a>00108 <span class="comment"> * Waits till a MOC_IGet_data or IMOC_IPut_data is completed.</span>
<a name="l00109"></a>00109 <span class="comment"> *</span>
<a name="l00110"></a>00110 <span class="comment"> * @param request \b in request-handle</span>
<a name="l00111"></a>00111 <span class="comment"> * @return 0 when success otherwise error-code</span>
<a name="l00112"></a>00112 <span class="comment"> **/</span>
<a name="l00113"></a>00113 <span class="keywordtype">int</span> <a class="code" href="../../d9/d16/group__dma__access.html#g0ba7b00fbebaabb8b39737a7c13efc67" title="Waits till a MOC_IGet_data or IMOC_IPut_data is completed.">MOC_Wait_data</a>(<a class="code" href="../../db/d17/structmoc__request__struct.html" title="Communication-Request (Handle).">MOC_Request</a>* request);
<a name="l00114"></a>00114 <span class="comment"></span>
<a name="l00115"></a>00115 <span class="comment">//@}</span>
<a name="l00116"></a>00116 <span class="comment"></span><span class="preprocessor">#endif </span><span class="comment">/*MOC_DATA_TRANSFER_SPU_H_*/</span>
<a name="l00117"></a>00117
</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,42 @@
<!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): Groups, Context and Communicators</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>Groups, Context and Communicators<br>
<small>
[<a class="el" href="../../dc/dc0/group__internal__main.html">Developer Documentation</a>]</small>
</h1>
<p>
<div class="dynheader">
Collaboration diagram for Groups, Context and Communicators:</div>
<div class="dynsection">
<center><table><tr><td><img src="../../d1/d0c/group__internal__comm.png" border="0" alt="" usemap="#d5/da7/d1_2d0c_2group____internal____comm_map">
<map name="d5/da7/d1_2d0c_2group____internal____comm_map">
<area shape="rect" href="../../dc/dc0/group__internal__main.html" title="This section deals with the internal design and functionality." alt="" coords="5,5,173,32"></map></td></tr></table></center>
</div>
At the moment user-defined groups and communicators are not implemented and maybe never will be. Nevertheless user-defined groups and communicators have been taken into consideration while making the software-design (e.g. reserved field for communicator in message-envelope). So it should be not too hard to implement groups and communicators. However a lot of things concerning communicators are hardcoded (e.g. parameter checks).<p>
To save memory only one byte is used to encode the communicator. So if one day user-defined communicators are implemented there are only 256 possible communicators.
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:51:07 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: 3.4 KiB

@@ -0,0 +1,7 @@
<area shape="rect" href="$d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="207,80,263,107">
<area shape="rect" href="$d4/dce/imoc__dma__spu_8h.html" title="internal/spu/imoc_dma_spu.h" alt="" coords="320,155,512,181">
<area shape="rect" href="$dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="128,155,245,181">
<area shape="rect" href="$d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="20,229,161,256">
<area shape="rect" href="$d1/d82/moc_8h.html" title="../moc.h" alt="" coords="257,229,327,256">
<area shape="rect" href="$d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="36,304,161,331">
<area shape="rect" href="$df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="236,304,367,331">
@@ -0,0 +1 @@
802afd9abc7cf52920baaa76bb325a4d
Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

@@ -0,0 +1,61 @@
<!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 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/noarch/internal/communication/imoc_get_free_entry.c</h1><a href="../../df/d20/imoc__get__free__entry_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="../../d0/d3a/spu_2moc_8h.html">moc.h</a>&gt;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;<a class="code" href="../../d9/db3/imoc_8h.html">internal/imoc.h</a>&gt;</span>
<a name="l00003"></a>00003 <span class="preprocessor">#ifdef __SPU__</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="../../d9/d00/imoc__core__spu_8h.html">internal/spu/imoc_core_spu.h</a>&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#else</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><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="l00007"></a>00007 <span class="preprocessor">#endif</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span>
<a name="l00009"></a><a class="code" href="../../d8/d88/group__internal__p2p__main.html#g2a948cdecce651ae6cc1b0c0ddb1b750">00009</a> <span class="keywordtype">int</span> <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>(<a class="code" href="../../df/dd4/structmoc__message__envelope__struct.html" title="Message-envelope structure.">moc_message_envelope_t</a>* pqueue, uint8_t tag,
<a name="l00010"></a>00010 <a class="code" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767" title="Communicator-Handle.">MOC_Comm</a> comm, <span class="keywordtype">int</span> isSpecial, <span class="keywordtype">int</span>* index)
<a name="l00011"></a>00011 {
<a name="l00012"></a>00012 <span class="keywordtype">int</span> t, temp = -1;
<a name="l00013"></a>00013 <span class="keywordflow">for</span> (t = <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> - 1; t &gt;= 0; t--)
<a name="l00014"></a>00014 {
<a name="l00015"></a>00015 <span class="keywordflow">if</span> (!pqueue[t].flags.<a class="code" href="../../df/dd4/structmoc__message__envelope__struct.html#5538e79854840d3caf08b90b5409e16b" title="flag-struct">bits</a>.valid)
<a name="l00016"></a>00016 temp = t;
<a name="l00017"></a>00017 <span class="keywordflow">else</span>
<a name="l00018"></a>00018 <span class="keywordflow">if</span> (!isSpecial)
<a name="l00019"></a>00019 {
<a name="l00020"></a>00020 <span class="keywordflow">if</span> (pqueue[t].tag == tag &amp;&amp; pqueue[t].communicator == comm
<a name="l00021"></a>00021 &amp;&amp; !pqueue[t].flags.<a class="code" href="../../df/dd4/structmoc__message__envelope__struct.html#5538e79854840d3caf08b90b5409e16b" title="flag-struct">bits</a>.special)
<a name="l00022"></a>00022 <span class="keywordflow">break</span>;
<a name="l00023"></a>00023 }
<a name="l00024"></a>00024 <span class="keywordflow">else</span>
<a name="l00025"></a>00025 {
<a name="l00026"></a>00026 <span class="keywordflow">if</span> (pqueue[t].flags.<a class="code" href="../../df/dd4/structmoc__message__envelope__struct.html#5538e79854840d3caf08b90b5409e16b" title="flag-struct">bits</a>.special)
<a name="l00027"></a>00027 <span class="keywordflow">break</span>;
<a name="l00028"></a>00028 }
<a name="l00029"></a>00029 }
<a name="l00030"></a>00030 <span class="keywordflow">if</span> (temp &gt;= 0)
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032 *index = temp;
<a name="l00033"></a>00033 <span class="keywordflow">return</span> 0;
<a name="l00034"></a>00034 }
<a name="l00035"></a>00035 <span class="keywordflow">else</span>
<a name="l00036"></a>00036 <span class="keywordflow">return</span> <a class="code" href="../../d8/da1/group__environment__error.html#g5a536510d86dbad4f4bacf1dc3f08c47" title="No further messages possible.">MOC_ERR_MESSAGE_EXHAUSTED</a>;
<a name="l00037"></a>00037 <span class="keywordflow">return</span> 0;
<a name="l00038"></a>00038 }
<a name="l00039"></a>00039
</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>
+13
View File
@@ -0,0 +1,13 @@
<area shape="rect" href="$d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="329,155,385,181">
<area shape="rect" href="$d9/db3/imoc_8h.html" title="internal/imoc.h" alt="" coords="21,229,128,256">
<area shape="rect" href="$d6/d09/imoc__core__ppu_8h.html" title="internal/ppu/imoc_core_ppu.h" alt="" coords="497,80,689,107">
<area shape="rect" href="$de/df9/imoc__dma__ppu_8h.html" title="internal/ppu/imoc_dma_ppu.h" alt="" coords="885,229,1077,256">
<area shape="rect" href="$dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="203,229,320,256">
<area shape="rect" href="$d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="232,304,373,331">
<area shape="rect" href="$d1/d82/moc_8h.html" title="../moc.h" alt="" coords="397,304,467,331">
<area shape="rect" href="$d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="387,379,512,405">
<area shape="rect" href="$df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="232,379,363,405">
<area shape="rect" href="$d7/d3d/imoc__core_8h.html" title="imoc_core.h" alt="" coords="67,304,157,331">
<area shape="rect" href="$db/dae/ppu_2moc_8h.html" title="../../ppu/moc.h" alt="" coords="597,155,704,181">
<area shape="rect" href="$db/d62/moc__dma__ppu_8h.html" title="moc_dma_ppu.h" alt="" coords="496,229,613,256">
<area shape="rect" href="$d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="491,304,632,331">
@@ -0,0 +1 @@
cc73b895177eff784457871f0bad4374
Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

@@ -0,0 +1,8 @@
<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">
@@ -0,0 +1 @@
6ca26acba7f3b701f6536a899da03001
Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

@@ -0,0 +1,64 @@
<!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_finalize_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_finalize_ppu.c</h1><a href="../../d3/d9e/moc__finalize__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;malloc_align.h&gt;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;free_align.h&gt;</span>
<a name="l00003"></a>00003 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00005"></a>00005
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;<a class="code" href="../../db/dae/ppu_2moc_8h.html">moc.h</a>&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;<a class="code" href="../../db/dae/ppu_2moc_8h.html">ppu/moc.h</a>&gt;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;<a class="code" href="../../d9/db3/imoc_8h.html">internal/imoc.h</a>&gt;</span>
<a name="l00009"></a>00009 <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="l00010"></a>00010
<a name="l00011"></a><a class="code" href="../../d8/d9a/group__environment__startup.html#g0fd366b8b49db32818786c773c4919b8">00011</a> <span class="keywordtype">int</span> <a class="code" href="../../d8/d9a/group__environment__startup.html#g0fd366b8b49db32818786c773c4919b8" title="Terminates MPI execution environment.">MOC_Finalize</a>()
<a name="l00012"></a>00012 {
<a name="l00013"></a>00013 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i;
<a name="l00014"></a>00014 <span class="keyword">extern</span> <a class="code" href="../../dd/dc0/structmoc__internal__buffer__node__struct.html" title="Node of linked list holding information about allocated buffer-space.">moc_internal_buffer_node_t</a>* <a class="code" href="../../d3/dd3/group__internal__p2p__bmalloc.html#gaf9be7d34fe367a9244d50dde82777ed" title="Pointer to first entry of linked-list.">bmalloc_first_node</a>;
<a name="l00015"></a>00015 <span class="comment">/* wait till all SPU-threads are finished */</span>
<a name="l00016"></a>00016 <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="../../dc/df1/group__internal__spu__thread.html#g6cf68c0afe2da7b3a29ecaab8ed45961" title="actual number of SPU-Threads.">moc_spu_thread_count</a>; i++)
<a name="l00017"></a>00017 {
<a name="l00018"></a>00018 <span class="keywordflow">while</span> (spe_out_mbox_status(<a class="code" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e" title="array of SPU-Threads.">moc_spu_thread_list</a>[i].speid) &lt; 1)
<a name="l00019"></a>00019 ;
<a name="l00020"></a>00020 }
<a name="l00021"></a>00021 <span class="keywordflow">for</span> (i = 0; i &lt; moc_spu_thread_count; i++)
<a name="l00022"></a>00022 {
<a name="l00023"></a>00023 <span class="keywordflow">if</span> (spe_in_mbox_write(<a class="code" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e" title="array of SPU-Threads.">moc_spu_thread_list</a>[i].speid, &amp;i, 1,
<a name="l00024"></a>00024 SPE_MBOX_ALL_BLOCKING) != 1)
<a name="l00025"></a>00025 <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="l00026"></a>00026 _free_align((<span class="keywordtype">void</span>*) <a class="code" href="../../dc/df1/group__internal__spu__thread.html#ga5b74732b1e31ec1674ea0e5ae465c4e" title="array of SPU-Threads.">moc_spu_thread_list</a>[i].buffer_base);
<a name="l00027"></a>00027 }
<a name="l00028"></a>00028 <span class="comment">/* free local resources */</span>
<a name="l00029"></a>00029 _free_align((<span class="keywordtype">void</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#58ca7dd0e2874d0317038dbb0c279b82" title="base-address of own message-queues">message_queue_base</a>);
<a name="l00030"></a>00030 _free_align((<span class="keywordtype">void</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#abccbc7beefa7b1e2ccc84b8bd2b8805" title="base-address of own message-status-array">status_array_base</a>);
<a name="l00031"></a>00031 _free_align((<span class="keywordtype">void</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#ee118aad604058291438923545af37db" title="base-address of own buffer">buffer_base</a>);
<a name="l00032"></a>00032 _free_align((<span class="keywordtype">void</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#3d13ba21e187a05cb548b6b3ae39ffe7" title="address of own signal-area">signal_area</a>);
<a name="l00033"></a>00033 _free_align((<span class="keywordtype">void</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#528d5743c1b49553cc9b812a211afa53" title="list of all other MOC-processes (index is rank of process)">moc_process_list</a>);
<a name="l00034"></a>00034 <span class="keywordflow">while</span> (bmalloc_first_node)
<a name="l00035"></a>00035 {
<a name="l00036"></a>00036 <a class="code" href="../../dd/dc0/structmoc__internal__buffer__node__struct.html" title="Node of linked list holding information about allocated buffer-space.">moc_internal_buffer_node_t</a>* temp = bmalloc_first_node;
<a name="l00037"></a>00037 bmalloc_first_node = bmalloc_first_node-&gt;<a class="code" href="../../dd/dc0/structmoc__internal__buffer__node__struct.html#289260f38a9ad908733278bc674b3679" title="Pointer to next entry.">next_node</a>;
<a name="l00038"></a>00038 free(temp);
<a name="l00039"></a>00039 }
<a name="l00040"></a>00040 <span class="keywordflow">return</span> 0;
<a name="l00041"></a>00041 }
<a name="l00042"></a>00042
</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,73 @@
<!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_barrier_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/communication/moc_barrier_ppu.c File Reference</h1>
<p>
<code>#include &lt;stdio.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="../../d4/d9b/imoc_8h-source.html">internal/imoc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../db/db7/imoc__macros__ppu_8h-source.html">internal/ppu/imoc_macros_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 moc_barrier_ppu.c:</div>
<div class="dynsection">
<p><center><img src="../../db/d02/moc__barrier__ppu_8c__incl.png" border="0" usemap="#src/ppu/communication/moc_barrier_ppu.c_map" alt=""></center>
<map name="src/ppu/communication/moc_barrier_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="../../d9/db3/imoc_8h.html" title="internal/imoc.h" alt="" coords="776,229,883,256"><area shape="rect" href="../../d8/d98/imoc__macros__ppu_8h.html" title="internal/ppu/imoc_macros_ppu.h" alt="" coords="875,80,1083,107"><area shape="rect" href="../../d6/d09/imoc__core__ppu_8h.html" title="internal/ppu/imoc_core_ppu.h" alt="" coords="576,80,768,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="17,304,159,331"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="399,304,468,331"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="233,379,359,405"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="433,379,564,405"><area shape="rect" href="../../d7/d3d/imoc__core_8h.html" title="imoc_core.h" alt="" coords="693,304,784,331"><area shape="rect" href="../../d2/d42/imoc__macros_8h.html" title="../imoc_macros.h" alt="" coords="957,155,1080,181"><area shape="rect" href="../../db/dae/ppu_2moc_8h.html" title="../../ppu/moc.h" alt="" coords="444,155,551,181"><area shape="rect" href="../../db/d62/moc__dma__ppu_8h.html" title="moc_dma_ppu.h" alt="" coords="437,229,555,256"><area shape="rect" href="../../d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="233,304,375,331"></map>
</div>
<p>
<a href="../../dc/d5d/moc__barrier__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>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d72/moc__barrier__ppu_8c.html#8a4118b9364b4bb700441e9e9dd9c3ab">IMOC_BARRIER_TAG</a>&nbsp;&nbsp;&nbsp;1</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="../../db/dc2/group__broadcast.html#g110b00d5a4d9f970ddf8e9bd4c2d8834">MOC_Barrier</a> (<a class="el" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767">MOC_Comm</a> comm)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Blocks the caller until all processes in the communicator have called it; that is, the call returns at any process only after all members of the communicator have entered the call. <a href="../../db/dc2/group__broadcast.html#g110b00d5a4d9f970ddf8e9bd4c2d8834"></a><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="8a4118b9364b4bb700441e9e9dd9c3ab"></a><!-- doxytag: member="moc_barrier_ppu.c::IMOC_BARRIER_TAG" ref="8a4118b9364b4bb700441e9e9dd9c3ab" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IMOC_BARRIER_TAG&nbsp;&nbsp;&nbsp;1 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="../../dc/d5d/moc__barrier__ppu_8c-source.html#l00009">9</a> of file <a class="el" href="../../dc/d5d/moc__barrier__ppu_8c-source.html">moc_barrier_ppu.c</a>.</p>
<p>Referenced by <a class="el" href="../../dc/d5d/moc__barrier__ppu_8c-source.html#l00011">MOC_Barrier()</a>.</p>
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:16 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
+46
View File
@@ -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/communication/moc_probe.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/communication/moc_probe.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>
<p>
<div class="dynheader">
Include dependency graph for moc_probe.c:</div>
<div class="dynsection">
<p><center><img src="../../d4/df9/moc__probe_8c__incl.png" border="0" usemap="#src/noarch/communication/moc_probe.c_map" alt=""></center>
<map name="src/noarch/communication/moc_probe.c_map">
<area shape="rect" href="../../d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="193,80,249,107"><area shape="rect" href="../../d9/db3/imoc_8h.html" title="internal/imoc.h" alt="" coords="348,155,455,181"><area shape="rect" href="../../dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="67,155,184,181"><area shape="rect" href="../../d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="72,229,213,256"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="237,229,307,256"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="72,304,197,331"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="272,304,403,331"><area shape="rect" href="../../d7/d3d/imoc__core_8h.html" title="imoc_core.h" alt="" coords="477,304,568,331"></map>
</div>
<p>
<a href="../../d6/d74/moc__probe_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="../../d0/d64/group__p2p__main.html#g39ceb4e6f08da2cd3dac3e93bb6e3ee1">MOC_Probe</a> (int source, int tag, <a class="el" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767">MOC_Comm</a> comm, <a class="el" href="../../dd/d7a/structMOC__Status__struct.html">MOC_Status</a> *status)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Waits till a message is received and returns information without actually receiving the message. <a href="../../d0/d64/group__p2p__main.html#g39ceb4e6f08da2cd3dac3e93bb6e3ee1"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:07 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,339 @@
<!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_spu_thread_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_spu_thread_struct Struct Reference<br>
<small>
[<a class="el" href="../../dc/df1/group__internal__spu__thread.html">SPU-Thread Management</a>]</small>
</h1><!-- doxytag: class="moc_spu_thread_struct" --><code>#include &lt;<a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for moc_spu_thread_struct:</div>
<div class="dynsection">
<p><center><img src="../../d5/dcb/structmoc__spu__thread__struct__coll__graph.png" border="0" usemap="#d5/df6/moc__spu__thread__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>
SPU-Thread structure.
<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>PPU only</dd></dl>
Stores information about the SPU-Threads the managing PPU-Process needs to know.
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00074">74</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.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="../../d1/d8b/structmoc__spu__thread__struct.html#610f1390167566df9b451401c0bb8667">rank</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">rank of SPU-thread <a href="#610f1390167566df9b451401c0bb8667"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">pthread_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#47d2a05a8c7370dabb7653124bafd539">pthread</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">PThread-handle &lt;. <a href="#47d2a05a8c7370dabb7653124bafd539"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">spe_context_ptr_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#61d6807e3bab9b37ef07b0543e33574e">speid</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">SPE-Context. <a href="#61d6807e3bab9b37ef07b0543e33574e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">spe_stop_info_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#ef9a368d969bbfc92bee4076b1576b34">stop_info</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error-Information. <a href="#ef9a368d969bbfc92bee4076b1576b34"></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="../../d1/d8b/structmoc__spu__thread__struct.html#4d3f668b79c172907febb25dbe2813ea">spe_entry_adress</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Spe-entry-address. <a href="#4d3f668b79c172907febb25dbe2813ea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#a7f667cf56fc5e3cd906caa8aab765cc">argp</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">effective address of user-defined information in main-memory <a href="#a7f667cf56fc5e3cd906caa8aab765cc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#603a62c8b05bb561c467e34acbcff2b5">envp</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pointer to environment information. <a href="#603a62c8b05bb561c467e34acbcff2b5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#a65e6d8f5252b43a69951b57305ebcbf">buffer_base</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">base-address of the SPU-Thread's buffer <a href="#a65e6d8f5252b43a69951b57305ebcbf"></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="../../d1/d8b/structmoc__spu__thread__struct.html#67de0b34d22a702f8d06c0c26e01cc46">buffer_size</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">size of the SPU-Thread's buffer <a href="#67de0b34d22a702f8d06c0c26e01cc46"></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="../../d1/d8b/structmoc__spu__thread__struct.html#a1af310737612cbf58480cbb172e33c4">ls_base</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Effective Basis-Address of SPU's local-storage. <a href="#a1af310737612cbf58480cbb172e33c4"></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="../../d1/d8b/structmoc__spu__thread__struct.html#0813ce58844b7a7d6df0341e5e1c1b17">queue_base_in_ls</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Address of message-queue in SPU's local-storage. <a href="#0813ce58844b7a7d6df0341e5e1c1b17"></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="../../d1/d8b/structmoc__spu__thread__struct.html#93433bc21fa8fc6b7f65251a5cf33eb1">status_base_in_ls</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Address of status-array in SPU's local-storage. <a href="#93433bc21fa8fc6b7f65251a5cf33eb1"></a><br></td></tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="610f1390167566df9b451401c0bb8667"></a><!-- doxytag: member="moc_spu_thread_struct::rank" ref="610f1390167566df9b451401c0bb8667" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#610f1390167566df9b451401c0bb8667">moc_spu_thread_struct::rank</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
rank of SPU-thread
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00076">76</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>, and <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="47d2a05a8c7370dabb7653124bafd539"></a><!-- doxytag: member="moc_spu_thread_struct::pthread" ref="47d2a05a8c7370dabb7653124bafd539" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">pthread_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#47d2a05a8c7370dabb7653124bafd539">moc_spu_thread_struct::pthread</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
PThread-handle &lt;.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00077">77</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="61d6807e3bab9b37ef07b0543e33574e"></a><!-- doxytag: member="moc_spu_thread_struct::speid" ref="61d6807e3bab9b37ef07b0543e33574e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">spe_context_ptr_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#61d6807e3bab9b37ef07b0543e33574e">moc_spu_thread_struct::speid</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
SPE-Context.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00078">78</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../d2/df9/imoc__dma-test__ppu_8c-source.html#l00009">IMOC_test_dma()</a>, <a class="el" href="../../d8/da5/imoc__dma-wait__ppu_8c-source.html#l00009">IMOC_wait_dma()</a>, <a class="el" href="../../dc/d5d/moc__barrier__ppu_8c-source.html#l00011">MOC_Barrier()</a>, and <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="ef9a368d969bbfc92bee4076b1576b34"></a><!-- doxytag: member="moc_spu_thread_struct::stop_info" ref="ef9a368d969bbfc92bee4076b1576b34" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">spe_stop_info_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#ef9a368d969bbfc92bee4076b1576b34">moc_spu_thread_struct::stop_info</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Error-Information.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00079">79</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="4d3f668b79c172907febb25dbe2813ea"></a><!-- doxytag: member="moc_spu_thread_struct::spe_entry_adress" ref="4d3f668b79c172907febb25dbe2813ea" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#4d3f668b79c172907febb25dbe2813ea">moc_spu_thread_struct::spe_entry_adress</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Spe-entry-address.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00080">80</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/db2/moc__add__spu__thread__ppu_8c-source.html#l00011">MOC_Add_spu_thread()</a>, and <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="a7f667cf56fc5e3cd906caa8aab765cc"></a><!-- doxytag: member="moc_spu_thread_struct::argp" ref="a7f667cf56fc5e3cd906caa8aab765cc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#a7f667cf56fc5e3cd906caa8aab765cc">moc_spu_thread_struct::argp</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
effective address of user-defined information in main-memory
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00081">81</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/db2/moc__add__spu__thread__ppu_8c-source.html#l00011">MOC_Add_spu_thread()</a>, and <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="603a62c8b05bb561c467e34acbcff2b5"></a><!-- doxytag: member="moc_spu_thread_struct::envp" ref="603a62c8b05bb561c467e34acbcff2b5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#603a62c8b05bb561c467e34acbcff2b5">moc_spu_thread_struct::envp</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to environment information.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00083">83</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>, and <a class="el" href="../../d9/df3/imoc__spe__thread__ppu_8c-source.html#l00037">moc_spe_pthread_func()</a>.</p>
</div>
</div><p>
<a class="anchor" name="a65e6d8f5252b43a69951b57305ebcbf"></a><!-- doxytag: member="moc_spu_thread_struct::buffer_base" ref="a65e6d8f5252b43a69951b57305ebcbf" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#a65e6d8f5252b43a69951b57305ebcbf">moc_spu_thread_struct::buffer_base</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
base-address of the SPU-Thread's buffer
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00084">84</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>.</p>
</div>
</div><p>
<a class="anchor" name="67de0b34d22a702f8d06c0c26e01cc46"></a><!-- doxytag: member="moc_spu_thread_struct::buffer_size" ref="67de0b34d22a702f8d06c0c26e01cc46" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#67de0b34d22a702f8d06c0c26e01cc46">moc_spu_thread_struct::buffer_size</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
size of the SPU-Thread's buffer
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00085">85</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>.</p>
</div>
</div><p>
<a class="anchor" name="a1af310737612cbf58480cbb172e33c4"></a><!-- doxytag: member="moc_spu_thread_struct::ls_base" ref="a1af310737612cbf58480cbb172e33c4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#a1af310737612cbf58480cbb172e33c4">moc_spu_thread_struct::ls_base</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Effective Basis-Address of SPU's local-storage.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00086">86</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</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="0813ce58844b7a7d6df0341e5e1c1b17"></a><!-- doxytag: member="moc_spu_thread_struct::queue_base_in_ls" ref="0813ce58844b7a7d6df0341e5e1c1b17" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#0813ce58844b7a7d6df0341e5e1c1b17">moc_spu_thread_struct::queue_base_in_ls</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Address of message-queue in SPU's local-storage.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00087">87</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>.</p>
</div>
</div><p>
<a class="anchor" name="93433bc21fa8fc6b7f65251a5cf33eb1"></a><!-- doxytag: member="moc_spu_thread_struct::status_base_in_ls" ref="93433bc21fa8fc6b7f65251a5cf33eb1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t <a class="el" href="../../d1/d8b/structmoc__spu__thread__struct.html#93433bc21fa8fc6b7f65251a5cf33eb1">moc_spu_thread_struct::status_base_in_ls</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Address of status-array in SPU's local-storage.
<p>
<p>Definition at line <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00088">88</a> of file <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a>.</p>
<p>Referenced by <a class="el" href="../../dd/dcb/moc__init__ppu_8c-source.html#l00011">MOC_Init()</a>.</p>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>include/internal/ppu/<a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html">imoc_core_ppu.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:51:22 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,16 @@
<area shape="rect" href="$d6/d8c/moc__bsend__spu_8c.html" title="src/spu/communication/moc_bsend_spu.c" alt="" coords="5,80,272,107">
<area shape="rect" href="$de/d76/moc__issend__spu_8c.html" title="src/spu/communication/moc_issend_spu.c" alt="" coords="296,80,565,107">
<area shape="rect" href="$d9/dab/moc__recv__spu_8c.html" title="src/spu/communication/moc_recv_spu.c" alt="" coords="589,80,843,107">
<area shape="rect" href="$d3/d71/moc__ssend__spu_8c.html" title="src/spu/communication/moc_ssend_spu.c" alt="" coords="867,80,1133,107">
<area shape="rect" href="$d8/d91/moc__dma-get__spu_8c.html" title="src/spu/dma/moc_dma&#45;get_spu.c" alt="" coords="1157,80,1373,107">
<area shape="rect" href="$da/dea/moc__dma-iget__spu_8c.html" title="src/spu/dma/moc_dma&#45;iget_spu.c" alt="" coords="1397,80,1616,107">
<area shape="rect" href="$dc/de8/moc__dma-iput__spu_8c.html" title="src/spu/dma/moc_dma&#45;iput_spu.c" alt="" coords="1640,80,1859,107">
<area shape="rect" href="$df/ddc/moc__dma-put__spu_8c.html" title="src/spu/dma/moc_dma&#45;put_spu.c" alt="" coords="1883,80,2099,107">
<area shape="rect" href="$d8/d15/moc__dma-test__spu_8c.html" title="src/spu/dma/moc_dma&#45;test_spu.c" alt="" coords="2123,80,2341,107">
<area shape="rect" href="$d2/d14/moc__dma-wait__spu_8c.html" title="src/spu/dma/moc_dma&#45;wait_spu.c" alt="" coords="2365,80,2584,107">
<area shape="rect" href="$d5/d1c/imoc__dma-get__spu_8c.html" title="src/spu/internal/dma/imoc_dma&#45;get_spu.c" alt="" coords="2608,80,2872,107">
<area shape="rect" href="$d7/daf/imoc__dma-iget__spu_8c.html" title="src/spu/internal/dma/imoc_dma&#45;iget_spu.c" alt="" coords="2896,80,3163,107">
<area shape="rect" href="$d8/d30/imoc__dma-iput__spu_8c.html" title="src/spu/internal/dma/imoc_dma&#45;iput_spu.c" alt="" coords="3187,80,3453,107">
<area shape="rect" href="$da/db1/imoc__dma-put__spu_8c.html" title="src/spu/internal/dma/imoc_dma&#45;put_spu.c" alt="" coords="3477,80,3741,107">
<area shape="rect" href="$d1/dc4/imoc__dma-test__spu_8c.html" title="src/spu/internal/dma/imoc_dma&#45;test_spu.c" alt="" coords="3765,80,4032,107">
<area shape="rect" href="$db/d38/imoc__dma-wait__spu_8c.html" title="src/spu/internal/dma/imoc_dma&#45;wait_spu.c" alt="" coords="4056,80,4325,107">
@@ -0,0 +1 @@
027979004a69944348e326e53400f660
Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

@@ -0,0 +1,168 @@
<!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): Error-Handling</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>Error-Handling<br>
<small>
[<a class="el" href="../../d2/d16/group__internal__env.html">Environmental Management</a>]</small>
</h1>
<p>
<div class="dynheader">
Collaboration diagram for Error-Handling:</div>
<div class="dynsection">
<center><table><tr><td><img src="../../d1/d97/group__internal__error.png" border="0" alt="" usemap="#d1/d82/d1_2d97_2group____internal____error_map">
<map name="d1/d82/d1_2d97_2group____internal____error_map">
<area shape="rect" href="../../d2/d16/group__internal__env.html" title="Internals about Startup &amp; Shutdown and Error&#45;Handling." alt="" coords="5,5,187,32"></map></td></tr></table></center>
</div>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This section deals with error-messages.
<p>
An array of type <a class="el" href="../../dd/dfe/structerror__strings__struct.html">error_strings_struct</a> stores error-messages and their corresponding error-codes. <a class="el" href="../../d8/da1/group__environment__error.html#ge79331149c12155246d206d5bb7a7729">MOC_Error_string</a> searches this list for a given error-code and returns the error-message.
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/dfe/structerror__strings__struct.html">error_strings_struct</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error-Strings structure. <a href="../../dd/dfe/structerror__strings__struct.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>PPU-only</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="../../dd/dfe/structerror__strings__struct.html">error_strings_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d97/group__internal__error.html#g340b21d20b2ad476fb8d2203a5c6e538">error_strings</a> []</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">stores the error-messages <a href="#g340b21d20b2ad476fb8d2203a5c6e538"></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="../../d1/d97/group__internal__error.html#g4cc5a2e835e688e15548969e56cbc61e">ERROR_STRINGS_COUNT</a>&nbsp;&nbsp;&nbsp;28</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">error-message count <a href="#g4cc5a2e835e688e15548969e56cbc61e"></a><br></td></tr>
<tr><td colspan="2"><br><h2>SPU-only</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="../../dd/dfe/structerror__strings__struct.html">error_strings_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d97/group__internal__error.html#g340b21d20b2ad476fb8d2203a5c6e538">error_strings</a> []</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">stores the error-messages <a href="#g340b21d20b2ad476fb8d2203a5c6e538"></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="../../d1/d97/group__internal__error.html#g4cc5a2e835e688e15548969e56cbc61e">ERROR_STRINGS_COUNT</a>&nbsp;&nbsp;&nbsp;28</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">error-message count <a href="#g4cc5a2e835e688e15548969e56cbc61e"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <a class="el" href="../../dd/dfe/structerror__strings__struct.html">error_strings_struct</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d97/group__internal__error.html#ge9fa9b7c1e456a3a0d1bc4d760b2d631">error_strings_t</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error-Strings structure. <a href="#ge9fa9b7c1e456a3a0d1bc4d760b2d631"></a><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="g4cc5a2e835e688e15548969e56cbc61e"></a><!-- doxytag: member="moc_error_string_spu.c::ERROR_STRINGS_COUNT" ref="g4cc5a2e835e688e15548969e56cbc61e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ERROR_STRINGS_COUNT&nbsp;&nbsp;&nbsp;28 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
error-message count
<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>SPU-only </dd></dl>
<p>Definition at line <a class="el" href="../../da/d50/moc__error__string__spu_8c-source.html#l00061">61</a> of file <a class="el" href="../../da/d50/moc__error__string__spu_8c-source.html">moc_error_string_spu.c</a>.</p>
</div>
</div><p>
<a class="anchor" name="g4cc5a2e835e688e15548969e56cbc61e"></a><!-- doxytag: member="moc_error_string_ppu.c::ERROR_STRINGS_COUNT" ref="g4cc5a2e835e688e15548969e56cbc61e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ERROR_STRINGS_COUNT&nbsp;&nbsp;&nbsp;28 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
error-message count
<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>PPU-only </dd></dl>
<p>Definition at line <a class="el" href="../../d3/d68/moc__error__string__ppu_8c-source.html#l00062">62</a> of file <a class="el" href="../../d3/d68/moc__error__string__ppu_8c-source.html">moc_error_string_ppu.c</a>.</p>
<p>Referenced by <a class="el" href="../../d3/d68/moc__error__string__ppu_8c-source.html#l00068">MOC_Error_string()</a>.</p>
</div>
</div><p>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="ge9fa9b7c1e456a3a0d1bc4d760b2d631"></a><!-- doxytag: member="imoc.h::error_strings_t" ref="ge9fa9b7c1e456a3a0d1bc4d760b2d631" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="../../dd/dfe/structerror__strings__struct.html">error_strings_struct</a> <a class="el" href="../../dd/dfe/structerror__strings__struct.html">error_strings_t</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Error-Strings structure.
<p>
stores the error-string to a given error-code typedef for <a class="el" href="../../dd/dfe/structerror__strings__struct.html">error_strings_struct</a>
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="g340b21d20b2ad476fb8d2203a5c6e538"></a><!-- doxytag: member="moc_error_string_spu.c::error_strings" ref="g340b21d20b2ad476fb8d2203a5c6e538" args="[]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../dd/dfe/structerror__strings__struct.html">error_strings_t</a> <a class="el" href="../../d1/d97/group__internal__error.html#g340b21d20b2ad476fb8d2203a5c6e538">error_strings</a>[] </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
stores the error-messages
<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>SPU-only </dd></dl>
<p>Definition at line <a class="el" href="../../da/d50/moc__error__string__spu_8c-source.html#l00022">22</a> of file <a class="el" href="../../da/d50/moc__error__string__spu_8c-source.html">moc_error_string_spu.c</a>.</p>
</div>
</div><p>
<a class="anchor" name="g340b21d20b2ad476fb8d2203a5c6e538"></a><!-- doxytag: member="moc_error_string_ppu.c::error_strings" ref="g340b21d20b2ad476fb8d2203a5c6e538" args="[]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../dd/dfe/structerror__strings__struct.html">error_strings_t</a> <a class="el" href="../../d1/d97/group__internal__error.html#g340b21d20b2ad476fb8d2203a5c6e538">error_strings</a>[] </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
stores the error-messages
<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>PPU-only </dd></dl>
<p>Definition at line <a class="el" href="../../d3/d68/moc__error__string__ppu_8c-source.html#l00022">22</a> of file <a class="el" href="../../d3/d68/moc__error__string__ppu_8c-source.html">moc_error_string_ppu.c</a>.</p>
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:51:06 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.3 KiB

@@ -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-iget_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-iget_ppu.c File Reference</h1>
<p>
<code>#include &lt;malloc_align.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="../../d8/df3/moc__dma__ppu_8h-source.html">ppu/moc_dma_ppu.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="../../db/db7/imoc__macros__ppu_8h-source.html">internal/ppu/imoc_macros_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>
<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-iget_ppu.c:</div>
<div class="dynsection">
<p><center><img src="../../da/d83/imoc__dma-iget__ppu_8c__incl.png" border="0" usemap="#src/ppu/internal/dma/imoc_dma-iget_ppu.c_map" alt=""></center>
<map name="src/ppu/internal/dma/imoc_dma-iget_ppu.c_map">
<area shape="rect" href="../../d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="209,155,265,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="../../d8/d98/imoc__macros__ppu_8h.html" title="internal/ppu/imoc_macros_ppu.h" alt="" coords="1064,80,1272,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="824,80,1016,107"><area shape="rect" href="../../dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="83,229,200,256"><area shape="rect" href="../../d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="179,304,320,331"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="365,304,435,331"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="237,379,363,405"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="387,379,517,405"><area shape="rect" href="../../d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="643,304,784,331"><area shape="rect" href="../../d2/d42/imoc__macros_8h.html" title="../imoc_macros.h" alt="" coords="1132,155,1255,181"><area shape="rect" href="../../d7/d3d/imoc__core_8h.html" title="../imoc_core.h" alt="" coords="1024,379,1128,405"><area shape="rect" href="../../db/dae/ppu_2moc_8h.html" title="../../ppu/moc.h" alt="" coords="733,155,840,181"></map>
</div>
<p>
<a href="../../d6/df6/imoc__dma-iget__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#g0c76eeaa08ac299e19dc2758d4142cd9">IMOC_iget_data</a> (void *target, uint64_t source, 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-get operation. <a href="../../d2/de2/group__internal__p2p__dma.html#g0c76eeaa08ac299e19dc2758d4142cd9"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:23 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/spu/internal/dma/imoc_dma-test_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/internal/dma/imoc_dma-test_spu.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;spu_mfcio.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="../../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 imoc_dma-test_spu.c:</div>
<div class="dynsection">
<p><center><img src="../../d1/d24/imoc__dma-test__spu_8c__incl.png" border="0" usemap="#src/spu/internal/dma/imoc_dma-test_spu.c_map" alt=""></center>
<map name="src/spu/internal/dma/imoc_dma-test_spu.c_map">
<area shape="rect" href="../../d0/d3a/spu_2moc_8h.html" title="moc.h" alt="" coords="207,80,263,107"><area shape="rect" href="../../d4/dce/imoc__dma__spu_8h.html" title="internal/spu/imoc_dma_spu.h" alt="" coords="320,155,512,181"><area shape="rect" href="../../dd/d9c/moc__dma__spu_8h.html" title="moc_dma_spu.h" alt="" coords="128,155,245,181"><area shape="rect" href="../../d0/d1d/moc__datatype__spu_8h.html" title="moc_datatype_spu.h" alt="" coords="20,229,161,256"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="257,229,327,256"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="../moc_datatype.h" alt="" coords="36,304,161,331"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="236,304,367,331"></map>
</div>
<p>
<a href="../../d6/dca/imoc__dma-test__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="../../d2/de2/group__internal__p2p__dma.html#gdc3d91a083a9dc3aa539aee4d56616f0">IMOC_test_dma</a> (<a class="el" href="../../d4/da3/structimoc__dma__request__struct.html">imoc_dma_request</a> *request, int *flag)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tests if a IMOC_iget_data or IMOC_iput_data is completed. <a href="../../d2/de2/group__internal__p2p__dma.html#gdc3d91a083a9dc3aa539aee4d56616f0"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:39 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="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">
@@ -0,0 +1 @@
eb2248d6682a8df8145c58910bbdc969
Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

+242
View File
@@ -0,0 +1,242 @@
<!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): Communicator Management</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>Communicator Management<br>
<small>
[<a class="el" href="../../d1/df0/group__comm__main.html">Groups, Context and Communicators</a>]</small>
</h1>
<p>
<div class="dynheader">
Collaboration diagram for Communicator Management:</div>
<div class="dynsection">
<center><table><tr><td><img src="../../d1/dd1/group__comm__mgt.png" border="0" alt="" usemap="#dc/d90/d1_2dd1_2group____comm____mgt_map">
<map name="dc/d90/d1_2dd1_2group____comm____mgt_map">
<area shape="rect" href="../../d1/df0/group__comm__main.html" title="The MOC communicator specifies a group of processes inside which a communication..." alt="" coords="7,5,241,32"></map></td></tr></table></center>
</div>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Funktions for managing communicators.
<p>
Because of reasons already stated (see <a class="el" href="../../d1/df0/group__comm__main.html">Groups, Context and Communicators</a>) there is no support for user-defined communicators. So this section is limited to functions which return the size of a specific communicator or the rank of the calling process.
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dd1/group__comm__mgt.html#gcae012270d1813b9153b8cbc78a5c84d">MOC_COMM_NULL</a>&nbsp;&nbsp;&nbsp;0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Specifies a null communicator. <a href="#gcae012270d1813b9153b8cbc78a5c84d"></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="../../d1/dd1/group__comm__mgt.html#g14e1cb53b99b5e239d4cc6a8d370ad94">MOC_COMM_WORLD</a>&nbsp;&nbsp;&nbsp;1</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Specifies a constant that contains all of the processes. <a href="#g14e1cb53b99b5e239d4cc6a8d370ad94"></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="../../d1/dd1/group__comm__mgt.html#gf8c5dfb6bb79027948fe63f4cf6504eb">MOC_COMM_SELF</a>&nbsp;&nbsp;&nbsp;2</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Specifies a constant that contains only the calling process. <a href="#gf8c5dfb6bb79027948fe63f4cf6504eb"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767">MOC_Comm</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Communicator-Handle. <a href="#g3d2b8a9af65bff5f79d02bda13616767"></a><br></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#gbadd556e16667ac8ee86af72299e4915">MOC_Comm_rank</a> (<a class="el" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767">MOC_Comm</a> comm, int *rank)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines the rank of the calling process in the communicator. <a href="#gbadd556e16667ac8ee86af72299e4915"></a><br></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="#g36ac8a2d969216d52418aedd77a5829e"></a><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="gcae012270d1813b9153b8cbc78a5c84d"></a><!-- doxytag: member="moc.h::MOC_COMM_NULL" ref="gcae012270d1813b9153b8cbc78a5c84d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MOC_COMM_NULL&nbsp;&nbsp;&nbsp;0 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Specifies a null communicator.
<p>
<p>Definition at line <a class="el" href="../../d7/de1/moc_8h-source.html#l00291">291</a> of file <a class="el" href="../../d7/de1/moc_8h-source.html">moc.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="gf8c5dfb6bb79027948fe63f4cf6504eb"></a><!-- doxytag: member="moc.h::MOC_COMM_SELF" ref="gf8c5dfb6bb79027948fe63f4cf6504eb" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MOC_COMM_SELF&nbsp;&nbsp;&nbsp;2 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Specifies a constant that contains only the calling process.
<p>
<p>Definition at line <a class="el" href="../../d7/de1/moc_8h-source.html#l00301">301</a> of file <a class="el" href="../../d7/de1/moc_8h-source.html">moc.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="../../da/d19/moc__bcast_8c-source.html#l00009">MOC_Bcast()</a>, <a class="el" href="../../d9/dd3/moc__comm__rank_8c-source.html#l00008">MOC_Comm_rank()</a>, and <a class="el" href="../../d8/d65/moc__comm__size_8c-source.html#l00008">MOC_Comm_size()</a>.</p>
</div>
</div><p>
<a class="anchor" name="g14e1cb53b99b5e239d4cc6a8d370ad94"></a><!-- doxytag: member="moc.h::MOC_COMM_WORLD" ref="g14e1cb53b99b5e239d4cc6a8d370ad94" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MOC_COMM_WORLD&nbsp;&nbsp;&nbsp;1 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Specifies a constant that contains all of the processes.
<p>
<p>Definition at line <a class="el" href="../../d7/de1/moc_8h-source.html#l00296">296</a> of file <a class="el" href="../../d7/de1/moc_8h-source.html">moc.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="../../d9/dd3/moc__comm__rank_8c-source.html#l00008">MOC_Comm_rank()</a>, and <a class="el" href="../../d8/d65/moc__comm__size_8c-source.html#l00008">MOC_Comm_size()</a>.</p>
</div>
</div><p>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="g3d2b8a9af65bff5f79d02bda13616767"></a><!-- doxytag: member="moc.h::MOC_Comm" ref="g3d2b8a9af65bff5f79d02bda13616767" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int <a class="el" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767">MOC_Comm</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Communicator-Handle.
<p>
Masks the actual type which is used to encode the communicator. Char is used and therefore the maximum number of possible communicators is limited to 256. But because there are three predefined communicators (MPI_COMM_NULL, MPI_COMM_WORLD and MPI_COMM_SELF) only 253 user-defined communicators are possible.
<p>Definition at line <a class="el" href="../../d7/de1/moc_8h-source.html#l00286">286</a> of file <a class="el" href="../../d7/de1/moc_8h-source.html">moc.h</a>.</p>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="gbadd556e16667ac8ee86af72299e4915"></a><!-- doxytag: member="moc.h::MOC_Comm_rank" ref="gbadd556e16667ac8ee86af72299e4915" args="(MOC_Comm comm, int *rank)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int MOC_Comm_rank </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767">MOC_Comm</a>&nbsp;</td>
<td class="paramname"> <em>comm</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int *&nbsp;</td>
<td class="paramname"> <em>rank</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Determines the rank of the calling process in the communicator.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>comm</em>&nbsp;</td><td><b>in</b> commicator-handle </td></tr>
<tr><td valign="top"></td><td valign="top"><em>rank</em>&nbsp;</td><td><b>out</b> rank of the calling process in group of comm </td></tr>
</table>
</dl>
<dl compact><dt><b>Return values:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>MOC_SUCCESS</em>&nbsp;</td><td>No error; MPI routine completed successfully. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>MOC_ERR_COMM</em>&nbsp;</td><td>Invalid communicator. A common error is to use a null communicator in a call. </td></tr>
</table>
</dl>
<p>Definition at line <a class="el" href="../../d9/dd3/moc__comm__rank_8c-source.html#l00008">8</a> of file <a class="el" href="../../d9/dd3/moc__comm__rank_8c-source.html">moc_comm_rank.c</a>.</p>
<p>References <a class="el" href="../../d7/de1/moc_8h-source.html#l00301">MOC_COMM_SELF</a>, <a class="el" href="../../d7/de1/moc_8h-source.html#l00296">MOC_COMM_WORLD</a>, <a class="el" href="../../d3/d95/moc__error__codes_8h-source.html#l00035">MOC_ERR_COMM</a>, <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00052">node_handle</a>, and <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00032">moc_node_handle_ppu_struct::rank</a>.</p>
</div>
</div><p>
<a class="anchor" name="g36ac8a2d969216d52418aedd77a5829e"></a><!-- doxytag: member="moc.h::MOC_Comm_size" ref="g36ac8a2d969216d52418aedd77a5829e" args="(MOC_Comm comm, int *size)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int MOC_Comm_size </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767">MOC_Comm</a>&nbsp;</td>
<td class="paramname"> <em>comm</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int *&nbsp;</td>
<td class="paramname"> <em>size</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Determines the size of the group associated with a communictor.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>comm</em>&nbsp;</td><td><b>in</b> commicator-handle </td></tr>
<tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td><b>out</b> number of processes in the group of comm </td></tr>
</table>
</dl>
<dl compact><dt><b>Return values:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>MOC_SUCCESS</em>&nbsp;</td><td>No error; MPI routine completed successfully. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>MOC_ERR_COMM</em>&nbsp;</td><td>Invalid communicator. A common error is to use a null communicator in a call. </td></tr>
</table>
</dl>
<p>Definition at line <a class="el" href="../../d8/d65/moc__comm__size_8c-source.html#l00008">8</a> of file <a class="el" href="../../d8/d65/moc__comm__size_8c-source.html">moc_comm_size.c</a>.</p>
<p>References <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00033">moc_node_handle_ppu_struct::comm_size</a>, <a class="el" href="../../d7/de1/moc_8h-source.html#l00301">MOC_COMM_SELF</a>, <a class="el" href="../../d7/de1/moc_8h-source.html#l00296">MOC_COMM_WORLD</a>, <a class="el" href="../../d3/d95/moc__error__codes_8h-source.html#l00035">MOC_ERR_COMM</a>, and <a class="el" href="../../db/d45/imoc__core__ppu_8h-source.html#l00052">node_handle</a>.</p>
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:51:02 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: 3.5 KiB

@@ -0,0 +1,37 @@
<!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 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/noarch/system/moc_get_count.c</h1><a href="../../df/d8a/moc__get__count_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="../../d0/d3a/spu_2moc_8h.html">moc.h</a>&gt;</span>
<a name="l00002"></a>00002
<a name="l00003"></a><a class="code" href="../../da/df0/group__p2p__status.html#g0766bc2817b17dcdc8b7e830828fe118">00003</a> <span class="keywordtype">int</span> <a class="code" href="../../da/df0/group__p2p__status.html#g0766bc2817b17dcdc8b7e830828fe118" title="Gets the number of received elements which is encoded in MOC_Status.">MOC_Get_count</a>(<a class="code" href="../../dd/d7a/structMOC__Status__struct.html" title="Structure holding information about a received message.">MOC_Status</a> *status, <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> *count)
<a name="l00004"></a>00004 {
<a name="l00005"></a>00005 <span class="keywordtype">int</span> bytecount;
<a name="l00006"></a>00006 <span class="keywordflow">if</span> (!status)
<a name="l00007"></a>00007 <span class="keywordflow">return</span> <a class="code" href="../../d8/da1/group__environment__error.html#g734aa5985b6d809690f10979ff44785c" title="Invalid argument of some other kind.">MOC_ERR_ARG</a>;
<a name="l00008"></a>00008 <span class="keywordflow">if</span> (((datatype &amp; 0xF0) &gt;&gt; 4) == 0)
<a name="l00009"></a>00009 bytecount = 1;
<a name="l00010"></a>00010 <span class="keywordflow">else</span>
<a name="l00011"></a>00011 bytecount = (((datatype &amp; 0xF0) &gt;&gt; 4) * 2);
<a name="l00012"></a>00012 *count = status-&gt;<a class="code" href="../../dd/d7a/structMOC__Status__struct.html#872c34c85569926730eebe10e47af384" title="message-size in byte (internal-variable)">message_size</a> / bytecount;
<a name="l00013"></a>00013 <span class="keywordflow">return</span> 0;
<a name="l00014"></a>00014 }
<a name="l00015"></a>00015
</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>
+53
View File
@@ -0,0 +1,53 @@
<!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): Groups, Context and Communicators</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>Groups, Context and Communicators<br>
<small>
[<a class="el" href="../../d3/d9e/group__end__user.html">End-User Documentation</a>]</small>
</h1>
<p>
<div class="dynheader">
Collaboration diagram for Groups, Context and Communicators:</div>
<div class="dynsection">
<center><table><tr><td><img src="../../d1/df0/group__comm__main.png" border="0" alt="" usemap="#d8/d49/d1_2df0_2group____comm____main_map">
<map name="d8/d49/d1_2df0_2group____comm____main_map">
<area shape="rect" href="../../d1/dd1/group__comm__mgt.html" title="Funktions for managing communicators." alt="" coords="507,5,691,32"><area shape="rect" href="../../d3/d9e/group__end__user.html" title="This section describes the public API provided by the MOC&#45;library." alt="" coords="7,5,172,32"></map></td></tr></table></center>
</div>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The MOC communicator specifies a group of processes inside which a communication occurs.
<p>
Initially there is a single communicator, MPI_COMM_WORLD, which contains all of the processes involved in the computation.<p>
Currently there is no support for creating and managing user-defined groups and communicators and probably never will be. The local storage of a SPU is very small and also the maximal number of nodes is limited to a small number and so there is doubt if the benefits will be greater than the overhead introduced by supporting user-defined groups and communicators.<p>
Only the predefined communicators <a class="el" href="../../d1/dd1/group__comm__mgt.html#g14e1cb53b99b5e239d4cc6a8d370ad94">MOC_COMM_WORLD</a>, <a class="el" href="../../d1/dd1/group__comm__mgt.html#gf8c5dfb6bb79027948fe63f4cf6504eb">MOC_COMM_SELF</a> and <a class="el" href="../../d1/dd1/group__comm__mgt.html#gcae012270d1813b9153b8cbc78a5c84d">MOC_COMM_NULL</a> are available.<p>
The only operations which are currently implemented are <a class="el" href="../../d1/dd1/group__comm__mgt.html#g36ac8a2d969216d52418aedd77a5829e">MOC_Comm_size</a> and <a class="el" href="../../d1/dd1/group__comm__mgt.html#gbadd556e16667ac8ee86af72299e4915">MOC_Comm_rank</a>.
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Modules</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dd1/group__comm__mgt.html">Communicator Management</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Funktions for managing communicators. <br></td></tr>
<p>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:51:02 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: 4.5 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/spu/system/moc_get_proc_name_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_get_proc_name_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_get_proc_name_spu.c:</div>
<div class="dynsection">
<p><center><img src="../../d9/daa/moc__get__proc__name__spu_8c__incl.png" border="0" usemap="#src/spu/system/moc_get_proc_name_spu.c_map" alt=""></center>
<map name="src/spu/system/moc_get_proc_name_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="../../d7/dda/moc__get__proc__name__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="../../d8/d8f/group__environment__information.html#gf69e7617a61a2eaa2783e718f2df5270">MOC_Get_processor_name</a> (char *name, int *resultlen)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the name of the processor. <a href="../../d8/d8f/group__environment__information.html#gf69e7617a61a2eaa2783e718f2df5270"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:50:41 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>