jvm.chisel.db.reduce
Masked tree-reduction operator covering GROUP BY aggregates: :sum, :count, :min, :max over a Vec of UInt(width), gated by a valid mask.
reduce-module
(reduce-module {:keys [lanes width op name], :or {name "Reduce"}})Build a reduce module. opts: {:lanes n :width w :op :sum|:count|:min|:max :name “Reduce”}.
reduce-ref
(reduce-ref values valid-mask op width)Reference model. values = seq of ints, valid-mask = int bitmask, op in #{:sum :count :min :max}, width = lane width.