@@ -27,7 +27,10 @@ def build_doxygen_page(name, items):
2727 content += "-" * len (title ) + "\n "
2828
2929 for symbol in symbols :
30- content += f".. doxygen{ directive } :: kernel_float::{ symbol } \n \n "
30+ if directive == "define" :
31+ content += f".. doxygendefine:: { symbol } \n \n "
32+ else :
33+ content += f".. doxygen{ directive } :: kernel_float::{ symbol } \n \n "
3134
3235 stripped_name = name .lower ().replace (" " , "_" ).replace ("/" , "_" )
3336 filename = f"api/{ stripped_name } .rst"
@@ -90,7 +93,8 @@ def build_index_page(groups):
9093 "for_each" ,
9194 ],
9295 "Generation" : [
93- "range" ,
96+ ("range" , "range()" ),
97+ ("range" , "range(F fun)" ),
9498 "range_like" ,
9599 "each_index" ,
96100 "fill" ,
@@ -193,6 +197,14 @@ def build_index_page(groups):
193197 "isinf" ,
194198 "isnan" ,
195199 ],
200+ "Fast math" : [
201+ "fast_exp" ,
202+ "fast_log" ,
203+ "fast_cos" ,
204+ "fast_sin" ,
205+ "fast_tan" ,
206+ "fast_div" ,
207+ ],
196208 "Conditional" : [
197209 ("where" , "where(const C&, const L&, const R&)" ),
198210 ("where" , "where(const C&, const L&)" ),
@@ -202,13 +214,18 @@ def build_index_page(groups):
202214 "cast_to" ,
203215 ("load" , "load(const T*, const I&)" ),
204216 ("load" , "load(const T*, const I&, const M&)" ),
205- ("loadn" , "loadn(const T*, ptrdiff_t )" ),
206- ("loadn" , "loadn(const T*, ptrdiff_t, ptrdiff_t )" ),
217+ ("loadn" , "loadn(const T*, size_t )" ),
218+ ("loadn" , "loadn(const T*, size_t, size_t )" ),
207219 ("store" , "store(const V&, T *ptr, const I&)" ),
208220 ("store" , "store(const V&, T *ptr, const I&, const M&)" ),
209- ("storen" , "storen(const V&, T*, ptrdiff_t )" ),
210- ("storen" , "storen(const V&, T*, ptrdiff_t, ptrdiff_t )" ),
221+ ("storen" , "storen(const V&, T*, size_t )" ),
222+ ("storen" , "storen(const V&, T*, size_t, size_t )" ),
211223 ("aligned_ptr" , "aligned_ptr" , "struct" ),
224+ ],
225+ "Utilities" : [
226+ ("constant" , "constant" , "struct" ),
227+ ("tiling" , "tiling" , "struct" ),
228+ ("KERNEL_FLOAT_TILING_FOR" , "KERNEL_FLOAT_TILING_FOR" , "define" ),
212229 ]
213230}
214231
0 commit comments