mesa/src/etnaviv/common
Tomeu Vizoso 0c0d62ba70 etnaviv/nn: Implement zero run length encoding of weights
Check how much smaller can the weight+bias buffers be with different
amount of bits to encode runs of zeroes and choose the smallest one.

This reduces the bandwidth considerably, which is at present the
bottleneck with useful models.

On a Libre Computer Alta AML-A311D-CC, I see these improvements:

MobileNetV1: 15.650ms -> 9.991ms
SSDLite MobileDet: 56.149ms -> 32.692ms

Acked-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27513>
2024-04-23 10:55:24 +02:00
..
.clang-format
etna_core_info.h etnaviv/nn: Implement zero run length encoding of weights 2024-04-23 10:55:24 +02:00
meson.build etnaviv: common: Add feature bitset 2024-04-13 12:43:52 +00:00