@@ -65,51 +65,51 @@ def build_index_page(groups):
6565
6666 return filename
6767
68- aliases = []
69- for ty in ["vec" , "float" , "double" , "half" , "bfloat16x" , "" ]:
70- if ty != "vec" :
71- aliases .append (f"{ ty } X" )
72-
68+ aliases = ["scalar" , "vec" ]
69+ for ty in ["vec" ]:
7370 for i in range (2 , 8 + 1 ):
7471 aliases .append (f"{ ty } { i } " )
7572
7673groups = {
7774 "Types" : [
7875 ("vector" , "vector" , "struct" ),
79- ("Aliases" , [
80- "unaligned_vec" ,
81- "vec" ,
82- ] + aliases ,
83- "typedef" ),
76+ ("Aliases" , aliases , "typedef" ),
8477 ],
8578 "Primitives" : [
86- ("range" , "range()" ),
87- ("range" , "range(F)" ),
8879 "map" ,
8980 "reduce" ,
9081 "zip" ,
9182 "zip_common" ,
9283 "cast" ,
9384 "broadcast" ,
94- "resize" ,
95- "for_each" ,
96- ],
97- "Shuffling" : [
85+ "convert" ,
86+ "make_vec" ,
87+ "into_vector" ,
9888 "concat" ,
99- "swizzle" ,
100- "first" ,
101- "last" ,
102- "reversed" ,
103- "rotate_left" ,
104- "rotate_right" ,
89+ "select" ,
90+ "for_each" ,
10591 ],
106- "Unary Operators" : [
92+ "Generation" : [
93+ "range" ,
94+ "range_like" ,
95+ "each_index" ,
10796 "fill" ,
10897 "fill_like" ,
10998 "zeros" ,
11099 "zeros_like" ,
111100 "ones" ,
112101 "ones_like" ,
102+ ],
103+ "Shuffling" : [
104+ # "concat",
105+ # "swizzle",
106+ # "first",
107+ # "last",
108+ # "reversed",
109+ # "rotate_left",
110+ # "rotate_right",
111+ ],
112+ "Unary Operators" : [
113113 "negate" ,
114114 "bit_not" ,
115115 "logical_not" ,
@@ -135,21 +135,21 @@ def build_index_page(groups):
135135 ("min" , "min(L&&, R&&)" ),
136136 "nextafter" ,
137137 "modf" ,
138- "pow" ,
138+ ( "pow" , "pow(L&&, R&&)" ) ,
139139 "remainder" ,
140140 #"rhypot",
141141 ],
142142 "Reductions" : [
143143 "sum" ,
144- ("max" , "max(V& &)" ),
145- ("min" , "min(V& &)" ),
144+ ("max" , "max(const V &)" ),
145+ ("min" , "min(const V &)" ),
146146 "product" ,
147147 "all" ,
148148 "any" ,
149149 "count" ,
150150 ],
151151 "Mathematical" : [
152- "abs" ,
152+ ( "abs" , "abs(const V&)" ) ,
153153 "acos" ,
154154 "acosh" ,
155155 "asin" ,
@@ -166,22 +166,22 @@ def build_index_page(groups):
166166 "erfcinv" ,
167167 "erfcx" ,
168168 "erfinv" ,
169- "exp" ,
169+ ( "exp" , "exp(const V&)" ) ,
170170 "exp10" ,
171171 "exp2" ,
172172 "fabs" ,
173173 "floor" ,
174174 "ilogb" ,
175175 "lgamma" ,
176- "log" ,
176+ ( "log" , "log(const V&)" ) ,
177177 "log10" ,
178178 "logb" ,
179179 "nearbyint" ,
180180 "normcdf" ,
181181 "rcbrt" ,
182182 "sin" ,
183183 "sinh" ,
184- "sqrt" ,
184+ ( "sqrt" , "sqrt(const V&)" ) ,
185185 "tan" ,
186186 "tanh" ,
187187 "tgamma" ,
@@ -193,6 +193,11 @@ def build_index_page(groups):
193193 "isinf" ,
194194 "isnan" ,
195195 ],
196+ "Conditional" : [
197+ ("where" , "where(const C&, const L&, const R&)" ),
198+ ("where" , "where(const C&, const L&)" ),
199+ ("where" , "where(const C&)" ),
200+ ]
196201}
197202
198203build_index_page (groups )
0 commit comments