docs update

This commit is contained in:
Awni Hannun
2024-07-11 15:32:08 -07:00
committed by CircleCI Docs
parent 85f70be0e6
commit 0ec311dff3
754 changed files with 24043 additions and 13535 deletions

View File

@@ -103,21 +103,23 @@ $(function() { codefold.init(0); });
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#aed047eec38b030ec5f29b9da54abf8cb"> 18</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#aed047eec38b030ec5f29b9da54abf8cb">binary_two</a>();</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#aa215e631e2680f04a591b88d91571719"> 19</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#aa215e631e2680f04a591b88d91571719">copy</a>();</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a39f43360d9e916fcf7e86c919b419554"> 20</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a39f43360d9e916fcf7e86c919b419554">fft</a>();</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a2d1c92ba6897c0a7a428fed63279b61f"> 21</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a2d1c92ba6897c0a7a428fed63279b61f">ternary</a>();</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a81c2cf124b0803098a54a78f8f6873a6"> 22</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a81c2cf124b0803098a54a78f8f6873a6">scan</a>();</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a4fe937c2c584fd646926057f31d54ca6"> 23</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a4fe937c2c584fd646926057f31d54ca6">softmax</a>();</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#ab77c9a9ecaeeab8c66b712862777c24b"> 24</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#ab77c9a9ecaeeab8c66b712862777c24b">sort</a>();</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#abb997ccbed4c9a9ccd975b1574755fca"> 25</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#abb997ccbed4c9a9ccd975b1574755fca">reduce</a>();</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#ac46fd23516a61fc56d997910e4144281"> 27</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#ac46fd23516a61fc56d997910e4144281">gemm</a>();</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a17764366deed71c160fb26091400a803"> 28</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a17764366deed71c160fb26091400a803">steel_gemm_fused</a>();</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a962272ca73d26c08f76f706a128fd71f"> 29</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a962272ca73d26c08f76f706a128fd71f">steel_gemm_masked</a>();</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#ad0dfd40ba7c09755711ceb731e57a5ac"> 30</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#ad0dfd40ba7c09755711ceb731e57a5ac">steel_gemm_splitk</a>();</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#ab1704e853394c725668c06752ebb5c24"> 31</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#ab1704e853394c725668c06752ebb5c24">conv</a>();</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a92f1e559b1121d545746f81ff86eaca1"> 32</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a92f1e559b1121d545746f81ff86eaca1">steel_conv</a>();</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a02edb6a90bdf30f4c9f0d6c25b0267b5"> 33</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a02edb6a90bdf30f4c9f0d6c25b0267b5">steel_conv_general</a>();</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>} <span class="comment">// namespace mlx::core::metal</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a8bd0072616087cd568c2c804e7114aa9"> 21</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a8bd0072616087cd568c2c804e7114aa9">hadamard</a>();</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a949f029424218ab5c5588563d2e076f5"> 22</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a949f029424218ab5c5588563d2e076f5">quantized</a>();</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a2d1c92ba6897c0a7a428fed63279b61f"> 23</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a2d1c92ba6897c0a7a428fed63279b61f">ternary</a>();</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a81c2cf124b0803098a54a78f8f6873a6"> 24</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a81c2cf124b0803098a54a78f8f6873a6">scan</a>();</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a4fe937c2c584fd646926057f31d54ca6"> 25</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a4fe937c2c584fd646926057f31d54ca6">softmax</a>();</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#ab77c9a9ecaeeab8c66b712862777c24b"> 26</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#ab77c9a9ecaeeab8c66b712862777c24b">sort</a>();</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#abb997ccbed4c9a9ccd975b1574755fca"> 27</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#abb997ccbed4c9a9ccd975b1574755fca">reduce</a>();</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#ac46fd23516a61fc56d997910e4144281"> 29</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#ac46fd23516a61fc56d997910e4144281">gemm</a>();</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a17764366deed71c160fb26091400a803"> 30</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a17764366deed71c160fb26091400a803">steel_gemm_fused</a>();</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a962272ca73d26c08f76f706a128fd71f"> 31</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a962272ca73d26c08f76f706a128fd71f">steel_gemm_masked</a>();</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#ad0dfd40ba7c09755711ceb731e57a5ac"> 32</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#ad0dfd40ba7c09755711ceb731e57a5ac">steel_gemm_splitk</a>();</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#ab1704e853394c725668c06752ebb5c24"> 33</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#ab1704e853394c725668c06752ebb5c24">conv</a>();</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a92f1e559b1121d545746f81ff86eaca1"> 34</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a92f1e559b1121d545746f81ff86eaca1">steel_conv</a>();</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="namespacemlx_1_1core_1_1metal.html#a02edb6a90bdf30f4c9f0d6c25b0267b5"> 35</a></span><span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_function" href="namespacemlx_1_1core_1_1metal.html#a02edb6a90bdf30f4c9f0d6c25b0267b5">steel_conv_general</a>();</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span>} <span class="comment">// namespace mlx::core::metal</span></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html">mlx::core::metal</a></div><div class="ttdef"><b>Definition</b> allocator.h:12</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a02edb6a90bdf30f4c9f0d6c25b0267b5"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a02edb6a90bdf30f4c9f0d6c25b0267b5">mlx::core::metal::steel_conv_general</a></div><div class="ttdeci">const char * steel_conv_general()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a11b593b07e9a33e5f78fe4695fb99ec9"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a11b593b07e9a33e5f78fe4695fb99ec9">mlx::core::metal::ternary_ops</a></div><div class="ttdeci">const char * ternary_ops()</div></div>
@@ -133,8 +135,10 @@ $(function() { codefold.init(0); });
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a529dc6c2d4a37ba544b66b2c3cd792cc"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a529dc6c2d4a37ba544b66b2c3cd792cc">mlx::core::metal::utils</a></div><div class="ttdeci">const char * utils()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a545de371fefba1feec2e70b7e9f4187c"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a545de371fefba1feec2e70b7e9f4187c">mlx::core::metal::gather</a></div><div class="ttdeci">const char * gather()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a81c2cf124b0803098a54a78f8f6873a6"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a81c2cf124b0803098a54a78f8f6873a6">mlx::core::metal::scan</a></div><div class="ttdeci">const char * scan()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a8bd0072616087cd568c2c804e7114aa9"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a8bd0072616087cd568c2c804e7114aa9">mlx::core::metal::hadamard</a></div><div class="ttdeci">const char * hadamard()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a8db7f9cc781d4bfb08423a401665f322"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a8db7f9cc781d4bfb08423a401665f322">mlx::core::metal::binary_ops</a></div><div class="ttdeci">const char * binary_ops()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a92f1e559b1121d545746f81ff86eaca1"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a92f1e559b1121d545746f81ff86eaca1">mlx::core::metal::steel_conv</a></div><div class="ttdeci">const char * steel_conv()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a949f029424218ab5c5588563d2e076f5"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a949f029424218ab5c5588563d2e076f5">mlx::core::metal::quantized</a></div><div class="ttdeci">const char * quantized()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_a962272ca73d26c08f76f706a128fd71f"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#a962272ca73d26c08f76f706a128fd71f">mlx::core::metal::steel_gemm_masked</a></div><div class="ttdeci">const char * steel_gemm_masked()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_aa215e631e2680f04a591b88d91571719"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#aa215e631e2680f04a591b88d91571719">mlx::core::metal::copy</a></div><div class="ttdeci">const char * copy()</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1metal_html_ab1704e853394c725668c06752ebb5c24"><div class="ttname"><a href="namespacemlx_1_1core_1_1metal.html#ab1704e853394c725668c06752ebb5c24">mlx::core::metal::conv</a></div><div class="ttdeci">const char * conv()</div></div>