Adeeb Shihadeh
f4675fc260
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
old-commit-hash: cb8885cffb
3 years ago
Dean Lee
6677f91e9d
thneed/serialize: use funtions from clutil( #22760 )
...
old-commit-hash: 177c3b89b6
4 years ago
Dean Lee
aff7f0b1f3
enclose macro arguments in parentheses ( #21947 )
...
* macro argument should be enclosed in parentheses
* CL_CHECK
old-commit-hash: 4625098a79
4 years ago
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
4 years ago
Dean Lee
5f6337f949
clutil.h: remove extern C ( #19809 )
...
old-commit-hash: 3381cd371c
4 years ago
Dean Lee
9be81a6f99
clutil refactor ( #2733 )
...
* cleaup clutil.h
* clutil.c -> clutil.cc
* std::hash
* try simplify functions
* using namespace group help functions
* continue
* add function get_platform_info
* continue
* remove caching
* struct CLContext
* std::cout & CL_ERR_TO_STR
* remove CLU_NO_CACHE
* Revert "struct CLContext"
This reverts commit 882e413f22
.
* cl_get_error_string : remove undefied error codes
* replace all printf with std::cout
* util::read_file
* cleanup
* revert CL_ERR_TO_STR
* simplify
* add macro CL_ERR_TO_STR
* cl_get_error_string: fix undeclared errors
* log_size should not +1
* use std::stirng log
* apply review
old-commit-hash: 3c08d0f1f7
4 years ago
Dean Lee
57138a6e0f
Error checking macros for opencl ( #2615 )
...
* macro CL_CHECK&CL_CHECK_ERR
* trigger checks
old-commit-hash: 42183d913f
4 years ago
Dean Lee
bf750511a1
add function cl_get_device_id ( #1948 )
...
* add func cl_get_device_id
cleanup
* add fix from review
old-commit-hash: d158837617
5 years ago
George Hotz
189c815e8f
selfdrive/common
...
old-commit-hash: 368a956b96
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Vehicle Researcher
99b637c7ce
openpilot v0.7 release
...
old-commit-hash: c025b96e8a
5 years ago
Vehicle Researcher
3bde47d556
openpilot v0.5.8 release
...
old-commit-hash: b967da5fc1
6 years ago