| 347 | // Helpers for PMatrix. |
| 348 | |
| 349 | inline std::size_t DataSize(const PMatrix& packed) { |
| 350 | return FlatSize(packed.layout) * packed.data_type.size; |
| 351 | } |
| 352 | |
| 353 | inline std::size_t SumsSize(const PMatrix& packed) { |
| 354 | // Packed matrices are only relevant for Ruy's TrMul implementations. For |
no test coverage detected