mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-22 14:32:07 +08:00
e2e39d100b
* Added cython bindings for model runners and commonmodel * Removed cython language_level=3 * loop to set CXXFLAGS for both envs
10 lines
267 B
Cython
10 lines
267 B
Cython
# distutils: language = c++
|
|
|
|
from libcpp.string cimport string
|
|
|
|
from cereal.visionipc.visionipc cimport cl_context
|
|
|
|
cdef extern from "selfdrive/modeld/runners/thneedmodel.h":
|
|
cdef cppclass ThneedModel:
|
|
ThneedModel(string, float*, size_t, int, bool, cl_context)
|