chickadee » array-morphisms » activation-backend-add-colsum-kernel!

activation-backend-add-colsum-kernel! backend body dtype kernelprocedure

Install kernel, a procedure (rows cols ins mo out), which stores the value of body at each element of a row-major rows x cols array in mo and the sum of each column in out, adding the rows in order.