This commit is contained in:
CircleCI Docs
2025-02-14 21:44:39 +00:00
parent 3bac79c1d6
commit 5a14f96fb9
748 changed files with 24254 additions and 13906 deletions

View File

@@ -379,30 +379,30 @@ $(function(){initNavTree('neon__fp16__simd_8h_source.html',''); initResizable(tr
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span>} <span class="comment">// namespace mlx::core::simd</span></div>
<div class="ttc" id="abase__simd_8h_html"><div class="ttname"><a href="base__simd_8h.html">base_simd.h</a></div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html">mlx::core::simd</a></div><div class="ttdef"><b>Definition</b> accelerate_fp16_simd.h:9</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a05f4422a037c3bef343fb11f71363b65"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a05f4422a037c3bef343fb11f71363b65">mlx::core::simd::isnan</a></div><div class="ttdeci">Simd&lt; bool, N &gt; isnan(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:141</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a05f4422a037c3bef343fb11f71363b65"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a05f4422a037c3bef343fb11f71363b65">mlx::core::simd::isnan</a></div><div class="ttdeci">Simd&lt; bool, N &gt; isnan(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:146</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a12b1553495a0c99d52472bd2a6626ddb"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a12b1553495a0c99d52472bd2a6626ddb">mlx::core::simd::N</a></div><div class="ttdeci">constexpr int N</div><div class="ttdef"><b>Definition</b> neon_fp16_simd.h:9</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a1996e77a8c3c24b1ba706113ed9028c4"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a1996e77a8c3c24b1ba706113ed9028c4">mlx::core::simd::minimum</a></div><div class="ttdeci">Simd&lt; T, N &gt; minimum(Simd&lt; T, N &gt; a, Simd&lt; T, N &gt; b)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:210</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a271cedfc48efc69db43813e8c424bf7c"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a271cedfc48efc69db43813e8c424bf7c">mlx::core::simd::prod</a></div><div class="ttdeci">T prod(Simd&lt; T, N &gt; x)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:292</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a1996e77a8c3c24b1ba706113ed9028c4"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a1996e77a8c3c24b1ba706113ed9028c4">mlx::core::simd::minimum</a></div><div class="ttdeci">Simd&lt; T, N &gt; minimum(Simd&lt; T, N &gt; a, Simd&lt; T, N &gt; b)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:215</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a271cedfc48efc69db43813e8c424bf7c"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a271cedfc48efc69db43813e8c424bf7c">mlx::core::simd::prod</a></div><div class="ttdeci">T prod(Simd&lt; T, N &gt; x)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:297</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a400d89d040f43d471b306a8e8bdb3974"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a400d89d040f43d471b306a8e8bdb3974">mlx::core::simd::rint</a></div><div class="ttdeci">Simd&lt; T, N &gt; rint(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:127</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a4041676517d96870293e5448c7e2b5a4"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a4041676517d96870293e5448c7e2b5a4">mlx::core::simd::load</a></div><div class="ttdeci">Simd&lt; T, N &gt; load(const T *x)</div><div class="ttdef"><b>Definition</b> base_simd.h:27</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a4971bfe7f9f9319f859b3040c18f39ca"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a4971bfe7f9f9319f859b3040c18f39ca">mlx::core::simd::operator!=</a></div><div class="ttdeci">Simd&lt; bool, N &gt; operator!=(Simd&lt; T, N &gt; a, U b)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:196</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a4041676517d96870293e5448c7e2b5a4"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a4041676517d96870293e5448c7e2b5a4">mlx::core::simd::load</a></div><div class="ttdeci">Simd&lt; T, N &gt; load(const T *x)</div><div class="ttdef"><b>Definition</b> base_simd.h:28</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a4971bfe7f9f9319f859b3040c18f39ca"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a4971bfe7f9f9319f859b3040c18f39ca">mlx::core::simd::operator!=</a></div><div class="ttdeci">Simd&lt; bool, N &gt; operator!=(Simd&lt; T, N &gt; a, U b)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:201</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a4f3cc8b2493586e83fd65640df3b60ad"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a4f3cc8b2493586e83fd65640df3b60ad">mlx::core::simd::abs</a></div><div class="ttdeci">Simd&lt; T, N &gt; abs(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:112</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a53b547b886918dc13d4da88eeb8811d2"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a53b547b886918dc13d4da88eeb8811d2">mlx::core::simd::sum</a></div><div class="ttdeci">T sum(Simd&lt; T, N &gt; x)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:279</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a6fcea259041cecfd042d0c4e6afc4b8f"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a6fcea259041cecfd042d0c4e6afc4b8f">mlx::core::simd::max</a></div><div class="ttdeci">T max(Simd&lt; T, N &gt; x)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:283</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a745e05627c77152ec13d8d90c19cc9bf"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a745e05627c77152ec13d8d90c19cc9bf">mlx::core::simd::operator!</a></div><div class="ttdeci">Simd&lt; bool, N &gt; operator!(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:147</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a7f7a298284e71ddbd2ba0bb6d98b0d16"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a7f7a298284e71ddbd2ba0bb6d98b0d16">mlx::core::simd::maximum</a></div><div class="ttdeci">Simd&lt; T, N &gt; maximum(Simd&lt; T, N &gt; a, Simd&lt; T, N &gt; b)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:204</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a85c23e7ed6fe0ec6dfe4c61f7412a362"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a85c23e7ed6fe0ec6dfe4c61f7412a362">mlx::core::simd::operator&amp;&amp;</a></div><div class="ttdeci">Simd&lt; T, N &gt; operator&amp;&amp;(Simd&lt; T, N &gt; x, U y)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:174</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a53b547b886918dc13d4da88eeb8811d2"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a53b547b886918dc13d4da88eeb8811d2">mlx::core::simd::sum</a></div><div class="ttdeci">T sum(Simd&lt; T, N &gt; x)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:284</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a6fcea259041cecfd042d0c4e6afc4b8f"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a6fcea259041cecfd042d0c4e6afc4b8f">mlx::core::simd::max</a></div><div class="ttdeci">T max(Simd&lt; T, N &gt; x)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:288</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a745e05627c77152ec13d8d90c19cc9bf"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a745e05627c77152ec13d8d90c19cc9bf">mlx::core::simd::operator!</a></div><div class="ttdeci">Simd&lt; bool, N &gt; operator!(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:152</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a7f7a298284e71ddbd2ba0bb6d98b0d16"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a7f7a298284e71ddbd2ba0bb6d98b0d16">mlx::core::simd::maximum</a></div><div class="ttdeci">Simd&lt; T, N &gt; maximum(Simd&lt; T, N &gt; a, Simd&lt; T, N &gt; b)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:209</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a85c23e7ed6fe0ec6dfe4c61f7412a362"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a85c23e7ed6fe0ec6dfe4c61f7412a362">mlx::core::simd::operator&amp;&amp;</a></div><div class="ttdeci">Simd&lt; T, N &gt; operator&amp;&amp;(Simd&lt; T, N &gt; x, U y)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:179</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a8e22c484298d9af10b6604c835e52052"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a8e22c484298d9af10b6604c835e52052">mlx::core::simd::floor</a></div><div class="ttdeci">Simd&lt; T, N &gt; floor(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:113</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a9ddc7f119cc1dc04372ec1adcaf55f70"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a9ddc7f119cc1dc04372ec1adcaf55f70">mlx::core::simd::fma</a></div><div class="ttdeci">Simd&lt; T, N &gt; fma(Simd&lt; T, N &gt; x, Simd&lt; T, N &gt; y, U z)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:264</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_ab380b8f73672727a38ea0931e731fe4a"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#ab380b8f73672727a38ea0931e731fe4a">mlx::core::simd::operator||</a></div><div class="ttdeci">Simd&lt; T, N &gt; operator||(Simd&lt; T, N &gt; x, U y)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:175</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_acd4196d0c66204cfae70b064c305e146"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#acd4196d0c66204cfae70b064c305e146">mlx::core::simd::min</a></div><div class="ttdeci">T min(Simd&lt; T, N &gt; x)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:287</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_a9ddc7f119cc1dc04372ec1adcaf55f70"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#a9ddc7f119cc1dc04372ec1adcaf55f70">mlx::core::simd::fma</a></div><div class="ttdeci">Simd&lt; T, N &gt; fma(Simd&lt; T, N &gt; x, Simd&lt; T, N &gt; y, U z)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:269</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_ab380b8f73672727a38ea0931e731fe4a"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#ab380b8f73672727a38ea0931e731fe4a">mlx::core::simd::operator||</a></div><div class="ttdeci">Simd&lt; T, N &gt; operator||(Simd&lt; T, N &gt; x, U y)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:180</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_acd4196d0c66204cfae70b064c305e146"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#acd4196d0c66204cfae70b064c305e146">mlx::core::simd::min</a></div><div class="ttdeci">T min(Simd&lt; T, N &gt; x)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:292</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_ae1d5460c58c507a0104d8dfa90343f12"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#ae1d5460c58c507a0104d8dfa90343f12">mlx::core::simd::ceil</a></div><div class="ttdeci">Simd&lt; T, N &gt; ceil(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:120</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_ae344abefc91c7d9c0a9506c868a84d61"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#ae344abefc91c7d9c0a9506c868a84d61">mlx::core::simd::recip</a></div><div class="ttdeci">Simd&lt; T, N &gt; recip(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:131</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_ae39b8e1d1fff94947406eeb8ec6e0414"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#ae39b8e1d1fff94947406eeb8ec6e0414">mlx::core::simd::sqrt</a></div><div class="ttdeci">Simd&lt; T, N &gt; sqrt(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:129</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_ae4be4d88cd8eba7a8c1784fd53b86edb"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#ae4be4d88cd8eba7a8c1784fd53b86edb">mlx::core::simd::clamp</a></div><div class="ttdeci">Simd&lt; T, N &gt; clamp(Simd&lt; T, N &gt; v, Simd&lt; T, N &gt; min, Simd&lt; T, N &gt; max)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:259</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_ae4be4d88cd8eba7a8c1784fd53b86edb"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#ae4be4d88cd8eba7a8c1784fd53b86edb">mlx::core::simd::clamp</a></div><div class="ttdeci">Simd&lt; T, N &gt; clamp(Simd&lt; T, N &gt; v, Simd&lt; T, N &gt; min, Simd&lt; T, N &gt; max)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:264</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_aea75ddf8c696efc2e5e924667ed48e70"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#aea75ddf8c696efc2e5e924667ed48e70">mlx::core::simd::rsqrt</a></div><div class="ttdeci">Simd&lt; T, N &gt; rsqrt(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:130</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_af5be79b8dada8f8e91ae7c03c16606ec"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#af5be79b8dada8f8e91ae7c03c16606ec">mlx::core::simd::operator-</a></div><div class="ttdeci">Simd&lt; T, N &gt; operator-(Simd&lt; T, N &gt; v)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:136</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_afb3bcbd8d8b34128cd0c8eb677a170ef"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#afb3bcbd8d8b34128cd0c8eb677a170ef">mlx::core::simd::select</a></div><div class="ttdeci">Simd&lt; T1, N &gt; select(Simd&lt; MaskT, N &gt; mask, Simd&lt; T1, N &gt; x, Simd&lt; T2, N &gt; y)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:231</div></div>
<div class="ttc" id="anamespacemlx_1_1core_1_1simd_html_afb3bcbd8d8b34128cd0c8eb677a170ef"><div class="ttname"><a href="namespacemlx_1_1core_1_1simd.html#afb3bcbd8d8b34128cd0c8eb677a170ef">mlx::core::simd::select</a></div><div class="ttdeci">Simd&lt; T1, N &gt; select(Simd&lt; MaskT, N &gt; mask, Simd&lt; T1, N &gt; x, Simd&lt; T2, N &gt; y)</div><div class="ttdef"><b>Definition</b> accelerate_simd.h:236</div></div>
<div class="ttc" id="anamespacemlx_1_1core_html_afbd2769c30e721afc85a7b9fb55b8e52"><div class="ttname"><a href="namespacemlx_1_1core.html#afbd2769c30e721afc85a7b9fb55b8e52">mlx::core::float16_t</a></div><div class="ttdeci">struct _MLX_Float16 float16_t</div><div class="ttdef"><b>Definition</b> half_types.h:17</div></div>
<div class="ttc" id="aneon__fp16__simd_8h_html_a63ba6e115ef14e134081310f7d4579a5"><div class="ttname"><a href="neon__fp16__simd_8h.html#a63ba6e115ef14e134081310f7d4579a5">DEFINE_NEON_BINARY_OP</a></div><div class="ttdeci">#define DEFINE_NEON_BINARY_OP(name, op)</div><div class="ttdef"><b>Definition</b> neon_fp16_simd.h:68</div></div>
<div class="ttc" id="aneon__fp16__simd_8h_html_a9fcd94c7369a6b4437f9c310a805c79d"><div class="ttname"><a href="neon__fp16__simd_8h.html#a9fcd94c7369a6b4437f9c310a805c79d">DEFINE_NEON_COMPARISON</a></div><div class="ttdeci">#define DEFINE_NEON_COMPARISON(Op, op)</div><div class="ttdef"><b>Definition</b> neon_fp16_simd.h:97</div></div>