mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
eefc084302
version: sunnypilot v2025.003.000 (dev) date: 2025-12-18T05:48:43 master commit: 16c052af0835f049a67b80251d8cc1114fc08bb4
15 lines
363 B
Cython
15 lines
363 B
Cython
# distutils: language = c++
|
|
|
|
from libcpp.string cimport string
|
|
|
|
cdef extern from "sunnypilot/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()
|