mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 23:33:58 +08:00
* 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)
|