Files
2017-10-26 19:57:24 +02:00

101 lines
13 KiB
HTML
Executable File

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MPI On Cell (Documentation): include/ppu/moc.h File Reference</title>
<link href="../../doxygen.css" rel="stylesheet" type="text/css">
<link href="../../tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="../../main.html"><span>Main&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>include/ppu/moc.h File Reference</h1>
<p>
<code>#include &quot;<a class="el" href="../../d8/df3/moc__dma__ppu_8h-source.html">moc_dma_ppu.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="../../d9/d36/moc__datatype__ppu_8h-source.html">moc_datatype_ppu.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="../../d7/de1/moc_8h-source.html">../moc.h</a>&quot;</code><br>
<code>#include &lt;stdint.h&gt;</code><br>
<code>#include &lt;libspe2.h&gt;</code><br>
<p>
<div class="dynheader">
Include dependency graph for moc.h:</div>
<div class="dynsection">
<p><center><img src="../../dc/d3a/ppu_2moc_8h__incl.png" border="0" usemap="#include/ppu/moc.h_map" alt=""></center>
<map name="include/ppu/moc.h_map">
<area shape="rect" href="../../db/d62/moc__dma__ppu_8h.html" title="moc_dma_ppu.h" alt="" coords="85,80,203,107"><area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="109,155,179,181"><area shape="rect" href="../../d8/de2/moc__datatype__ppu_8h.html" title="moc_datatype_ppu.h" alt="" coords="203,155,344,181"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="moc_datatype.h" alt="" coords="223,229,337,256"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="17,229,148,256"></map>
</div>
<p>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
<p><center><img src="../../d5/d73/ppu_2moc_8h__dep__incl.png" border="0" usemap="#include/ppu/moc.hdep_map" alt=""></center>
<map name="include/ppu/moc.hdep_map">
<area shape="rect" href="../../d6/d09/imoc__core__ppu_8h.html" title="include/internal/ppu/imoc_core_ppu.h" alt="" coords="5339,80,5573,107"><area shape="rect" href="../../df/dac/imoc__spe__thread__ppu_8c.html" title="src/ppu/internal/imoc_spe_thread_ppu.c" alt="" coords="10061,155,10312,181"><area shape="rect" href="../../dc/dd0/moc__add__spu__thread__ppu_8c.html" title="src/ppu/system/moc_add_spu_thread_ppu.c" alt="" coords="10336,155,10613,181"><area shape="rect" href="../../d3/d9e/moc__finalize__ppu_8c.html" title="src/ppu/system/moc_finalize_ppu.c" alt="" coords="10637,155,10864,181"><area shape="rect" href="../../d9/d04/moc__init__ppu_8c.html" title="src/ppu/system/moc_init_ppu.c" alt="" coords="10888,155,11091,181"><area shape="rect" href="../../d6/db1/moc__bcast_8c.html" title="src/noarch/communication/moc_bcast.c" alt="" coords="6317,155,6571,181"><area shape="rect" href="../../d3/dc2/moc__isend_8c.html" title="src/noarch/communication/moc_isend.c" alt="" coords="6595,155,6845,181"><area shape="rect" href="../../db/d55/moc__send_8c.html" title="src/noarch/communication/moc_send.c" alt="" coords="6869,155,7117,181"><area shape="rect" href="../../d8/d02/moc__test_8c.html" title="src/noarch/communication/moc_test.c" alt="" coords="7141,155,7384,181"><area shape="rect" href="../../d4/dfc/moc__wait_8c.html" title="src/noarch/communication/moc_wait.c" alt="" coords="7408,155,7651,181"><area shape="rect" href="../../db/d33/imoc__get__entry_8c.html" title="src/noarch/internal/communication/imoc_get_entry.c" alt="" coords="7675,155,7997,181"><area shape="rect" href="../../df/d20/imoc__get__free__entry_8c.html" title="src/noarch/internal/communication/imoc_get_free_entry.c" alt="" coords="8021,155,8373,181"><area shape="rect" href="../../dd/d9a/imoc__get__free__mid_8c.html" title="src/noarch/internal/communication/imoc_get_free_mid.c" alt="" coords="8397,155,8741,181"><area shape="rect" href="../../db/d43/imoc__test__message_8c.html" title="src/noarch/internal/communication/imoc_test_message.c" alt="" coords="8765,155,9117,181"><area shape="rect" href="../../da/d91/imoc__wait__message_8c.html" title="src/noarch/internal/communication/imoc_wait_message.c" alt="" coords="9141,155,9493,181"><area shape="rect" href="../../d2/d7b/imoc__buffer__malloc_8c.html" title="src/noarch/internal/imoc_buffer_malloc.c" alt="" coords="9517,155,9771,181"><area shape="rect" href="../../d3/d9d/moc__comm__rank_8c.html" title="src/noarch/system/moc_comm_rank.c" alt="" coords="9795,155,10037,181"><area shape="rect" href="../../df/ddd/moc__comm__size_8c.html" title="src/noarch/system/moc_comm_size.c" alt="" coords="5,155,248,181"><area shape="rect" href="../../d1/d72/moc__barrier__ppu_8c.html" title="src/ppu/communication/moc_barrier_ppu.c" alt="" coords="272,155,539,181"><area shape="rect" href="../../d9/d14/moc__bsend__ppu_8c.html" title="src/ppu/communication/moc_bsend_ppu.c" alt="" coords="563,155,829,181"><area shape="rect" href="../../dc/d02/moc__issend__ppu_8c.html" title="src/ppu/communication/moc_issend_ppu.c" alt="" coords="853,155,1123,181"><area shape="rect" href="../../dc/db7/moc__recv__ppu_8c.html" title="src/ppu/communication/moc_recv_ppu.c" alt="" coords="1147,155,1400,181"><area shape="rect" href="../../d2/d00/moc__ssend__ppu_8c.html" title="src/ppu/communication/moc_ssend_ppu.c" alt="" coords="1424,155,1691,181"><area shape="rect" href="../../d7/d58/moc__dma-get__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;get_ppu.c" alt="" coords="1715,155,1931,181"><area shape="rect" href="../../d3/dc6/moc__dma-iget__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;iget_ppu.c" alt="" coords="1955,155,2173,181"><area shape="rect" href="../../d8/d06/moc__dma-iput__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;iput_ppu.c" alt="" coords="2197,155,2416,181"><area shape="rect" href="../../d3/dfa/moc__dma-put__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;put_ppu.c" alt="" coords="2440,155,2656,181"><area shape="rect" href="../../d0/d04/moc__dma-test__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;test_ppu.c" alt="" coords="2680,155,2899,181"><area shape="rect" href="../../d6/de5/moc__dma-wait__ppu_8c.html" title="src/ppu/dma/moc_dma&#45;wait_ppu.c" alt="" coords="2923,155,3141,181"><area shape="rect" href="../../d2/d2a/moc__translate__ea__ls__ppu_8c.html" title="src/ppu/dma/moc_translate_ea_ls_ppu.c" alt="" coords="3165,155,3421,181"><area shape="rect" href="../../d4/d2d/imoc__dma-get__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma&#45;get_ppu.c" alt="" coords="3445,155,3709,181"><area shape="rect" href="../../d1/da6/imoc__dma-iget__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma&#45;iget_ppu.c" alt="" coords="3733,155,4000,181"><area shape="rect" href="../../df/d10/imoc__dma-iput__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma&#45;iput_ppu.c" alt="" coords="4024,155,4291,181"><area shape="rect" href="../../d3/d8f/imoc__dma-put__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma&#45;put_ppu.c" alt="" coords="4315,155,4579,181"><area shape="rect" href="../../d0/dba/imoc__dma-tags__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma&#45;tags_ppu.c" alt="" coords="4603,155,4875,181"><area shape="rect" href="../../d4/d5b/imoc__dma-test__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma&#45;test_ppu.c" alt="" coords="4899,155,5165,181"><area shape="rect" href="../../df/d8b/imoc__dma-wait__ppu_8c.html" title="src/ppu/internal/dma/imoc_dma&#45;wait_ppu.c" alt="" coords="5189,155,5459,181"><area shape="rect" href="../../df/d69/imoc__core__ppu_8c.html" title="src/ppu/internal/imoc_core_ppu.c" alt="" coords="5483,155,5696,181"><area shape="rect" href="../../d2/d15/moc__set__buffer__size__ppu_8c.html" title="src/ppu/system/moc_set_buffer_size_ppu.c" alt="" coords="5720,155,5992,181"><area shape="rect" href="../../df/dbf/moc__set__queue__size__ppu_8c.html" title="src/ppu/system/moc_set_queue_size_ppu.c" alt="" coords="6016,155,6293,181"></map>
</div>
<p>
<a href="../../d9/df9/ppu_2moc_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dae/ppu_2moc_8h.html#a6aacc64a745d563ed72610e08ceb3ef">MOC_SPU_THREAD_MAX</a>&nbsp;&nbsp;&nbsp;8</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum number of possible SPU-threads. <a href="#a6aacc64a745d563ed72610e08ceb3ef"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">PPU-only</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d9a/group__environment__startup.html#g66028682d3c25b76e25ca57655d47625">MOC_Get_avail_spu_count</a> (int *count)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of available SPUs. <a href="../../d8/d9a/group__environment__startup.html#g66028682d3c25b76e25ca57655d47625"></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="../../d8/d9a/group__environment__startup.html#g58c038d9978a55d6f346102dfef9acc7">MOC_Get_max_spu_count</a> (int *count)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of SPUs. <a href="../../d8/d9a/group__environment__startup.html#g58c038d9978a55d6f346102dfef9acc7"></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="../../d8/d9a/group__environment__startup.html#geea5b7c117adae78e954f0959fe0c447">MOC_Add_spu_thread</a> (spe_program_handle_t *phandle, void *argp)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a SPU-Thread. <a href="../../d8/d9a/group__environment__startup.html#geea5b7c117adae78e954f0959fe0c447"></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="../../d8/d9a/group__environment__startup.html#g0ac2f7a8d9b93b8da0408a5307f0c925">MOC_Set_buffer_size</a> (uint32_t size)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the size of the buffer used for buffered communication. <a href="../../d8/d9a/group__environment__startup.html#g0ac2f7a8d9b93b8da0408a5307f0c925"></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="../../d8/d9a/group__environment__startup.html#g3e83e7a629951e6788a682aad654baf8">MOC_Set_queue_size</a> (uint8_t size)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the size of the message-queues. <a href="../../d8/d9a/group__environment__startup.html#g3e83e7a629951e6788a682aad654baf8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d9a/group__environment__startup.html#g9a59090c9d03e89f019e8276d4013c72">MOC_Init</a> (int *argc, char ***argv)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialize the MPI execution environment. <a href="../../d8/d9a/group__environment__startup.html#g9a59090c9d03e89f019e8276d4013c72"></a><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="a6aacc64a745d563ed72610e08ceb3ef"></a><!-- doxytag: member="moc.h::MOC_SPU_THREAD_MAX" ref="a6aacc64a745d563ed72610e08ceb3ef" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MOC_SPU_THREAD_MAX&nbsp;&nbsp;&nbsp;8 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Maximum number of possible SPU-threads.
<p>
<p>Definition at line <a class="el" href="../../d9/df9/ppu_2moc_8h-source.html#l00017">17</a> of file <a class="el" href="../../d9/df9/ppu_2moc_8h-source.html">moc.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>.</p>
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:49:57 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>