| 351 | } |
| 352 | |
| 353 | inline std::size_t SumsSize(const PMatrix& packed) { |
| 354 | // Packed matrices are only relevant for Ruy's TrMul implementations. For |
| 355 | // TrMul, the number of sums is always equal to the number of columns. |
| 356 | return packed.layout.cols * packed.sums_type.size; |
| 357 | } |
| 358 | |
| 359 | // Transpose helpers. |
| 360 |
no outgoing calls
no test coverage detected