blob: 815f1aafc89fa140a376d18666b83096f1c0c1f8 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>mxnet: /work/mxnet/3rdparty/dmlc-core/include/dmlc/endian.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">mxnet
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_82e31a22178767beedddc7597fd1ecb6.html">dmlc-core</a></li><li class="navelem"><a class="el" href="dir_7dd5b88db83ff474628c03c453739a90.html">include</a></li><li class="navelem"><a class="el" href="dir_e30967e3ab51f65ad4b50dd298ccf4e7.html">dmlc</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">endian.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Endian testing, need c++11.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h_source.html">./base.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for endian.h:</div>
<div class="dyncontent">
<div class="center"><img src="endian_8h__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2endian_8h" alt=""/></div>
<map name="_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2endian_8h" id="_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2endian_8h">
<area shape="rect" id="node2" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html" title="./base.h" alt="" coords="230,109,303,136"/>
<area shape="rect" id="node7" href="build__config__default_8h.html" title="Default detection logic for fopen64 and other symbols. May be overriden by CMake. ..." alt="" coords="407,184,609,211"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="endian_8h__dep__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2endian_8hdep" alt=""/></div>
<map name="_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2endian_8hdep" id="_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2endian_8hdep">
<area shape="rect" id="node2" href="serializer_8h.html" title="serializer template class that helps serialization. This file do not need to be directly used by most..." alt="" coords="613,109,792,165"/>
<area shape="rect" id="node3" href="3rdparty_2dmlc-core_2include_2dmlc_2io_8h.html" title="/work/mxnet/3rdparty\l/dmlc&#45;core/include/dmlc/io.h" alt="" coords="599,213,806,255"/>
<area shape="rect" id="node4" href="data_8h.html" title="defines common input data structure, and interface for handling the input data " alt="" coords="5,303,184,359"/>
<area shape="rect" id="node7" href="filesystem_8h.html" title="Utilities to manipulate files. " alt="" coords="208,303,387,359"/>
<area shape="rect" id="node8" href="memory__io_8h.html" title="defines binary serialization class to serialize things into/from memory region. " alt="" coords="411,303,589,359"/>
<area shape="rect" id="node9" href="recordio_8h.html" title="recordio that is able to pack binary data into a splittable format, useful to exchange data in binary..." alt="" coords="613,303,792,359"/>
<area shape="rect" id="node10" href="include_2mxnet_2base_8h.html" title="/work/mxnet/include\l/mxnet/base.h" alt="" coords="1516,310,1671,351"/>
<area shape="rect" id="node15" href="include_2mxnet_2ndarray_8h.html" title="/work/mxnet/include\l/mxnet/ndarray.h" alt="" coords="1297,511,1452,552"/>
<area shape="rect" id="node24" href="include_2mxnet_2kvstore_8h.html" title="/work/mxnet/include\l/mxnet/kvstore.h" alt="" coords="2063,607,2217,649"/>
<area shape="rect" id="node5" href="threadediter_8h.html" title="thread backed iterator that can be used to implement general thread&#45;based pipeline such as prefetch a..." alt="" coords="5,407,184,463"/>
<area shape="rect" id="node6" href="include_2mxnet_2io_8h.html" title="/work/mxnet/include\l/mxnet/io.h" alt="" coords="701,607,856,649"/>
<area shape="rect" id="node11" href="packed__func_8h.html" title="Type&#45;erased function used across MXNET API. " alt="" coords="1863,600,2038,656"/>
<area shape="rect" id="node14" href="engine_8h.html" title="Engine that schedules all the operations according to dependency. " alt="" coords="1459,414,1613,455"/>
<area shape="rect" id="node16" href="include_2mxnet_2executor_8h.html" title="/work/mxnet/include\l/mxnet/executor.h" alt="" coords="1748,793,1903,835"/>
<area shape="rect" id="node17" href="include_2mxnet_2op__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/op_attr_types.h" alt="" coords="1564,607,1737,649"/>
<area shape="rect" id="node18" href="include_2mxnet_2operator_8h.html" title="/work/mxnet/include\l/mxnet/operator.h" alt="" coords="1863,704,2017,745"/>
<area shape="rect" id="node19" href="operator__util_8h.html" title="Utility functions and registries to help quickly build new operators. [Deprecated] Use the register f..." alt="" coords="2047,793,2214,835"/>
<area shape="rect" id="node25" href="resource_8h.html" title="Global resource allocation handling. " alt="" coords="1697,511,1852,552"/>
<area shape="rect" id="node26" href="storage_8h.html" title="Storage manager across multiple devices. " alt="" coords="917,414,1072,455"/>
<area shape="rect" id="node27" href="random__generator_8h.html" title="Parallel random number generator. " alt="" coords="1688,414,1891,455"/>
<area shape="rect" id="node28" href="rtc_8h.html" title="/work/mxnet/include\l/mxnet/rtc.h" alt="" coords="1096,414,1251,455"/>
<area shape="rect" id="node29" href="tensor__blob_8h.html" title="TBlob class that holds common representation of arbirary dimension tensor, can be used to transformed..." alt="" coords="1275,414,1435,455"/>
<area shape="rect" id="node12" href="include_2mxnet_2runtime_2registry_8h.html" title="/work/mxnet/include\l/mxnet/runtime/registry.h" alt="" coords="2343,704,2529,745"/>
<area shape="rect" id="node13" href="api__registry_8h.html" title="This file contains utilities related to the MXNet&#39;s global function registry. " alt="" coords="2357,793,2515,835"/>
<area shape="rect" id="node22" href="utils_8h.html" title="Basic utilility functions. " alt="" coords="1331,883,1519,924"/>
<area shape="rect" id="node21" href="imperative_8h.html" title="/work/mxnet/include\l/mxnet/imperative.h" alt="" coords="1348,793,1503,835"/>
<area shape="rect" id="node20" href="include_2mxnet_2graph__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/graph_attr_types.h" alt="" coords="1449,704,1644,745"/>
<area shape="rect" id="node23" href="exec__utils_8h.html" title="Common utility functions for executors. " alt="" coords="1331,972,1519,1013"/>
</map>
</div>
</div>
<p><a href="endian_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacedmlc"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html">dmlc</a></td></tr>
<tr class="memdesc:namespacedmlc"><td class="mdescLeft">&#160;</td><td class="mdescRight">namespace for dmlc <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a2eb3fee8952ee827ffc0c2b4618ad5d5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="endian_8h.html#a2eb3fee8952ee827ffc0c2b4618ad5d5">DMLC_IO_NO_ENDIAN_SWAP</a>&#160;&#160;&#160;(DMLC_LITTLE_ENDIAN == <a class="el" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html#ac8403b937b42dc01ed0ce3d04c22da15">DMLC_IO_USE_LITTLE_ENDIAN</a>)</td></tr>
<tr class="memdesc:a2eb3fee8952ee827ffc0c2b4618ad5d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">whether serialize using little endian <a href="#a2eb3fee8952ee827ffc0c2b4618ad5d5">More...</a><br /></td></tr>
<tr class="separator:a2eb3fee8952ee827ffc0c2b4618ad5d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:adbe9d2411f71ee9f165b44bd0a6fbad1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#adbe9d2411f71ee9f165b44bd0a6fbad1">dmlc::ByteSwap</a> (void *data, size_t elem_bytes, size_t num_elems)</td></tr>
<tr class="memdesc:adbe9d2411f71ee9f165b44bd0a6fbad1"><td class="mdescLeft">&#160;</td><td class="mdescRight">A generic inplace byte swapping function. <a href="namespacedmlc.html#adbe9d2411f71ee9f165b44bd0a6fbad1">More...</a><br /></td></tr>
<tr class="separator:adbe9d2411f71ee9f165b44bd0a6fbad1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Endian testing, need c++11. </p>
<p>Copyright (c) 2017 by Contributors </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a2eb3fee8952ee827ffc0c2b4618ad5d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2eb3fee8952ee827ffc0c2b4618ad5d5">&#9670;&nbsp;</a></span>DMLC_IO_NO_ENDIAN_SWAP</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DMLC_IO_NO_ENDIAN_SWAP&#160;&#160;&#160;(DMLC_LITTLE_ENDIAN == <a class="el" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html#ac8403b937b42dc01ed0ce3d04c22da15">DMLC_IO_USE_LITTLE_ENDIAN</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>whether serialize using little endian </p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 5 2023 00:58:42 for mxnet by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>