Commit Graph

28 Commits

Author SHA1 Message Date
Adeeb Shihadeh
3e8625e50b visionipc python shim (#24660)
old-commit-hash: 32a9ccfc37
2022-05-25 20:49:56 -07:00
Willem Melching
4ff9f6910d Do not run model when skipping frames (#23949)
* Do not run model when skipping frames

* also prepare wide

* add logging

* remove newline

* small skip test

* more random

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3741908733
2022-04-22 13:59:49 -07:00
Adeeb Shihadeh
074603c1b9 modeld tests (#24263)
old-commit-hash: 27b067446a
2022-04-19 15:50:04 -07:00
Adeeb Shihadeh
782d7023d2 phonelibs -> third_party (#22477)
* git mv to third_party

* find and replace

* fix release tests

* update pre-commit

* update tici bins

* update eon bins

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5b641379ae
2021-10-07 16:32:44 -07:00
Willem Melching
47e214dba5 model benchmark disable static analysis
old-commit-hash: 698b9af8a9
2021-06-22 16:07:15 +02:00
Willem Melching
0237c2ac65 No more polyfit
old-commit-hash: c3561cc0e1
2021-06-22 16:05:42 +02:00
Dean Lee
147b355dde add space after function name and if statement (#21225)
old-commit-hash: e4e669bb0f
2021-06-11 10:17:52 +02:00
Maxime Desroches
426df0435b Convert C++ while loops from int to bool (#21214)
old-commit-hash: 03df1b08bb
2021-06-09 21:09:21 -07:00
Dean Lee
f70a79b838 Use C++ header files instead of C header files. (#21192)
* use cstring instead of string.h

* use cstdio instead of stdio.h

* remove inttypes.h

* use cstdlib instead of stdlib.h

* use cstdint instead of stdint.h

* #include <cstddef>

* cstdlib

* use cmath

* remove stddef.h

* use cassert

* use csignal

* use ctime

* use cerror

* rebase master
old-commit-hash: c53cb5d570
2021-06-08 13:46:22 -07:00
Willem Melching
c0098cec09 Manager cleanup (#20231)
* move manager in folder

* inital refactor

* call start

* small cleanup

* add comments

* use self.signal()

* order shouldnt matter

* newlines

* add helpers

* newlines

* add process config

* split out build part of manager

* this should fix most tests

* no sensord on pc

* dont start athena

* remove comment

* fix old athena test

* fix inject model

* fix test car models

* should be not none

* fix helpers exitcode

* ignore manage_athenad

* Use time.monotonic()

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* combine init, remove spinner

* move manager test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5a3b511306
2021-03-05 11:03:23 +01:00
Dean Lee
04adbaf8e1 Don't call function in assert (#19997)
old-commit-hash: 91504176e4
2021-02-02 13:18:11 +01:00
Adeeb Shihadeh
c09d84218d model timing benchmark script
old-commit-hash: 5ba7276118
2020-12-13 19:08:49 -08:00
Comma Device
8de3c8cf75 simpler repro for dmon lag issue
old-commit-hash: 06f6f245ff
2020-11-20 17:30:31 +00:00
George Hotz
599ee894cd other includes to build repro on pc
old-commit-hash: 6fc7c0c005
2020-11-20 09:09:43 -08:00
Comma Device
04e6e04bb4 simpler repro, no vector required
old-commit-hash: b9a8e7b209
2020-11-20 17:03:49 +00:00
Comma Device
6d764d4ade repros better with cache clears
old-commit-hash: 97b716512a
2020-11-20 16:50:25 +00:00
Comma Device
67d4a60288 reproduce dmon lag
old-commit-hash: 52673f0532
2020-11-20 16:39:12 +00:00
Adeeb Shihadeh
cc2c6180f9 Sound stability test (#2089)
* play sound

* clean this up

* no cereal

* fix module issue

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 685340d578
2020-08-27 15:50:48 -07:00
Adeeb
9027018368 Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a
2020-06-03 16:13:34 -07:00
Willem Melching
2ac27def5a Running pre-commit in CI (#1590)
* Running pre-commit in CI

* fix dockerfile syntax

* dont run on submodule repo folders

* Fix some import errors in ci

* more stuff

* That should be the last one
old-commit-hash: ba2ac1207a
2020-05-28 15:40:48 -07:00
George Hotz
6a68510918 remove the clCreateProgramWithSource interceptor (#1559)
* remove the clCreateProgramWithSource interceptor

* that's old code, thneed is better

* label them thneed_, we shouldn't need to touch CL for anything not SNPE related
old-commit-hash: b8571710e0
2020-05-24 03:33:36 -07:00
Willem Melching
aedf223401 remove eigen from phonelibs (#1505)
old-commit-hash: add784a7df
2020-05-13 16:41:52 -07:00
George Hotz
3f5d11ff3b Preparing for the efficientnet (#1255)
* snpe version 1.35.0.698

* fix files common for new snpe

* efficient net with normal names

* compiling with 1.32 works

* actual snpe files

* fix monitoring, delete unneeded

* point the symlinks to the right places

* err, modeld needs the CPU

* benchmark for 50 its

* put back old model for now

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: 6e5a2d404b
2020-03-30 14:20:51 -07:00
Comma Device
52f3c1aca3 add program dumping to opencl hooks
old-commit-hash: 9a50e0445a
2020-03-18 03:30:39 +00:00
George Hotz
f2d189c077 hook opencl to profile SNPE (#1249)
* hook for snpe speed

* hook works

* prints kernel names

* add timing to hook

* clean up printing

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 774912075a
2020-03-17 20:04:55 -07:00
Comma Device
3174d0f76f actually fix benchmark script
old-commit-hash: 042415b021
2020-02-19 02:27:31 +00:00
Comma Device
7bc5e62ca7 fix snpe_benchmark script
old-commit-hash: a8f5562081
2020-02-19 02:13:46 +00:00
George Hotz
510b718f0f logcatd, loggerd, mapd, modeld, proclogd
old-commit-hash: da079d47d7
2020-01-17 11:20:17 -08:00