mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 18:11:15 +08:00
203 lines
36 KiB
HTML
203 lines
36 KiB
HTML
![]() |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||
|
<meta name="generator" content="Doxygen 1.10.0"/>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
<title>MLX: mlx/backend/metal/kernels/steel/conv/params.h Source File</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>
|
||
|
<script type="text/javascript" src="clipboard.js"></script>
|
||
|
<script type="text/javascript" src="cookie.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 id="projectrow">
|
||
|
<td id="projectalign">
|
||
|
<div id="projectname">MLX
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.10.0 -->
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<script type="text/javascript" src="menudata.js"></script>
|
||
|
<script type="text/javascript" src="menu.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
$(function() {
|
||
|
initMenu('',true,false,'search.php','Search');
|
||
|
$(function() { init_search(); });
|
||
|
});
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<div id="main-nav"></div>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
$(function() { codefold.init(0); });
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<!-- 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">
|
||
|
<div id="MSearchResults">
|
||
|
<div class="SRPage">
|
||
|
<div id="SRIndex">
|
||
|
<div id="SRResults"></div>
|
||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="dir_938ab0ecf10b8b860ff766c820f665fd.html">mlx</a></li><li class="navelem"><a class="el" href="dir_1d446c9bd3c99228254c9484e0bc5c06.html">backend</a></li><li class="navelem"><a class="el" href="dir_d0c977ea65824390717cdb7efc36c157.html">metal</a></li><li class="navelem"><a class="el" href="dir_70a37effa88bcbd6b791977fa1e64356.html">kernels</a></li><li class="navelem"><a class="el" href="dir_76215a6c54e2b67053e723fc2395583c.html">steel</a></li><li class="navelem"><a class="el" href="dir_df9494e83ef22ae6150a0e080d9709ed.html">conv</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="headertitle"><div class="title">params.h</div></div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<a href="conv_2params_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">// Copyright © 2024 Apple Inc.</span></div>
|
||
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
|
||
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#pragma once</span></div>
|
||
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div>
|
||
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="keyword">template</span> <<span class="keywordtype">int</span> NDIM></div>
|
||
|
<div class="foldopen" id="foldopen00006" data-start="{" data-end="};">
|
||
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html"> 6</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_m_l_x_conv_params.html">MLXConvParams</a> {</div>
|
||
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#ae6b7054dc3cffa8e6aedeb29fa7da932"> 7</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#ae6b7054dc3cffa8e6aedeb29fa7da932">N</a>; <span class="comment">// Batch size</span></div>
|
||
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#a0953063962ac3b5a027243289e72fbb2"> 8</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#a0953063962ac3b5a027243289e72fbb2">C</a>; <span class="comment">// In channels</span></div>
|
||
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#ad55ff586d30072d8154865f9dfe92d97"> 9</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#ad55ff586d30072d8154865f9dfe92d97">O</a>; <span class="comment">// Out channels</span></div>
|
||
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#a72e1c3b4da0f70622cf18036bbf97fe6"> 10</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#a72e1c3b4da0f70622cf18036bbf97fe6">iS</a>[NDIM]; <span class="comment">// Input spatial dim</span></div>
|
||
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#aba2074189644b1b59567d018409277a9"> 11</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#aba2074189644b1b59567d018409277a9">wS</a>[NDIM]; <span class="comment">// Weight spatial dim</span></div>
|
||
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#a19ccb9fecfccdc18b6a7f0cc43adbc6e"> 12</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#a19ccb9fecfccdc18b6a7f0cc43adbc6e">oS</a>[NDIM]; <span class="comment">// Output spatial dim</span></div>
|
||
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#a862191e8ab1bc8a47aa1396b36d46058"> 13</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#a862191e8ab1bc8a47aa1396b36d46058">str</a>[NDIM]; <span class="comment">// Kernel strides</span></div>
|
||
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#ae84a9afb3a95b57e0b763bb0ebda0753"> 14</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#ae84a9afb3a95b57e0b763bb0ebda0753">pad</a>[NDIM]; <span class="comment">// Input padding</span></div>
|
||
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#a7611db8f1621c7e09fc685ed44073b14"> 15</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#a7611db8f1621c7e09fc685ed44073b14">kdil</a>[NDIM]; <span class="comment">// Kernel dilation</span></div>
|
||
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#af900fdb4c4d4ea35eed02940dee8d4d1"> 16</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#af900fdb4c4d4ea35eed02940dee8d4d1">idil</a>[NDIM]; <span class="comment">// Input dilation</span></div>
|
||
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#ab25eade6573784985dbea1216f9068cf"> 17</a></span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#ab25eade6573784985dbea1216f9068cf">in_strides</a>[NDIM + 2]; <span class="comment">// In strides</span></div>
|
||
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#a887fee0da1494d038526fb0f59faff45"> 18</a></span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#a887fee0da1494d038526fb0f59faff45">wt_strides</a>[NDIM + 2]; <span class="comment">// Wt strides</span></div>
|
||
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#a0c8b2cfc26859a2af9d39a2cfcc3aea6"> 19</a></span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#a0c8b2cfc26859a2af9d39a2cfcc3aea6">out_strides</a>[NDIM + 2]; <span class="comment">// Out strides</span></div>
|
||
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#af7a5590ac0974c7841c7f8b9fda0cbed"> 20</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#af7a5590ac0974c7841c7f8b9fda0cbed">groups</a>; <span class="comment">// Input channel groups</span></div>
|
||
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="struct_m_l_x_conv_params.html#a8b30cda15eda20f84f12db868f21d0ef"> 21</a></span> <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="struct_m_l_x_conv_params.html#a8b30cda15eda20f84f12db868f21d0ef">flip</a>;</div>
|
||
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span>};</div>
|
||
|
</div>
|
||
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
|
||
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacemlx.html">mlx</a> {</div>
|
||
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="keyword">namespace </span>steel {</div>
|
||
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
|
||
|
<div class="foldopen" id="foldopen00027" data-start="{" data-end="};">
|
||
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html"> 27</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html">ImplicitGemmConv2DParams</a> {</div>
|
||
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a2117fc93662d5177c8f3e7c2dbb9e2db"> 28</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a2117fc93662d5177c8f3e7c2dbb9e2db">M</a>;</div>
|
||
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a213f5ea4018120d8b61ab82754aaba83"> 29</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a213f5ea4018120d8b61ab82754aaba83">N</a>;</div>
|
||
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#ae1b0386e4cd1a7018f4b654c4e9493ba"> 30</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#ae1b0386e4cd1a7018f4b654c4e9493ba">K</a>;</div>
|
||
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
||
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a8b50863e4e2d3481c154be6c3629bf51"> 32</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a8b50863e4e2d3481c154be6c3629bf51">gemm_k_iterations</a>;</div>
|
||
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
|
||
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#acf168c72f4a86b72b8f5f386f07c9d8c"> 34</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#acf168c72f4a86b72b8f5f386f07c9d8c">inp_jump_w</a>;</div>
|
||
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a03685a4066cdb11ffb647408e2c5b122"> 35</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a03685a4066cdb11ffb647408e2c5b122">inp_jump_h</a>;</div>
|
||
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a78d30e843d65d1829623afb0b607f0a5"> 36</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a78d30e843d65d1829623afb0b607f0a5">inp_jump_c</a>;</div>
|
||
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
|
||
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a76f9f381e7187a993d65128b9b681b2d"> 38</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a76f9f381e7187a993d65128b9b681b2d">tiles_n</a>;</div>
|
||
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a4c5e33edf70be99cf93ac5723c12eb24"> 39</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a4c5e33edf70be99cf93ac5723c12eb24">tiles_m</a>;</div>
|
||
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#ad0713159d4f710cd9a066596593d8840"> 40</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#ad0713159d4f710cd9a066596593d8840">swizzle_log</a>;</div>
|
||
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span>};</div>
|
||
|
</div>
|
||
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
|
||
|
<div class="foldopen" id="foldopen00043" data-start="{" data-end="};">
|
||
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html"> 43</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html">Conv2DGeneralJumpParams</a> {</div>
|
||
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a198ba0c2740ab4ded99345edf58917a7"> 44</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a198ba0c2740ab4ded99345edf58917a7">f_wgt_jump_h</a>;</div>
|
||
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a568435a612574ab19a051a48055d4cfc"> 45</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a568435a612574ab19a051a48055d4cfc">f_wgt_jump_w</a>;</div>
|
||
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
|
||
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a78d48b55cf182f000abece0e5e7fadcb"> 47</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a78d48b55cf182f000abece0e5e7fadcb">f_out_jump_h</a>;</div>
|
||
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a0fd755691482cb03ea4534b4a556c197"> 48</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a0fd755691482cb03ea4534b4a556c197">f_out_jump_w</a>;</div>
|
||
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
|
||
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a879cc9757f59605a87d936ec4156040d"> 50</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a879cc9757f59605a87d936ec4156040d">adj_out_h</a>;</div>
|
||
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#ab971bf879079895189331fbeaf33c211"> 51</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#ab971bf879079895189331fbeaf33c211">adj_out_w</a>;</div>
|
||
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#aed0ffd63fbc85fd5d5c4cc7b43f68363"> 52</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#aed0ffd63fbc85fd5d5c4cc7b43f68363">adj_out_hw</a>;</div>
|
||
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a5bfca3bc43055013d28430cb1f023756"> 53</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a5bfca3bc43055013d28430cb1f023756">adj_implicit_m</a>;</div>
|
||
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span>};</div>
|
||
|
</div>
|
||
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
|
||
|
<div class="foldopen" id="foldopen00056" data-start="{" data-end="};">
|
||
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_base_info.html"> 56</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structmlx_1_1steel_1_1_conv2_d_general_base_info.html">Conv2DGeneralBaseInfo</a> {</div>
|
||
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_base_info.html#a1d88677c4617f4bdae157e40a64a407b"> 57</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_conv2_d_general_base_info.html#a1d88677c4617f4bdae157e40a64a407b">weight_base</a>;</div>
|
||
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="structmlx_1_1steel_1_1_conv2_d_general_base_info.html#aff119a4325b97fdbd745d8fcaed9f041"> 58</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structmlx_1_1steel_1_1_conv2_d_general_base_info.html#aff119a4325b97fdbd745d8fcaed9f041">weight_size</a>;</div>
|
||
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span>};</div>
|
||
|
</div>
|
||
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
|
||
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span>} <span class="comment">// namespace steel</span></div>
|
||
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span>} <span class="comment">// namespace mlx</span></div>
|
||
|
<div class="ttc" id="anamespacemlx_html"><div class="ttname"><a href="namespacemlx.html">mlx</a></div><div class="ttdef"><b>Definition</b> allocator.h:7</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html"><div class="ttname"><a href="struct_m_l_x_conv_params.html">MLXConvParams</a></div><div class="ttdef"><b>Definition</b> params.h:6</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_a0953063962ac3b5a027243289e72fbb2"><div class="ttname"><a href="struct_m_l_x_conv_params.html#a0953063962ac3b5a027243289e72fbb2">MLXConvParams::C</a></div><div class="ttdeci">const int C</div><div class="ttdef"><b>Definition</b> params.h:8</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_a0c8b2cfc26859a2af9d39a2cfcc3aea6"><div class="ttname"><a href="struct_m_l_x_conv_params.html#a0c8b2cfc26859a2af9d39a2cfcc3aea6">MLXConvParams::out_strides</a></div><div class="ttdeci">const size_t out_strides[NDIM+2]</div><div class="ttdef"><b>Definition</b> params.h:19</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_a19ccb9fecfccdc18b6a7f0cc43adbc6e"><div class="ttname"><a href="struct_m_l_x_conv_params.html#a19ccb9fecfccdc18b6a7f0cc43adbc6e">MLXConvParams::oS</a></div><div class="ttdeci">const int oS[NDIM]</div><div class="ttdef"><b>Definition</b> params.h:12</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_a72e1c3b4da0f70622cf18036bbf97fe6"><div class="ttname"><a href="struct_m_l_x_conv_params.html#a72e1c3b4da0f70622cf18036bbf97fe6">MLXConvParams::iS</a></div><div class="ttdeci">const int iS[NDIM]</div><div class="ttdef"><b>Definition</b> params.h:10</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_a7611db8f1621c7e09fc685ed44073b14"><div class="ttname"><a href="struct_m_l_x_conv_params.html#a7611db8f1621c7e09fc685ed44073b14">MLXConvParams::kdil</a></div><div class="ttdeci">const int kdil[NDIM]</div><div class="ttdef"><b>Definition</b> params.h:15</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_a862191e8ab1bc8a47aa1396b36d46058"><div class="ttname"><a href="struct_m_l_x_conv_params.html#a862191e8ab1bc8a47aa1396b36d46058">MLXConvParams::str</a></div><div class="ttdeci">const int str[NDIM]</div><div class="ttdef"><b>Definition</b> params.h:13</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_a887fee0da1494d038526fb0f59faff45"><div class="ttname"><a href="struct_m_l_x_conv_params.html#a887fee0da1494d038526fb0f59faff45">MLXConvParams::wt_strides</a></div><div class="ttdeci">const size_t wt_strides[NDIM+2]</div><div class="ttdef"><b>Definition</b> params.h:18</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_a8b30cda15eda20f84f12db868f21d0ef"><div class="ttname"><a href="struct_m_l_x_conv_params.html#a8b30cda15eda20f84f12db868f21d0ef">MLXConvParams::flip</a></div><div class="ttdeci">const bool flip</div><div class="ttdef"><b>Definition</b> params.h:21</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_ab25eade6573784985dbea1216f9068cf"><div class="ttname"><a href="struct_m_l_x_conv_params.html#ab25eade6573784985dbea1216f9068cf">MLXConvParams::in_strides</a></div><div class="ttdeci">const size_t in_strides[NDIM+2]</div><div class="ttdef"><b>Definition</b> params.h:17</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_aba2074189644b1b59567d018409277a9"><div class="ttname"><a href="struct_m_l_x_conv_params.html#aba2074189644b1b59567d018409277a9">MLXConvParams::wS</a></div><div class="ttdeci">const int wS[NDIM]</div><div class="ttdef"><b>Definition</b> params.h:11</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_ad55ff586d30072d8154865f9dfe92d97"><div class="ttname"><a href="struct_m_l_x_conv_params.html#ad55ff586d30072d8154865f9dfe92d97">MLXConvParams::O</a></div><div class="ttdeci">const int O</div><div class="ttdef"><b>Definition</b> params.h:9</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_ae6b7054dc3cffa8e6aedeb29fa7da932"><div class="ttname"><a href="struct_m_l_x_conv_params.html#ae6b7054dc3cffa8e6aedeb29fa7da932">MLXConvParams::N</a></div><div class="ttdeci">const int N</div><div class="ttdef"><b>Definition</b> params.h:7</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_ae84a9afb3a95b57e0b763bb0ebda0753"><div class="ttname"><a href="struct_m_l_x_conv_params.html#ae84a9afb3a95b57e0b763bb0ebda0753">MLXConvParams::pad</a></div><div class="ttdeci">const int pad[NDIM]</div><div class="ttdef"><b>Definition</b> params.h:14</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_af7a5590ac0974c7841c7f8b9fda0cbed"><div class="ttname"><a href="struct_m_l_x_conv_params.html#af7a5590ac0974c7841c7f8b9fda0cbed">MLXConvParams::groups</a></div><div class="ttdeci">const int groups</div><div class="ttdef"><b>Definition</b> params.h:20</div></div>
|
||
|
<div class="ttc" id="astruct_m_l_x_conv_params_html_af900fdb4c4d4ea35eed02940dee8d4d1"><div class="ttname"><a href="struct_m_l_x_conv_params.html#af900fdb4c4d4ea35eed02940dee8d4d1">MLXConvParams::idil</a></div><div class="ttdeci">const int idil[NDIM]</div><div class="ttdef"><b>Definition</b> params.h:16</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_base_info_html"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_base_info.html">mlx::steel::Conv2DGeneralBaseInfo</a></div><div class="ttdef"><b>Definition</b> params.h:56</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_base_info_html_a1d88677c4617f4bdae157e40a64a407b"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_base_info.html#a1d88677c4617f4bdae157e40a64a407b">mlx::steel::Conv2DGeneralBaseInfo::weight_base</a></div><div class="ttdeci">int weight_base</div><div class="ttdef"><b>Definition</b> params.h:57</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_base_info_html_aff119a4325b97fdbd745d8fcaed9f041"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_base_info.html#aff119a4325b97fdbd745d8fcaed9f041">mlx::steel::Conv2DGeneralBaseInfo::weight_size</a></div><div class="ttdeci">int weight_size</div><div class="ttdef"><b>Definition</b> params.h:58</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_jump_params_html"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html">mlx::steel::Conv2DGeneralJumpParams</a></div><div class="ttdef"><b>Definition</b> params.h:43</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_jump_params_html_a0fd755691482cb03ea4534b4a556c197"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a0fd755691482cb03ea4534b4a556c197">mlx::steel::Conv2DGeneralJumpParams::f_out_jump_w</a></div><div class="ttdeci">const int f_out_jump_w</div><div class="ttdef"><b>Definition</b> params.h:48</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_jump_params_html_a198ba0c2740ab4ded99345edf58917a7"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a198ba0c2740ab4ded99345edf58917a7">mlx::steel::Conv2DGeneralJumpParams::f_wgt_jump_h</a></div><div class="ttdeci">const int f_wgt_jump_h</div><div class="ttdef"><b>Definition</b> params.h:44</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_jump_params_html_a568435a612574ab19a051a48055d4cfc"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a568435a612574ab19a051a48055d4cfc">mlx::steel::Conv2DGeneralJumpParams::f_wgt_jump_w</a></div><div class="ttdeci">const int f_wgt_jump_w</div><div class="ttdef"><b>Definition</b> params.h:45</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_jump_params_html_a5bfca3bc43055013d28430cb1f023756"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a5bfca3bc43055013d28430cb1f023756">mlx::steel::Conv2DGeneralJumpParams::adj_implicit_m</a></div><div class="ttdeci">const int adj_implicit_m</div><div class="ttdef"><b>Definition</b> params.h:53</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_jump_params_html_a78d48b55cf182f000abece0e5e7fadcb"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a78d48b55cf182f000abece0e5e7fadcb">mlx::steel::Conv2DGeneralJumpParams::f_out_jump_h</a></div><div class="ttdeci">const int f_out_jump_h</div><div class="ttdef"><b>Definition</b> params.h:47</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_jump_params_html_a879cc9757f59605a87d936ec4156040d"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#a879cc9757f59605a87d936ec4156040d">mlx::steel::Conv2DGeneralJumpParams::adj_out_h</a></div><div class="ttdeci">const int adj_out_h</div><div class="ttdef"><b>Definition</b> params.h:50</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_jump_params_html_ab971bf879079895189331fbeaf33c211"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#ab971bf879079895189331fbeaf33c211">mlx::steel::Conv2DGeneralJumpParams::adj_out_w</a></div><div class="ttdeci">const int adj_out_w</div><div class="ttdef"><b>Definition</b> params.h:51</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_conv2_d_general_jump_params_html_aed0ffd63fbc85fd5d5c4cc7b43f68363"><div class="ttname"><a href="structmlx_1_1steel_1_1_conv2_d_general_jump_params.html#aed0ffd63fbc85fd5d5c4cc7b43f68363">mlx::steel::Conv2DGeneralJumpParams::adj_out_hw</a></div><div class="ttdeci">const int adj_out_hw</div><div class="ttdef"><b>Definition</b> params.h:52</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_implicit_gemm_conv2_d_params_html"><div class="ttname"><a href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html">mlx::steel::ImplicitGemmConv2DParams</a></div><div class="ttdef"><b>Definition</b> params.h:27</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_implicit_gemm_conv2_d_params_html_a03685a4066cdb11ffb647408e2c5b122"><div class="ttname"><a href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a03685a4066cdb11ffb647408e2c5b122">mlx::steel::ImplicitGemmConv2DParams::inp_jump_h</a></div><div class="ttdeci">const int inp_jump_h</div><div class="ttdef"><b>Definition</b> params.h:35</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_implicit_gemm_conv2_d_params_html_a2117fc93662d5177c8f3e7c2dbb9e2db"><div class="ttname"><a href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a2117fc93662d5177c8f3e7c2dbb9e2db">mlx::steel::ImplicitGemmConv2DParams::M</a></div><div class="ttdeci">const int M</div><div class="ttdef"><b>Definition</b> params.h:28</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_implicit_gemm_conv2_d_params_html_a213f5ea4018120d8b61ab82754aaba83"><div class="ttname"><a href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a213f5ea4018120d8b61ab82754aaba83">mlx::steel::ImplicitGemmConv2DParams::N</a></div><div class="ttdeci">const int N</div><div class="ttdef"><b>Definition</b> params.h:29</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_implicit_gemm_conv2_d_params_html_a4c5e33edf70be99cf93ac5723c12eb24"><div class="ttname"><a href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a4c5e33edf70be99cf93ac5723c12eb24">mlx::steel::ImplicitGemmConv2DParams::tiles_m</a></div><div class="ttdeci">const int tiles_m</div><div class="ttdef"><b>Definition</b> params.h:39</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_implicit_gemm_conv2_d_params_html_a76f9f381e7187a993d65128b9b681b2d"><div class="ttname"><a href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a76f9f381e7187a993d65128b9b681b2d">mlx::steel::ImplicitGemmConv2DParams::tiles_n</a></div><div class="ttdeci">const int tiles_n</div><div class="ttdef"><b>Definition</b> params.h:38</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_implicit_gemm_conv2_d_params_html_a78d30e843d65d1829623afb0b607f0a5"><div class="ttname"><a href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a78d30e843d65d1829623afb0b607f0a5">mlx::steel::ImplicitGemmConv2DParams::inp_jump_c</a></div><div class="ttdeci">const int inp_jump_c</div><div class="ttdef"><b>Definition</b> params.h:36</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_implicit_gemm_conv2_d_params_html_a8b50863e4e2d3481c154be6c3629bf51"><div class="ttname"><a href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#a8b50863e4e2d3481c154be6c3629bf51">mlx::steel::ImplicitGemmConv2DParams::gemm_k_iterations</a></div><div class="ttdeci">const int gemm_k_iterations</div><div class="ttdef"><b>Definition</b> params.h:32</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_implicit_gemm_conv2_d_params_html_acf168c72f4a86b72b8f5f386f07c9d8c"><div class="ttname"><a href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#acf168c72f4a86b72b8f5f386f07c9d8c">mlx::steel::ImplicitGemmConv2DParams::inp_jump_w</a></div><div class="ttdeci">const int inp_jump_w</div><div class="ttdef"><b>Definition</b> params.h:34</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_implicit_gemm_conv2_d_params_html_ad0713159d4f710cd9a066596593d8840"><div class="ttname"><a href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#ad0713159d4f710cd9a066596593d8840">mlx::steel::ImplicitGemmConv2DParams::swizzle_log</a></div><div class="ttdeci">const int swizzle_log</div><div class="ttdef"><b>Definition</b> params.h:40</div></div>
|
||
|
<div class="ttc" id="astructmlx_1_1steel_1_1_implicit_gemm_conv2_d_params_html_ae1b0386e4cd1a7018f4b654c4e9493ba"><div class="ttname"><a href="structmlx_1_1steel_1_1_implicit_gemm_conv2_d_params.html#ae1b0386e4cd1a7018f4b654c4e9493ba">mlx::steel::ImplicitGemmConv2DParams::K</a></div><div class="ttdeci">const int K</div><div class="ttdef"><b>Definition</b> params.h:30</div></div>
|
||
|
</div><!-- fragment --></div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|