summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/i915/drm/i915_drm_winsys.c
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2024-02-03 15:54:39 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2024-04-23 10:55:24 +0200
commit0c0d62ba701063deb0911ddb1e522cbcbdf6aa40 (patch)
tree348e7a79f73bcf3c20801099014a50dc0ee31c68 /src/gallium/winsys/i915/drm/i915_drm_winsys.c
parent1e78d9aaca59a54724081b77b2a0c704f4a1ee88 (diff)
etnaviv/nn: Implement zero run length encoding of weightsHEADmain
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>
Diffstat (limited to 'src/gallium/winsys/i915/drm/i915_drm_winsys.c')
0 files changed, 0 insertions, 0 deletions