@@ -27,7 +27,10 @@ def build_doxygen_page(name, items):
27
27
content += "-" * len (title ) + "\n "
28
28
29
29
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 "
31
34
32
35
stripped_name = name .lower ().replace (" " , "_" ).replace ("/" , "_" )
33
36
filename = f"api/{ stripped_name } .rst"
@@ -90,7 +93,8 @@ def build_index_page(groups):
90
93
"for_each" ,
91
94
],
92
95
"Generation" : [
93
- "range" ,
96
+ ("range" , "range()" ),
97
+ ("range" , "range(F fun)" ),
94
98
"range_like" ,
95
99
"each_index" ,
96
100
"fill" ,
@@ -193,6 +197,14 @@ def build_index_page(groups):
193
197
"isinf" ,
194
198
"isnan" ,
195
199
],
200
+ "Fast math" : [
201
+ "fast_exp" ,
202
+ "fast_log" ,
203
+ "fast_cos" ,
204
+ "fast_sin" ,
205
+ "fast_tan" ,
206
+ "fast_div" ,
207
+ ],
196
208
"Conditional" : [
197
209
("where" , "where(const C&, const L&, const R&)" ),
198
210
("where" , "where(const C&, const L&)" ),
@@ -202,13 +214,18 @@ def build_index_page(groups):
202
214
"cast_to" ,
203
215
("load" , "load(const T*, const I&)" ),
204
216
("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 )" ),
207
219
("store" , "store(const V&, T *ptr, const I&)" ),
208
220
("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 )" ),
211
223
("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" ),
212
229
]
213
230
}
214
231
0 commit comments