This commit is contained in:
CircleCI Docs
2025-03-05 21:30:09 +00:00
parent 75441e48ef
commit a943912d4c
733 changed files with 41418 additions and 30412 deletions

View File

@@ -187,8 +187,8 @@ $(function(){initNavTree('metal_8h_source.html',''); initResizable(true); });
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#aa47cb5651bf3b65c46ab216b7e504d77"> 81</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#aa47cb5651bf3b65c46ab216b7e504d77">start_capture</a>(std::string path = <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#ac90714424e36fb01e04550de69b8314f"> 82</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#ac90714424e36fb01e04550de69b8314f">stop_capture</a>();</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span>std::unordered_map&lt;std::string, std::variant&lt;std::string, size_t&gt;&gt;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a6ad19c44efabb7423f973407926ead61"> 86</a></span><a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a6ad19c44efabb7423f973407926ead61">device_info</a>();</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="keyword">const</span> std::unordered_map&lt;std::string, std::variant&lt;std::string, size_t&gt;&gt;&amp;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#aebddc0ae4bc73a1acebc4a844475593b"> 86</a></span><a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#aebddc0ae4bc73a1acebc4a844475593b">device_info</a>();</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span>} <span class="comment">// namespace mlx::core::metal</span></div>
<div class="ttc" id="aarray_8h_html"><div class="ttname"><a href="array_8h.html">array.h</a></div></div>
@@ -199,12 +199,12 @@ $(function(){initNavTree('metal_8h_source.html',''); initResizable(true); });
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a3fb2c4a237fa4bfdff798156146c4937"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a3fb2c4a237fa4bfdff798156146c4937">mlx::core::metal::set_memory_limit</a></div><div class="ttdeci">size_t set_memory_limit(size_t limit, bool relaxed=true)</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a43307654f62ed7c58e014be7fb03909c"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a43307654f62ed7c58e014be7fb03909c">mlx::core::metal::get_cache_memory</a></div><div class="ttdeci">size_t get_cache_memory()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a4b67d680cefa95f0ed5801f0e14e48ce"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a4b67d680cefa95f0ed5801f0e14e48ce">mlx::core::metal::get_peak_memory</a></div><div class="ttdeci">size_t get_peak_memory()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a6ad19c44efabb7423f973407926ead61"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a6ad19c44efabb7423f973407926ead61">mlx::core::metal::device_info</a></div><div class="ttdeci">std::unordered_map&lt; std::string, std::variant&lt; std::string, size_t &gt; &gt; device_info()</div><div class="ttdoc">Get information about the GPU and system settings.</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a7b75c2639016ac4d350fa6c9da386667"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a7b75c2639016ac4d350fa6c9da386667">mlx::core::metal::get_active_memory</a></div><div class="ttdeci">size_t get_active_memory()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_aa47cb5651bf3b65c46ab216b7e504d77"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#aa47cb5651bf3b65c46ab216b7e504d77">mlx::core::metal::start_capture</a></div><div class="ttdeci">void start_capture(std::string path=&quot;&quot;)</div><div class="ttdoc">Capture a GPU trace, saving it to an absolute file path</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_ab09c9b60f1e886ab859e6a066c9a5b9d"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#ab09c9b60f1e886ab859e6a066c9a5b9d">mlx::core::metal::set_cache_limit</a></div><div class="ttdeci">size_t set_cache_limit(size_t limit)</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_ac90714424e36fb01e04550de69b8314f"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#ac90714424e36fb01e04550de69b8314f">mlx::core::metal::stop_capture</a></div><div class="ttdeci">void stop_capture()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_adec8bb375da6c9dd5ff625a3a8434122"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#adec8bb375da6c9dd5ff625a3a8434122">mlx::core::metal::reset_peak_memory</a></div><div class="ttdeci">void reset_peak_memory()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_aebddc0ae4bc73a1acebc4a844475593b"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#aebddc0ae4bc73a1acebc4a844475593b">mlx::core::metal::device_info</a></div><div class="ttdeci">const std::unordered_map&lt; std::string, std::variant&lt; std::string, size_t &gt; &gt; &amp; device_info()</div><div class="ttdoc">Get information about the GPU and system settings.</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->