diff --git a/include/ircd/m/room/room.h b/include/ircd/m/room/room.h index 48f47a716..64ea7b4b3 100644 --- a/include/ircd/m/room/room.h +++ b/include/ircd/m/room/room.h @@ -141,7 +141,7 @@ struct ircd::m::room operator const id &() const; - // Convenience passthru to room::messages (linear query; newest first) + // Convenience passthru to room::events (linear query; newest first) bool for_each(const string_view &type, const event::closure_idx_bool &) const; void for_each(const string_view &type, const event::closure_idx &) const; bool for_each(const string_view &type, const event::id::closure_bool &) const; diff --git a/include/ircd/simd/accumulate.h b/include/ircd/simd/accumulate.h index 3b81eafe3..60a92df52 100644 --- a/include/ircd/simd/accumulate.h +++ b/include/ircd/simd/accumulate.h @@ -13,10 +13,10 @@ namespace ircd::simd { - /// Transform block_t by pseudo-reference. The closure has an opportunity - /// to modify the block while it is being streamed from the source to the - /// destination. The mask indicates which elements of the block are valid - /// if the input is smaller than the block size. + /// Accumulate into block_t by synthetic-reference. The closure has an + /// opportunity to update the accumulator while data blocks are being + /// streamed from the input. The mask indicates which elements of the + /// input block are valid if the input is smaller or offset from the bs. template using accumulate_prototype = void (block_t &, block_t, block_t mask);