Files
sunnypilot/selfdrive/modeld/test/opencl_hooks/build.sh
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

4 lines
80 B
Bash
Executable File

#!/bin/sh
gcc -fPIC -I /data/openpilot/phonelibs/opencl/include -shared hook.c