openpilot/frogpilot/classic_modeld/runners/runmodel.pxd
2025-11-01 12:00:00 -07:00

15 lines
370 B
Cython

# distutils: language = c++
from libcpp.string cimport string
cdef extern from "frogpilot/classic_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()