mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-20 23:53:51 +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
261 B
Cython
10 lines
261 B
Cython
# distutils: language = c++
|
|
|
|
from libcpp.string cimport string
|
|
|
|
from cereal.visionipc.visionipc cimport cl_context
|
|
|
|
cdef extern from "selfdrive/modeld/runners/snpemodel.h":
|
|
cdef cppclass SNPEModel:
|
|
SNPEModel(string, float*, size_t, int, bool, cl_context)
|