Files
sunnypilot/selfdrive/modeld/models/commonmodel_pyx.pxd
Mitchell Goff e2e39d100b Added cython bindings for model runners and commonmodel (#29607)
* Added cython bindings for model runners and commonmodel

* Removed cython language_level=3

* loop to set CXXFLAGS for both envs
2023-08-24 17:00:26 -07:00

14 lines
270 B
Cython

# distutils: language = c++
from cereal.visionipc.visionipc cimport cl_mem
from cereal.visionipc.visionipc_pyx cimport CLContext as BaseCLContext
cdef class CLContext(BaseCLContext):
pass
cdef class CLMem:
cdef cl_mem * mem;
@staticmethod
cdef create(void*)