Files
sunnypilot/selfdrive/modeld/thneed
George Hotz b4adcd2e56 Use thneed directly on the loaded YUV data (#22236)
* completely untested

* it builds now

* bug fixes, save 1ms

* using a kernel to copy works

* more sane API to loadyuv

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 83ff9ca331
2021-09-16 14:13:03 -07:00
..
2021-06-10 00:03:34 -07:00
2020-05-15 13:53:01 -07:00
2021-08-05 12:05:49 -07:00

thneed is an SNPE accelerator. I know SNPE is already an accelerator, but sometimes things need to go even faster..

It runs on the local device, and caches a single model run. Then it replays it, but fast.

thneed slices through abstraction layers like a fish.

You need a thneed.