mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-05 00:05:57 +08:00
5033da5e27
* Added cython bindings for model runners and commonmodel * Removed cython language_level=3 * loop to set CXXFLAGS for both envs old-commit-hash: e2e39d100b32a6706e83c81a1ef3dcdd7ea4001f
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)
|