Model + camerad test (#1622)

* kind of works

* move that

* hack to get camerad to reliably terminate

* not sure why SIGTERM wasn't working before

* compare bytes

* clean up some hacks

* gitignore

* fix that

* WIP

* no reboot

* comparison works

* pretty print

* fix build

* run in jenkins

* python path

* space

* raise timeout

* new eon

* skip the copy

* spinner

* spin less

* update model ref commit

* reenable that

* clean up

* fix jenkinsfile

* parallel

* wrap it in a stage

* fix linter

* better progress

* lower timeout

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 63c8e8439b6d19020055f922340d8e33d906363a
This commit is contained in:
Willem Melching
2020-06-04 18:57:25 -07:00
committed by GitHub
parent 3d848e0d9e
commit ce6dd8d4e9
18 changed files with 271 additions and 54 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
Import('env', 'arch', 'SHARED')
Import('env', 'arch', 'SHARED', 'QCOM_REPLAY')
if SHARED:
fxn = env.SharedLibrary
@@ -21,8 +21,11 @@ if arch == "aarch64":
files += [
'framebuffer.cc',
'touch.c',
'visionbuf_ion.c',
]
if QCOM_REPLAY:
files += ['visionbuf_cl.c']
else:
files += ['visionbuf_ion.c']
_gpu_libs = ['gui', 'adreno_utils']
elif arch == "larch64":
defines = {"CLU_NO_CACHE": None}
+1 -1
View File
@@ -37,7 +37,7 @@ extern "C" void compute_aligned_width_and_height(int width,
#endif
void visionimg_compute_aligned_width_and_height(int width, int height, int *aligned_w, int *aligned_h) {
#ifdef QCOM
#if defined(QCOM) && !defined(QCOM_REPLAY)
compute_aligned_width_and_height(ALIGN(width, 32), ALIGN(height, 32), 3, 0, 0, 512, aligned_w, aligned_h);
#else
*aligned_w = width; *aligned_h = height;