mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-11 18:53:47 +08:00
659adb6457
date: 2024-03-17T10:14:38 master commit: 7e9a909e0e57ecb31df4c87c5b9a06b1204fd034
15 lines
362 B
Cython
15 lines
362 B
Cython
# distutils: language = c++
|
|
|
|
from libcpp.string cimport string
|
|
|
|
cdef extern from "selfdrive/modeld/runners/runmodel.h":
|
|
cdef int USE_CPU_RUNTIME
|
|
cdef int USE_GPU_RUNTIME
|
|
cdef int USE_DSP_RUNTIME
|
|
|
|
cdef cppclass RunModel:
|
|
void addInput(string, float*, int)
|
|
void setInputBuffer(string, float*, int)
|
|
void * getCLBuffer(string)
|
|
void execute()
|