1#ifndef ae2fVK_AnnMlpPool_h
3#if __ae2f_MACRO_GENERATED
4#define ae2fVK_AnnMlpPool_h
7#if !ae2f_MAC_BUILD || !__ae2f_MACRO_GENERATED
12#include <ae2fVK/Ann/Mlp.h>
13#include <ae2fVK/Ann/MlpPool.auto.h>
14#include <ae2fVK/Ann/SlpPool.auto.h>
16ae2f_MAC() _ae2fVK_AnnMlpDescPoolCmdMkPredict_imp(
17 ae2fVK_AnnMlpDescPoolCmdMk_t v_cmdmk,
21 const ae2fVK_AnnSlpDescPool i_pool,
23 ae2fVK_AnnMlpDescPoolCmd r_cmd,
25 const VkCommandBuffer i_vkcmdbuf
33 , (iv_mlp).m_vkpipelayout[ae2fVK_eAnnSlpPipeLayouts_kPredict]
34 , VK_SHADER_STAGE_COMPUTE_BIT
37 , &(iv_mlp).m_mlp.m_depth
42 , (iv_mlp).m_vkpipelayout[ae2fVK_eAnnSlpPipeLayouts_kPredict]
43 , VK_SHADER_STAGE_COMPUTE_BIT
46 , &(iv_mlp).m_mlp.m_weightc
51 , (iv_mlp).m_mlp.m_outc
52 , (iv_mlp).m_mlp.m_outc
68 +
sizeof(uint32_t) * (iv_mlp).m_mlp.m_depth
69 +
sizeof(ae2f_float_t) * ((iv_mlp).m_mlp.m_outc) * ((iv_mlp).m_mlp.m_depth * 2 + 1)
70 +
sizeof(ae2f_float_t) * (iv_mlp).m_mlp.m_outc * (iv_mlp).m_mlp.m_outc * (iv_mlp).m_mlp.m_depth
71 , 0,
sizeof(ae2f_float_t) * (iv_mlp).m_mlp.m_outc * 2
73 , ae2fVK_eAnnMlpDescLayouts_ONLY
74 , ae2fVK_eAnnMlpPipes_kPredict
75 , ae2fVK_eAnnMlpPipeLayouts_kPredict
80ae2f_MAC() _ae2fVK_AnnMlpDescPoolCmdMkTrain_imp(
81 ae2fVK_AnnMlpDescPoolCmdMk_t v_cmdmk,
85 const ae2fVK_AnnMlpDescPool i_pool,
87 ae2fVK_AnnSlpDescPoolCmd r_cmd,
89 const VkCommandBuffer i_vkcmdbuf
98 , (iv_mlp).m_vkpipelayout[ae2fVK_eAnnSlpPipeLayouts_kTrain]
99 , VK_SHADER_STAGE_COMPUTE_BIT
102 , &(iv_mlp).m_mlp.m_depth
107 , (iv_mlp).m_vkpipelayout[ae2fVK_eAnnSlpPipeLayouts_kTrain]
108 , VK_SHADER_STAGE_COMPUTE_BIT
110 ,
sizeof(ae2f_float_t)
111 , &(iv_mlp).m_mlp.m_learningrate
116 , (iv_mlp).m_vkpipelayout[ae2fVK_eAnnSlpPipeLayouts_kTrain]
117 , VK_SHADER_STAGE_COMPUTE_BIT
119 ,
sizeof(ae2f_float_t)
120 , &(iv_mlp).m_mlp.m_learningrate_bias
125 , (iv_mlp).m_vkpipelayout[ae2fVK_eAnnSlpPipeLayouts_kTrain]
126 , VK_SHADER_STAGE_COMPUTE_BIT
129 , &(iv_mlp).m_mlp.m_weightc
134 , (iv_mlp).m_mlp.m_outc
135 , (iv_mlp).m_mlp.m_outc
151 , 0, (((iv_mlp).m_mlp.m_outc * ((iv_mlp).m_mlp.m_depth + 2)) *
sizeof(ae2f_float_t))
153 , ae2fVK_eAnnMlpDescLayouts_ONLY
154 , ae2fVK_eAnnMlpPipes_kTrainAuto
155 , ae2fVK_eAnnMlpPipeLayouts_kTrain
#define ae2f_CastMerge(...)
simply merge all text inside the round bracket, counting them as a single text block.
#define ae2f_CmpGetGt(a, b)
uint8_t ae2f_err_t
Informs that this number represents the error.
#define __ae2fVK_AnnMlpGlobMemSz(i_depth, i_outc, i_weightc)
#define __ae2fVK_AnnMlpDescPoolCmdMk_imp
#define __ae2fVK_AnnSlpDescPoolCmdMk_imp(COMMANDONRECORDING, v_cmdmk, r_cmd, iv_slp, i_pool, iv_err, i_desccount, i_offglob, i_szglob, i_offloc, i_szloc, i_desclayout, i_pipe, i_pipelayout, i_vkcmdbuf)