Commit Graph

25 Commits

Author SHA1 Message Date
Adeeb Shihadeh
5b641379ae 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>
2021-10-07 16:32:44 -07:00
Willem Melching
698b9af8a9 model benchmark disable static analysis 2021-06-22 16:07:15 +02:00
Willem Melching
c3561cc0e1 No more polyfit 2021-06-22 16:05:42 +02:00
Dean Lee
e4e669bb0f add space after function name and if statement (#21225) 2021-06-11 10:17:52 +02:00
Maxime Desroches
03df1b08bb Convert C++ while loops from int to bool (#21214) 2021-06-09 21:09:21 -07:00
Dean Lee
c53cb5d570 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
2021-06-08 13:46:22 -07:00
Willem Melching
5a3b511306 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>
2021-03-05 11:03:23 +01:00
Dean Lee
91504176e4 Don't call function in assert (#19997) 2021-02-02 13:18:11 +01:00
Adeeb Shihadeh
5ba7276118 model timing benchmark script 2020-12-13 19:08:49 -08:00
Comma Device
06f6f245ff simpler repro for dmon lag issue 2020-11-20 17:30:31 +00:00
George Hotz
6fc7c0c005 other includes to build repro on pc 2020-11-20 09:09:43 -08:00
Comma Device
b9a8e7b209 simpler repro, no vector required 2020-11-20 17:03:49 +00:00
Comma Device
97b716512a repros better with cache clears 2020-11-20 16:50:25 +00:00
Comma Device
52673f0532 reproduce dmon lag 2020-11-20 16:39:12 +00:00
Adeeb Shihadeh
685340d578 Sound stability test (#2089)
* play sound

* clean this up

* no cereal

* fix module issue

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

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
2020-06-03 16:13:34 -07:00
Willem Melching
ba2ac1207a 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
2020-05-28 15:40:48 -07:00
George Hotz
b8571710e0 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
2020-05-24 03:33:36 -07:00
Willem Melching
add784a7df remove eigen from phonelibs (#1505) 2020-05-13 16:41:52 -07:00
George Hotz
6e5a2d404b 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>
2020-03-30 14:20:51 -07:00
Comma Device
9a50e0445a add program dumping to opencl hooks 2020-03-18 03:30:39 +00:00
George Hotz
774912075a 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>
2020-03-17 20:04:55 -07:00
Comma Device
042415b021 actually fix benchmark script 2020-02-19 02:27:31 +00:00
Comma Device
a8f5562081 fix snpe_benchmark script 2020-02-19 02:13:46 +00:00
George Hotz
da079d47d7 logcatd, loggerd, mapd, modeld, proclogd 2020-01-17 11:20:17 -08:00