103 lines
16 KiB
HTML
Executable File
103 lines
16 KiB
HTML
Executable File
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
<title>MPI On Cell (Documentation): include/internal/imoc.h File Reference</title>
|
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="../../tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.5.6 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="../../main.html"><span>Main Page</span></a></li>
|
|
<li><a href="../../modules.html"><span>Modules</span></a></li>
|
|
<li><a href="../../annotated.html"><span>Data Structures</span></a></li>
|
|
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>include/internal/imoc.h File Reference</h1>
|
|
<p>
|
|
<code>#include <stdint.h></code><br>
|
|
<code>#include "<a class="el" href="../../d7/de1/moc_8h-source.html">../moc.h</a>"</code><br>
|
|
<code>#include "<a class="el" href="../../d6/d2c/imoc__core_8h-source.html">imoc_core.h</a>"</code><br>
|
|
|
|
<p>
|
|
<div class="dynheader">
|
|
Include dependency graph for imoc.h:</div>
|
|
<div class="dynsection">
|
|
<p><center><img src="../../d7/d0f/imoc_8h__incl.png" border="0" usemap="#include/internal/imoc.h_map" alt=""></center>
|
|
<map name="include/internal/imoc.h_map">
|
|
<area shape="rect" href="../../d1/d82/moc_8h.html" title="../moc.h" alt="" coords="51,80,120,107"><area shape="rect" href="../../d7/d3d/imoc__core_8h.html" title="imoc_core.h" alt="" coords="216,80,307,107"><area shape="rect" href="../../d5/d94/moc__datatype_8h.html" title="moc_datatype.h" alt="" coords="28,155,143,181"><area shape="rect" href="../../df/d5c/moc__error__codes_8h.html" title="moc_error_codes.h" alt="" coords="167,155,297,181"></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="../../dc/dc3/imoc_8h__dep__incl.png" border="0" usemap="#include/internal/imoc.hdep_map" alt=""></center>
|
|
<map name="include/internal/imoc.hdep_map">
|
|
<area shape="rect" href="../../d2/d97/moc__iprobe_8c.html" title="src/noarch/communication/moc_iprobe.c" alt="" coords="5,80,261,107"><area shape="rect" href="../../d3/dc2/moc__isend_8c.html" title="src/noarch/communication/moc_isend.c" alt="" coords="285,80,536,107"><area shape="rect" href="../../d1/d8a/moc__probe_8c.html" title="src/noarch/communication/moc_probe.c" alt="" coords="560,80,813,107"><area shape="rect" href="../../db/d55/moc__send_8c.html" title="src/noarch/communication/moc_send.c" alt="" coords="837,80,1085,107"><area shape="rect" href="../../d8/d02/moc__test_8c.html" title="src/noarch/communication/moc_test.c" alt="" coords="1109,80,1352,107"><area shape="rect" href="../../d4/dfc/moc__wait_8c.html" title="src/noarch/communication/moc_wait.c" alt="" coords="1376,80,1619,107"><area shape="rect" href="../../db/d33/imoc__get__entry_8c.html" title="src/noarch/internal/communication/imoc_get_entry.c" alt="" coords="1643,80,1965,107"><area shape="rect" href="../../df/d20/imoc__get__free__entry_8c.html" title="src/noarch/internal/communication/imoc_get_free_entry.c" alt="" coords="1989,80,2341,107"><area shape="rect" href="../../dd/d9a/imoc__get__free__mid_8c.html" title="src/noarch/internal/communication/imoc_get_free_mid.c" alt="" coords="2365,80,2709,107"><area shape="rect" href="../../db/d43/imoc__test__message_8c.html" title="src/noarch/internal/communication/imoc_test_message.c" alt="" coords="2733,80,3085,107"><area shape="rect" href="../../da/d91/imoc__wait__message_8c.html" title="src/noarch/internal/communication/imoc_wait_message.c" alt="" coords="3109,80,3461,107"><area shape="rect" href="../../d2/d7b/imoc__buffer__malloc_8c.html" title="src/noarch/internal/imoc_buffer_malloc.c" alt="" coords="3485,80,3739,107"><area shape="rect" href="../../d9/d19/moc__error__class_8c.html" title="src/noarch/system/moc_error_class.c" alt="" coords="3763,80,4003,107"><area shape="rect" href="../../d1/d72/moc__barrier__ppu_8c.html" title="src/ppu/communication/moc_barrier_ppu.c" alt="" coords="4027,80,4293,107"><area shape="rect" href="../../d9/d14/moc__bsend__ppu_8c.html" title="src/ppu/communication/moc_bsend_ppu.c" alt="" coords="4317,80,4584,107"><area shape="rect" href="../../dc/d02/moc__issend__ppu_8c.html" title="src/ppu/communication/moc_issend_ppu.c" alt="" coords="4608,80,4877,107"><area shape="rect" href="../../dc/db7/moc__recv__ppu_8c.html" title="src/ppu/communication/moc_recv_ppu.c" alt="" coords="4901,80,5155,107"><area shape="rect" href="../../d2/d00/moc__ssend__ppu_8c.html" title="src/ppu/communication/moc_ssend_ppu.c" alt="" coords="5179,80,5445,107"><area shape="rect" href="../../d3/dc6/moc__dma-iget__ppu_8c.html" title="src/ppu/dma/moc_dma-iget_ppu.c" alt="" coords="5469,80,5688,107"><area shape="rect" href="../../d8/d06/moc__dma-iput__ppu_8c.html" title="src/ppu/dma/moc_dma-iput_ppu.c" alt="" coords="5712,80,5931,107"><area shape="rect" href="../../df/dac/imoc__spe__thread__ppu_8c.html" title="src/ppu/internal/imoc_spe_thread_ppu.c" alt="" coords="5955,80,6205,107"><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="6229,80,6507,107"><area shape="rect" href="../../de/d4d/moc__error__string__ppu_8c.html" title="src/ppu/system/moc_error_string_ppu.c" alt="" coords="6531,80,6781,107"><area shape="rect" href="../../d3/d9e/moc__finalize__ppu_8c.html" title="src/ppu/system/moc_finalize_ppu.c" alt="" coords="6805,80,7032,107"><area shape="rect" href="../../d9/d04/moc__init__ppu_8c.html" title="src/ppu/system/moc_init_ppu.c" alt="" coords="7056,80,7259,107"><area shape="rect" href="../../dc/d59/moc__barrier__spu_8c.html" title="src/spu/communication/moc_barrier_spu.c" alt="" coords="7283,80,7549,107"><area shape="rect" href="../../d6/d8c/moc__bsend__spu_8c.html" title="src/spu/communication/moc_bsend_spu.c" alt="" coords="7573,80,7840,107"><area shape="rect" href="../../de/d76/moc__issend__spu_8c.html" title="src/spu/communication/moc_issend_spu.c" alt="" coords="7864,80,8133,107"><area shape="rect" href="../../d9/dab/moc__recv__spu_8c.html" title="src/spu/communication/moc_recv_spu.c" alt="" coords="8157,80,8411,107"><area shape="rect" href="../../d3/d71/moc__ssend__spu_8c.html" title="src/spu/communication/moc_ssend_spu.c" alt="" coords="8435,80,8701,107"><area shape="rect" href="../../da/dea/moc__dma-iget__spu_8c.html" title="src/spu/dma/moc_dma-iget_spu.c" alt="" coords="8725,80,8944,107"><area shape="rect" href="../../dc/de8/moc__dma-iput__spu_8c.html" title="src/spu/dma/moc_dma-iput_spu.c" alt="" coords="8968,80,9187,107"><area shape="rect" href="../../d9/d79/moc__error__string__spu_8c.html" title="src/spu/system/moc_error_string_spu.c" alt="" coords="9211,80,9461,107"><area shape="rect" href="../../d8/d2f/moc__finalize__spu_8c.html" title="src/spu/system/moc_finalize_spu.c" alt="" coords="9485,80,9712,107"><area shape="rect" href="../../d4/de2/moc__init__spu_8c.html" title="src/spu/system/moc_init_spu.c" alt="" coords="9736,80,9939,107"></map>
|
|
</div>
|
|
|
|
<p>
|
|
<a href="../../d4/d9b/imoc_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>Data Structures</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </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"> </td><td class="mdescRight">Error-Strings structure. <a href="../../dd/dfe/structerror__strings__struct.html#_details">More...</a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/dc0/structmoc__internal__buffer__node__struct.html">moc_internal_buffer_node_struct</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Node of linked list holding information about allocated buffer-space. <a href="../../dd/dc0/structmoc__internal__buffer__node__struct.html#_details">More...</a><br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Constants for MOC_Request.request_type</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d41/group__internal__p2p__imm.html#gb4f3aa7dbf7ddfbc4a612fda560ec03b">MOC_REQ_TYPE_DMA</a> 0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">MOC_Request is associated with a DMA-Communication. <a href="../../d7/d41/group__internal__p2p__imm.html#gb4f3aa7dbf7ddfbc4a612fda560ec03b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d41/group__internal__p2p__imm.html#g755884e41591a0d838f45b04f3a92ab9">MOC_REQ_TYPE_ISSEND</a> 1</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">MOC_Request is associated with aISsend-Communication. <a href="../../d7/d41/group__internal__p2p__imm.html#g755884e41591a0d838f45b04f3a92ab9"></a><br></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Internal constants</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d88/group__internal__p2p__main.html#ge9f5f9bdfa51d7683fbe312d4a667afd">MEMCPY_GET_TRESHOLD</a> 156</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Defines a treshold, when to use memcpy and when to use DMA in a get-operation on the PPU. <a href="../../d8/d88/group__internal__p2p__main.html#ge9f5f9bdfa51d7683fbe312d4a667afd"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d88/group__internal__p2p__main.html#g928a3b77f3303eca97315e8133c2f634">MEMCPY_PUT_TRESHOLD</a> 2210</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Defines a treshold, when to use memcpy and when to use DMA in a put-operation on the PPU. <a href="../../d8/d88/group__internal__p2p__main.html#g928a3b77f3303eca97315e8133c2f634"></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> </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"> </td><td class="mdescRight">Error-Strings structure. <a href="../../d1/d97/group__internal__error.html#ge9fa9b7c1e456a3a0d1bc4d760b2d631"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <br>
|
|
<a class="el" href="../../dd/dc0/structmoc__internal__buffer__node__struct.html">moc_internal_buffer_node_struct</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dd3/group__internal__p2p__bmalloc.html#g5335affab6973b22635d8a5616e8bdbc">moc_internal_buffer_node_t</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Node of linked list holding information about allocated buffer-space. <a href="../../d3/dd3/group__internal__p2p__bmalloc.html#g5335affab6973b22635d8a5616e8bdbc"></a><br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dd3/group__internal__p2p__bmalloc.html#g5295b372d853993b2e6cfb6912a0ee41">IMOC_bmalloc</a> (uint32_t size, uint8_t mid)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allocate buffer-space. <a href="../../d3/dd3/group__internal__p2p__bmalloc.html#g5295b372d853993b2e6cfb6912a0ee41"></a><br></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Internal shared functions</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d88/group__internal__p2p__main.html#g8980da77fa506e9a6d503c8c6eba68e2">IMOC_get_entry</a> (int source, int tag, <a class="el" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767">MOC_Comm</a> comm, int isSpecial, <a class="el" href="../../dd/d7a/structMOC__Status__struct.html">MOC_Status</a> *status)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the next valid message-envelope from "source" with specified "tag" and "comm". <a href="../../d8/d88/group__internal__p2p__main.html#g8980da77fa506e9a6d503c8c6eba68e2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d88/group__internal__p2p__main.html#g2a948cdecce651ae6cc1b0c0ddb1b750">IMOC_getFreeEntry</a> (<a class="el" href="../../df/dd4/structmoc__message__envelope__struct.html">moc_message_envelope_t</a> *pqueue, uint8_t tag, <a class="el" href="../../d1/dd1/group__comm__mgt.html#g3d2b8a9af65bff5f79d02bda13616767">MOC_Comm</a> comm, int isSpecial, int *index)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get next free entry in message-queue (a local copy of the message-queue has to be used). <a href="../../d8/d88/group__internal__p2p__main.html#g2a948cdecce651ae6cc1b0c0ddb1b750"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d88/group__internal__p2p__main.html#g409bdbea503611cf04829413d15830df">IMOC_getFreeMID</a> (int *mid)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get free message-ID. <a href="../../d8/d88/group__internal__p2p__main.html#g409bdbea503611cf04829413d15830df"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d88/group__internal__p2p__main.html#g8675f9552168f2dd8926cad5ac00be69">IMOC_waitForMessageCompletion</a> (uint8_t mid)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Wait till message with message-ID mid has been received. <a href="../../d8/d88/group__internal__p2p__main.html#g8675f9552168f2dd8926cad5ac00be69"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d88/group__internal__p2p__main.html#g2e74930cd8e161a131b90f2f1081037a">IMOC_testForMessageCompletion</a> (uint8_t mid, uint8_t *status)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if message with message-ID mid has been received. <a href="../../d8/d88/group__internal__p2p__main.html#g2e74930cd8e161a131b90f2f1081037a"></a><br></td></tr>
|
|
</table>
|
|
</div>
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 12 13:49:49 2009 for MPI On Cell (Documentation) by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="../../doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
|
</body>
|
|
</html>
|